rajpurkar/squad
Viewer • Updated • 98.2k • 216k • 462
How to use anukaver/xlm-roberta-est-qa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="anukaver/xlm-roberta-est-qa") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("anukaver/xlm-roberta-est-qa")
model = AutoModelForQuestionAnswering.from_pretrained("anukaver/xlm-roberta-est-qa", device_map="auto")This is a question answering model based on XLM-Roberta base model. It is fine-tuned subsequentially on:
The model has retained good multilingual properties and can be used for extractive QA tasks in all languages included in XLM-Roberta. The performance is best in the fine-tuning languages of Estonian and English.
| Tested on | F1 | EM |
|---|---|---|
| EstQA test set | 82.4 | 75.3 |
| SQuAD v1.1 dev set | 86.9 | 77.9 |
The Estonian dataset used for fine-tuning and validating results is available in https://huggingface.co/datasets/anukaver/EstQA/ (version 1.0)