Downloads · 30 days
13
17% of all-time downloads
aleksahet/BERTic-squad-sr-lat
BERTic-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.
BERTić-SQuAD-sr-lat is a Question Answering neural network for Serbian. It is obtained by fine-tuning BERTić on a synthetically generated Serbian QA dataset based on SQuAD v1.1.
Downloads · 30 days
13
17% of all-time downloads
All-time downloads
77
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.pt880 MB · 67%
From the Hugging Face model README
BERTić-SQuAD-sr-lat is a Question Answering neural network for Serbian. It is obtained by fine-tuning BERTić on a synthetically generated Serbian QA dataset based on SQuAD v1.1.
from transformers import pipeline
model_name = 'aleksahet/BERTic-squad-sr-lat'
pipe = pipeline('question-answering', model=model_name, tokenizer=model_name)
sample = {
'question': 'Kojim sportom se bavi Novak Đoković?',
'context': 'Novak Đoković (Beograd, 22. maj 1987) srpski je teniser. Mnogi teniski kritičari, bivši igrači i saigrači smatraju Đokovića jednim od najboljih tenisera u istoriji.'
}
res = pipe(sample)
The model vas evaluated on XQuAD samples translated to Serbian. We report the following results:
73.91%82.97%