JuliusAlphonso
commited on
Commit
•
2cbc2e9
1
Parent(s):
c8d5658
Add label names
Browse files- config.json +18 -18
config.json
CHANGED
@@ -9,27 +9,27 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
35 |
"model_type": "distilbert",
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "neutral",
|
13 |
+
"1": "anger",
|
14 |
+
"2": "anticipation",
|
15 |
+
"3": "disgust",
|
16 |
+
"4": "fear",
|
17 |
+
"5": "joy",
|
18 |
+
"6": "sadness",
|
19 |
+
"7": "suprise",
|
20 |
+
"8": "trust"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
+
"neutral": 0,
|
25 |
+
"anger": 1,
|
26 |
+
"anticipation": 2,
|
27 |
+
"disgust": 3,
|
28 |
+
"fear": 4,
|
29 |
+
"joy": 5,
|
30 |
+
"sadness": 6,
|
31 |
+
"surprise": 7,
|
32 |
+
"trust": 8
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
35 |
"model_type": "distilbert",
|