tyzhu commited on
Commit
a372470
·
verified ·
1 Parent(s): 8d93dc0

Training in progress, epoch 12, checkpoint

Browse files
checkpoint-2437/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-2437/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-2437/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d166f2543c15c80a4e8cda3d6cb429c89ef7a0ebb5e4374fcd0b33c402619509
3
+ size 112130416
checkpoint-2437/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-2437/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2437/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7bf21044f79994e7d1104da4129f3c4d04af301060c5a30bed10ec19fc70c65
3
+ size 224537202
checkpoint-2437/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42ef19a59b0a7e99b66322574f07b85c83852e4e9b94ebcf250281ef42f38814
3
+ size 15024
checkpoint-2437/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13a29e33b1c3467d2bf80bb112049dec1d7aa102a9661cafca3dcab43a04d947
3
+ size 15024
checkpoint-2437/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99782da560c289a64d6cdd477a104d15ef3f07d166e348f959cedc11bab46fc5
3
+ size 15024
checkpoint-2437/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e89fb4a014d939b0cd4f7c1746b235d935bb14e96a018c6be879b50178b127e4
3
+ size 15024
checkpoint-2437/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:892287507e80725aa07225b1fd01765dfcf3f53b8c9454e1edce21d20dc7544b
3
+ size 1064
checkpoint-2437/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-2437/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2437/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-2437/trainer_state.json ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 12.997333333333334,
5
+ "eval_steps": 500,
6
+ "global_step": 2437,
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.5333333333333333,
13
+ "grad_norm": 0.7454617619514465,
14
+ "learning_rate": 5e-05,
15
+ "loss": 1.8726,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.9973333333333333,
20
+ "eval_accuracy": 0.5713333333333334,
21
+ "eval_loss": 1.6331332921981812,
22
+ "eval_runtime": 5.4718,
23
+ "eval_samples_per_second": 91.377,
24
+ "eval_steps_per_second": 11.514,
25
+ "step": 187
26
+ },
27
+ {
28
+ "epoch": 0.9973333333333333,
29
+ "eval_exact_match": 15.0,
30
+ "eval_f1": 25.64857142857145,
31
+ "step": 187
32
+ },
33
+ {
34
+ "epoch": 1.0666666666666667,
35
+ "grad_norm": 0.9573808908462524,
36
+ "learning_rate": 5e-05,
37
+ "loss": 1.66,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 1.6,
42
+ "grad_norm": 1.0792433023452759,
43
+ "learning_rate": 5e-05,
44
+ "loss": 1.5764,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 2.0,
49
+ "eval_accuracy": 0.5741538461538461,
50
+ "eval_loss": 1.6118417978286743,
51
+ "eval_runtime": 5.1541,
52
+ "eval_samples_per_second": 97.01,
53
+ "eval_steps_per_second": 12.223,
54
+ "step": 375
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "eval_exact_match": 16.8,
59
+ "eval_f1": 26.120952380952396,
60
+ "step": 375
61
+ },
62
+ {
63
+ "epoch": 2.1333333333333333,
64
+ "grad_norm": 1.2928162813186646,
65
+ "learning_rate": 5e-05,
66
+ "loss": 1.5364,
67
+ "step": 400
68
+ },
69
+ {
70
+ "epoch": 2.6666666666666665,
71
+ "grad_norm": 1.4883633852005005,
72
+ "learning_rate": 5e-05,
73
+ "loss": 1.4154,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.997333333333333,
78
+ "eval_accuracy": 0.5733846153846154,
79
+ "eval_loss": 1.6421321630477905,
80
+ "eval_runtime": 5.23,
81
+ "eval_samples_per_second": 95.603,
82
+ "eval_steps_per_second": 12.046,
83
+ "step": 562
84
+ },
85
+ {
86
+ "epoch": 2.997333333333333,
87
+ "eval_exact_match": 19.4,
88
+ "eval_f1": 28.4652380952381,
89
+ "step": 562
90
+ },
91
+ {
92
+ "epoch": 3.2,
93
+ "grad_norm": 1.7553108930587769,
94
+ "learning_rate": 5e-05,
95
+ "loss": 1.3426,
96
+ "step": 600
97
+ },
98
+ {
99
+ "epoch": 3.7333333333333334,
100
+ "grad_norm": 2.0343973636627197,
101
+ "learning_rate": 5e-05,
102
+ "loss": 1.2297,
103
+ "step": 700
104
+ },
105
+ {
106
+ "epoch": 4.0,
107
+ "eval_accuracy": 0.5687692307692308,
108
+ "eval_loss": 1.7009365558624268,
109
+ "eval_runtime": 5.4367,
110
+ "eval_samples_per_second": 91.968,
111
+ "eval_steps_per_second": 11.588,
112
+ "step": 750
113
+ },
114
+ {
115
+ "epoch": 4.0,
116
+ "eval_exact_match": 17.6,
117
+ "eval_f1": 26.490952380952383,
118
+ "step": 750
119
+ },
120
+ {
121
+ "epoch": 4.266666666666667,
122
+ "grad_norm": 2.3617172241210938,
123
+ "learning_rate": 5e-05,
124
+ "loss": 1.1613,
125
+ "step": 800
126
+ },
127
+ {
128
+ "epoch": 4.8,
129
+ "grad_norm": 2.357593297958374,
130
+ "learning_rate": 5e-05,
131
+ "loss": 1.0779,
132
+ "step": 900
133
+ },
134
+ {
135
+ "epoch": 4.997333333333334,
136
+ "eval_accuracy": 0.567025641025641,
137
+ "eval_loss": 1.791063666343689,
138
+ "eval_runtime": 6.0902,
139
+ "eval_samples_per_second": 82.099,
140
+ "eval_steps_per_second": 10.345,
141
+ "step": 937
142
+ },
143
+ {
144
+ "epoch": 4.997333333333334,
145
+ "eval_exact_match": 16.0,
146
+ "eval_f1": 23.740000000000013,
147
+ "step": 937
148
+ },
149
+ {
150
+ "epoch": 5.333333333333333,
151
+ "grad_norm": 2.7846109867095947,
152
+ "learning_rate": 5e-05,
153
+ "loss": 0.9807,
154
+ "step": 1000
155
+ },
156
+ {
157
+ "epoch": 5.866666666666667,
158
+ "grad_norm": 2.713942050933838,
159
+ "learning_rate": 5e-05,
160
+ "loss": 0.9547,
161
+ "step": 1100
162
+ },
163
+ {
164
+ "epoch": 6.0,
165
+ "eval_accuracy": 0.563076923076923,
166
+ "eval_loss": 1.8913958072662354,
167
+ "eval_runtime": 5.2006,
168
+ "eval_samples_per_second": 96.142,
169
+ "eval_steps_per_second": 12.114,
170
+ "step": 1125
171
+ },
172
+ {
173
+ "epoch": 6.0,
174
+ "eval_exact_match": 15.6,
175
+ "eval_f1": 24.21666666666668,
176
+ "step": 1125
177
+ },
178
+ {
179
+ "epoch": 6.4,
180
+ "grad_norm": 2.6644272804260254,
181
+ "learning_rate": 5e-05,
182
+ "loss": 0.8401,
183
+ "step": 1200
184
+ },
185
+ {
186
+ "epoch": 6.933333333333334,
187
+ "grad_norm": 3.0467491149902344,
188
+ "learning_rate": 5e-05,
189
+ "loss": 0.8414,
190
+ "step": 1300
191
+ },
192
+ {
193
+ "epoch": 6.997333333333334,
194
+ "eval_accuracy": 0.5606666666666666,
195
+ "eval_loss": 1.987471342086792,
196
+ "eval_runtime": 5.1815,
197
+ "eval_samples_per_second": 96.497,
198
+ "eval_steps_per_second": 12.159,
199
+ "step": 1312
200
+ },
201
+ {
202
+ "epoch": 6.997333333333334,
203
+ "eval_exact_match": 15.4,
204
+ "eval_f1": 24.453174603174613,
205
+ "step": 1312
206
+ },
207
+ {
208
+ "epoch": 7.466666666666667,
209
+ "grad_norm": 2.872312545776367,
210
+ "learning_rate": 5e-05,
211
+ "loss": 0.7353,
212
+ "step": 1400
213
+ },
214
+ {
215
+ "epoch": 8.0,
216
+ "grad_norm": 3.138514995574951,
217
+ "learning_rate": 5e-05,
218
+ "loss": 0.7568,
219
+ "step": 1500
220
+ },
221
+ {
222
+ "epoch": 8.0,
223
+ "eval_accuracy": 0.5592820512820513,
224
+ "eval_loss": 2.061145782470703,
225
+ "eval_runtime": 5.0637,
226
+ "eval_samples_per_second": 98.741,
227
+ "eval_steps_per_second": 12.441,
228
+ "step": 1500
229
+ },
230
+ {
231
+ "epoch": 8.0,
232
+ "eval_exact_match": 15.4,
233
+ "eval_f1": 23.31000000000001,
234
+ "step": 1500
235
+ },
236
+ {
237
+ "epoch": 8.533333333333333,
238
+ "grad_norm": 2.4859418869018555,
239
+ "learning_rate": 5e-05,
240
+ "loss": 0.6477,
241
+ "step": 1600
242
+ },
243
+ {
244
+ "epoch": 8.997333333333334,
245
+ "eval_accuracy": 0.555025641025641,
246
+ "eval_loss": 2.1961007118225098,
247
+ "eval_runtime": 5.166,
248
+ "eval_samples_per_second": 96.788,
249
+ "eval_steps_per_second": 12.195,
250
+ "step": 1687
251
+ },
252
+ {
253
+ "epoch": 8.997333333333334,
254
+ "eval_exact_match": 14.8,
255
+ "eval_f1": 22.49904761904763,
256
+ "step": 1687
257
+ },
258
+ {
259
+ "epoch": 9.066666666666666,
260
+ "grad_norm": 2.5425331592559814,
261
+ "learning_rate": 5e-05,
262
+ "loss": 0.6783,
263
+ "step": 1700
264
+ },
265
+ {
266
+ "epoch": 9.6,
267
+ "grad_norm": 2.923581838607788,
268
+ "learning_rate": 5e-05,
269
+ "loss": 0.6137,
270
+ "step": 1800
271
+ },
272
+ {
273
+ "epoch": 10.0,
274
+ "eval_accuracy": 0.554923076923077,
275
+ "eval_loss": 2.2456719875335693,
276
+ "eval_runtime": 5.2657,
277
+ "eval_samples_per_second": 94.955,
278
+ "eval_steps_per_second": 11.964,
279
+ "step": 1875
280
+ },
281
+ {
282
+ "epoch": 10.0,
283
+ "eval_exact_match": 14.4,
284
+ "eval_f1": 22.522857142857152,
285
+ "step": 1875
286
+ },
287
+ {
288
+ "epoch": 10.133333333333333,
289
+ "grad_norm": 2.56027889251709,
290
+ "learning_rate": 5e-05,
291
+ "loss": 0.6148,
292
+ "step": 1900
293
+ },
294
+ {
295
+ "epoch": 10.666666666666666,
296
+ "grad_norm": 2.515385389328003,
297
+ "learning_rate": 5e-05,
298
+ "loss": 0.5823,
299
+ "step": 2000
300
+ },
301
+ {
302
+ "epoch": 10.997333333333334,
303
+ "eval_accuracy": 0.5546666666666666,
304
+ "eval_loss": 2.296849012374878,
305
+ "eval_runtime": 5.8609,
306
+ "eval_samples_per_second": 85.311,
307
+ "eval_steps_per_second": 10.749,
308
+ "step": 2062
309
+ },
310
+ {
311
+ "epoch": 10.997333333333334,
312
+ "eval_exact_match": 14.6,
313
+ "eval_f1": 23.82142857142859,
314
+ "step": 2062
315
+ },
316
+ {
317
+ "epoch": 11.2,
318
+ "grad_norm": 2.405318021774292,
319
+ "learning_rate": 5e-05,
320
+ "loss": 0.5838,
321
+ "step": 2100
322
+ },
323
+ {
324
+ "epoch": 11.733333333333333,
325
+ "grad_norm": 2.2395944595336914,
326
+ "learning_rate": 5e-05,
327
+ "loss": 0.5661,
328
+ "step": 2200
329
+ },
330
+ {
331
+ "epoch": 12.0,
332
+ "eval_accuracy": 0.5551794871794872,
333
+ "eval_loss": 2.3467304706573486,
334
+ "eval_runtime": 5.1088,
335
+ "eval_samples_per_second": 97.87,
336
+ "eval_steps_per_second": 12.332,
337
+ "step": 2250
338
+ },
339
+ {
340
+ "epoch": 12.0,
341
+ "eval_exact_match": 14.8,
342
+ "eval_f1": 23.336190476190485,
343
+ "step": 2250
344
+ },
345
+ {
346
+ "epoch": 12.266666666666667,
347
+ "grad_norm": 2.3271324634552,
348
+ "learning_rate": 5e-05,
349
+ "loss": 0.5531,
350
+ "step": 2300
351
+ },
352
+ {
353
+ "epoch": 12.8,
354
+ "grad_norm": 2.150949478149414,
355
+ "learning_rate": 5e-05,
356
+ "loss": 0.5531,
357
+ "step": 2400
358
+ },
359
+ {
360
+ "epoch": 12.997333333333334,
361
+ "eval_accuracy": 0.554923076923077,
362
+ "eval_loss": 2.379239320755005,
363
+ "eval_runtime": 5.3709,
364
+ "eval_samples_per_second": 93.094,
365
+ "eval_steps_per_second": 11.73,
366
+ "step": 2437
367
+ },
368
+ {
369
+ "epoch": 12.997333333333334,
370
+ "eval_exact_match": 15.6,
371
+ "eval_f1": 23.113809523809536,
372
+ "step": 2437
373
+ }
374
+ ],
375
+ "logging_steps": 100,
376
+ "max_steps": 9350,
377
+ "num_input_tokens_seen": 0,
378
+ "num_train_epochs": 50,
379
+ "save_steps": 500,
380
+ "stateful_callbacks": {
381
+ "TrainerControl": {
382
+ "args": {
383
+ "should_epoch_stop": false,
384
+ "should_evaluate": false,
385
+ "should_log": false,
386
+ "should_save": true,
387
+ "should_training_stop": false
388
+ },
389
+ "attributes": {}
390
+ }
391
+ },
392
+ "total_flos": 4.245100839934362e+16,
393
+ "train_batch_size": 1,
394
+ "trial_name": null,
395
+ "trial_params": null
396
+ }
checkpoint-2437/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd2191b7045c2a2985850d3b9f1472eaf3359ca38b9bc68efae9970e68b817ab
3
+ size 5304
checkpoint-2437/vocab.json ADDED
The diff for this file is too large to render. See raw diff