Downloads · 30 days
9
2% of all-time downloads
aleksahet/xlm-r-squad-sr-lat
xlm-r-squad-sr-lat is a question answering model from aleksahet. Use it when the input is a question plus a passage. It is set up for transformers.
This is XLM-R-based model finetuned on synthetic question answering dataset which is created by translating SQuAD 1.1. This model is the result of my thesis.
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
375
Public
Repo size
4.5 GB
Likes
1
Public
Click a slice to open those files.
.pt2.2 GB · 66%
From the Hugging Face model README
This is XLM-R-based model finetuned on synthetic question answering dataset which is created by translating SQuAD 1.1. This model is the result of my thesis.
from transformers import pipeline
model_name = 'aleksahet/xlm-r-squad-sr-lat'
pipe = pipeline('question-answering', model=model_name, tokenizer=model_name)
sample = {
'question': 'U kom gradu je rođen Željko Obradović?',
'context': 'Željko Obradović (Čačak, 9. mart 1960) bivši je srpski i jugoslovenski košarkaš. Najuspešniji je trener u istoriji košarke.'
}
res = pipe(sample)
Model was tested on synthetic question answering dataset, created by automatic translation of SQuAD 1.1 dev split. The model achieved the following results:
71.0481.62Source code for synthetic dataset generation and model finetuning can be found on this GitHub repository.