Align label mapping with wnli config of glue dataset
#1
by
lewtun
HF staff
- opened
- config.json +10 -2
config.json
CHANGED
@@ -30,5 +30,13 @@
|
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.15.0",
|
32 |
"type_vocab_size": 2,
|
33 |
-
"vocab_size": 30000
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.15.0",
|
32 |
"type_vocab_size": 2,
|
33 |
+
"vocab_size": 30000,
|
34 |
+
"label2id": {
|
35 |
+
"not_entailment": 0,
|
36 |
+
"entailment": 1
|
37 |
+
},
|
38 |
+
"id2label": {
|
39 |
+
"0": "not_entailment",
|
40 |
+
"1": "entailment"
|
41 |
+
}
|
42 |
+
}
|