Update config.json
Browse files- config.json +81 -0
config.json
CHANGED
@@ -21,6 +21,7 @@
|
|
21 |
"encoder_layers": 16,
|
22 |
"eos_token_id": 1,
|
23 |
"extra_pos_embeddings": 1,
|
|
|
24 |
"id2label": {
|
25 |
"0": "LABEL_0",
|
26 |
"1": "LABEL_1",
|
@@ -44,5 +45,85 @@
|
|
44 |
"pad_token_id": 0,
|
45 |
"scale_embedding": true,
|
46 |
"static_position_embeddings": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
"vocab_size": 96103
|
48 |
}
|
|
|
21 |
"encoder_layers": 16,
|
22 |
"eos_token_id": 1,
|
23 |
"extra_pos_embeddings": 1,
|
24 |
+
"force_bos_token_to_be_generated": false,
|
25 |
"id2label": {
|
26 |
"0": "LABEL_0",
|
27 |
"1": "LABEL_1",
|
|
|
45 |
"pad_token_id": 0,
|
46 |
"scale_embedding": true,
|
47 |
"static_position_embeddings": true,
|
48 |
+
"task_specific_params": {
|
49 |
+
"summarization_aeslc": {
|
50 |
+
"length_penalty": 0.6,
|
51 |
+
"max_length": 32,
|
52 |
+
"max_model_length": 512,
|
53 |
+
"max_position_embeddings": 512
|
54 |
+
},
|
55 |
+
"summarization_arxiv": {
|
56 |
+
"length_penalty": 0.8,
|
57 |
+
"max_length": 256,
|
58 |
+
"max_model_length": 1024,
|
59 |
+
"max_position_embeddings": 1024
|
60 |
+
},
|
61 |
+
"summarization_big_patent": {
|
62 |
+
"length_penalty": 0.7,
|
63 |
+
"max_length": 256,
|
64 |
+
"max_model_length": 1024,
|
65 |
+
"max_position_embeddings": 1024
|
66 |
+
},
|
67 |
+
"summarization_billsum": {
|
68 |
+
"length_penalty": 0.6,
|
69 |
+
"max_length": 256,
|
70 |
+
"max_model_length": 1024,
|
71 |
+
"max_position_embeddings": 1024
|
72 |
+
},
|
73 |
+
"summarization_cnn_dailymail": {
|
74 |
+
"length_penalty": 0.8,
|
75 |
+
"max_length": 128,
|
76 |
+
"max_model_length": 1024,
|
77 |
+
"max_position_embeddings": 1024
|
78 |
+
},
|
79 |
+
"summarization_gigaword": {
|
80 |
+
"length_penalty": 0.6,
|
81 |
+
"max_length": 32,
|
82 |
+
"max_model_length": 128,
|
83 |
+
"max_position_embeddings": 128
|
84 |
+
},
|
85 |
+
"summarization_large": {
|
86 |
+
"length_penalty": 0.8,
|
87 |
+
"max_length": 256,
|
88 |
+
"max_model_length": 1024,
|
89 |
+
"max_position_embeddings": 1024
|
90 |
+
},
|
91 |
+
"summarization_multi_news": {
|
92 |
+
"length_penalty": 0.8,
|
93 |
+
"max_length": 256,
|
94 |
+
"max_model_length": 1024,
|
95 |
+
"max_position_embeddings": 1024
|
96 |
+
},
|
97 |
+
"summarization_newsroom": {
|
98 |
+
"length_penalty": 0.8,
|
99 |
+
"max_length": 128,
|
100 |
+
"max_model_length": 512,
|
101 |
+
"max_position_embeddings": 512
|
102 |
+
},
|
103 |
+
"summarization_pubmed": {
|
104 |
+
"length_penalty": 0.8,
|
105 |
+
"max_length": 256,
|
106 |
+
"max_model_length": 1024,
|
107 |
+
"max_position_embeddings": 1024
|
108 |
+
},
|
109 |
+
"summarization_reddit_tifu": {
|
110 |
+
"length_penalty": 0.6,
|
111 |
+
"max_length": 128,
|
112 |
+
"max_model_length": 512,
|
113 |
+
"max_position_embeddings": 512
|
114 |
+
},
|
115 |
+
"summarization_wikihow": {
|
116 |
+
"length_penalty": 0.6,
|
117 |
+
"max_length": 256,
|
118 |
+
"max_model_length": 512,
|
119 |
+
"max_position_embeddings": 512
|
120 |
+
},
|
121 |
+
"summarization_xsum": {
|
122 |
+
"length_penalty": 0.8,
|
123 |
+
"max_length": 64,
|
124 |
+
"max_model_length": 512,
|
125 |
+
"max_position_embeddings": 512
|
126 |
+
}
|
127 |
+
},
|
128 |
"vocab_size": 96103
|
129 |
}
|