File merged
Browse files- config.json +16 -2
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_name_or_path": "bert-base-uncased",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"gradient_checkpointing": false,
|
@@ -21,5 +21,19 @@
|
|
21 |
"transformers_version": "4.5.1",
|
22 |
"type_vocab_size": 2,
|
23 |
"use_cache": true,
|
24 |
-
"vocab_size": 30522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
}
|
|
|
1 |
{
|
2 |
"_name_or_path": "bert-base-uncased",
|
3 |
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"gradient_checkpointing": false,
|
|
|
21 |
"transformers_version": "4.5.1",
|
22 |
"type_vocab_size": 2,
|
23 |
"use_cache": true,
|
24 |
+
"vocab_size": 30522,
|
25 |
+
"id2label": {
|
26 |
+
|
27 |
+
"0": "NORMAL",
|
28 |
+
|
29 |
+
"1": "ABUSIVE"
|
30 |
+
|
31 |
+
},
|
32 |
+
"label2id": {
|
33 |
+
|
34 |
+
"NORMAL": 0,
|
35 |
+
|
36 |
+
"ABUSIVE": 1
|
37 |
+
|
38 |
+
},
|
39 |
}
|