Instructions to use deepset/xlm-roberta-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/xlm-roberta-base-squad2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="deepset/xlm-roberta-base-squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/xlm-roberta-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("deepset/xlm-roberta-base-squad2") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 22373eb
Add evaluation results on the squad_v2 config of squad_v2 (#1) 8962e17
Update README.md 9ecd20a
Update README.md 098a808
Update README.md a6fd7d5
Update README.md f12bf99
Update README.md 8e8ceef
Update README.md 76b5eff
Update README.md 71ed0f1
Update README.md 8fd5d25
add model card 74ab376
Branden Chan commited on
add model files c4dd241
Branden Chan commited on
first commit 249e595
Branden Chan commited on