Update config.json
Browse files- 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": "
|
12 |
-
"1": "
|
13 |
-
"2": "
|
14 |
-
"3": "
|
15 |
-
"4": "
|
16 |
-
"5": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
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,
|