Update config.json
Browse files- config.json +11 -4
config.json
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
{
|
2 |
-
"architectures": [
|
3 |
-
"ElectraForSequenceClassification"
|
4 |
-
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
"embedding_size": 768,
|
7 |
"finetuning_task": "nsmc",
|
@@ -21,5 +19,14 @@
|
|
21 |
"summary_type": "first",
|
22 |
"summary_use_proj": true,
|
23 |
"type_vocab_size": 2,
|
24 |
-
"vocab_size": 32200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"architectures": ["ElectraForSequenceClassification"],
|
|
|
|
|
3 |
"attention_probs_dropout_prob": 0.1,
|
4 |
"embedding_size": 768,
|
5 |
"finetuning_task": "nsmc",
|
|
|
19 |
"summary_type": "first",
|
20 |
"summary_use_proj": true,
|
21 |
"type_vocab_size": 2,
|
22 |
+
"vocab_size": 32200,
|
23 |
+
"label2id": {
|
24 |
+
"negative": 0,
|
25 |
+
"positive": 1
|
26 |
+
},
|
27 |
+
"id2label": {
|
28 |
+
"0": "negative",
|
29 |
+
"1": "positive"
|
30 |
+
},
|
31 |
+
"_num_labels": 2
|
32 |
}
|