Davlan commited on
Commit
0676823
1 Parent(s): 23fa48c

add MT model

Browse files
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "predict_bleu": 26.7203,
4
+ "predict_gen_len": 42.206,
5
+ "predict_loss": 1.5180044174194336,
6
+ "predict_runtime": 932.4738,
7
+ "predict_samples": 1835,
8
+ "predict_samples_per_second": 1.968,
9
+ "predict_steps_per_second": 0.197,
10
+ "train_loss": 1.726544579967116,
11
+ "train_runtime": 9217.6926,
12
+ "train_samples": 30782,
13
+ "train_samples_per_second": 33.394,
14
+ "train_steps_per_second": 3.34
15
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "afriT5_1",
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.10.3",
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": 26.7203,
3
+ "predict_gen_len": 42.206,
4
+ "predict_loss": 1.5180044174194336,
5
+ "predict_runtime": 932.4738,
6
+ "predict_samples": 1835,
7
+ "predict_samples_per_second": 1.968,
8
+ "predict_steps_per_second": 0.197
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d6032ee9705d0333c511dd1f002228f119f35e20970473abb0b4ca8486a39e0
3
+ size 2329626573
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": "afriT5_1", "sp_model_kwargs": {}, "tokenizer_class": "T5Tokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": 1.726544579967116,
4
+ "train_runtime": 9217.6926,
5
+ "train_samples": 30782,
6
+ "train_samples_per_second": 33.394,
7
+ "train_steps_per_second": 3.34
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": 3.1126,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.32,
18
+ "learning_rate": 4.8376096135108804e-05,
19
+ "loss": 2.5083,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.49,
24
+ "learning_rate": 4.7564144202663205e-05,
25
+ "loss": 2.3491,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.65,
30
+ "learning_rate": 4.6752192270217606e-05,
31
+ "loss": 2.2759,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.81,
36
+ "learning_rate": 4.5940240337772006e-05,
37
+ "loss": 2.2089,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.97,
42
+ "learning_rate": 4.512828840532641e-05,
43
+ "loss": 2.1629,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.14,
48
+ "learning_rate": 4.431633647288081e-05,
49
+ "loss": 2.0658,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.3,
54
+ "learning_rate": 4.350438454043521e-05,
55
+ "loss": 2.0382,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 1.46,
60
+ "learning_rate": 4.269243260798961e-05,
61
+ "loss": 1.9921,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.62,
66
+ "learning_rate": 4.188048067554401e-05,
67
+ "loss": 2.0076,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 1.79,
72
+ "learning_rate": 4.106852874309841e-05,
73
+ "loss": 1.9684,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 1.95,
78
+ "learning_rate": 4.025657681065281e-05,
79
+ "loss": 1.9399,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 2.11,
84
+ "learning_rate": 3.944462487820721e-05,
85
+ "loss": 1.8806,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 2.27,
90
+ "learning_rate": 3.8632672945761614e-05,
91
+ "loss": 1.8606,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 2.44,
96
+ "learning_rate": 3.7820721013316015e-05,
97
+ "loss": 1.8487,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 2.6,
102
+ "learning_rate": 3.7008769080870415e-05,
103
+ "loss": 1.8272,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 2.76,
108
+ "learning_rate": 3.6196817148424816e-05,
109
+ "loss": 1.8094,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 2.92,
114
+ "learning_rate": 3.538486521597922e-05,
115
+ "loss": 1.8095,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 3.09,
120
+ "learning_rate": 3.457291328353362e-05,
121
+ "loss": 1.7765,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 3.25,
126
+ "learning_rate": 3.376096135108802e-05,
127
+ "loss": 1.7497,
128
+ "step": 10000
129
+ },
130
+ {
131
+ "epoch": 3.41,
132
+ "learning_rate": 3.294900941864242e-05,
133
+ "loss": 1.7282,
134
+ "step": 10500
135
+ },
136
+ {
137
+ "epoch": 3.57,
138
+ "learning_rate": 3.213705748619682e-05,
139
+ "loss": 1.7146,
140
+ "step": 11000
141
+ },
142
+ {
143
+ "epoch": 3.73,
144
+ "learning_rate": 3.132510555375122e-05,
145
+ "loss": 1.7382,
146
+ "step": 11500
147
+ },
148
+ {
149
+ "epoch": 3.9,
150
+ "learning_rate": 3.051315362130562e-05,
151
+ "loss": 1.7151,
152
+ "step": 12000
153
+ },
154
+ {
155
+ "epoch": 4.06,
156
+ "learning_rate": 2.970120168886002e-05,
157
+ "loss": 1.6829,
158
+ "step": 12500
159
+ },
160
+ {
161
+ "epoch": 4.22,
162
+ "learning_rate": 2.888924975641442e-05,
163
+ "loss": 1.6476,
164
+ "step": 13000
165
+ },
166
+ {
167
+ "epoch": 4.38,
168
+ "learning_rate": 2.8077297823968824e-05,
169
+ "loss": 1.6511,
170
+ "step": 13500
171
+ },
172
+ {
173
+ "epoch": 4.55,
174
+ "learning_rate": 2.7265345891523225e-05,
175
+ "loss": 1.6491,
176
+ "step": 14000
177
+ },
178
+ {
179
+ "epoch": 4.71,
180
+ "learning_rate": 2.6453393959077623e-05,
181
+ "loss": 1.6518,
182
+ "step": 14500
183
+ },
184
+ {
185
+ "epoch": 4.87,
186
+ "learning_rate": 2.5641442026632023e-05,
187
+ "loss": 1.6616,
188
+ "step": 15000
189
+ },
190
+ {
191
+ "epoch": 5.03,
192
+ "learning_rate": 2.4829490094186424e-05,
193
+ "loss": 1.6279,
194
+ "step": 15500
195
+ },
196
+ {
197
+ "epoch": 5.2,
198
+ "learning_rate": 2.401753816174083e-05,
199
+ "loss": 1.6113,
200
+ "step": 16000
201
+ },
202
+ {
203
+ "epoch": 5.36,
204
+ "learning_rate": 2.3205586229295226e-05,
205
+ "loss": 1.5877,
206
+ "step": 16500
207
+ },
208
+ {
209
+ "epoch": 5.52,
210
+ "learning_rate": 2.2393634296849627e-05,
211
+ "loss": 1.593,
212
+ "step": 17000
213
+ },
214
+ {
215
+ "epoch": 5.68,
216
+ "learning_rate": 2.158168236440403e-05,
217
+ "loss": 1.5803,
218
+ "step": 17500
219
+ },
220
+ {
221
+ "epoch": 5.85,
222
+ "learning_rate": 2.0769730431958428e-05,
223
+ "loss": 1.587,
224
+ "step": 18000
225
+ },
226
+ {
227
+ "epoch": 6.01,
228
+ "learning_rate": 1.995777849951283e-05,
229
+ "loss": 1.6017,
230
+ "step": 18500
231
+ },
232
+ {
233
+ "epoch": 6.17,
234
+ "learning_rate": 1.914582656706723e-05,
235
+ "loss": 1.5571,
236
+ "step": 19000
237
+ },
238
+ {
239
+ "epoch": 6.33,
240
+ "learning_rate": 1.833387463462163e-05,
241
+ "loss": 1.5448,
242
+ "step": 19500
243
+ },
244
+ {
245
+ "epoch": 6.5,
246
+ "learning_rate": 1.752192270217603e-05,
247
+ "loss": 1.5461,
248
+ "step": 20000
249
+ },
250
+ {
251
+ "epoch": 6.66,
252
+ "learning_rate": 1.6709970769730432e-05,
253
+ "loss": 1.5556,
254
+ "step": 20500
255
+ },
256
+ {
257
+ "epoch": 6.82,
258
+ "learning_rate": 1.5898018837284833e-05,
259
+ "loss": 1.5499,
260
+ "step": 21000
261
+ },
262
+ {
263
+ "epoch": 6.98,
264
+ "learning_rate": 1.5086066904839236e-05,
265
+ "loss": 1.5442,
266
+ "step": 21500
267
+ },
268
+ {
269
+ "epoch": 7.15,
270
+ "learning_rate": 1.4274114972393635e-05,
271
+ "loss": 1.519,
272
+ "step": 22000
273
+ },
274
+ {
275
+ "epoch": 7.31,
276
+ "learning_rate": 1.3462163039948036e-05,
277
+ "loss": 1.5078,
278
+ "step": 22500
279
+ },
280
+ {
281
+ "epoch": 7.47,
282
+ "learning_rate": 1.2650211107502435e-05,
283
+ "loss": 1.5119,
284
+ "step": 23000
285
+ },
286
+ {
287
+ "epoch": 7.63,
288
+ "learning_rate": 1.1838259175056837e-05,
289
+ "loss": 1.517,
290
+ "step": 23500
291
+ },
292
+ {
293
+ "epoch": 7.79,
294
+ "learning_rate": 1.1026307242611238e-05,
295
+ "loss": 1.5205,
296
+ "step": 24000
297
+ },
298
+ {
299
+ "epoch": 7.96,
300
+ "learning_rate": 1.0214355310165639e-05,
301
+ "loss": 1.5194,
302
+ "step": 24500
303
+ },
304
+ {
305
+ "epoch": 8.12,
306
+ "learning_rate": 9.40240337772004e-06,
307
+ "loss": 1.507,
308
+ "step": 25000
309
+ },
310
+ {
311
+ "epoch": 8.28,
312
+ "learning_rate": 8.59045144527444e-06,
313
+ "loss": 1.4918,
314
+ "step": 25500
315
+ },
316
+ {
317
+ "epoch": 8.44,
318
+ "learning_rate": 7.778499512828841e-06,
319
+ "loss": 1.5041,
320
+ "step": 26000
321
+ },
322
+ {
323
+ "epoch": 8.61,
324
+ "learning_rate": 6.966547580383241e-06,
325
+ "loss": 1.5041,
326
+ "step": 26500
327
+ },
328
+ {
329
+ "epoch": 8.77,
330
+ "learning_rate": 6.154595647937642e-06,
331
+ "loss": 1.4848,
332
+ "step": 27000
333
+ },
334
+ {
335
+ "epoch": 8.93,
336
+ "learning_rate": 5.342643715492044e-06,
337
+ "loss": 1.4847,
338
+ "step": 27500
339
+ },
340
+ {
341
+ "epoch": 9.09,
342
+ "learning_rate": 4.530691783046444e-06,
343
+ "loss": 1.4702,
344
+ "step": 28000
345
+ },
346
+ {
347
+ "epoch": 9.26,
348
+ "learning_rate": 3.718739850600845e-06,
349
+ "loss": 1.4893,
350
+ "step": 28500
351
+ },
352
+ {
353
+ "epoch": 9.42,
354
+ "learning_rate": 2.9067879181552453e-06,
355
+ "loss": 1.4766,
356
+ "step": 29000
357
+ },
358
+ {
359
+ "epoch": 9.58,
360
+ "learning_rate": 2.094835985709646e-06,
361
+ "loss": 1.4724,
362
+ "step": 29500
363
+ },
364
+ {
365
+ "epoch": 9.74,
366
+ "learning_rate": 1.2828840532640467e-06,
367
+ "loss": 1.4887,
368
+ "step": 30000
369
+ },
370
+ {
371
+ "epoch": 9.91,
372
+ "learning_rate": 4.7093212081844755e-07,
373
+ "loss": 1.4828,
374
+ "step": 30500
375
+ },
376
+ {
377
+ "epoch": 10.0,
378
+ "step": 30790,
379
+ "total_flos": 1.1015677873363968e+17,
380
+ "train_loss": 1.726544579967116,
381
+ "train_runtime": 9217.6926,
382
+ "train_samples_per_second": 33.394,
383
+ "train_steps_per_second": 3.34
384
+ }
385
+ ],
386
+ "max_steps": 30790,
387
+ "num_train_epochs": 10,
388
+ "total_flos": 1.1015677873363968e+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:8f831f31216478bc232b81b1656b5d41f69cc5e3e7b0965ff6f0495ed7e8d501
3
+ size 2799