Add Human readable label
Browse files- config.json +6 -6
config.json
CHANGED
@@ -9,16 +9,16 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
"label2id": {
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
},
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
"max_position_embeddings": 512,
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "None",
|
13 |
+
"1": "Hate",
|
14 |
+
"2": "Offensive"
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
"label2id": {
|
19 |
+
"None": 0,
|
20 |
+
"Hate": 1,
|
21 |
+
"Offensive": 2
|
22 |
},
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
"max_position_embeddings": 512,
|