Update config.json
Browse files- config.json +20 -20
config.json
CHANGED
@@ -8,30 +8,30 @@
|
|
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 |
-
"6": "
|
18 |
-
"7": "
|
19 |
-
"8": "
|
20 |
-
"9": "
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
24 |
"label2id": {
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
},
|
36 |
"layer_norm_eps": 1e-07,
|
37 |
"max_position_embeddings": 512,
|
|
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
+
"0": "sexual",
|
12 |
+
"1": "hate",
|
13 |
+
"2": "violence",
|
14 |
+
"3": "harassment",
|
15 |
+
"4": "self-harm",
|
16 |
+
"5": "sexual/minors",
|
17 |
+
"6": "hate/threatening",
|
18 |
+
"7": "violence/graphic",
|
19 |
+
"8": "fake news",
|
20 |
+
"9": "OK"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
24 |
"label2id": {
|
25 |
+
"sexual": 0,
|
26 |
+
"hate": 1,
|
27 |
+
"violence": 2,
|
28 |
+
"harassment": 3,
|
29 |
+
"self-harm": 4,
|
30 |
+
"sexual/minors": 5,
|
31 |
+
"hate/threatening": 6,
|
32 |
+
"violence/graphic": 7,
|
33 |
+
"fake news": 8,
|
34 |
+
"OK": 9
|
35 |
},
|
36 |
"layer_norm_eps": 1e-07,
|
37 |
"max_position_embeddings": 512,
|