Update config.json
Browse files- config.json +53 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.1,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"ProphetNetForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_token_id": 102,
|
9 |
+
"decoder_ffn_dim": 4096,
|
10 |
+
"decoder_layerdrop": 0.0,
|
11 |
+
"decoder_start_token_id": 102,
|
12 |
+
"disable_ngram_loss": false,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"encoder_ffn_dim": 4096,
|
15 |
+
"encoder_layerdrop": 0.0,
|
16 |
+
"eos_token_id": 102,
|
17 |
+
"eps": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
+
"id2label": {
|
20 |
+
"0": "LABEL_0",
|
21 |
+
"1": "LABEL_1",
|
22 |
+
"2": "LABEL_2"
|
23 |
+
},
|
24 |
+
"init_std": 0.02,
|
25 |
+
"is_encoder_decoder": true,
|
26 |
+
"label2id": {
|
27 |
+
"LABEL_0": 0,
|
28 |
+
"LABEL_1": 1,
|
29 |
+
"LABEL_2": 2
|
30 |
+
},
|
31 |
+
"encoder_max_position_embeddings": 513,
|
32 |
+
"decoder_max_position_embeddings": 514,
|
33 |
+
"model_type": "prophetnet",
|
34 |
+
"ngram": 2,
|
35 |
+
"num_buckets": 32,
|
36 |
+
"num_decoder_attention_heads": 16,
|
37 |
+
"num_decoder_layers": 12,
|
38 |
+
"num_encoder_attention_heads": 16,
|
39 |
+
"num_encoder_layers": 12,
|
40 |
+
"output_past": false,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"prefix": " ",
|
43 |
+
"relative_max_distance": 128,
|
44 |
+
"task_specific_params": {
|
45 |
+
"summarization": {
|
46 |
+
"early_stopping": true,
|
47 |
+
"length_penalty": 2.0,
|
48 |
+
"no_repeat_ngram_size": 3,
|
49 |
+
"num_beams": 4
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"vocab_size": 30522
|
53 |
+
}
|