unitary commited on
Commit
d35f11e
1 Parent(s): d9e59f9

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +12 -12
config.json CHANGED
@@ -8,22 +8,22 @@
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
  "id2label": {
11
- "0": "LABEL_0",
12
- "1": "LABEL_1",
13
- "2": "LABEL_2",
14
- "3": "LABEL_3",
15
- "4": "LABEL_4",
16
- "5": "LABEL_5"
17
  },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
- "LABEL_0": 0,
22
- "LABEL_1": 1,
23
- "LABEL_2": 2,
24
- "LABEL_3": 3,
25
- "LABEL_4": 4,
26
- "LABEL_5": 5
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
 
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
  "id2label": {
11
+ "0": "toxic",
12
+ "1": "severe_toxic",
13
+ "2": "obscene",
14
+ "3": "threat",
15
+ "4": "insult",
16
+ "5": "identity_hate"
17
  },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
+ "toxic": 0,
22
+ "severe_toxic": 1,
23
+ "obscene": 2,
24
+ "threat": 3,
25
+ "insult": 4,
26
+ "identity_hate": 5
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,