tyzhu commited on
Commit
0aaa97b
1 Parent(s): 6dfc62b

Training in progress, epoch 10, checkpoint

Browse files
checkpoint-2062/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-2062/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-2062/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3c2d19a1ea662271d98190fede59db7bf5cef4d7965f7ae1ea16a359b71a974
3
+ size 112130416
checkpoint-2062/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-2062/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2062/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ad290184db2d10c62cdb328335898844a5fdde98bbcc78671416435054a41cb
3
+ size 224537202
checkpoint-2062/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1239e459a3fe9b6a64eae7130f504ffcaa7119b7bfd24d5d0f9832393a17d83e
3
+ size 15024
checkpoint-2062/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20ec8339721d707325841d9ff91d951aadb3c035e21ad29722f2e4ac90a7e5db
3
+ size 15024
checkpoint-2062/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cc848abb80c527e09fb41fab4e0390769dcd6bf44683585f4a364e3933725b8
3
+ size 15024
checkpoint-2062/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbdb2e3fed7f106fe7d99fbf9933c3b3b13a5351c89b29f14bc0371e30a02a2b
3
+ size 15024
checkpoint-2062/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eea54d91cb2fcabe95012b1db22fe383f6a9d5c50390dc1049728d77455d146f
3
+ size 1064
checkpoint-2062/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-2062/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2062/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-2062/trainer_state.json ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.997333333333334,
5
+ "eval_steps": 500,
6
+ "global_step": 2062,
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.2081739604473114,
14
+ "learning_rate": 0.0005,
15
+ "loss": 1.7461,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.9973333333333333,
20
+ "eval_accuracy": 0.6093004484304932,
21
+ "eval_loss": 1.6695144176483154,
22
+ "eval_runtime": 6.0389,
23
+ "eval_samples_per_second": 82.796,
24
+ "eval_steps_per_second": 10.432,
25
+ "step": 187
26
+ },
27
+ {
28
+ "epoch": 0.9973333333333333,
29
+ "eval_exact_match": 15.8,
30
+ "eval_f1": 24.64418803418805,
31
+ "eval_qa_bleu": 12.64258947770803,
32
+ "eval_qa_exact_match": 0.116,
33
+ "eval_recite_bleu": 12.676034356605994,
34
+ "eval_recite_exact_match": 0.002,
35
+ "step": 187
36
+ },
37
+ {
38
+ "epoch": 1.0666666666666667,
39
+ "grad_norm": 0.2944607138633728,
40
+ "learning_rate": 0.0005,
41
+ "loss": 1.6853,
42
+ "step": 200
43
+ },
44
+ {
45
+ "epoch": 1.6,
46
+ "grad_norm": 0.40688613057136536,
47
+ "learning_rate": 0.0005,
48
+ "loss": 1.4286,
49
+ "step": 300
50
+ },
51
+ {
52
+ "epoch": 2.0,
53
+ "eval_accuracy": 0.6086547085201793,
54
+ "eval_loss": 1.6994106769561768,
55
+ "eval_runtime": 6.3284,
56
+ "eval_samples_per_second": 79.009,
57
+ "eval_steps_per_second": 9.955,
58
+ "step": 375
59
+ },
60
+ {
61
+ "epoch": 2.0,
62
+ "eval_exact_match": 13.6,
63
+ "eval_f1": 22.022914862914874,
64
+ "eval_qa_bleu": 11.191170451488254,
65
+ "eval_qa_exact_match": 0.098,
66
+ "eval_recite_bleu": 13.062440471503999,
67
+ "eval_recite_exact_match": 0.008,
68
+ "step": 375
69
+ },
70
+ {
71
+ "epoch": 2.1333333333333333,
72
+ "grad_norm": 0.4661327600479126,
73
+ "learning_rate": 0.0005,
74
+ "loss": 1.3391,
75
+ "step": 400
76
+ },
77
+ {
78
+ "epoch": 2.6666666666666665,
79
+ "grad_norm": 0.5310370326042175,
80
+ "learning_rate": 0.0005,
81
+ "loss": 1.0309,
82
+ "step": 500
83
+ },
84
+ {
85
+ "epoch": 2.997333333333333,
86
+ "eval_accuracy": 0.6053452914798206,
87
+ "eval_loss": 1.812237024307251,
88
+ "eval_runtime": 5.6113,
89
+ "eval_samples_per_second": 89.107,
90
+ "eval_steps_per_second": 11.227,
91
+ "step": 562
92
+ },
93
+ {
94
+ "epoch": 2.997333333333333,
95
+ "eval_exact_match": 12.8,
96
+ "eval_f1": 21.852727272727286,
97
+ "eval_qa_bleu": 11.536967687478375,
98
+ "eval_qa_exact_match": 0.1,
99
+ "eval_recite_bleu": 13.977710455440388,
100
+ "eval_recite_exact_match": 0.008,
101
+ "step": 562
102
+ },
103
+ {
104
+ "epoch": 3.2,
105
+ "grad_norm": 0.5991603136062622,
106
+ "learning_rate": 0.0005,
107
+ "loss": 0.9162,
108
+ "step": 600
109
+ },
110
+ {
111
+ "epoch": 3.7333333333333334,
112
+ "grad_norm": 0.5921025276184082,
113
+ "learning_rate": 0.0005,
114
+ "loss": 0.7019,
115
+ "step": 700
116
+ },
117
+ {
118
+ "epoch": 4.0,
119
+ "eval_accuracy": 0.5989417040358744,
120
+ "eval_loss": 1.974912166595459,
121
+ "eval_runtime": 6.3058,
122
+ "eval_samples_per_second": 79.292,
123
+ "eval_steps_per_second": 9.991,
124
+ "step": 750
125
+ },
126
+ {
127
+ "epoch": 4.0,
128
+ "eval_exact_match": 10.8,
129
+ "eval_f1": 18.718571428571437,
130
+ "eval_qa_bleu": 8.547340405175287,
131
+ "eval_qa_exact_match": 0.088,
132
+ "eval_recite_bleu": 13.524416242106161,
133
+ "eval_recite_exact_match": 0.018,
134
+ "step": 750
135
+ },
136
+ {
137
+ "epoch": 4.266666666666667,
138
+ "grad_norm": 0.6397003531455994,
139
+ "learning_rate": 0.0005,
140
+ "loss": 0.5811,
141
+ "step": 800
142
+ },
143
+ {
144
+ "epoch": 4.8,
145
+ "grad_norm": 0.6721498966217041,
146
+ "learning_rate": 0.0005,
147
+ "loss": 0.4634,
148
+ "step": 900
149
+ },
150
+ {
151
+ "epoch": 4.997333333333334,
152
+ "eval_accuracy": 0.5947892376681614,
153
+ "eval_loss": 2.1952831745147705,
154
+ "eval_runtime": 5.789,
155
+ "eval_samples_per_second": 86.37,
156
+ "eval_steps_per_second": 10.883,
157
+ "step": 937
158
+ },
159
+ {
160
+ "epoch": 4.997333333333334,
161
+ "eval_exact_match": 12.6,
162
+ "eval_f1": 20.56238095238097,
163
+ "eval_qa_bleu": 8.878599537366625,
164
+ "eval_qa_exact_match": 0.106,
165
+ "eval_recite_bleu": 14.97129401028483,
166
+ "eval_recite_exact_match": 0.018,
167
+ "step": 937
168
+ },
169
+ {
170
+ "epoch": 5.333333333333333,
171
+ "grad_norm": 0.5803630352020264,
172
+ "learning_rate": 0.0005,
173
+ "loss": 0.3603,
174
+ "step": 1000
175
+ },
176
+ {
177
+ "epoch": 5.866666666666667,
178
+ "grad_norm": 0.7646645903587341,
179
+ "learning_rate": 0.0005,
180
+ "loss": 0.3066,
181
+ "step": 1100
182
+ },
183
+ {
184
+ "epoch": 6.0,
185
+ "eval_accuracy": 0.5917309417040358,
186
+ "eval_loss": 2.372556209564209,
187
+ "eval_runtime": 6.4215,
188
+ "eval_samples_per_second": 77.863,
189
+ "eval_steps_per_second": 9.811,
190
+ "step": 1125
191
+ },
192
+ {
193
+ "epoch": 6.0,
194
+ "eval_exact_match": 14.0,
195
+ "eval_f1": 21.69952380952382,
196
+ "eval_qa_bleu": 11.132618008914505,
197
+ "eval_qa_exact_match": 0.104,
198
+ "eval_recite_bleu": 15.834212599206387,
199
+ "eval_recite_exact_match": 0.022,
200
+ "step": 1125
201
+ },
202
+ {
203
+ "epoch": 6.4,
204
+ "grad_norm": 0.5899696946144104,
205
+ "learning_rate": 0.0005,
206
+ "loss": 0.2279,
207
+ "step": 1200
208
+ },
209
+ {
210
+ "epoch": 6.933333333333334,
211
+ "grad_norm": 0.6446067690849304,
212
+ "learning_rate": 0.0005,
213
+ "loss": 0.2171,
214
+ "step": 1300
215
+ },
216
+ {
217
+ "epoch": 6.997333333333334,
218
+ "eval_accuracy": 0.5900089686098655,
219
+ "eval_loss": 2.5298404693603516,
220
+ "eval_runtime": 5.7188,
221
+ "eval_samples_per_second": 87.43,
222
+ "eval_steps_per_second": 11.016,
223
+ "step": 1312
224
+ },
225
+ {
226
+ "epoch": 6.997333333333334,
227
+ "eval_exact_match": 13.0,
228
+ "eval_f1": 20.44476190476192,
229
+ "eval_qa_bleu": 9.72146731421567,
230
+ "eval_qa_exact_match": 0.102,
231
+ "eval_recite_bleu": 16.053346195966608,
232
+ "eval_recite_exact_match": 0.028,
233
+ "step": 1312
234
+ },
235
+ {
236
+ "epoch": 7.466666666666667,
237
+ "grad_norm": 0.5204954743385315,
238
+ "learning_rate": 0.0005,
239
+ "loss": 0.165,
240
+ "step": 1400
241
+ },
242
+ {
243
+ "epoch": 8.0,
244
+ "grad_norm": 0.5783184170722961,
245
+ "learning_rate": 0.0005,
246
+ "loss": 0.1742,
247
+ "step": 1500
248
+ },
249
+ {
250
+ "epoch": 8.0,
251
+ "eval_accuracy": 0.5902690582959641,
252
+ "eval_loss": 2.5951457023620605,
253
+ "eval_runtime": 6.1142,
254
+ "eval_samples_per_second": 81.777,
255
+ "eval_steps_per_second": 10.304,
256
+ "step": 1500
257
+ },
258
+ {
259
+ "epoch": 8.0,
260
+ "eval_exact_match": 14.0,
261
+ "eval_f1": 20.39317460317461,
262
+ "eval_qa_bleu": 12.13686711407266,
263
+ "eval_qa_exact_match": 0.114,
264
+ "eval_recite_bleu": 17.051674394691624,
265
+ "eval_recite_exact_match": 0.038,
266
+ "step": 1500
267
+ },
268
+ {
269
+ "epoch": 8.533333333333333,
270
+ "grad_norm": 0.4550940692424774,
271
+ "learning_rate": 0.0005,
272
+ "loss": 0.1376,
273
+ "step": 1600
274
+ },
275
+ {
276
+ "epoch": 8.997333333333334,
277
+ "eval_accuracy": 0.5896143497757848,
278
+ "eval_loss": 2.698397159576416,
279
+ "eval_runtime": 6.2934,
280
+ "eval_samples_per_second": 79.448,
281
+ "eval_steps_per_second": 10.01,
282
+ "step": 1687
283
+ },
284
+ {
285
+ "epoch": 8.997333333333334,
286
+ "eval_exact_match": 12.4,
287
+ "eval_f1": 18.647619047619052,
288
+ "eval_qa_bleu": 12.590236325584641,
289
+ "eval_qa_exact_match": 0.098,
290
+ "eval_recite_bleu": 16.764890988222987,
291
+ "eval_recite_exact_match": 0.04,
292
+ "step": 1687
293
+ },
294
+ {
295
+ "epoch": 9.066666666666666,
296
+ "grad_norm": 0.40663576126098633,
297
+ "learning_rate": 0.0005,
298
+ "loss": 0.1507,
299
+ "step": 1700
300
+ },
301
+ {
302
+ "epoch": 9.6,
303
+ "grad_norm": 0.4749195873737335,
304
+ "learning_rate": 0.0005,
305
+ "loss": 0.1325,
306
+ "step": 1800
307
+ },
308
+ {
309
+ "epoch": 10.0,
310
+ "eval_accuracy": 0.588627802690583,
311
+ "eval_loss": 2.717050790786743,
312
+ "eval_runtime": 5.5734,
313
+ "eval_samples_per_second": 89.712,
314
+ "eval_steps_per_second": 11.304,
315
+ "step": 1875
316
+ },
317
+ {
318
+ "epoch": 10.0,
319
+ "eval_exact_match": 12.2,
320
+ "eval_f1": 19.749870129870143,
321
+ "eval_qa_bleu": 11.806166770872942,
322
+ "eval_qa_exact_match": 0.1,
323
+ "eval_recite_bleu": 17.357706445936504,
324
+ "eval_recite_exact_match": 0.048,
325
+ "step": 1875
326
+ },
327
+ {
328
+ "epoch": 10.133333333333333,
329
+ "grad_norm": 0.427946001291275,
330
+ "learning_rate": 0.0005,
331
+ "loss": 0.1428,
332
+ "step": 1900
333
+ },
334
+ {
335
+ "epoch": 10.666666666666666,
336
+ "grad_norm": 0.5029444694519043,
337
+ "learning_rate": 0.0005,
338
+ "loss": 0.133,
339
+ "step": 2000
340
+ },
341
+ {
342
+ "epoch": 10.997333333333334,
343
+ "eval_accuracy": 0.5878744394618834,
344
+ "eval_loss": 2.743403911590576,
345
+ "eval_runtime": 5.6067,
346
+ "eval_samples_per_second": 89.179,
347
+ "eval_steps_per_second": 11.237,
348
+ "step": 2062
349
+ },
350
+ {
351
+ "epoch": 10.997333333333334,
352
+ "eval_exact_match": 13.0,
353
+ "eval_f1": 20.467619047619053,
354
+ "eval_qa_bleu": 10.540745614436421,
355
+ "eval_qa_exact_match": 0.106,
356
+ "eval_recite_bleu": 17.42269517845921,
357
+ "eval_recite_exact_match": 0.036,
358
+ "step": 2062
359
+ }
360
+ ],
361
+ "logging_steps": 100,
362
+ "max_steps": 9350,
363
+ "num_input_tokens_seen": 0,
364
+ "num_train_epochs": 50,
365
+ "save_steps": 500,
366
+ "stateful_callbacks": {
367
+ "TrainerControl": {
368
+ "args": {
369
+ "should_epoch_stop": false,
370
+ "should_evaluate": false,
371
+ "should_log": false,
372
+ "should_save": true,
373
+ "should_training_stop": false
374
+ },
375
+ "attributes": {}
376
+ }
377
+ },
378
+ "total_flos": 2.077519997084631e+17,
379
+ "train_batch_size": 1,
380
+ "trial_name": null,
381
+ "trial_params": null
382
+ }
checkpoint-2062/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b6061b8d6135a3f759c6b956a7afa194ea4a0f719fc2e4eb293c4d6c15c2590
3
+ size 5304
checkpoint-2062/vocab.json ADDED
The diff for this file is too large to render. See raw diff