bergum lewtun HF staff commited on
Commit
f7116c8
1 Parent(s): b4afdfd

Align label mapping with emotion dataset (#1)

Browse files

- Align label mapping with emotion dataset (85e678c57f8979e68be0927ae40e7d0f6c5bb3e0)


Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +13 -13
config.json CHANGED
@@ -10,22 +10,22 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 384,
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3",
17
- "4": "LABEL_4",
18
- "5": "LABEL_5"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 1536,
22
  "label2id": {
23
- "LABEL_0": 0,
24
- "LABEL_1": 1,
25
- "LABEL_2": 2,
26
- "LABEL_3": 3,
27
- "LABEL_4": 4,
28
- "LABEL_5": 5
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
@@ -40,4 +40,4 @@
40
  "type_vocab_size": 2,
41
  "use_cache": true,
42
  "vocab_size": 30522
43
- }
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 384,
12
  "id2label": {
13
+ "0": "sadness",
14
+ "1": "joy",
15
+ "2": "love",
16
+ "3": "anger",
17
+ "4": "fear",
18
+ "5": "surprise"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 1536,
22
  "label2id": {
23
+ "sadness": 0,
24
+ "joy": 1,
25
+ "love": 2,
26
+ "anger": 3,
27
+ "fear": 4,
28
+ "surprise": 5
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
 
40
  "type_vocab_size": 2,
41
  "use_cache": true,
42
  "vocab_size": 30522
43
+ }