Baktashans
commited on
Commit
•
00cc6b4
1
Parent(s):
b5d4888
[ADD] : ADD id2label and label2id
Browse files- config.json +14 -14
config.json
CHANGED
@@ -9,24 +9,24 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
},
|
31 |
"layer_norm_eps": 1e-12,
|
32 |
"max_position_embeddings": 512,
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "ANGRY",
|
13 |
+
"1": "FEAR",
|
14 |
+
"2": "HAPPY",
|
15 |
+
"3": "HATE",
|
16 |
+
"4": "OTHER",
|
17 |
+
"5": "SAD",
|
18 |
+
"6": "SURPRISE"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
+
"ANGRY": 0,
|
24 |
+
"FEAR": 1,
|
25 |
+
"HAPPY": 2,
|
26 |
+
"HATE": 3,
|
27 |
+
"OTHER": 4,
|
28 |
+
"SAD": 5,
|
29 |
+
"SURPRISE": 6
|
30 |
},
|
31 |
"layer_norm_eps": 1e-12,
|
32 |
"max_position_embeddings": 512,
|