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
Training data
#6
by shalakasatheesh - opened
Hello,
Could you please tell me what German language datasets were used for training this QA model? In addition, was the model used for fine-tuning the xlm-roberta-base model?
Best wishes,
Shalaka
@shalakasatheesh It's a long time ago, but pretty sure we just took the "xlm-roberta-base" model for it, fine-tuned it on the English Squad2.0 dataset and evaluated it on German MLQA and German XQuAD (as described in the HF model card). So the model has only seen multilingual data at pre-training time.
shalakasatheesh changed discussion status to closed