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
-
Add evaluation results on the squad_v2 config of squad_v2
Beep boop, I am a bot from Hugging Face's automatic model evaluator 👋!\ Your model has been evaluated on the squad_v2 config of the [squad_v2](https://huggingface.co/datasets/squad_v2) dataset by @nonchalant-nagavalli, using the predictions stored [here](https://huggingface.co/datasets/autoevaluate/autoeval-staging-eval-squad_v2-squad_v2-76c05b-14906070).\ Accept this pull request to see the results displayed on the [Hub leaderboard](https://huggingface.co/spaces/autoevaluate/leaderboards?dataset=squad_v2).\ Evaluate your model on more datasets [here](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=squad_v2).71edeb4
-
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