Align label mapping with cola config of glue dataset
#1
by
lewtun
HF staff
- opened
- config.json +10 -2
config.json
CHANGED
@@ -25,5 +25,13 @@
|
|
25 |
"transformers_version": "4.10.3",
|
26 |
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
-
"vocab_size": 50005
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"transformers_version": "4.10.3",
|
26 |
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 50005,
|
29 |
+
"label2id": {
|
30 |
+
"unacceptable": 0,
|
31 |
+
"acceptable": 1
|
32 |
+
},
|
33 |
+
"id2label": {
|
34 |
+
"0": "unacceptable",
|
35 |
+
"1": "acceptable"
|
36 |
+
}
|
37 |
+
}
|