Align label mapping with emotion dataset (#1)
Browse files- Align label mapping with emotion dataset (c105051bd9de043c18b908beaa328c25f672f42b)
Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>
- config.json +13 -13
config.json
CHANGED
@@ -13,22 +13,22 @@
|
|
13 |
"hidden_dropout_prob": 0.1,
|
14 |
"hidden_size": 768,
|
15 |
"id2label": {
|
16 |
-
"0": "
|
17 |
-
"1": "
|
18 |
-
"2": "
|
19 |
-
"3": "
|
20 |
-
"4": "
|
21 |
-
"5": "
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"intermediate_size": 3072,
|
25 |
"label2id": {
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
},
|
33 |
"layer_norm_eps": 1e-05,
|
34 |
"max_position_embeddings": 130,
|
@@ -44,4 +44,4 @@
|
|
44 |
"type_vocab_size": 1,
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 64001
|
47 |
-
}
|
|
|
13 |
"hidden_dropout_prob": 0.1,
|
14 |
"hidden_size": 768,
|
15 |
"id2label": {
|
16 |
+
"0": "sadness",
|
17 |
+
"1": "joy",
|
18 |
+
"2": "love",
|
19 |
+
"3": "anger",
|
20 |
+
"4": "fear",
|
21 |
+
"5": "surprise"
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"intermediate_size": 3072,
|
25 |
"label2id": {
|
26 |
+
"sadness": 0,
|
27 |
+
"joy": 1,
|
28 |
+
"love": 2,
|
29 |
+
"anger": 3,
|
30 |
+
"fear": 4,
|
31 |
+
"surprise": 5
|
32 |
},
|
33 |
"layer_norm_eps": 1e-05,
|
34 |
"max_position_embeddings": 130,
|
|
|
44 |
"type_vocab_size": 1,
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 64001
|
47 |
+
}
|