ToddGoldfarb
commited on
Commit
•
f8ed694
1
Parent(s):
261b9ee
Upload 8 files
Browse files- config.json +60 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- trainer_state.json +274 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "t5-small",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 2048,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 512,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dense_act_fn": "relu",
|
11 |
+
"dropout_rate": 0.1,
|
12 |
+
"eos_token_id": 1,
|
13 |
+
"feed_forward_proj": "relu",
|
14 |
+
"initializer_factor": 1.0,
|
15 |
+
"is_encoder_decoder": true,
|
16 |
+
"is_gated_act": false,
|
17 |
+
"layer_norm_epsilon": 1e-06,
|
18 |
+
"model_type": "t5",
|
19 |
+
"n_positions": 512,
|
20 |
+
"num_decoder_layers": 6,
|
21 |
+
"num_heads": 8,
|
22 |
+
"num_layers": 6,
|
23 |
+
"output_past": true,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"relative_attention_max_distance": 128,
|
26 |
+
"relative_attention_num_buckets": 32,
|
27 |
+
"task_specific_params": {
|
28 |
+
"summarization": {
|
29 |
+
"early_stopping": true,
|
30 |
+
"length_penalty": 2.0,
|
31 |
+
"max_length": 200,
|
32 |
+
"min_length": 30,
|
33 |
+
"no_repeat_ngram_size": 3,
|
34 |
+
"num_beams": 4,
|
35 |
+
"prefix": "summarize: "
|
36 |
+
},
|
37 |
+
"translation_en_to_de": {
|
38 |
+
"early_stopping": true,
|
39 |
+
"max_length": 300,
|
40 |
+
"num_beams": 4,
|
41 |
+
"prefix": "translate English to German: "
|
42 |
+
},
|
43 |
+
"translation_en_to_fr": {
|
44 |
+
"early_stopping": true,
|
45 |
+
"max_length": 300,
|
46 |
+
"num_beams": 4,
|
47 |
+
"prefix": "translate English to French: "
|
48 |
+
},
|
49 |
+
"translation_en_to_ro": {
|
50 |
+
"early_stopping": true,
|
51 |
+
"max_length": 300,
|
52 |
+
"num_beams": 4,
|
53 |
+
"prefix": "translate English to Romanian: "
|
54 |
+
}
|
55 |
+
},
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.27.4",
|
58 |
+
"use_cache": true,
|
59 |
+
"vocab_size": 32128
|
60 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.27.4"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e0a85de5f90b0140c76169b0a44ae8684db447e594346e8f8e48d769a7633f1
|
3 |
+
size 242071641
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cc11f15efb3481532d2eb68567c5af957ef4d398fc068694830deed3269eb4c
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5ddd690ee0ad537eae8b7a7925d681dd4d4e8525251eccb6717bbe2da89261c
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:673069abc9f27049d729924b4bbb245d2d0143dd368e6562a56ee5e9416412b9
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9868723033140548,
|
5 |
+
"global_step": 21500,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.02,
|
12 |
+
"learning_rate": 1.9545579730101903e-05,
|
13 |
+
"loss": 1.1232,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.05,
|
18 |
+
"learning_rate": 1.9086569356467456e-05,
|
19 |
+
"loss": 0.0953,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.07,
|
24 |
+
"learning_rate": 1.8627558982833013e-05,
|
25 |
+
"loss": 0.0845,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.09,
|
30 |
+
"learning_rate": 1.816854860919857e-05,
|
31 |
+
"loss": 0.0796,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.11,
|
36 |
+
"learning_rate": 1.7709538235564126e-05,
|
37 |
+
"loss": 0.0796,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.14,
|
42 |
+
"learning_rate": 1.725052786192968e-05,
|
43 |
+
"loss": 0.078,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.16,
|
48 |
+
"learning_rate": 1.6791517488295236e-05,
|
49 |
+
"loss": 0.0766,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.18,
|
54 |
+
"learning_rate": 1.6332507114660793e-05,
|
55 |
+
"loss": 0.0742,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.21,
|
60 |
+
"learning_rate": 1.587349674102635e-05,
|
61 |
+
"loss": 0.0741,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.23,
|
66 |
+
"learning_rate": 1.5414486367391906e-05,
|
67 |
+
"loss": 0.0743,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.25,
|
72 |
+
"learning_rate": 1.495547599375746e-05,
|
73 |
+
"loss": 0.0738,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 0.28,
|
78 |
+
"learning_rate": 1.4496465620123017e-05,
|
79 |
+
"loss": 0.0725,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.3,
|
84 |
+
"learning_rate": 1.4037455246488572e-05,
|
85 |
+
"loss": 0.0728,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.32,
|
90 |
+
"learning_rate": 1.3578444872854129e-05,
|
91 |
+
"loss": 0.0706,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.34,
|
96 |
+
"learning_rate": 1.3119434499219684e-05,
|
97 |
+
"loss": 0.0697,
|
98 |
+
"step": 7500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.37,
|
102 |
+
"learning_rate": 1.266042412558524e-05,
|
103 |
+
"loss": 0.0713,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 0.39,
|
108 |
+
"learning_rate": 1.2201413751950796e-05,
|
109 |
+
"loss": 0.0701,
|
110 |
+
"step": 8500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 0.41,
|
114 |
+
"learning_rate": 1.1742403378316352e-05,
|
115 |
+
"loss": 0.07,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 0.44,
|
120 |
+
"learning_rate": 1.1283393004681905e-05,
|
121 |
+
"loss": 0.0692,
|
122 |
+
"step": 9500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.46,
|
126 |
+
"learning_rate": 1.0824382631047464e-05,
|
127 |
+
"loss": 0.069,
|
128 |
+
"step": 10000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.48,
|
132 |
+
"learning_rate": 1.0365372257413017e-05,
|
133 |
+
"loss": 0.0694,
|
134 |
+
"step": 10500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 0.5,
|
138 |
+
"learning_rate": 9.906361883778575e-06,
|
139 |
+
"loss": 0.0691,
|
140 |
+
"step": 11000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 0.53,
|
144 |
+
"learning_rate": 9.44735151014413e-06,
|
145 |
+
"loss": 0.0685,
|
146 |
+
"step": 11500
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 0.55,
|
150 |
+
"learning_rate": 8.988341136509687e-06,
|
151 |
+
"loss": 0.0682,
|
152 |
+
"step": 12000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 0.57,
|
156 |
+
"learning_rate": 8.529330762875242e-06,
|
157 |
+
"loss": 0.0682,
|
158 |
+
"step": 12500
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 0.6,
|
162 |
+
"learning_rate": 8.070320389240799e-06,
|
163 |
+
"loss": 0.0682,
|
164 |
+
"step": 13000
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 0.62,
|
168 |
+
"learning_rate": 7.6113100156063535e-06,
|
169 |
+
"loss": 0.067,
|
170 |
+
"step": 13500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.64,
|
174 |
+
"learning_rate": 7.152299641971909e-06,
|
175 |
+
"loss": 0.0669,
|
176 |
+
"step": 14000
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 0.67,
|
180 |
+
"learning_rate": 6.693289268337465e-06,
|
181 |
+
"loss": 0.066,
|
182 |
+
"step": 14500
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 0.69,
|
186 |
+
"learning_rate": 6.234278894703021e-06,
|
187 |
+
"loss": 0.0664,
|
188 |
+
"step": 15000
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 0.71,
|
192 |
+
"learning_rate": 5.776186541815846e-06,
|
193 |
+
"loss": 0.0667,
|
194 |
+
"step": 15500
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 0.73,
|
198 |
+
"learning_rate": 5.317176168181402e-06,
|
199 |
+
"loss": 0.0667,
|
200 |
+
"step": 16000
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 0.76,
|
204 |
+
"learning_rate": 4.858165794546958e-06,
|
205 |
+
"loss": 0.0671,
|
206 |
+
"step": 16500
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 0.78,
|
210 |
+
"learning_rate": 4.3991554209125135e-06,
|
211 |
+
"loss": 0.0668,
|
212 |
+
"step": 17000
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.8,
|
216 |
+
"learning_rate": 3.940145047278069e-06,
|
217 |
+
"loss": 0.0661,
|
218 |
+
"step": 17500
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 0.83,
|
222 |
+
"learning_rate": 3.4811346736436247e-06,
|
223 |
+
"loss": 0.0674,
|
224 |
+
"step": 18000
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 0.85,
|
228 |
+
"learning_rate": 3.0221243000091805e-06,
|
229 |
+
"loss": 0.0662,
|
230 |
+
"step": 18500
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 0.87,
|
234 |
+
"learning_rate": 2.5631139263747363e-06,
|
235 |
+
"loss": 0.067,
|
236 |
+
"step": 19000
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 0.9,
|
240 |
+
"learning_rate": 2.104103552740292e-06,
|
241 |
+
"loss": 0.0657,
|
242 |
+
"step": 19500
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 0.92,
|
246 |
+
"learning_rate": 1.645093179105848e-06,
|
247 |
+
"loss": 0.0658,
|
248 |
+
"step": 20000
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 0.94,
|
252 |
+
"learning_rate": 1.1860828054714039e-06,
|
253 |
+
"loss": 0.0663,
|
254 |
+
"step": 20500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.96,
|
258 |
+
"learning_rate": 7.270724318369595e-07,
|
259 |
+
"loss": 0.0661,
|
260 |
+
"step": 21000
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 0.99,
|
264 |
+
"learning_rate": 2.6898007894978427e-07,
|
265 |
+
"loss": 0.0666,
|
266 |
+
"step": 21500
|
267 |
+
}
|
268 |
+
],
|
269 |
+
"max_steps": 21786,
|
270 |
+
"num_train_epochs": 1,
|
271 |
+
"total_flos": 4.6557579706368e+16,
|
272 |
+
"trial_name": null,
|
273 |
+
"trial_params": null
|
274 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d233f9b90f3820095541074b2705fbe32e08ff220d764fd9c262afcd8809171
|
3 |
+
size 3707
|