Alejandro Vaca Serrano commited on
Commit
d79589c
1 Parent(s): cae25d8

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +59 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/xprophetnet-large-wiki100-cased",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_cross_attention": true,
6
+ "architectures": [
7
+ "XLMProphetNetForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.1,
10
+ "bos_token_id": 2,
11
+ "decoder_ffn_dim": 4096,
12
+ "decoder_layerdrop": 0.0,
13
+ "decoder_max_position_embeddings": 514,
14
+ "decoder_start_token_id": 2,
15
+ "disable_ngram_loss": false,
16
+ "dropout": 0.1,
17
+ "encoder_ffn_dim": 4096,
18
+ "encoder_layerdrop": 0.0,
19
+ "encoder_max_position_embeddings": 513,
20
+ "eos_token_id": 2,
21
+ "eps": 0.0,
22
+ "hidden_size": 1024,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2"
27
+ },
28
+ "init_std": 0.02,
29
+ "is_encoder_decoder": true,
30
+ "label2id": {
31
+ "LABEL_0": 0,
32
+ "LABEL_1": 1,
33
+ "LABEL_2": 2
34
+ },
35
+ "max_position_embeddings": 512,
36
+ "model_type": "xlm-prophetnet",
37
+ "ngram": 2,
38
+ "num_buckets": 32,
39
+ "num_decoder_attention_heads": 16,
40
+ "num_decoder_layers": 12,
41
+ "num_encoder_attention_heads": 16,
42
+ "num_encoder_layers": 12,
43
+ "output_past": false,
44
+ "pad_token_id": 0,
45
+ "prefix": " ",
46
+ "relative_max_distance": 128,
47
+ "task_specific_params": {
48
+ "summarization": {
49
+ "early_stopping": true,
50
+ "length_penalty": 2.0,
51
+ "no_repeat_ngram_size": 3,
52
+ "num_beams": 4
53
+ }
54
+ },
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.17.0",
57
+ "use_cache": true,
58
+ "vocab_size": 250012
59
+ }