Update config.json
Browse files- config.json +3 -19
config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"_num_labels": 3,
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "gelu",
|
|
|
|
| 5 |
"architectures": [
|
| 6 |
"BartForConditionalGeneration"
|
| 7 |
],
|
|
@@ -14,44 +15,32 @@
|
|
| 14 |
"decoder_layerdrop": 0.0,
|
| 15 |
"decoder_layers": 2,
|
| 16 |
"decoder_start_token_id": 2,
|
| 17 |
-
"do_sample": false,
|
| 18 |
"dropout": 0.1,
|
| 19 |
-
"early_stopping": false,
|
| 20 |
"encoder_attention_heads": 2,
|
| 21 |
"encoder_ffn_dim": 16,
|
| 22 |
"encoder_layerdrop": 0.0,
|
| 23 |
"encoder_layers": 2,
|
| 24 |
"eos_token_id": 2,
|
| 25 |
-
"finetuning_task": null,
|
| 26 |
"id2label": {
|
| 27 |
"0": "LABEL_0",
|
| 28 |
"1": "LABEL_1",
|
| 29 |
"2": "LABEL_2"
|
| 30 |
},
|
| 31 |
"init_std": 0.02,
|
| 32 |
-
"is_decoder": false,
|
| 33 |
"is_encoder_decoder": true,
|
| 34 |
"label2id": {
|
| 35 |
"LABEL_0": 0,
|
| 36 |
"LABEL_1": 1,
|
| 37 |
"LABEL_2": 2
|
| 38 |
},
|
| 39 |
-
"length_penalty": 1.0,
|
| 40 |
-
"max_length": 20,
|
| 41 |
"max_position_embeddings": 1024,
|
| 42 |
-
"min_length": 0,
|
| 43 |
"model_type": "bart",
|
| 44 |
-
"
|
| 45 |
-
"num_beams": 1,
|
| 46 |
"num_hidden_layers": 2,
|
| 47 |
-
"num_return_sequences": 1,
|
| 48 |
-
"output_attentions": false,
|
| 49 |
-
"output_hidden_states": false,
|
| 50 |
"output_past": true,
|
| 51 |
"pad_token_id": 1,
|
| 52 |
"prefix": " ",
|
| 53 |
-
"
|
| 54 |
-
"repetition_penalty": 1.0,
|
| 55 |
"task_specific_params": {
|
| 56 |
"summarization": {
|
| 57 |
"early_stopping": true,
|
|
@@ -62,10 +51,5 @@
|
|
| 62 |
"num_beams": 4
|
| 63 |
}
|
| 64 |
},
|
| 65 |
-
"temperature": 1.0,
|
| 66 |
-
"top_k": 50,
|
| 67 |
-
"top_p": 1.0,
|
| 68 |
-
"torchscript": false,
|
| 69 |
-
"use_bfloat16": false,
|
| 70 |
"vocab_size": 50265
|
| 71 |
}
|
|
|
|
| 2 |
"_num_labels": 3,
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
"architectures": [
|
| 7 |
"BartForConditionalGeneration"
|
| 8 |
],
|
|
|
|
| 15 |
"decoder_layerdrop": 0.0,
|
| 16 |
"decoder_layers": 2,
|
| 17 |
"decoder_start_token_id": 2,
|
|
|
|
| 18 |
"dropout": 0.1,
|
|
|
|
| 19 |
"encoder_attention_heads": 2,
|
| 20 |
"encoder_ffn_dim": 16,
|
| 21 |
"encoder_layerdrop": 0.0,
|
| 22 |
"encoder_layers": 2,
|
| 23 |
"eos_token_id": 2,
|
|
|
|
| 24 |
"id2label": {
|
| 25 |
"0": "LABEL_0",
|
| 26 |
"1": "LABEL_1",
|
| 27 |
"2": "LABEL_2"
|
| 28 |
},
|
| 29 |
"init_std": 0.02,
|
|
|
|
| 30 |
"is_encoder_decoder": true,
|
| 31 |
"label2id": {
|
| 32 |
"LABEL_0": 0,
|
| 33 |
"LABEL_1": 1,
|
| 34 |
"LABEL_2": 2
|
| 35 |
},
|
|
|
|
|
|
|
| 36 |
"max_position_embeddings": 1024,
|
|
|
|
| 37 |
"model_type": "bart",
|
| 38 |
+
"normalize_before": false,
|
|
|
|
| 39 |
"num_hidden_layers": 2,
|
|
|
|
|
|
|
|
|
|
| 40 |
"output_past": true,
|
| 41 |
"pad_token_id": 1,
|
| 42 |
"prefix": " ",
|
| 43 |
+
"scale_embedding": false,
|
|
|
|
| 44 |
"task_specific_params": {
|
| 45 |
"summarization": {
|
| 46 |
"early_stopping": true,
|
|
|
|
| 51 |
"num_beams": 4
|
| 52 |
}
|
| 53 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
"vocab_size": 50265
|
| 55 |
}
|