Edit model card



Language model: deepset/roberta-base-squad2-distilled
Language: Multilingual
Training data: SQuAD 2.0 training set
Infrastructure: 1x V100 GPU
Published: Apr 21st, 2021


  • haystack's distillation feature was used for training. deepset/xlm-roberta-large-squad2 was used as the teacher model.


batch_size = 56
n_epochs = 4
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
temperature = 3
distillation_loss_weight = 0.75


SQuAD v2 dev set:

"exact": 79.8366040596311%
"f1": 83.916407079888%


  • Timo Möller: timo.moeller [at] deepset.ai
  • Julian Risch: julian.risch [at] deepset.ai
  • Malte Pietsch: malte.pietsch [at] deepset.ai
  • Michel Bartels: michel.bartels [at] deepset.ai

    About us

    deepset logo We bring NLP to the industry via open source!
    Our focus: Industry specific language models & large scale QA systems.

Some of our work:

Get in touch: Twitter | LinkedIn | Slack | GitHub Discussions | Website

By the way: we're hiring!

Downloads last month
Hosted inference API
This model can be loaded on the Inference API on-demand.

Dataset used to train deepset/xlm-roberta-base-squad2-distilled