tyzhu commited on
Commit
4c7902a
1 Parent(s): bc521c5

Training in progress, epoch 13, checkpoint

Browse files
checkpoint-3250/README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+
9
+ - PEFT 0.5.0
checkpoint-3250/adapter_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "Qwen/Qwen1.5-4B",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 16,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 16,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "k_proj",
19
+ "v_proj",
20
+ "down_proj",
21
+ "gate_proj",
22
+ "up_proj"
23
+ ],
24
+ "task_type": "CAUSAL_LM"
25
+ }
checkpoint-3250/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64cf11f8658e074a77b05edf18600592d49f0af10bab111c27bb5058d01d8a39
3
+ size 112130416
checkpoint-3250/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-3250/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3250/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbae6d8f86bbc4ff03ee2e3e66872c101dde0e308662c31b56fe47d4801f221f
3
+ size 224537202
checkpoint-3250/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbe3eeb85ad6125e9c720931612782bfb33dc653e6508eafa576c018dbac7f6c
3
+ size 15024
checkpoint-3250/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89cba79818c7c57715915330d6251dab794769fb455234c9dc6d7c2bd2e0d435
3
+ size 15024
checkpoint-3250/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbbd9086bcb785da51dcc2ef082d512acba7272152c32ad4fdc7691dfe2a8cfb
3
+ size 15024
checkpoint-3250/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce43dd6b881dd02a4e0a6eab49d4d8400e7e234b4f7472cc6ee52032dcd71428
3
+ size 15024
checkpoint-3250/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:617f341aa04099b8b3dd8bf78793d36b56f480d1cb8e742337bb4e5b146313c0
3
+ size 1064
checkpoint-3250/special_tokens_map.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": "<|endoftext|>"
14
+ }
checkpoint-3250/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3250/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "bos_token": null,
34
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "<|endoftext|>",
37
+ "errors": "replace",
38
+ "model_max_length": 32768,
39
+ "pad_token": "<|endoftext|>",
40
+ "split_special_tokens": false,
41
+ "tokenizer_class": "Qwen2Tokenizer",
42
+ "unk_token": null
43
+ }
checkpoint-3250/trainer_state.json ADDED
@@ -0,0 +1,452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 13.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3250,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.4,
13
+ "grad_norm": 0.5897082090377808,
14
+ "learning_rate": 0.0001,
15
+ "loss": 2.3566,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.8,
20
+ "grad_norm": 0.5390245914459229,
21
+ "learning_rate": 0.0001,
22
+ "loss": 2.2503,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.5155873015873016,
28
+ "eval_loss": 2.3237216472625732,
29
+ "eval_runtime": 6.3164,
30
+ "eval_samples_per_second": 79.159,
31
+ "eval_steps_per_second": 9.974,
32
+ "step": 250
33
+ },
34
+ {
35
+ "epoch": 1.0,
36
+ "eval_exact_match": 17.2,
37
+ "eval_f1": 25.586581359816655,
38
+ "step": 250
39
+ },
40
+ {
41
+ "epoch": 1.2,
42
+ "grad_norm": 0.7468857169151306,
43
+ "learning_rate": 0.0001,
44
+ "loss": 2.1798,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 1.6,
49
+ "grad_norm": 0.9109599590301514,
50
+ "learning_rate": 0.0001,
51
+ "loss": 2.1094,
52
+ "step": 400
53
+ },
54
+ {
55
+ "epoch": 2.0,
56
+ "grad_norm": 0.8458774089813232,
57
+ "learning_rate": 0.0001,
58
+ "loss": 2.087,
59
+ "step": 500
60
+ },
61
+ {
62
+ "epoch": 2.0,
63
+ "eval_accuracy": 0.5163809523809524,
64
+ "eval_loss": 2.3309242725372314,
65
+ "eval_runtime": 5.1896,
66
+ "eval_samples_per_second": 96.347,
67
+ "eval_steps_per_second": 12.14,
68
+ "step": 500
69
+ },
70
+ {
71
+ "epoch": 2.0,
72
+ "eval_exact_match": 18.6,
73
+ "eval_f1": 26.043196248196264,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.4,
78
+ "grad_norm": 1.171212077140808,
79
+ "learning_rate": 0.0001,
80
+ "loss": 1.8413,
81
+ "step": 600
82
+ },
83
+ {
84
+ "epoch": 2.8,
85
+ "grad_norm": 1.1294909715652466,
86
+ "learning_rate": 0.0001,
87
+ "loss": 1.849,
88
+ "step": 700
89
+ },
90
+ {
91
+ "epoch": 3.0,
92
+ "eval_accuracy": 0.5144761904761905,
93
+ "eval_loss": 2.401942253112793,
94
+ "eval_runtime": 5.5775,
95
+ "eval_samples_per_second": 89.646,
96
+ "eval_steps_per_second": 11.295,
97
+ "step": 750
98
+ },
99
+ {
100
+ "epoch": 3.0,
101
+ "eval_exact_match": 18.4,
102
+ "eval_f1": 26.966370002546494,
103
+ "step": 750
104
+ },
105
+ {
106
+ "epoch": 3.2,
107
+ "grad_norm": 1.5013824701309204,
108
+ "learning_rate": 0.0001,
109
+ "loss": 1.7322,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 3.6,
114
+ "grad_norm": 1.4516321420669556,
115
+ "learning_rate": 0.0001,
116
+ "loss": 1.5908,
117
+ "step": 900
118
+ },
119
+ {
120
+ "epoch": 4.0,
121
+ "grad_norm": 1.6037466526031494,
122
+ "learning_rate": 0.0001,
123
+ "loss": 1.6193,
124
+ "step": 1000
125
+ },
126
+ {
127
+ "epoch": 4.0,
128
+ "eval_accuracy": 0.5103809523809524,
129
+ "eval_loss": 2.5039021968841553,
130
+ "eval_runtime": 5.1568,
131
+ "eval_samples_per_second": 96.96,
132
+ "eval_steps_per_second": 12.217,
133
+ "step": 1000
134
+ },
135
+ {
136
+ "epoch": 4.0,
137
+ "eval_exact_match": 18.4,
138
+ "eval_f1": 26.892813852813866,
139
+ "step": 1000
140
+ },
141
+ {
142
+ "epoch": 4.4,
143
+ "grad_norm": 1.7909170389175415,
144
+ "learning_rate": 0.0001,
145
+ "loss": 1.3298,
146
+ "step": 1100
147
+ },
148
+ {
149
+ "epoch": 4.8,
150
+ "grad_norm": 1.9236161708831787,
151
+ "learning_rate": 0.0001,
152
+ "loss": 1.3666,
153
+ "step": 1200
154
+ },
155
+ {
156
+ "epoch": 5.0,
157
+ "eval_accuracy": 0.505015873015873,
158
+ "eval_loss": 2.6543924808502197,
159
+ "eval_runtime": 5.5115,
160
+ "eval_samples_per_second": 90.719,
161
+ "eval_steps_per_second": 11.431,
162
+ "step": 1250
163
+ },
164
+ {
165
+ "epoch": 5.0,
166
+ "eval_exact_match": 18.4,
167
+ "eval_f1": 25.875286609941792,
168
+ "step": 1250
169
+ },
170
+ {
171
+ "epoch": 5.2,
172
+ "grad_norm": 1.8524874448776245,
173
+ "learning_rate": 0.0001,
174
+ "loss": 1.2381,
175
+ "step": 1300
176
+ },
177
+ {
178
+ "epoch": 5.6,
179
+ "grad_norm": 2.1092071533203125,
180
+ "learning_rate": 0.0001,
181
+ "loss": 1.1141,
182
+ "step": 1400
183
+ },
184
+ {
185
+ "epoch": 6.0,
186
+ "grad_norm": 2.065767288208008,
187
+ "learning_rate": 0.0001,
188
+ "loss": 1.1435,
189
+ "step": 1500
190
+ },
191
+ {
192
+ "epoch": 6.0,
193
+ "eval_accuracy": 0.5010793650793651,
194
+ "eval_loss": 2.843566656112671,
195
+ "eval_runtime": 5.1394,
196
+ "eval_samples_per_second": 97.287,
197
+ "eval_steps_per_second": 12.258,
198
+ "step": 1500
199
+ },
200
+ {
201
+ "epoch": 6.0,
202
+ "eval_exact_match": 17.4,
203
+ "eval_f1": 24.31514874014875,
204
+ "step": 1500
205
+ },
206
+ {
207
+ "epoch": 6.4,
208
+ "grad_norm": 2.329406261444092,
209
+ "learning_rate": 0.0001,
210
+ "loss": 0.8887,
211
+ "step": 1600
212
+ },
213
+ {
214
+ "epoch": 6.8,
215
+ "grad_norm": 2.489598274230957,
216
+ "learning_rate": 0.0001,
217
+ "loss": 0.9171,
218
+ "step": 1700
219
+ },
220
+ {
221
+ "epoch": 7.0,
222
+ "eval_accuracy": 0.49707936507936507,
223
+ "eval_loss": 3.0319864749908447,
224
+ "eval_runtime": 5.3015,
225
+ "eval_samples_per_second": 94.313,
226
+ "eval_steps_per_second": 11.883,
227
+ "step": 1750
228
+ },
229
+ {
230
+ "epoch": 7.0,
231
+ "eval_exact_match": 16.0,
232
+ "eval_f1": 22.824985569985575,
233
+ "step": 1750
234
+ },
235
+ {
236
+ "epoch": 7.2,
237
+ "grad_norm": 2.764033794403076,
238
+ "learning_rate": 0.0001,
239
+ "loss": 0.8093,
240
+ "step": 1800
241
+ },
242
+ {
243
+ "epoch": 7.6,
244
+ "grad_norm": 2.5643441677093506,
245
+ "learning_rate": 0.0001,
246
+ "loss": 0.724,
247
+ "step": 1900
248
+ },
249
+ {
250
+ "epoch": 8.0,
251
+ "grad_norm": 2.074833631515503,
252
+ "learning_rate": 0.0001,
253
+ "loss": 0.7531,
254
+ "step": 2000
255
+ },
256
+ {
257
+ "epoch": 8.0,
258
+ "eval_accuracy": 0.49304761904761907,
259
+ "eval_loss": 3.2584712505340576,
260
+ "eval_runtime": 5.2945,
261
+ "eval_samples_per_second": 94.438,
262
+ "eval_steps_per_second": 11.899,
263
+ "step": 2000
264
+ },
265
+ {
266
+ "epoch": 8.0,
267
+ "eval_exact_match": 15.0,
268
+ "eval_f1": 21.895264180264185,
269
+ "step": 2000
270
+ },
271
+ {
272
+ "epoch": 8.4,
273
+ "grad_norm": 2.649679660797119,
274
+ "learning_rate": 0.0001,
275
+ "loss": 0.5777,
276
+ "step": 2100
277
+ },
278
+ {
279
+ "epoch": 8.8,
280
+ "grad_norm": 2.1969234943389893,
281
+ "learning_rate": 0.0001,
282
+ "loss": 0.6101,
283
+ "step": 2200
284
+ },
285
+ {
286
+ "epoch": 9.0,
287
+ "eval_accuracy": 0.4925079365079365,
288
+ "eval_loss": 3.3418095111846924,
289
+ "eval_runtime": 5.1381,
290
+ "eval_samples_per_second": 97.312,
291
+ "eval_steps_per_second": 12.261,
292
+ "step": 2250
293
+ },
294
+ {
295
+ "epoch": 9.0,
296
+ "eval_exact_match": 14.4,
297
+ "eval_f1": 21.76202020202021,
298
+ "step": 2250
299
+ },
300
+ {
301
+ "epoch": 9.2,
302
+ "grad_norm": 1.8318747282028198,
303
+ "learning_rate": 0.0001,
304
+ "loss": 0.555,
305
+ "step": 2300
306
+ },
307
+ {
308
+ "epoch": 9.6,
309
+ "grad_norm": 1.9915804862976074,
310
+ "learning_rate": 0.0001,
311
+ "loss": 0.5102,
312
+ "step": 2400
313
+ },
314
+ {
315
+ "epoch": 10.0,
316
+ "grad_norm": 2.1287789344787598,
317
+ "learning_rate": 0.0001,
318
+ "loss": 0.5392,
319
+ "step": 2500
320
+ },
321
+ {
322
+ "epoch": 10.0,
323
+ "eval_accuracy": 0.4915555555555556,
324
+ "eval_loss": 3.537275791168213,
325
+ "eval_runtime": 5.1264,
326
+ "eval_samples_per_second": 97.534,
327
+ "eval_steps_per_second": 12.289,
328
+ "step": 2500
329
+ },
330
+ {
331
+ "epoch": 10.0,
332
+ "eval_exact_match": 15.4,
333
+ "eval_f1": 22.23013114336644,
334
+ "step": 2500
335
+ },
336
+ {
337
+ "epoch": 10.4,
338
+ "grad_norm": 1.6748021841049194,
339
+ "learning_rate": 0.0001,
340
+ "loss": 0.4426,
341
+ "step": 2600
342
+ },
343
+ {
344
+ "epoch": 10.8,
345
+ "grad_norm": 1.8744910955429077,
346
+ "learning_rate": 0.0001,
347
+ "loss": 0.4718,
348
+ "step": 2700
349
+ },
350
+ {
351
+ "epoch": 11.0,
352
+ "eval_accuracy": 0.48926984126984124,
353
+ "eval_loss": 3.631282091140747,
354
+ "eval_runtime": 5.3142,
355
+ "eval_samples_per_second": 94.087,
356
+ "eval_steps_per_second": 11.855,
357
+ "step": 2750
358
+ },
359
+ {
360
+ "epoch": 11.0,
361
+ "eval_exact_match": 15.6,
362
+ "eval_f1": 21.87386002886003,
363
+ "step": 2750
364
+ },
365
+ {
366
+ "epoch": 11.2,
367
+ "grad_norm": 2.1398115158081055,
368
+ "learning_rate": 0.0001,
369
+ "loss": 0.4456,
370
+ "step": 2800
371
+ },
372
+ {
373
+ "epoch": 11.6,
374
+ "grad_norm": 1.8851490020751953,
375
+ "learning_rate": 0.0001,
376
+ "loss": 0.4328,
377
+ "step": 2900
378
+ },
379
+ {
380
+ "epoch": 12.0,
381
+ "grad_norm": 1.6958885192871094,
382
+ "learning_rate": 0.0001,
383
+ "loss": 0.4446,
384
+ "step": 3000
385
+ },
386
+ {
387
+ "epoch": 12.0,
388
+ "eval_accuracy": 0.49057142857142855,
389
+ "eval_loss": 3.6736366748809814,
390
+ "eval_runtime": 5.8652,
391
+ "eval_samples_per_second": 85.248,
392
+ "eval_steps_per_second": 10.741,
393
+ "step": 3000
394
+ },
395
+ {
396
+ "epoch": 12.0,
397
+ "eval_exact_match": 15.2,
398
+ "eval_f1": 21.81304966962862,
399
+ "step": 3000
400
+ },
401
+ {
402
+ "epoch": 12.4,
403
+ "grad_norm": 1.8530863523483276,
404
+ "learning_rate": 0.0001,
405
+ "loss": 0.3969,
406
+ "step": 3100
407
+ },
408
+ {
409
+ "epoch": 12.8,
410
+ "grad_norm": 1.9440696239471436,
411
+ "learning_rate": 0.0001,
412
+ "loss": 0.4204,
413
+ "step": 3200
414
+ },
415
+ {
416
+ "epoch": 13.0,
417
+ "eval_accuracy": 0.4906031746031746,
418
+ "eval_loss": 3.7342090606689453,
419
+ "eval_runtime": 5.4947,
420
+ "eval_samples_per_second": 90.996,
421
+ "eval_steps_per_second": 11.466,
422
+ "step": 3250
423
+ },
424
+ {
425
+ "epoch": 13.0,
426
+ "eval_exact_match": 15.8,
427
+ "eval_f1": 21.908780663780668,
428
+ "step": 3250
429
+ }
430
+ ],
431
+ "logging_steps": 100,
432
+ "max_steps": 12500,
433
+ "num_input_tokens_seen": 0,
434
+ "num_train_epochs": 50,
435
+ "save_steps": 500,
436
+ "stateful_callbacks": {
437
+ "TrainerControl": {
438
+ "args": {
439
+ "should_epoch_stop": false,
440
+ "should_evaluate": false,
441
+ "should_log": false,
442
+ "should_save": true,
443
+ "should_training_stop": false
444
+ },
445
+ "attributes": {}
446
+ }
447
+ },
448
+ "total_flos": 9.941801586655232e+16,
449
+ "train_batch_size": 2,
450
+ "trial_name": null,
451
+ "trial_params": null
452
+ }
checkpoint-3250/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3414153f69372b550d629c900d05ab7510b14d218f2d8546142e7b41d948d3e
3
+ size 5304
checkpoint-3250/vocab.json ADDED
The diff for this file is too large to render. See raw diff