tyzhu commited on
Commit
05614e1
·
verified ·
1 Parent(s): 6d112ac

Training in progress, epoch 10, checkpoint

Browse files
checkpoint-1875/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-1875/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-1875/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cde15f987c6d54d41fbb85be064a6a8bd3683ae1e750768207ff142a4c5ebf8
3
+ size 112130416
checkpoint-1875/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-1875/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1875/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d40323bbf5633b2dbc080742dc6c7564edec1459de0e538c51b80cec4fba64a0
3
+ size 224537202
checkpoint-1875/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc10eeac5d1e6bb4c7a1b387908144a2e0847830e26728f93552c9fb4d2e1720
3
+ size 15024
checkpoint-1875/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c593af85db8b9470d75256b6595c2a05b9b1b3cf654bfe652261efc77f8485a3
3
+ size 15024
checkpoint-1875/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ab2a578ef6e7bc4fc6cd5fcc0728bf7269a844ba9f41dc4418b2c46654379e0
3
+ size 15024
checkpoint-1875/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f94aba647d23a8ddb07996daaa779821991c91b0188b5c88eb2a50901be9984a
3
+ size 15024
checkpoint-1875/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9b4d47d61c2c2894ca219f51a63b8fcc62fcd8679785d1c36cdc116da736d46
3
+ size 1064
checkpoint-1875/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-1875/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1875/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-1875/trainer_state.json ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1875,
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.5194531679153442,
14
+ "learning_rate": 0.0003,
15
+ "loss": 1.7259,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.9973333333333333,
20
+ "eval_accuracy": 0.5753333333333334,
21
+ "eval_loss": 1.6105104684829712,
22
+ "eval_runtime": 5.418,
23
+ "eval_samples_per_second": 92.285,
24
+ "eval_steps_per_second": 11.628,
25
+ "step": 187
26
+ },
27
+ {
28
+ "epoch": 0.9973333333333333,
29
+ "eval_exact_match": 17.2,
30
+ "eval_f1": 26.890173160173163,
31
+ "step": 187
32
+ },
33
+ {
34
+ "epoch": 1.0666666666666667,
35
+ "grad_norm": 0.6734262704849243,
36
+ "learning_rate": 0.0003,
37
+ "loss": 1.6156,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 1.6,
42
+ "grad_norm": 0.7422465682029724,
43
+ "learning_rate": 0.0003,
44
+ "loss": 1.3358,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 2.0,
49
+ "eval_accuracy": 0.5722564102564103,
50
+ "eval_loss": 1.6464648246765137,
51
+ "eval_runtime": 5.1856,
52
+ "eval_samples_per_second": 96.422,
53
+ "eval_steps_per_second": 12.149,
54
+ "step": 375
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "eval_exact_match": 19.0,
59
+ "eval_f1": 27.762380952380955,
60
+ "step": 375
61
+ },
62
+ {
63
+ "epoch": 2.1333333333333333,
64
+ "grad_norm": 0.828364908695221,
65
+ "learning_rate": 0.0003,
66
+ "loss": 1.2607,
67
+ "step": 400
68
+ },
69
+ {
70
+ "epoch": 2.6666666666666665,
71
+ "grad_norm": 0.9025559425354004,
72
+ "learning_rate": 0.0003,
73
+ "loss": 0.9854,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.997333333333333,
78
+ "eval_accuracy": 0.5707692307692308,
79
+ "eval_loss": 1.7620763778686523,
80
+ "eval_runtime": 5.2589,
81
+ "eval_samples_per_second": 95.077,
82
+ "eval_steps_per_second": 11.98,
83
+ "step": 562
84
+ },
85
+ {
86
+ "epoch": 2.997333333333333,
87
+ "eval_exact_match": 18.2,
88
+ "eval_f1": 27.53142857142857,
89
+ "step": 562
90
+ },
91
+ {
92
+ "epoch": 3.2,
93
+ "grad_norm": 0.8217537999153137,
94
+ "learning_rate": 0.0003,
95
+ "loss": 0.9099,
96
+ "step": 600
97
+ },
98
+ {
99
+ "epoch": 3.7333333333333334,
100
+ "grad_norm": 0.8315110206604004,
101
+ "learning_rate": 0.0003,
102
+ "loss": 0.7508,
103
+ "step": 700
104
+ },
105
+ {
106
+ "epoch": 4.0,
107
+ "eval_accuracy": 0.5663076923076923,
108
+ "eval_loss": 1.9380683898925781,
109
+ "eval_runtime": 5.3338,
110
+ "eval_samples_per_second": 93.742,
111
+ "eval_steps_per_second": 11.811,
112
+ "step": 750
113
+ },
114
+ {
115
+ "epoch": 4.0,
116
+ "eval_exact_match": 16.0,
117
+ "eval_f1": 24.611904761904768,
118
+ "step": 750
119
+ },
120
+ {
121
+ "epoch": 4.266666666666667,
122
+ "grad_norm": 0.6763857007026672,
123
+ "learning_rate": 0.0003,
124
+ "loss": 0.6912,
125
+ "step": 800
126
+ },
127
+ {
128
+ "epoch": 4.8,
129
+ "grad_norm": 0.8408166766166687,
130
+ "learning_rate": 0.0003,
131
+ "loss": 0.6396,
132
+ "step": 900
133
+ },
134
+ {
135
+ "epoch": 4.997333333333334,
136
+ "eval_accuracy": 0.5634358974358974,
137
+ "eval_loss": 1.9925932884216309,
138
+ "eval_runtime": 5.3717,
139
+ "eval_samples_per_second": 93.08,
140
+ "eval_steps_per_second": 11.728,
141
+ "step": 937
142
+ },
143
+ {
144
+ "epoch": 4.997333333333334,
145
+ "eval_exact_match": 16.0,
146
+ "eval_f1": 24.313809523809528,
147
+ "step": 937
148
+ },
149
+ {
150
+ "epoch": 5.333333333333333,
151
+ "grad_norm": 0.6721271276473999,
152
+ "learning_rate": 0.0003,
153
+ "loss": 0.5959,
154
+ "step": 1000
155
+ },
156
+ {
157
+ "epoch": 5.866666666666667,
158
+ "grad_norm": 0.9258321523666382,
159
+ "learning_rate": 0.0003,
160
+ "loss": 0.5833,
161
+ "step": 1100
162
+ },
163
+ {
164
+ "epoch": 6.0,
165
+ "eval_accuracy": 0.5611794871794872,
166
+ "eval_loss": 2.101524829864502,
167
+ "eval_runtime": 5.4208,
168
+ "eval_samples_per_second": 92.238,
169
+ "eval_steps_per_second": 11.622,
170
+ "step": 1125
171
+ },
172
+ {
173
+ "epoch": 6.0,
174
+ "eval_exact_match": 17.0,
175
+ "eval_f1": 25.444285714285726,
176
+ "step": 1125
177
+ },
178
+ {
179
+ "epoch": 6.4,
180
+ "grad_norm": 0.6029295921325684,
181
+ "learning_rate": 0.0003,
182
+ "loss": 0.545,
183
+ "step": 1200
184
+ },
185
+ {
186
+ "epoch": 6.933333333333334,
187
+ "grad_norm": 0.5719736814498901,
188
+ "learning_rate": 0.0003,
189
+ "loss": 0.5567,
190
+ "step": 1300
191
+ },
192
+ {
193
+ "epoch": 6.997333333333334,
194
+ "eval_accuracy": 0.5607179487179487,
195
+ "eval_loss": 2.1645195484161377,
196
+ "eval_runtime": 5.1974,
197
+ "eval_samples_per_second": 96.202,
198
+ "eval_steps_per_second": 12.121,
199
+ "step": 1312
200
+ },
201
+ {
202
+ "epoch": 6.997333333333334,
203
+ "eval_exact_match": 15.0,
204
+ "eval_f1": 23.618095238095247,
205
+ "step": 1312
206
+ },
207
+ {
208
+ "epoch": 7.466666666666667,
209
+ "grad_norm": 0.49924588203430176,
210
+ "learning_rate": 0.0003,
211
+ "loss": 0.5205,
212
+ "step": 1400
213
+ },
214
+ {
215
+ "epoch": 8.0,
216
+ "grad_norm": 0.5360875129699707,
217
+ "learning_rate": 0.0003,
218
+ "loss": 0.5411,
219
+ "step": 1500
220
+ },
221
+ {
222
+ "epoch": 8.0,
223
+ "eval_accuracy": 0.5614358974358974,
224
+ "eval_loss": 2.2039756774902344,
225
+ "eval_runtime": 5.0936,
226
+ "eval_samples_per_second": 98.162,
227
+ "eval_steps_per_second": 12.368,
228
+ "step": 1500
229
+ },
230
+ {
231
+ "epoch": 8.0,
232
+ "eval_exact_match": 16.8,
233
+ "eval_f1": 25.132380952380966,
234
+ "step": 1500
235
+ },
236
+ {
237
+ "epoch": 8.533333333333333,
238
+ "grad_norm": 0.44560280442237854,
239
+ "learning_rate": 0.0003,
240
+ "loss": 0.5028,
241
+ "step": 1600
242
+ },
243
+ {
244
+ "epoch": 8.997333333333334,
245
+ "eval_accuracy": 0.5608205128205128,
246
+ "eval_loss": 2.236473321914673,
247
+ "eval_runtime": 5.2122,
248
+ "eval_samples_per_second": 95.93,
249
+ "eval_steps_per_second": 12.087,
250
+ "step": 1687
251
+ },
252
+ {
253
+ "epoch": 8.997333333333334,
254
+ "eval_exact_match": 16.0,
255
+ "eval_f1": 24.712380952380958,
256
+ "step": 1687
257
+ },
258
+ {
259
+ "epoch": 9.066666666666666,
260
+ "grad_norm": 0.42847225069999695,
261
+ "learning_rate": 0.0003,
262
+ "loss": 0.5246,
263
+ "step": 1700
264
+ },
265
+ {
266
+ "epoch": 9.6,
267
+ "grad_norm": 0.4186452627182007,
268
+ "learning_rate": 0.0003,
269
+ "loss": 0.5041,
270
+ "step": 1800
271
+ },
272
+ {
273
+ "epoch": 10.0,
274
+ "eval_accuracy": 0.5604615384615385,
275
+ "eval_loss": 2.2862467765808105,
276
+ "eval_runtime": 5.8141,
277
+ "eval_samples_per_second": 85.998,
278
+ "eval_steps_per_second": 10.836,
279
+ "step": 1875
280
+ },
281
+ {
282
+ "epoch": 10.0,
283
+ "eval_exact_match": 14.4,
284
+ "eval_f1": 22.683333333333344,
285
+ "step": 1875
286
+ }
287
+ ],
288
+ "logging_steps": 100,
289
+ "max_steps": 9350,
290
+ "num_input_tokens_seen": 0,
291
+ "num_train_epochs": 50,
292
+ "save_steps": 500,
293
+ "stateful_callbacks": {
294
+ "TrainerControl": {
295
+ "args": {
296
+ "should_epoch_stop": false,
297
+ "should_evaluate": false,
298
+ "should_log": false,
299
+ "should_save": true,
300
+ "should_training_stop": false
301
+ },
302
+ "attributes": {}
303
+ }
304
+ },
305
+ "total_flos": 3.265462178886451e+16,
306
+ "train_batch_size": 1,
307
+ "trial_name": null,
308
+ "trial_params": null
309
+ }
checkpoint-1875/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a48aaa718d03f9c3a1cf4e80dbff36330a05dd346d42a3b722f1ae2626aabe3c
3
+ size 5304
checkpoint-1875/vocab.json ADDED
The diff for this file is too large to render. See raw diff