calpt commited on
Commit
0406b2f
1 Parent(s): 55b1460

Fix label2id mapping.

Browse files
Files changed (1) hide show
  1. head_config.json +4 -4
head_config.json CHANGED
@@ -4,10 +4,10 @@
4
  "bias": true,
5
  "head_type": "classification",
6
  "label2id": {
7
- "LABEL_0": 0,
8
- "LABEL_1": 1,
9
- "LABEL_2": 2,
10
- "LABEL_3": 3
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,