Update config.json
Browse filesadded "num_labels": 3 right after "architectures".
- config.json +4 -5
config.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
"activation": "gelu",
|
3 |
-
"architectures": [
|
4 |
-
|
5 |
-
],
|
6 |
"attention_dropout": 0.1,
|
7 |
"dim": 768,
|
8 |
"dropout": 0.1,
|
@@ -15,8 +14,8 @@
|
|
15 |
"initializer_range": 0.02,
|
16 |
"label2id": {
|
17 |
"hate speech": 0,
|
18 |
-
"
|
19 |
-
"
|
20 |
},
|
21 |
"max_position_embeddings": 512,
|
22 |
"model_type": "distilbert",
|
|
|
1 |
{
|
2 |
"activation": "gelu",
|
3 |
+
"architectures": ["TFDistilBertForSequenceClassification"],
|
4 |
+
"num_labels": 3,
|
|
|
5 |
"attention_dropout": 0.1,
|
6 |
"dim": 768,
|
7 |
"dropout": 0.1,
|
|
|
14 |
"initializer_range": 0.02,
|
15 |
"label2id": {
|
16 |
"hate speech": 0,
|
17 |
+
"offensive language": 1,
|
18 |
+
"neither": 2
|
19 |
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|