Question Answering
Transformers
PyTorch
TensorFlow
JAX
Rust
Safetensors
English
roberta
Eval Results (legacy)
Instructions to use deepset/roberta-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/roberta-base-squad2 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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/roberta-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("deepset/roberta-base-squad2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#9)
Mayank Jobanputra +1: Narsil - Adding `safetensors` variant of this model (4e2c0f44f3a1ff7ebfd1fe4da65c4654063d28a2) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>e09df91
-
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#10)
Sebastian +1: autoevaluator - Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (b3248a74a95a165bba47175373d8f3a2856495cd) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>d39b8d4
-
Update README.md
e888b4b
-
Update README.md
65f7840
-
Update README.md
1820469
-
Add evaluation results on the squad_v2 config of squad_v2 (#5)
- Add evaluation results on the squad_v2 config of squad_v2 (a1274dfa55793a6962cf26958124ca31c76ea169) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>d3c3bb6
-
Add TF weights (#3)
- Add TF weights (0855ed47567e7f34c7d3d7d61db26bdf1764bf07) Co-authored-by: Joao Gante <joaogante@users.noreply.huggingface.co>4dc572b
-
Add TF weights (#2)
- Add TF weights (a754c03c1bbe25f33ed526da45bdc31039509b00) Co-authored-by: Joao Gante <joaogante@users.noreply.huggingface.co>52a2b42
-
Fix typo
0e7b626
-
Update README.md
5e7a47e -
Update README.md
541c7e4 -
draft update for the model card
d3579a1
-
Update README.md
44f866d
-
Update README.md
6b033ce
-
add language tag
a44be10
-
Update README.md
e54a3df
-
Update README.md
201e820
-
Update README.md
6ac95bd
-
upload flax model
656ed24 -
allow flax
ff3e378
-
Update README.md
c422f9c
-
Add license info
21a5392
-
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/README.md325a3df
-
addition of Rust model
978c03c
-
Remove v1 files
Branden Chan6a03245 -
Update to v2
Branden Chandeedc3e
-
Update rust_model.ot
390d6ae
-
Update tokenizer_config.json
596edb0
-
Update config.json
4aa0450
-
Update saved_model.tar.gz
5914b82
-
Update config.json
784fa08
-
Update config.json
8f39c9f
-
Update pytorch_model.bin
f824cce -
Update modelcard.json
560154d
-
Update special_tokens_map.json
449cae8 -
Update config.json
0eb280a -
Update tokenizer_config.json
0534789 -
Update vocab.json
3474da8 -
Update merges.txt
bc24f6c -
initial commit
8eedce6