Fix label2id mapping.
Browse files- head_config.json +4 -4
head_config.json
CHANGED
@@ -4,10 +4,10 @@
|
|
4 |
"bias": true,
|
5 |
"head_type": "classification",
|
6 |
"label2id": {
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
},
|
12 |
"layers": 2,
|
13 |
"num_labels": 4,
|
|
|
4 |
"bias": true,
|
5 |
"head_type": "classification",
|
6 |
"label2id": {
|
7 |
+
"others": 0,
|
8 |
+
"happy": 1,
|
9 |
+
"sad": 2,
|
10 |
+
"angry": 3
|
11 |
},
|
12 |
"layers": 2,
|
13 |
"num_labels": 4,
|