Davlan commited on
Commit
3ca8a18
1 Parent(s): c31b9f0

add MT model

Browse files
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "predict_bleu": 29.6438,
4
+ "predict_gen_len": 31.6207,
5
+ "predict_loss": 1.7702044248580933,
6
+ "predict_runtime": 778.1224,
7
+ "predict_samples": 1835,
8
+ "predict_samples_per_second": 2.358,
9
+ "predict_steps_per_second": 0.236,
10
+ "train_loss": 1.9253252357118662,
11
+ "train_runtime": 9071.4614,
12
+ "train_samples": 30782,
13
+ "train_samples_per_second": 33.933,
14
+ "train_steps_per_second": 3.394
15
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mt5-base",
3
+ "architectures": [
4
+ "MT5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 2048,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "dropout_rate": 0.1,
11
+ "eos_token_id": 1,
12
+ "feed_forward_proj": "gated-gelu",
13
+ "initializer_factor": 1.0,
14
+ "is_encoder_decoder": true,
15
+ "layer_norm_epsilon": 1e-06,
16
+ "model_type": "mt5",
17
+ "num_decoder_layers": 12,
18
+ "num_heads": 12,
19
+ "num_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 0,
22
+ "relative_attention_num_buckets": 32,
23
+ "tie_word_embeddings": false,
24
+ "tokenizer_class": "T5Tokenizer",
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.12.0",
27
+ "use_cache": true,
28
+ "vocab_size": 250100
29
+ }
generated_predictions.txt ADDED
The diff for this file is too large to render. See raw diff
 
predict_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "predict_bleu": 29.6438,
3
+ "predict_gen_len": 31.6207,
4
+ "predict_loss": 1.7702044248580933,
5
+ "predict_runtime": 778.1224,
6
+ "predict_samples": 1835,
7
+ "predict_samples_per_second": 2.358,
8
+ "predict_steps_per_second": 0.236
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd46c022cce05f8c84a79cdad0d3cacc17385e209cea1eee639ee14cc159428e
3
+ size 2329633625
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
3
+ size 4309802
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "extra_ids": 0, "additional_special_tokens": null, "special_tokens_map_file": "/home/patrick/.cache/torch/transformers/685ac0ca8568ec593a48b61b0a3c272beee9bc194a3c7241d15dcadb5f875e53.f76030f3ec1b96a8199b2593390c610e76ca8028ef3d24680000619ffb646276", "name_or_path": "google/mt5-base", "sp_model_kwargs": {}, "tokenizer_class": "T5Tokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": 1.9253252357118662,
4
+ "train_runtime": 9071.4614,
5
+ "train_samples": 30782,
6
+ "train_samples_per_second": 33.933,
7
+ "train_steps_per_second": 3.394
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,391 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "global_step": 30790,
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.16,
12
+ "learning_rate": 4.91880480675544e-05,
13
+ "loss": 6.2619,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.32,
18
+ "learning_rate": 4.8376096135108804e-05,
19
+ "loss": 3.0109,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.49,
24
+ "learning_rate": 4.7564144202663205e-05,
25
+ "loss": 2.7142,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.65,
30
+ "learning_rate": 4.6752192270217606e-05,
31
+ "loss": 2.5762,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.81,
36
+ "learning_rate": 4.5940240337772006e-05,
37
+ "loss": 2.4756,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.97,
42
+ "learning_rate": 4.512828840532641e-05,
43
+ "loss": 2.4088,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.14,
48
+ "learning_rate": 4.431633647288081e-05,
49
+ "loss": 2.2681,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.3,
54
+ "learning_rate": 4.350438454043521e-05,
55
+ "loss": 2.2359,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 1.46,
60
+ "learning_rate": 4.269243260798961e-05,
61
+ "loss": 2.1707,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.62,
66
+ "learning_rate": 4.188048067554401e-05,
67
+ "loss": 2.1889,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 1.79,
72
+ "learning_rate": 4.106852874309841e-05,
73
+ "loss": 2.1455,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 1.95,
78
+ "learning_rate": 4.025657681065281e-05,
79
+ "loss": 2.1098,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 2.11,
84
+ "learning_rate": 3.944462487820721e-05,
85
+ "loss": 2.0472,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 2.27,
90
+ "learning_rate": 3.8632672945761614e-05,
91
+ "loss": 2.0236,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 2.44,
96
+ "learning_rate": 3.7820721013316015e-05,
97
+ "loss": 2.0058,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 2.6,
102
+ "learning_rate": 3.7008769080870415e-05,
103
+ "loss": 1.9819,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 2.76,
108
+ "learning_rate": 3.6196817148424816e-05,
109
+ "loss": 1.9693,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 2.92,
114
+ "learning_rate": 3.538486521597922e-05,
115
+ "loss": 1.9716,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 3.09,
120
+ "learning_rate": 3.457291328353362e-05,
121
+ "loss": 1.9299,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 3.25,
126
+ "learning_rate": 3.376096135108802e-05,
127
+ "loss": 1.883,
128
+ "step": 10000
129
+ },
130
+ {
131
+ "epoch": 3.41,
132
+ "learning_rate": 3.294900941864242e-05,
133
+ "loss": 1.8925,
134
+ "step": 10500
135
+ },
136
+ {
137
+ "epoch": 3.57,
138
+ "learning_rate": 3.213705748619682e-05,
139
+ "loss": 1.8461,
140
+ "step": 11000
141
+ },
142
+ {
143
+ "epoch": 3.73,
144
+ "learning_rate": 3.132510555375122e-05,
145
+ "loss": 1.8724,
146
+ "step": 11500
147
+ },
148
+ {
149
+ "epoch": 3.9,
150
+ "learning_rate": 3.051315362130562e-05,
151
+ "loss": 1.8458,
152
+ "step": 12000
153
+ },
154
+ {
155
+ "epoch": 4.06,
156
+ "learning_rate": 2.970120168886002e-05,
157
+ "loss": 1.8223,
158
+ "step": 12500
159
+ },
160
+ {
161
+ "epoch": 4.22,
162
+ "learning_rate": 2.888924975641442e-05,
163
+ "loss": 1.801,
164
+ "step": 13000
165
+ },
166
+ {
167
+ "epoch": 4.38,
168
+ "learning_rate": 2.8077297823968824e-05,
169
+ "loss": 1.7806,
170
+ "step": 13500
171
+ },
172
+ {
173
+ "epoch": 4.55,
174
+ "learning_rate": 2.7265345891523225e-05,
175
+ "loss": 1.7882,
176
+ "step": 14000
177
+ },
178
+ {
179
+ "epoch": 4.71,
180
+ "learning_rate": 2.6453393959077623e-05,
181
+ "loss": 1.7875,
182
+ "step": 14500
183
+ },
184
+ {
185
+ "epoch": 4.87,
186
+ "learning_rate": 2.5641442026632023e-05,
187
+ "loss": 1.7748,
188
+ "step": 15000
189
+ },
190
+ {
191
+ "epoch": 5.03,
192
+ "learning_rate": 2.4829490094186424e-05,
193
+ "loss": 1.7489,
194
+ "step": 15500
195
+ },
196
+ {
197
+ "epoch": 5.2,
198
+ "learning_rate": 2.401753816174083e-05,
199
+ "loss": 1.7441,
200
+ "step": 16000
201
+ },
202
+ {
203
+ "epoch": 5.36,
204
+ "learning_rate": 2.3205586229295226e-05,
205
+ "loss": 1.7264,
206
+ "step": 16500
207
+ },
208
+ {
209
+ "epoch": 5.52,
210
+ "learning_rate": 2.2393634296849627e-05,
211
+ "loss": 1.711,
212
+ "step": 17000
213
+ },
214
+ {
215
+ "epoch": 5.68,
216
+ "learning_rate": 2.158168236440403e-05,
217
+ "loss": 1.6942,
218
+ "step": 17500
219
+ },
220
+ {
221
+ "epoch": 5.85,
222
+ "learning_rate": 2.0769730431958428e-05,
223
+ "loss": 1.7088,
224
+ "step": 18000
225
+ },
226
+ {
227
+ "epoch": 6.01,
228
+ "learning_rate": 1.995777849951283e-05,
229
+ "loss": 1.728,
230
+ "step": 18500
231
+ },
232
+ {
233
+ "epoch": 6.17,
234
+ "learning_rate": 1.914582656706723e-05,
235
+ "loss": 1.6627,
236
+ "step": 19000
237
+ },
238
+ {
239
+ "epoch": 6.33,
240
+ "learning_rate": 1.833387463462163e-05,
241
+ "loss": 1.6723,
242
+ "step": 19500
243
+ },
244
+ {
245
+ "epoch": 6.5,
246
+ "learning_rate": 1.752192270217603e-05,
247
+ "loss": 1.6742,
248
+ "step": 20000
249
+ },
250
+ {
251
+ "epoch": 6.66,
252
+ "learning_rate": 1.6709970769730432e-05,
253
+ "loss": 1.6784,
254
+ "step": 20500
255
+ },
256
+ {
257
+ "epoch": 6.82,
258
+ "learning_rate": 1.5898018837284833e-05,
259
+ "loss": 1.6584,
260
+ "step": 21000
261
+ },
262
+ {
263
+ "epoch": 6.98,
264
+ "learning_rate": 1.5086066904839236e-05,
265
+ "loss": 1.6705,
266
+ "step": 21500
267
+ },
268
+ {
269
+ "epoch": 7.15,
270
+ "learning_rate": 1.4274114972393635e-05,
271
+ "loss": 1.6482,
272
+ "step": 22000
273
+ },
274
+ {
275
+ "epoch": 7.31,
276
+ "learning_rate": 1.3462163039948036e-05,
277
+ "loss": 1.6227,
278
+ "step": 22500
279
+ },
280
+ {
281
+ "epoch": 7.47,
282
+ "learning_rate": 1.2650211107502435e-05,
283
+ "loss": 1.6244,
284
+ "step": 23000
285
+ },
286
+ {
287
+ "epoch": 7.63,
288
+ "learning_rate": 1.1838259175056837e-05,
289
+ "loss": 1.6374,
290
+ "step": 23500
291
+ },
292
+ {
293
+ "epoch": 7.79,
294
+ "learning_rate": 1.1026307242611238e-05,
295
+ "loss": 1.6298,
296
+ "step": 24000
297
+ },
298
+ {
299
+ "epoch": 7.96,
300
+ "learning_rate": 1.0214355310165639e-05,
301
+ "loss": 1.6211,
302
+ "step": 24500
303
+ },
304
+ {
305
+ "epoch": 8.12,
306
+ "learning_rate": 9.40240337772004e-06,
307
+ "loss": 1.6121,
308
+ "step": 25000
309
+ },
310
+ {
311
+ "epoch": 8.28,
312
+ "learning_rate": 8.59045144527444e-06,
313
+ "loss": 1.6133,
314
+ "step": 25500
315
+ },
316
+ {
317
+ "epoch": 8.44,
318
+ "learning_rate": 7.778499512828841e-06,
319
+ "loss": 1.6169,
320
+ "step": 26000
321
+ },
322
+ {
323
+ "epoch": 8.61,
324
+ "learning_rate": 6.966547580383241e-06,
325
+ "loss": 1.6111,
326
+ "step": 26500
327
+ },
328
+ {
329
+ "epoch": 8.77,
330
+ "learning_rate": 6.154595647937642e-06,
331
+ "loss": 1.6026,
332
+ "step": 27000
333
+ },
334
+ {
335
+ "epoch": 8.93,
336
+ "learning_rate": 5.342643715492044e-06,
337
+ "loss": 1.6043,
338
+ "step": 27500
339
+ },
340
+ {
341
+ "epoch": 9.09,
342
+ "learning_rate": 4.530691783046444e-06,
343
+ "loss": 1.5807,
344
+ "step": 28000
345
+ },
346
+ {
347
+ "epoch": 9.26,
348
+ "learning_rate": 3.718739850600845e-06,
349
+ "loss": 1.6012,
350
+ "step": 28500
351
+ },
352
+ {
353
+ "epoch": 9.42,
354
+ "learning_rate": 2.9067879181552453e-06,
355
+ "loss": 1.6052,
356
+ "step": 29000
357
+ },
358
+ {
359
+ "epoch": 9.58,
360
+ "learning_rate": 2.094835985709646e-06,
361
+ "loss": 1.583,
362
+ "step": 29500
363
+ },
364
+ {
365
+ "epoch": 9.74,
366
+ "learning_rate": 1.2828840532640467e-06,
367
+ "loss": 1.5791,
368
+ "step": 30000
369
+ },
370
+ {
371
+ "epoch": 9.91,
372
+ "learning_rate": 4.7093212081844755e-07,
373
+ "loss": 1.5865,
374
+ "step": 30500
375
+ },
376
+ {
377
+ "epoch": 10.0,
378
+ "step": 30790,
379
+ "total_flos": 1.1014453095395328e+17,
380
+ "train_loss": 1.9253252357118662,
381
+ "train_runtime": 9071.4614,
382
+ "train_samples_per_second": 33.933,
383
+ "train_steps_per_second": 3.394
384
+ }
385
+ ],
386
+ "max_steps": 30790,
387
+ "num_train_epochs": 10,
388
+ "total_flos": 1.1014453095395328e+17,
389
+ "trial_name": null,
390
+ "trial_params": null
391
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19fb2527e03d51a0225b13a0df7ee5de27921c257d56b993ad4184a0b4d351dc
3
+ size 2927