rajpurkar/squad_v2
Viewer • Updated • 142k • 36.9k • 251
How to use Shobhank-iiitdwd/Distiled-bert-medium-squad2-QA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Shobhank-iiitdwd/Distiled-bert-medium-squad2-QA") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Shobhank-iiitdwd/Distiled-bert-medium-squad2-QA")
model = AutoModelForQuestionAnswering.from_pretrained("Shobhank-iiitdwd/Distiled-bert-medium-squad2-QA")Language model: deepset/roberta-base-squad2-distilled
Language: English
Training data: SQuAD 2.0 training set
Eval data: SQuAD 2.0 dev set
Infrastructure: 1x V100 GPU
Published: Apr 21st, 2021
batch_size = 6
n_epochs = 2
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
temperature = 5
distillation_loss_weight = 1
"exact": 68.6431398972458
"f1": 72.7637083790805
timo.moeller [at] deepset.aijulian.risch [at] deepset.aimalte.pietsch [at] deepset.aimichel.bartels [at] deepset.ai
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 | Discord | GitHub Discussions | Website
By the way: we're hiring!