shannons commited on
Commit
2285881
1 Parent(s): e3a93e8

Model Release for primera-multi_lexsum-source-short

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