calpt commited on
Commit
5f0af6e
1 Parent(s): 92c2f85

Fix label2id mapping.

Browse files
Files changed (1) hide show
  1. head_config.json +6 -6
head_config.json CHANGED
@@ -4,12 +4,12 @@
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
- "LABEL_4": 4,
12
- "LABEL_5": 5
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,