moussaKam commited on
Commit
ca6d28c
1 Parent(s): 5952c1d
all_results.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_runtime": 865.2735,
4
+ "train_samples": 200000,
5
+ "train_samples_per_second": 43.339
6
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "checkpoints/tiny_bert",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 128,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 512,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "bert",
22
+ "num_attention_heads": 2,
23
+ "num_hidden_layers": 2,
24
+ "pad_token_id": 0,
25
+ "position_embedding_type": "absolute",
26
+ "transformers_version": "4.6.0.dev0",
27
+ "type_vocab_size": 2,
28
+ "use_cache": true,
29
+ "vocab_size": 30522
30
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94f53ac91de46b8a0f108c36332b61b4cfc71d3ab7af25f6037127a97cf265d3
3
+ size 17565609
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "checkpoints/tiny_bert", "do_basic_tokenize": true, "never_split": null}
train_results.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_runtime": 865.2735,
4
+ "train_samples": 200000,
5
+ "train_samples_per_second": 43.339
6
+ }
trainer_state.json ADDED
@@ -0,0 +1,473 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 37500,
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.04,
12
+ "learning_rate": 4.4355555555555555e-06,
13
+ "loss": 0.0959,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.08,
18
+ "learning_rate": 8.880000000000001e-06,
19
+ "loss": 0.0055,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.12,
24
+ "learning_rate": 1.3324444444444446e-05,
25
+ "loss": 0.0042,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.16,
30
+ "learning_rate": 1.776888888888889e-05,
31
+ "loss": 0.0038,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.2,
36
+ "learning_rate": 1.985872340425532e-05,
37
+ "loss": 0.0033,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.24,
42
+ "learning_rate": 1.9575035460992908e-05,
43
+ "loss": 0.0033,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.28,
48
+ "learning_rate": 1.92913475177305e-05,
49
+ "loss": 0.0031,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.32,
54
+ "learning_rate": 1.9007659574468088e-05,
55
+ "loss": 0.0032,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.36,
60
+ "learning_rate": 1.8723971631205676e-05,
61
+ "loss": 0.0031,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 0.4,
66
+ "learning_rate": 1.8440283687943264e-05,
67
+ "loss": 0.003,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 0.44,
72
+ "learning_rate": 1.815659574468085e-05,
73
+ "loss": 0.0029,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 0.48,
78
+ "learning_rate": 1.7872907801418443e-05,
79
+ "loss": 0.003,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 0.52,
84
+ "learning_rate": 1.758921985815603e-05,
85
+ "loss": 0.0029,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 0.56,
90
+ "learning_rate": 1.730553191489362e-05,
91
+ "loss": 0.0029,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 0.6,
96
+ "learning_rate": 1.7021843971631207e-05,
97
+ "loss": 0.0029,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 0.64,
102
+ "learning_rate": 1.6738156028368795e-05,
103
+ "loss": 0.0029,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 0.68,
108
+ "learning_rate": 1.6454468085106386e-05,
109
+ "loss": 0.0028,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 0.72,
114
+ "learning_rate": 1.6170780141843974e-05,
115
+ "loss": 0.0029,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 0.76,
120
+ "learning_rate": 1.5887092198581562e-05,
121
+ "loss": 0.0028,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 0.8,
126
+ "learning_rate": 1.560340425531915e-05,
127
+ "loss": 0.0028,
128
+ "step": 10000
129
+ },
130
+ {
131
+ "epoch": 0.84,
132
+ "learning_rate": 1.5320283687943263e-05,
133
+ "loss": 0.0028,
134
+ "step": 10500
135
+ },
136
+ {
137
+ "epoch": 0.88,
138
+ "learning_rate": 1.5036595744680853e-05,
139
+ "loss": 0.0028,
140
+ "step": 11000
141
+ },
142
+ {
143
+ "epoch": 0.92,
144
+ "learning_rate": 1.4753475177304965e-05,
145
+ "loss": 0.0028,
146
+ "step": 11500
147
+ },
148
+ {
149
+ "epoch": 0.96,
150
+ "learning_rate": 1.4469787234042553e-05,
151
+ "loss": 0.0028,
152
+ "step": 12000
153
+ },
154
+ {
155
+ "epoch": 1.0,
156
+ "learning_rate": 1.4186099290780141e-05,
157
+ "loss": 0.0028,
158
+ "step": 12500
159
+ },
160
+ {
161
+ "epoch": 1.04,
162
+ "learning_rate": 1.3902411347517733e-05,
163
+ "loss": 0.0026,
164
+ "step": 13000
165
+ },
166
+ {
167
+ "epoch": 1.08,
168
+ "learning_rate": 1.361872340425532e-05,
169
+ "loss": 0.0026,
170
+ "step": 13500
171
+ },
172
+ {
173
+ "epoch": 1.12,
174
+ "learning_rate": 1.3335035460992909e-05,
175
+ "loss": 0.0027,
176
+ "step": 14000
177
+ },
178
+ {
179
+ "epoch": 1.16,
180
+ "learning_rate": 1.3051347517730497e-05,
181
+ "loss": 0.0026,
182
+ "step": 14500
183
+ },
184
+ {
185
+ "epoch": 1.2,
186
+ "learning_rate": 1.2767659574468085e-05,
187
+ "loss": 0.0026,
188
+ "step": 15000
189
+ },
190
+ {
191
+ "epoch": 1.24,
192
+ "learning_rate": 1.24845390070922e-05,
193
+ "loss": 0.0026,
194
+ "step": 15500
195
+ },
196
+ {
197
+ "epoch": 1.28,
198
+ "learning_rate": 1.2201418439716313e-05,
199
+ "loss": 0.0025,
200
+ "step": 16000
201
+ },
202
+ {
203
+ "epoch": 1.32,
204
+ "learning_rate": 1.1917730496453901e-05,
205
+ "loss": 0.0026,
206
+ "step": 16500
207
+ },
208
+ {
209
+ "epoch": 1.36,
210
+ "learning_rate": 1.1634042553191491e-05,
211
+ "loss": 0.0026,
212
+ "step": 17000
213
+ },
214
+ {
215
+ "epoch": 1.4,
216
+ "learning_rate": 1.1350354609929079e-05,
217
+ "loss": 0.0027,
218
+ "step": 17500
219
+ },
220
+ {
221
+ "epoch": 1.44,
222
+ "learning_rate": 1.1066666666666669e-05,
223
+ "loss": 0.0026,
224
+ "step": 18000
225
+ },
226
+ {
227
+ "epoch": 1.48,
228
+ "learning_rate": 1.0782978723404257e-05,
229
+ "loss": 0.0027,
230
+ "step": 18500
231
+ },
232
+ {
233
+ "epoch": 1.52,
234
+ "learning_rate": 1.0499290780141845e-05,
235
+ "loss": 0.0026,
236
+ "step": 19000
237
+ },
238
+ {
239
+ "epoch": 1.56,
240
+ "learning_rate": 1.0215602836879433e-05,
241
+ "loss": 0.0026,
242
+ "step": 19500
243
+ },
244
+ {
245
+ "epoch": 1.6,
246
+ "learning_rate": 9.932482269503547e-06,
247
+ "loss": 0.0026,
248
+ "step": 20000
249
+ },
250
+ {
251
+ "epoch": 1.64,
252
+ "learning_rate": 9.648794326241135e-06,
253
+ "loss": 0.0026,
254
+ "step": 20500
255
+ },
256
+ {
257
+ "epoch": 1.68,
258
+ "learning_rate": 9.365106382978723e-06,
259
+ "loss": 0.0026,
260
+ "step": 21000
261
+ },
262
+ {
263
+ "epoch": 1.72,
264
+ "learning_rate": 9.081418439716313e-06,
265
+ "loss": 0.0025,
266
+ "step": 21500
267
+ },
268
+ {
269
+ "epoch": 1.76,
270
+ "learning_rate": 8.798297872340427e-06,
271
+ "loss": 0.0025,
272
+ "step": 22000
273
+ },
274
+ {
275
+ "epoch": 1.8,
276
+ "learning_rate": 8.514609929078015e-06,
277
+ "loss": 0.0025,
278
+ "step": 22500
279
+ },
280
+ {
281
+ "epoch": 1.84,
282
+ "learning_rate": 8.230921985815603e-06,
283
+ "loss": 0.0025,
284
+ "step": 23000
285
+ },
286
+ {
287
+ "epoch": 1.88,
288
+ "learning_rate": 7.947234042553192e-06,
289
+ "loss": 0.0025,
290
+ "step": 23500
291
+ },
292
+ {
293
+ "epoch": 1.92,
294
+ "learning_rate": 7.664113475177307e-06,
295
+ "loss": 0.0026,
296
+ "step": 24000
297
+ },
298
+ {
299
+ "epoch": 1.96,
300
+ "learning_rate": 7.380425531914894e-06,
301
+ "loss": 0.0026,
302
+ "step": 24500
303
+ },
304
+ {
305
+ "epoch": 2.0,
306
+ "learning_rate": 7.096737588652483e-06,
307
+ "loss": 0.0025,
308
+ "step": 25000
309
+ },
310
+ {
311
+ "epoch": 2.04,
312
+ "learning_rate": 6.813049645390072e-06,
313
+ "loss": 0.0024,
314
+ "step": 25500
315
+ },
316
+ {
317
+ "epoch": 2.08,
318
+ "learning_rate": 6.529929078014184e-06,
319
+ "loss": 0.0024,
320
+ "step": 26000
321
+ },
322
+ {
323
+ "epoch": 2.12,
324
+ "learning_rate": 6.246241134751774e-06,
325
+ "loss": 0.0024,
326
+ "step": 26500
327
+ },
328
+ {
329
+ "epoch": 2.16,
330
+ "learning_rate": 5.962553191489362e-06,
331
+ "loss": 0.0024,
332
+ "step": 27000
333
+ },
334
+ {
335
+ "epoch": 2.2,
336
+ "learning_rate": 5.6788652482269516e-06,
337
+ "loss": 0.0024,
338
+ "step": 27500
339
+ },
340
+ {
341
+ "epoch": 2.24,
342
+ "learning_rate": 5.395744680851064e-06,
343
+ "loss": 0.0024,
344
+ "step": 28000
345
+ },
346
+ {
347
+ "epoch": 2.28,
348
+ "learning_rate": 5.112056737588653e-06,
349
+ "loss": 0.0024,
350
+ "step": 28500
351
+ },
352
+ {
353
+ "epoch": 2.32,
354
+ "learning_rate": 4.828368794326241e-06,
355
+ "loss": 0.0024,
356
+ "step": 29000
357
+ },
358
+ {
359
+ "epoch": 2.36,
360
+ "learning_rate": 4.54468085106383e-06,
361
+ "loss": 0.0024,
362
+ "step": 29500
363
+ },
364
+ {
365
+ "epoch": 2.4,
366
+ "learning_rate": 4.261560283687944e-06,
367
+ "loss": 0.0024,
368
+ "step": 30000
369
+ },
370
+ {
371
+ "epoch": 2.44,
372
+ "learning_rate": 3.977872340425532e-06,
373
+ "loss": 0.0024,
374
+ "step": 30500
375
+ },
376
+ {
377
+ "epoch": 2.48,
378
+ "learning_rate": 3.694184397163121e-06,
379
+ "loss": 0.0025,
380
+ "step": 31000
381
+ },
382
+ {
383
+ "epoch": 2.52,
384
+ "learning_rate": 3.41049645390071e-06,
385
+ "loss": 0.0024,
386
+ "step": 31500
387
+ },
388
+ {
389
+ "epoch": 2.56,
390
+ "learning_rate": 3.1273758865248228e-06,
391
+ "loss": 0.0024,
392
+ "step": 32000
393
+ },
394
+ {
395
+ "epoch": 2.6,
396
+ "learning_rate": 2.8436879432624116e-06,
397
+ "loss": 0.0024,
398
+ "step": 32500
399
+ },
400
+ {
401
+ "epoch": 2.64,
402
+ "learning_rate": 2.56e-06,
403
+ "loss": 0.0025,
404
+ "step": 33000
405
+ },
406
+ {
407
+ "epoch": 2.68,
408
+ "learning_rate": 2.276312056737589e-06,
409
+ "loss": 0.0024,
410
+ "step": 33500
411
+ },
412
+ {
413
+ "epoch": 2.72,
414
+ "learning_rate": 1.9931914893617023e-06,
415
+ "loss": 0.0024,
416
+ "step": 34000
417
+ },
418
+ {
419
+ "epoch": 2.76,
420
+ "learning_rate": 1.709503546099291e-06,
421
+ "loss": 0.0024,
422
+ "step": 34500
423
+ },
424
+ {
425
+ "epoch": 2.8,
426
+ "learning_rate": 1.4258156028368794e-06,
427
+ "loss": 0.0024,
428
+ "step": 35000
429
+ },
430
+ {
431
+ "epoch": 2.84,
432
+ "learning_rate": 1.1421276595744682e-06,
433
+ "loss": 0.0023,
434
+ "step": 35500
435
+ },
436
+ {
437
+ "epoch": 2.88,
438
+ "learning_rate": 8.590070921985816e-07,
439
+ "loss": 0.0024,
440
+ "step": 36000
441
+ },
442
+ {
443
+ "epoch": 2.92,
444
+ "learning_rate": 5.753191489361703e-07,
445
+ "loss": 0.0023,
446
+ "step": 36500
447
+ },
448
+ {
449
+ "epoch": 2.96,
450
+ "learning_rate": 2.916312056737589e-07,
451
+ "loss": 0.0023,
452
+ "step": 37000
453
+ },
454
+ {
455
+ "epoch": 3.0,
456
+ "learning_rate": 7.943262411347518e-09,
457
+ "loss": 0.0024,
458
+ "step": 37500
459
+ },
460
+ {
461
+ "epoch": 3.0,
462
+ "step": 37500,
463
+ "total_flos": 538957701120000.0,
464
+ "train_runtime": 865.2735,
465
+ "train_samples_per_second": 43.339
466
+ }
467
+ ],
468
+ "max_steps": 37500,
469
+ "num_train_epochs": 3,
470
+ "total_flos": 538957701120000.0,
471
+ "trial_name": null,
472
+ "trial_params": null
473
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9445275368292bf873038b245e8a58f9970f3c501779abe82f6faaa06b230cd3
3
+ size 2415
vocab.txt ADDED
The diff for this file is too large to render. See raw diff