Fix label2id mapping.
Browse files- head_config.json +6 -6
head_config.json
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
"bias": true,
|
5 |
"head_type": "classification",
|
6 |
"label2id": {
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
},
|
14 |
"layers": 2,
|
15 |
"num_labels": 6,
|
|
|
4 |
"bias": true,
|
5 |
"head_type": "classification",
|
6 |
"label2id": {
|
7 |
+
"sadness": 0,
|
8 |
+
"joy": 1,
|
9 |
+
"love": 2,
|
10 |
+
"anger": 3,
|
11 |
+
"fear": 4,
|
12 |
+
"surprise": 5
|
13 |
},
|
14 |
"layers": 2,
|
15 |
"num_labels": 6,
|