Deberta-v3-xsmall-squad2

What is SQuAD?

Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a segment of text, or span, from the corresponding reading passage, or the question might be unanswerable.

SQuAD2.0 combines the 100,000 questions in SQuAD1.1 with over 50,000 unanswerable questions written adversarially by crowdworkers to look similar to answerable ones. To do well on SQuAD2.0, systems must not only answer questions when possible, but also determine when no answer is supported by the paragraph and abstain from answering.

Inference


from transformers import pipeline

qa = pipeline("question-answering", model="nlpconnect/deberta-v3-xsmall-squad2")

result = qa(context="My name is Sarah and I live in London", question="Where do I live?")

Accuracy

squad_v2 = {'exact': 79.392,
   'f1': 82.674}
   
squad = {'exact': 84.925,
   'f1': 91.620}
Downloads last month
29
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train nlpconnect/deberta-v3-xsmall-squad2

Space using nlpconnect/deberta-v3-xsmall-squad2 1

Evaluation results