sjrhuschlee commited on
Commit
7fe2ad3
1 Parent(s): 2f8e05d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md CHANGED
@@ -10,6 +10,39 @@ tags:
10
  - deberta
11
  - deberta-v3
12
  - question-answering
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  # deberta-v3-base for QA
@@ -40,4 +73,39 @@ res = nlp(qa_input)
40
  # b) Load model & tokenizer
41
  model = AutoModelForQuestionAnswering.from_pretrained(model_name)
42
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  ```
 
10
  - deberta
11
  - deberta-v3
12
  - question-answering
13
+ model-index:
14
+ - name: sjrhuschlee/deberta-v3-base-squad2
15
+ results:
16
+ - task:
17
+ type: question-answering
18
+ name: Question Answering
19
+ dataset:
20
+ name: squad_v2
21
+ type: squad_v2
22
+ config: squad_v2
23
+ split: validation
24
+ metrics:
25
+ - type: exact_match
26
+ value: 85.648
27
+ name: Exact Match
28
+ - type: f1
29
+ value: 88.728
30
+ name: F1
31
+ - task:
32
+ type: question-answering
33
+ name: Question Answering
34
+ dataset:
35
+ name: squad
36
+ type: squad
37
+ config: plain_text
38
+ split: validation
39
+ metrics:
40
+ - type: exact_match
41
+ value: 87.862
42
+ name: Exact Match
43
+ - type: f1
44
+ value: 93.924
45
+ name: F1
46
  ---
47
 
48
  # deberta-v3-base for QA
 
73
  # b) Load model & tokenizer
74
  model = AutoModelForQuestionAnswering.from_pretrained(model_name)
75
  tokenizer = AutoTokenizer.from_pretrained(model_name)
76
+ ```
77
+
78
+ ### Metrics
79
+
80
+ ```bash
81
+ # Squad v2
82
+ {
83
+ "eval_HasAns_exact": 82.72604588394061,
84
+ "eval_HasAns_f1": 88.89430905100325,
85
+ "eval_HasAns_total": 5928,
86
+ "eval_NoAns_exact": 88.56181665264928,
87
+ "eval_NoAns_f1": 88.56181665264928,
88
+ "eval_NoAns_total": 5945,
89
+ "eval_best_exact": 85.64810915522614,
90
+ "eval_best_exact_thresh": 0.0,
91
+ "eval_best_f1": 88.72782481717712,
92
+ "eval_best_f1_thresh": 0.0,
93
+ "eval_exact": 85.64810915522614,
94
+ "eval_f1": 88.72782481717726,
95
+ "eval_runtime": 219.6226,
96
+ "eval_samples": 11951,
97
+ "eval_samples_per_second": 54.416,
98
+ "eval_steps_per_second": 2.268,
99
+ "eval_total": 11873
100
+ }
101
+
102
+ # Squad
103
+ {
104
+ "eval_exact_match": 87.86187322611164,
105
+ "eval_f1": 93.92373735474943,
106
+ "eval_runtime": 195.2115,
107
+ "eval_samples": 10618,
108
+ "eval_samples_per_second": 54.392,
109
+ "eval_steps_per_second": 2.269
110
+ }
111
  ```