Update config.json
Browse filesUpdate id2label and label2id mapping
- config.json +10 -10
config.json
CHANGED
@@ -53,20 +53,20 @@
|
|
53 |
"hidden_dropout_prob": 0.1,
|
54 |
"hidden_size": 1024,
|
55 |
"id2label": {
|
56 |
-
"0": "
|
57 |
-
"1": "
|
58 |
-
"2": "
|
59 |
-
"3": "
|
60 |
-
"4": "
|
61 |
},
|
62 |
"initializer_range": 0.02,
|
63 |
"intermediate_size": 4096,
|
64 |
"label2id": {
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"
|
70 |
},
|
71 |
"layer_norm_eps": 1e-05,
|
72 |
"layerdrop": 0.1,
|
|
|
53 |
"hidden_dropout_prob": 0.1,
|
54 |
"hidden_size": 1024,
|
55 |
"id2label": {
|
56 |
+
"0": "neutral",
|
57 |
+
"1": "angry",
|
58 |
+
"2": "positive",
|
59 |
+
"3": "sad",
|
60 |
+
"4": "other"
|
61 |
},
|
62 |
"initializer_range": 0.02,
|
63 |
"intermediate_size": 4096,
|
64 |
"label2id": {
|
65 |
+
"neutral": 0,
|
66 |
+
"angry": 1,
|
67 |
+
"positive": 2,
|
68 |
+
"sad": 3,
|
69 |
+
"other": 4
|
70 |
},
|
71 |
"layer_norm_eps": 1e-05,
|
72 |
"layerdrop": 0.1,
|