wenxxx commited on
Commit
7d9ebed
1 Parent(s): 1c88a5d

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +96 -0
config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 3,
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "LEDForConditionalGeneration"
9
+ ],
10
+ "attention_dilation": [
11
+ 1,
12
+ 1,
13
+ 1,
14
+ 1,
15
+ 1,
16
+ 1,
17
+ 1,
18
+ 1,
19
+ 1,
20
+ 1,
21
+ 1,
22
+ 1
23
+ ],
24
+ "attention_dropout": 0.0,
25
+ "attention_mode": "sliding_chunks",
26
+ "attention_window": [
27
+ 512,
28
+ 512,
29
+ 512,
30
+ 512,
31
+ 512,
32
+ 512,
33
+ 512,
34
+ 512,
35
+ 512,
36
+ 512,
37
+ 512,
38
+ 512
39
+ ],
40
+ "autoregressive": false,
41
+ "bos_token_id": 0,
42
+ "classif_dropout": 0.0,
43
+ "classifier_dropout": 0.0,
44
+ "d_model": 1024,
45
+ "decoder_attention_heads": 16,
46
+ "decoder_ffn_dim": 4096,
47
+ "decoder_layerdrop": 0.0,
48
+ "decoder_layers": 12,
49
+ "decoder_start_token_id": 2,
50
+ "dropout": 0.1,
51
+ "encoder_attention_heads": 16,
52
+ "encoder_ffn_dim": 4096,
53
+ "encoder_layerdrop": 0.0,
54
+ "encoder_layers": 12,
55
+ "eos_token_id": 2,
56
+ "extra_pos_embeddings": 2,
57
+ "force_bos_token_to_be_generated": false,
58
+ "id2label": {
59
+ "0": "LABEL_0",
60
+ "1": "LABEL_1",
61
+ "2": "LABEL_2"
62
+ },
63
+ "init_std": 0.02,
64
+ "is_encoder_decoder": true,
65
+ "label2id": {
66
+ "LABEL_0": 0,
67
+ "LABEL_1": 1,
68
+ "LABEL_2": 2
69
+ },
70
+ "max_decoder_position_embeddings": 1024,
71
+ "max_encoder_position_embeddings": 4096,
72
+ "max_position_embeddings": 1024,
73
+ "model_type": "led",
74
+ "normalize_before": false,
75
+ "normalize_embedding": true,
76
+ "num_hidden_layers": 12,
77
+ "output_past": false,
78
+ "pad_token_id": 1,
79
+ "prefix": " ",
80
+ "scale_embedding": false,
81
+ "static_position_embeddings": false,
82
+ "task_specific_params": {
83
+ "summarization": {
84
+ "early_stopping": true,
85
+ "length_penalty": 2.0,
86
+ "max_length": 142,
87
+ "min_length": 56,
88
+ "no_repeat_ngram_size": 3,
89
+ "num_beams": 4
90
+ }
91
+ },
92
+ "torch_dtype": "float32",
93
+ "transformers_version": "4.11.3",
94
+ "use_cache": true,
95
+ "vocab_size": 50266
96
+ }