Update config.json
Browse files- config.json +9 -18
config.json
CHANGED
|
@@ -1,49 +1,40 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation_dropout": 0.0,
|
| 3 |
-
"
|
|
|
|
| 4 |
"attention_dropout": 0.0,
|
|
|
|
| 5 |
"classif_dropout": 0.0,
|
| 6 |
"d_model": 1024,
|
| 7 |
"decoder_attention_heads": 16,
|
| 8 |
"decoder_ffn_dim": 4096,
|
| 9 |
"decoder_layerdrop": 0.0,
|
| 10 |
"decoder_layers": 12,
|
| 11 |
-
"do_sample": false,
|
| 12 |
"dropout": 0.1,
|
| 13 |
"encoder_attention_heads": 16,
|
| 14 |
"encoder_ffn_dim": 4096,
|
| 15 |
"encoder_layerdrop": 0.0,
|
| 16 |
"encoder_layers": 12,
|
| 17 |
-
"
|
| 18 |
"id2label": {
|
| 19 |
"0": "contradiction",
|
| 20 |
"1": "neutral",
|
| 21 |
"2": "entailment"
|
| 22 |
},
|
| 23 |
"init_std": 0.02,
|
| 24 |
-
"
|
| 25 |
"label2id": {
|
| 26 |
"contradiction": 0,
|
| 27 |
"entailment": 2,
|
| 28 |
"neutral": 1
|
| 29 |
},
|
| 30 |
-
"length_penalty": 1.0,
|
| 31 |
-
"max_length": 20,
|
| 32 |
"max_position_embeddings": 1024,
|
| 33 |
"model_type": "bart",
|
| 34 |
-
"
|
| 35 |
"num_hidden_layers": 12,
|
| 36 |
-
"num_labels": 3,
|
| 37 |
-
"num_return_sequences": 1,
|
| 38 |
-
"output_attentions": false,
|
| 39 |
-
"output_hidden_states": false,
|
| 40 |
"output_past": false,
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"temperature": 1.0,
|
| 44 |
-
"top_k": 50,
|
| 45 |
-
"top_p": 1.0,
|
| 46 |
-
"torchscript": false,
|
| 47 |
-
"use_bfloat16": false,
|
| 48 |
"vocab_size": 50265
|
| 49 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_num_labels": 3,
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "gelu",
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
"classif_dropout": 0.0,
|
| 9 |
"d_model": 1024,
|
| 10 |
"decoder_attention_heads": 16,
|
| 11 |
"decoder_ffn_dim": 4096,
|
| 12 |
"decoder_layerdrop": 0.0,
|
| 13 |
"decoder_layers": 12,
|
|
|
|
| 14 |
"dropout": 0.1,
|
| 15 |
"encoder_attention_heads": 16,
|
| 16 |
"encoder_ffn_dim": 4096,
|
| 17 |
"encoder_layerdrop": 0.0,
|
| 18 |
"encoder_layers": 12,
|
| 19 |
+
"eos_token_id": 2,
|
| 20 |
"id2label": {
|
| 21 |
"0": "contradiction",
|
| 22 |
"1": "neutral",
|
| 23 |
"2": "entailment"
|
| 24 |
},
|
| 25 |
"init_std": 0.02,
|
| 26 |
+
"is_encoder_decoder": true,
|
| 27 |
"label2id": {
|
| 28 |
"contradiction": 0,
|
| 29 |
"entailment": 2,
|
| 30 |
"neutral": 1
|
| 31 |
},
|
|
|
|
|
|
|
| 32 |
"max_position_embeddings": 1024,
|
| 33 |
"model_type": "bart",
|
| 34 |
+
"normalize_before": false,
|
| 35 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
"output_past": false,
|
| 37 |
+
"pad_token_id": 1,
|
| 38 |
+
"scale_embedding": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
"vocab_size": 50265
|
| 40 |
}
|