Run this model with HF Jobs

Run aleksahet/BERTic-squad-sr-lat on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/aleksahet/BERTic-squad-sr-lat. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/aleksahet/BERTic-squad-sr-lat on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

BERTić-SQuAD-sr-lat

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.

Usage

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)

Performance

The model vas evaluated on XQuAD samples translated to Serbian. We report the following results:

  • Exact Match: 73.91%
  • F1: 82.97%
Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support