Instructions to use deepset/roberta-base-squad2-covid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/roberta-base-squad2-covid with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="deepset/roberta-base-squad2-covid")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/roberta-base-squad2-covid") model = AutoModelForQuestionAnswering.from_pretrained("deepset/roberta-base-squad2-covid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
a1ce23d
-
Update README.md
fe1c8bf -
Update README.md
781b291
-
Update README.md
06d3b5d
-
Update README.md
a01ea93
-
Updating the model card (#1)
- Updating the model card (9c83ec53678e2b05338970246c0aebcc820c0399) Co-authored-by: Tuana Celik <Tuana@users.noreply.huggingface.co>b2cff61
-
Update README.md
b3506f3
-
Update README.md
3c63547
-
Update README.md
e8b9098
-
upload flax model
905c02a -
allow flax
3fb85a8
-
Update README.md
1f7b27b
-
Add license info
385436c
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/deepset/roberta-base-squad2-covid/README.md17587c9
-
Update tokenizer_config.json
e86097d
-
Update vocab.json
96b43a9 -
Update pytorch_model.bin
0527c09 -
Update merges.txt
61b9642 -
Update config.json
7289c30 -
Update special_tokens_map.json
5e0fbb6 -
Update tokenizer_config.json
10b4ae0 -
initial commit
72eae6c