ankur310794 commited on
Commit
859e7e6
1 Parent(s): a6fa692

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md CHANGED
@@ -40,3 +40,33 @@ model-index:
40
  value: 91.6201
41
  verified: true
42
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  value: 91.6201
41
  verified: true
42
  ---
43
+
44
+ # Deberta-v3-xsmall-squad2
45
+
46
+
47
+ ## What is SQuAD?
48
+
49
+ 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.
50
+
51
+ 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.
52
+
53
+ ## Inference
54
+
55
+ ```python
56
+
57
+ from transformers import pipeline
58
+
59
+ qa = pipeline("question-answering", model="nlpconnect/deberta-v3-xsmall-squad2")
60
+
61
+ result = qa(context="My name is Sarah and I live in London", question="Where do I live?")
62
+ ```
63
+
64
+ ## Accuracy
65
+
66
+ ```json
67
+ squad_v2 = {'exact': 79.392,
68
+ 'f1': 82.674}
69
+
70
+ squad = {'exact': 84.925,
71
+ 'f1': 91.620}
72
+ ```