Update config.json
Browse files- config.json +45 -0
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.1,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"add_cross_attention": true,
|
5 |
+
"architectures": [
|
6 |
+
"ProphetNetForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 102,
|
10 |
+
"decoder_ffn_dim": 4096,
|
11 |
+
"decoder_layerdrop": 0.0,
|
12 |
+
"decoder_start_token_id": 102,
|
13 |
+
"disable_ngram_loss": false,
|
14 |
+
"dropout": 0.1,
|
15 |
+
"encoder_ffn_dim": 4096,
|
16 |
+
"encoder_layerdrop": 0.0,
|
17 |
+
"eos_token_id": 102,
|
18 |
+
"eps": 0.0,
|
19 |
+
"hidden_size": 1024,
|
20 |
+
"id2label": {
|
21 |
+
"0": "LABEL_0",
|
22 |
+
"1": "LABEL_1",
|
23 |
+
"2": "LABEL_2"
|
24 |
+
},
|
25 |
+
"init_std": 0.02,
|
26 |
+
"is_encoder_decoder": true,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_2": 2
|
31 |
+
},
|
32 |
+
"max_position_embeddings": 512,
|
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 |
+
"vocab_size": 30522
|
45 |
+
}
|