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 from transformers import pipeline pipe = pipeline("question-answering", model="deepset/roberta-base-squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/roberta-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("deepset/roberta-base-squad2") - Inference
- Notebooks
- Google Colab
- Kaggle
Building out the model card!
#4
by Marissa - opened
Hi! This PR has some optional additions to your model card, based on the format we are using as part of our effort to standardize model cards at Hugging Face. In the future, we could build out the Uses section more, and let us know if you have a paper/report/repo you'd want to include for users to cite when they use the model! (cc @Ezi )