tyzhu commited on
Commit
c73b931
1 Parent(s): 642cb15

Training in progress, epoch 8, checkpoint

Browse files
checkpoint-3073/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-3073/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-3073/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cf85f00b278982cfd473ddf27475f915b6083fa5dd36c96fc16edc83862332a
3
+ size 112130416
checkpoint-3073/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-3073/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3073/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b644eacc5ac98776e15132df8eaebdccae676ff675a3d2d227dc3dd91a954b4a
3
+ size 224537202
checkpoint-3073/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8f60b350eb068b8df170a9b0555f3135e6ab0a09369e3d16f4bade064529d16
3
+ size 15024
checkpoint-3073/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e735a671ec875e5ef4adcb207df2e1a3df9ea947bc180d7082f3f7db98fc270d
3
+ size 15024
checkpoint-3073/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b145b574a19314e6f08a02f4852d6ef83feed75f0d89e3aff2d6fa616294e70
3
+ size 15024
checkpoint-3073/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aba9a26fbb6e0d8ecacb12208ee15249b962d7133e641f0bd91bf288d0873f9b
3
+ size 15024
checkpoint-3073/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f41765174ab79ac5ac4e4277c9f10736588a44af43d6a0cf83232db434f6ac79
3
+ size 1064
checkpoint-3073/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-3073/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3073/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-3073/trainer_state.json ADDED
@@ -0,0 +1,387 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 8.998535871156662,
5
+ "eval_steps": 500,
6
+ "global_step": 3073,
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.29282576866764276,
13
+ "grad_norm": 0.2425622195005417,
14
+ "learning_rate": 0.0005,
15
+ "loss": 1.972,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.5856515373352855,
20
+ "grad_norm": 0.24936461448669434,
21
+ "learning_rate": 0.0005,
22
+ "loss": 1.954,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.8784773060029283,
27
+ "grad_norm": 0.28534355759620667,
28
+ "learning_rate": 0.0005,
29
+ "loss": 1.9636,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.9985358711566618,
34
+ "eval_accuracy": 0.4142051282051282,
35
+ "eval_loss": 4.36731481552124,
36
+ "eval_runtime": 5.2053,
37
+ "eval_samples_per_second": 96.056,
38
+ "eval_steps_per_second": 12.103,
39
+ "step": 341
40
+ },
41
+ {
42
+ "epoch": 0.9985358711566618,
43
+ "eval_bleu": 0.16271683142618718,
44
+ "eval_exact_match": 0.0,
45
+ "eval_prefix_exact_match": 0.032,
46
+ "step": 341
47
+ },
48
+ {
49
+ "epoch": 1.171303074670571,
50
+ "grad_norm": 0.39824551343917847,
51
+ "learning_rate": 0.0005,
52
+ "loss": 1.8098,
53
+ "step": 400
54
+ },
55
+ {
56
+ "epoch": 1.4641288433382138,
57
+ "grad_norm": 0.4451245069503784,
58
+ "learning_rate": 0.0005,
59
+ "loss": 1.6717,
60
+ "step": 500
61
+ },
62
+ {
63
+ "epoch": 1.7569546120058566,
64
+ "grad_norm": 0.49089929461479187,
65
+ "learning_rate": 0.0005,
66
+ "loss": 1.7006,
67
+ "step": 600
68
+ },
69
+ {
70
+ "epoch": 2.0,
71
+ "eval_accuracy": 0.43338461538461537,
72
+ "eval_loss": 4.586850643157959,
73
+ "eval_runtime": 5.9085,
74
+ "eval_samples_per_second": 84.624,
75
+ "eval_steps_per_second": 10.663,
76
+ "step": 683
77
+ },
78
+ {
79
+ "epoch": 2.0,
80
+ "eval_bleu": 0.2955390058097942,
81
+ "eval_exact_match": 0.0,
82
+ "eval_prefix_exact_match": 0.036,
83
+ "step": 683
84
+ },
85
+ {
86
+ "epoch": 2.049780380673499,
87
+ "grad_norm": 0.6150477528572083,
88
+ "learning_rate": 0.0005,
89
+ "loss": 1.6383,
90
+ "step": 700
91
+ },
92
+ {
93
+ "epoch": 2.342606149341142,
94
+ "grad_norm": 0.5455761551856995,
95
+ "learning_rate": 0.0005,
96
+ "loss": 1.2533,
97
+ "step": 800
98
+ },
99
+ {
100
+ "epoch": 2.6354319180087846,
101
+ "grad_norm": 0.6252492666244507,
102
+ "learning_rate": 0.0005,
103
+ "loss": 1.3256,
104
+ "step": 900
105
+ },
106
+ {
107
+ "epoch": 2.9282576866764276,
108
+ "grad_norm": 0.6721358299255371,
109
+ "learning_rate": 0.0005,
110
+ "loss": 1.3696,
111
+ "step": 1000
112
+ },
113
+ {
114
+ "epoch": 2.998535871156662,
115
+ "eval_accuracy": 0.42538461538461536,
116
+ "eval_loss": 4.720473766326904,
117
+ "eval_runtime": 5.6052,
118
+ "eval_samples_per_second": 89.204,
119
+ "eval_steps_per_second": 11.24,
120
+ "step": 1024
121
+ },
122
+ {
123
+ "epoch": 2.998535871156662,
124
+ "eval_bleu": 0.22572800415324107,
125
+ "eval_exact_match": 0.004,
126
+ "eval_prefix_exact_match": 0.044,
127
+ "step": 1024
128
+ },
129
+ {
130
+ "epoch": 3.22108345534407,
131
+ "grad_norm": 0.7449648380279541,
132
+ "learning_rate": 0.0005,
133
+ "loss": 1.0137,
134
+ "step": 1100
135
+ },
136
+ {
137
+ "epoch": 3.513909224011713,
138
+ "grad_norm": 0.7608182430267334,
139
+ "learning_rate": 0.0005,
140
+ "loss": 0.9535,
141
+ "step": 1200
142
+ },
143
+ {
144
+ "epoch": 3.8067349926793557,
145
+ "grad_norm": 0.8320977687835693,
146
+ "learning_rate": 0.0005,
147
+ "loss": 1.0297,
148
+ "step": 1300
149
+ },
150
+ {
151
+ "epoch": 4.0,
152
+ "eval_accuracy": 0.41717948717948716,
153
+ "eval_loss": 4.783276557922363,
154
+ "eval_runtime": 5.4398,
155
+ "eval_samples_per_second": 91.915,
156
+ "eval_steps_per_second": 11.581,
157
+ "step": 1366
158
+ },
159
+ {
160
+ "epoch": 4.0,
161
+ "eval_bleu": 0.28487206250718533,
162
+ "eval_exact_match": 0.008,
163
+ "eval_prefix_exact_match": 0.034,
164
+ "step": 1366
165
+ },
166
+ {
167
+ "epoch": 4.099560761346998,
168
+ "grad_norm": 0.7788870334625244,
169
+ "learning_rate": 0.0005,
170
+ "loss": 0.9222,
171
+ "step": 1400
172
+ },
173
+ {
174
+ "epoch": 4.392386530014641,
175
+ "grad_norm": 0.7981182336807251,
176
+ "learning_rate": 0.0005,
177
+ "loss": 0.6733,
178
+ "step": 1500
179
+ },
180
+ {
181
+ "epoch": 4.685212298682284,
182
+ "grad_norm": 0.938538670539856,
183
+ "learning_rate": 0.0005,
184
+ "loss": 0.7366,
185
+ "step": 1600
186
+ },
187
+ {
188
+ "epoch": 4.978038067349927,
189
+ "grad_norm": 0.9696006178855896,
190
+ "learning_rate": 0.0005,
191
+ "loss": 0.7991,
192
+ "step": 1700
193
+ },
194
+ {
195
+ "epoch": 4.998535871156662,
196
+ "eval_accuracy": 0.4169230769230769,
197
+ "eval_loss": 4.9334001541137695,
198
+ "eval_runtime": 5.1107,
199
+ "eval_samples_per_second": 97.835,
200
+ "eval_steps_per_second": 12.327,
201
+ "step": 1707
202
+ },
203
+ {
204
+ "epoch": 4.998535871156662,
205
+ "eval_bleu": 0.2463806011037282,
206
+ "eval_exact_match": 0.006,
207
+ "eval_prefix_exact_match": 0.034,
208
+ "step": 1707
209
+ },
210
+ {
211
+ "epoch": 5.270863836017569,
212
+ "grad_norm": 0.8532861471176147,
213
+ "learning_rate": 0.0005,
214
+ "loss": 0.5011,
215
+ "step": 1800
216
+ },
217
+ {
218
+ "epoch": 5.563689604685212,
219
+ "grad_norm": 0.8303696513175964,
220
+ "learning_rate": 0.0005,
221
+ "loss": 0.5186,
222
+ "step": 1900
223
+ },
224
+ {
225
+ "epoch": 5.856515373352855,
226
+ "grad_norm": 1.0248757600784302,
227
+ "learning_rate": 0.0005,
228
+ "loss": 0.5801,
229
+ "step": 2000
230
+ },
231
+ {
232
+ "epoch": 6.0,
233
+ "eval_accuracy": 0.4133846153846154,
234
+ "eval_loss": 5.196371078491211,
235
+ "eval_runtime": 5.382,
236
+ "eval_samples_per_second": 92.902,
237
+ "eval_steps_per_second": 11.706,
238
+ "step": 2049
239
+ },
240
+ {
241
+ "epoch": 6.0,
242
+ "eval_bleu": 0.24094851152622576,
243
+ "eval_exact_match": 0.008,
244
+ "eval_prefix_exact_match": 0.024,
245
+ "step": 2049
246
+ },
247
+ {
248
+ "epoch": 6.149341142020498,
249
+ "grad_norm": 0.8996496200561523,
250
+ "learning_rate": 0.0005,
251
+ "loss": 0.4772,
252
+ "step": 2100
253
+ },
254
+ {
255
+ "epoch": 6.44216691068814,
256
+ "grad_norm": 0.9010413885116577,
257
+ "learning_rate": 0.0005,
258
+ "loss": 0.377,
259
+ "step": 2200
260
+ },
261
+ {
262
+ "epoch": 6.734992679355783,
263
+ "grad_norm": 0.9476897716522217,
264
+ "learning_rate": 0.0005,
265
+ "loss": 0.4228,
266
+ "step": 2300
267
+ },
268
+ {
269
+ "epoch": 6.998535871156662,
270
+ "eval_accuracy": 0.4101025641025641,
271
+ "eval_loss": 5.403963565826416,
272
+ "eval_runtime": 5.2963,
273
+ "eval_samples_per_second": 94.406,
274
+ "eval_steps_per_second": 11.895,
275
+ "step": 2390
276
+ },
277
+ {
278
+ "epoch": 6.998535871156662,
279
+ "eval_bleu": 0.20794741740418707,
280
+ "eval_exact_match": 0.0,
281
+ "eval_prefix_exact_match": 0.024,
282
+ "step": 2390
283
+ },
284
+ {
285
+ "epoch": 7.027818448023426,
286
+ "grad_norm": 0.912433922290802,
287
+ "learning_rate": 0.0005,
288
+ "loss": 0.4456,
289
+ "step": 2400
290
+ },
291
+ {
292
+ "epoch": 7.320644216691068,
293
+ "grad_norm": 0.8055697679519653,
294
+ "learning_rate": 0.0005,
295
+ "loss": 0.2907,
296
+ "step": 2500
297
+ },
298
+ {
299
+ "epoch": 7.613469985358711,
300
+ "grad_norm": 0.9217767119407654,
301
+ "learning_rate": 0.0005,
302
+ "loss": 0.3285,
303
+ "step": 2600
304
+ },
305
+ {
306
+ "epoch": 7.906295754026354,
307
+ "grad_norm": 0.9473926424980164,
308
+ "learning_rate": 0.0005,
309
+ "loss": 0.3691,
310
+ "step": 2700
311
+ },
312
+ {
313
+ "epoch": 8.0,
314
+ "eval_accuracy": 0.40984615384615386,
315
+ "eval_loss": 5.655345439910889,
316
+ "eval_runtime": 5.2073,
317
+ "eval_samples_per_second": 96.019,
318
+ "eval_steps_per_second": 12.098,
319
+ "step": 2732
320
+ },
321
+ {
322
+ "epoch": 8.0,
323
+ "eval_bleu": 0.1614197770036361,
324
+ "eval_exact_match": 0.0,
325
+ "eval_prefix_exact_match": 0.028,
326
+ "step": 2732
327
+ },
328
+ {
329
+ "epoch": 8.199121522693996,
330
+ "grad_norm": 0.7216379642486572,
331
+ "learning_rate": 0.0005,
332
+ "loss": 0.296,
333
+ "step": 2800
334
+ },
335
+ {
336
+ "epoch": 8.49194729136164,
337
+ "grad_norm": 0.8579537868499756,
338
+ "learning_rate": 0.0005,
339
+ "loss": 0.2711,
340
+ "step": 2900
341
+ },
342
+ {
343
+ "epoch": 8.784773060029282,
344
+ "grad_norm": 0.8787992000579834,
345
+ "learning_rate": 0.0005,
346
+ "loss": 0.3052,
347
+ "step": 3000
348
+ },
349
+ {
350
+ "epoch": 8.998535871156662,
351
+ "eval_accuracy": 0.41215384615384615,
352
+ "eval_loss": 5.5592756271362305,
353
+ "eval_runtime": 5.4045,
354
+ "eval_samples_per_second": 92.515,
355
+ "eval_steps_per_second": 11.657,
356
+ "step": 3073
357
+ },
358
+ {
359
+ "epoch": 8.998535871156662,
360
+ "eval_bleu": 0.24598687767703112,
361
+ "eval_exact_match": 0.002,
362
+ "eval_prefix_exact_match": 0.018,
363
+ "step": 3073
364
+ }
365
+ ],
366
+ "logging_steps": 100,
367
+ "max_steps": 17050,
368
+ "num_input_tokens_seen": 0,
369
+ "num_train_epochs": 50,
370
+ "save_steps": 500,
371
+ "stateful_callbacks": {
372
+ "TrainerControl": {
373
+ "args": {
374
+ "should_epoch_stop": false,
375
+ "should_evaluate": false,
376
+ "should_log": false,
377
+ "should_save": true,
378
+ "should_training_stop": false
379
+ },
380
+ "attributes": {}
381
+ }
382
+ },
383
+ "total_flos": 2.639223295311872e+17,
384
+ "train_batch_size": 1,
385
+ "trial_name": null,
386
+ "trial_params": null
387
+ }
checkpoint-3073/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e09109d7fc8f49ffd654f0e1286ef00d8840620753fec453a60a103c55187142
3
+ size 5304
checkpoint-3073/vocab.json ADDED
The diff for this file is too large to render. See raw diff