Upload config
Browse files- config.json +6 -6
config.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "bert-large-
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
| 8 |
"directionality": "bidi",
|
| 9 |
-
"finetuning_task": "
|
| 10 |
"gradient_checkpointing": false,
|
| 11 |
"hidden_act": "gelu",
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 1024,
|
| 14 |
"id2label": {
|
| 15 |
-
"0": "
|
| 16 |
-
"1": "
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 4096,
|
| 20 |
"label2id": {
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
},
|
| 24 |
"layer_norm_eps": 1e-12,
|
| 25 |
"max_position_embeddings": 512,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "./checkpoints/bert-large-qnli",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
| 8 |
"directionality": "bidi",
|
| 9 |
+
"finetuning_task": "qnli",
|
| 10 |
"gradient_checkpointing": false,
|
| 11 |
"hidden_act": "gelu",
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 1024,
|
| 14 |
"id2label": {
|
| 15 |
+
"0": "entailment",
|
| 16 |
+
"1": "not_entailment"
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 4096,
|
| 20 |
"label2id": {
|
| 21 |
+
"entailment": 0,
|
| 22 |
+
"not_entailment": 1
|
| 23 |
},
|
| 24 |
"layer_norm_eps": 1e-12,
|
| 25 |
"max_position_embeddings": 512,
|