j-hartmann commited on
Commit
c0cc7f8
1 Parent(s): 599d32d

updated labels

Browse files
Files changed (1) hide show
  1. config.json +19 -10
config.json CHANGED
@@ -10,17 +10,26 @@
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
- "id2label": [
14
- "anger",
15
- "anger",
16
- "anger",
17
- "anger",
18
- "anger",
19
- "anger",
20
- "anger"
21
- ],
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
 
 
 
 
 
 
 
 
 
24
  "layer_norm_eps": 1e-05,
25
  "max_position_embeddings": 514,
26
  "model_type": "roberta",
@@ -33,4 +42,4 @@
33
  "type_vocab_size": 1,
34
  "use_cache": true,
35
  "vocab_size": 50265
36
- }
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "anger",
15
+ "1": "disgust",
16
+ "2": "fear",
17
+ "3": "joy",
18
+ "4": "neutral",
19
+ "5": "sadness",
20
+ "6": "surprise"
21
+ },
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
+ "label2id": {
25
+ "anger": 0,
26
+ "disgust": 1,
27
+ "fear": 2,
28
+ "joy": 3,
29
+ "neutral": 4,
30
+ "sadness": 5,
31
+ "surprise": 6
32
+ },
33
  "layer_norm_eps": 1e-05,
34
  "max_position_embeddings": 514,
35
  "model_type": "roberta",
 
42
  "type_vocab_size": 1,
43
  "use_cache": true,
44
  "vocab_size": 50265
45
+ }