Align label mapping with imdb dataset
#1
by
lewtun
HF staff
- opened
- config.json +10 -2
config.json
CHANGED
@@ -37,5 +37,13 @@
|
|
37 |
"transformers_version": "4.19.1",
|
38 |
"truncate_seq": true,
|
39 |
"type_vocab_size": 3,
|
40 |
-
"vocab_size": 30522
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
"transformers_version": "4.19.1",
|
38 |
"truncate_seq": true,
|
39 |
"type_vocab_size": 3,
|
40 |
+
"vocab_size": 30522,
|
41 |
+
"label2id": {
|
42 |
+
"neg": 0,
|
43 |
+
"pos": 1
|
44 |
+
},
|
45 |
+
"id2label": {
|
46 |
+
"0": "neg",
|
47 |
+
"1": "pos"
|
48 |
+
}
|
49 |
+
}
|