kingshukroy
commited on
Commit
•
c457091
1
Parent(s):
0c7c678
Update config.json
Browse files- config.json +10 -10
config.json
CHANGED
@@ -9,19 +9,19 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"label2id": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
},
|
26 |
"max_position_embeddings": 512,
|
27 |
"model_type": "distilbert",
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "defamation",
|
13 |
+
"1": "hate",
|
14 |
+
"2": "non-hate",
|
15 |
+
"3": "violence",
|
16 |
+
"4": "vulgar"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"label2id": {
|
20 |
+
"defamation": 0,
|
21 |
+
"hate": 1,
|
22 |
+
"non-hate": 2,
|
23 |
+
"violence": 3,
|
24 |
+
"vulgar": 4
|
25 |
},
|
26 |
"max_position_embeddings": 512,
|
27 |
"model_type": "distilbert",
|