dongxiaoqun
commited on
Commit
·
4621d8d
1
Parent(s):
43d7361
Upload config.json
Browse files- config.json +56 -0
config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.1,
|
| 3 |
+
"activation_function": "relu",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": true,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"PegasusForConditionalGeneration"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.1,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"classif_dropout": 0.0,
|
| 12 |
+
"classifier_dropout": 0.0,
|
| 13 |
+
"d_model": 1024,
|
| 14 |
+
"decoder_attention_heads": 16,
|
| 15 |
+
"decoder_ffn_dim": 4096,
|
| 16 |
+
"decoder_layerdrop": 0.0,
|
| 17 |
+
"decoder_layers": 16,
|
| 18 |
+
"decoder_start_token_id": 0,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"encoder_attention_heads": 16,
|
| 21 |
+
"encoder_ffn_dim": 4096,
|
| 22 |
+
"encoder_layerdrop": 0.0,
|
| 23 |
+
"encoder_layers": 16,
|
| 24 |
+
"eos_token_id": 1,
|
| 25 |
+
"extra_pos_embeddings": 1,
|
| 26 |
+
"force_bos_token_to_be_generated": false,
|
| 27 |
+
"forced_eos_token_id": 1,
|
| 28 |
+
"gradient_checkpointing": false,
|
| 29 |
+
"id2label": {
|
| 30 |
+
"0": "LABEL_0",
|
| 31 |
+
"1": "LABEL_1",
|
| 32 |
+
"2": "LABEL_2"
|
| 33 |
+
},
|
| 34 |
+
"init_std": 0.02,
|
| 35 |
+
"is_encoder_decoder": true,
|
| 36 |
+
"label2id": {
|
| 37 |
+
"LABEL_0": 0,
|
| 38 |
+
"LABEL_1": 1,
|
| 39 |
+
"LABEL_2": 2
|
| 40 |
+
},
|
| 41 |
+
"length_penalty": 0.8,
|
| 42 |
+
"max_length": 256,
|
| 43 |
+
"max_position_embeddings": 1024,
|
| 44 |
+
"model_type": "pegasus",
|
| 45 |
+
"normalize_before": true,
|
| 46 |
+
"normalize_embedding": false,
|
| 47 |
+
"num_beams": 8,
|
| 48 |
+
"num_hidden_layers": 16,
|
| 49 |
+
"pad_token_id": 0,
|
| 50 |
+
"scale_embedding": true,
|
| 51 |
+
"static_position_embeddings": true,
|
| 52 |
+
"torch_dtype": "float16",
|
| 53 |
+
"transformers_version": "4.10.2",
|
| 54 |
+
"use_cache": true,
|
| 55 |
+
"vocab_size": 50000
|
| 56 |
+
}
|