Align label mapping with cola config of glue dataset
#1
by
lewtun
HF staff
- opened
- config.json +10 -2
config.json
CHANGED
@@ -42,5 +42,13 @@
|
|
42 |
"transformers_version": "4.20.1",
|
43 |
"type_vocab_size": 1,
|
44 |
"use_cache": true,
|
45 |
-
"vocab_size": 50265
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
"transformers_version": "4.20.1",
|
43 |
"type_vocab_size": 1,
|
44 |
"use_cache": true,
|
45 |
+
"vocab_size": 50265,
|
46 |
+
"label2id": {
|
47 |
+
"unacceptable": 0,
|
48 |
+
"acceptable": 1
|
49 |
+
},
|
50 |
+
"id2label": {
|
51 |
+
"0": "unacceptable",
|
52 |
+
"1": "acceptable"
|
53 |
+
}
|
54 |
+
}
|