tyzhu commited on
Commit
e986da1
1 Parent(s): 55d7c4a

Training in progress, epoch 5, checkpoint

Browse files
checkpoint-2645/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-2645/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-2645/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b87f90aa66a092988e8ab938436a869be31c048ac28d911446bc63b5cf808eca
3
+ size 112130416
checkpoint-2645/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-2645/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2645/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7660c999fd2ceb6e0afae78bffd92bd7aef918bdfb93df8e8ad2bdb242a997fb
3
+ size 224537202
checkpoint-2645/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c34eb93c2a2a55a4b2d61caf06d523ea591e1ad68c0f70a9182f3d17a611c069
3
+ size 15024
checkpoint-2645/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9da76f6f5d4db83c732aaae22754043cc09a98ade580152a1f014e55ed94c4b9
3
+ size 15024
checkpoint-2645/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e40d9d79ff5474d21c21b7b7c6714692ff41f34ee8c8643cc0262f4ced4f9642
3
+ size 15024
checkpoint-2645/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2099ec68b2e189706c3bb0a0321fa578b203e9a7df1363e37aedeedc2ffdec0a
3
+ size 15024
checkpoint-2645/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd5dfe91d76978ec6444d6de4e05e2dcf5ef5f69f89f3df856cac5c13078274
3
+ size 1064
checkpoint-2645/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-2645/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2645/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-2645/trainer_state.json ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2645,
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.1890359168241966,
13
+ "grad_norm": 0.5107442140579224,
14
+ "learning_rate": 5e-05,
15
+ "loss": 2.0482,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.3780718336483932,
20
+ "grad_norm": 0.5563424229621887,
21
+ "learning_rate": 5e-05,
22
+ "loss": 1.8835,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.5671077504725898,
27
+ "grad_norm": 0.4735371172428131,
28
+ "learning_rate": 5e-05,
29
+ "loss": 1.8512,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.7561436672967864,
34
+ "grad_norm": 0.4543495178222656,
35
+ "learning_rate": 5e-05,
36
+ "loss": 1.8489,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.945179584120983,
41
+ "grad_norm": 0.5007112622261047,
42
+ "learning_rate": 5e-05,
43
+ "loss": 1.8439,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 1.0,
48
+ "eval_accuracy": 0.5733333333333334,
49
+ "eval_loss": 1.6194567680358887,
50
+ "eval_runtime": 5.4154,
51
+ "eval_samples_per_second": 92.33,
52
+ "eval_steps_per_second": 11.634,
53
+ "step": 529
54
+ },
55
+ {
56
+ "epoch": 1.0,
57
+ "eval_exact_match": 17.0,
58
+ "eval_f1": 26.880952380952387,
59
+ "step": 529
60
+ },
61
+ {
62
+ "epoch": 1.1342155009451795,
63
+ "grad_norm": 0.5181360244750977,
64
+ "learning_rate": 5e-05,
65
+ "loss": 1.8217,
66
+ "step": 600
67
+ },
68
+ {
69
+ "epoch": 1.3232514177693762,
70
+ "grad_norm": 1.1348918676376343,
71
+ "learning_rate": 5e-05,
72
+ "loss": 1.7866,
73
+ "step": 700
74
+ },
75
+ {
76
+ "epoch": 1.5122873345935728,
77
+ "grad_norm": 0.661758303642273,
78
+ "learning_rate": 5e-05,
79
+ "loss": 1.7934,
80
+ "step": 800
81
+ },
82
+ {
83
+ "epoch": 1.7013232514177694,
84
+ "grad_norm": 0.5634772777557373,
85
+ "learning_rate": 5e-05,
86
+ "loss": 1.7731,
87
+ "step": 900
88
+ },
89
+ {
90
+ "epoch": 1.8903591682419658,
91
+ "grad_norm": 0.6698930263519287,
92
+ "learning_rate": 5e-05,
93
+ "loss": 1.7969,
94
+ "step": 1000
95
+ },
96
+ {
97
+ "epoch": 2.0,
98
+ "eval_accuracy": 0.5751794871794872,
99
+ "eval_loss": 1.603736162185669,
100
+ "eval_runtime": 5.0986,
101
+ "eval_samples_per_second": 98.066,
102
+ "eval_steps_per_second": 12.356,
103
+ "step": 1058
104
+ },
105
+ {
106
+ "epoch": 2.0,
107
+ "eval_exact_match": 17.6,
108
+ "eval_f1": 27.218095238095238,
109
+ "step": 1058
110
+ },
111
+ {
112
+ "epoch": 2.0793950850661624,
113
+ "grad_norm": 0.6265193223953247,
114
+ "learning_rate": 5e-05,
115
+ "loss": 1.7416,
116
+ "step": 1100
117
+ },
118
+ {
119
+ "epoch": 2.268431001890359,
120
+ "grad_norm": 0.812364935874939,
121
+ "learning_rate": 5e-05,
122
+ "loss": 1.6957,
123
+ "step": 1200
124
+ },
125
+ {
126
+ "epoch": 2.4574669187145557,
127
+ "grad_norm": 1.0972926616668701,
128
+ "learning_rate": 5e-05,
129
+ "loss": 1.7033,
130
+ "step": 1300
131
+ },
132
+ {
133
+ "epoch": 2.6465028355387523,
134
+ "grad_norm": 1.0831658840179443,
135
+ "learning_rate": 5e-05,
136
+ "loss": 1.6935,
137
+ "step": 1400
138
+ },
139
+ {
140
+ "epoch": 2.835538752362949,
141
+ "grad_norm": 1.0022494792938232,
142
+ "learning_rate": 5e-05,
143
+ "loss": 1.6799,
144
+ "step": 1500
145
+ },
146
+ {
147
+ "epoch": 3.0,
148
+ "eval_accuracy": 0.573025641025641,
149
+ "eval_loss": 1.6428505182266235,
150
+ "eval_runtime": 5.1488,
151
+ "eval_samples_per_second": 97.111,
152
+ "eval_steps_per_second": 12.236,
153
+ "step": 1587
154
+ },
155
+ {
156
+ "epoch": 3.0,
157
+ "eval_exact_match": 20.2,
158
+ "eval_f1": 27.93809523809523,
159
+ "step": 1587
160
+ },
161
+ {
162
+ "epoch": 3.0245746691871456,
163
+ "grad_norm": 0.8240587711334229,
164
+ "learning_rate": 5e-05,
165
+ "loss": 1.6618,
166
+ "step": 1600
167
+ },
168
+ {
169
+ "epoch": 3.213610586011342,
170
+ "grad_norm": 1.2994645833969116,
171
+ "learning_rate": 5e-05,
172
+ "loss": 1.5736,
173
+ "step": 1700
174
+ },
175
+ {
176
+ "epoch": 3.402646502835539,
177
+ "grad_norm": 1.0891159772872925,
178
+ "learning_rate": 5e-05,
179
+ "loss": 1.5798,
180
+ "step": 1800
181
+ },
182
+ {
183
+ "epoch": 3.5916824196597354,
184
+ "grad_norm": 1.3826475143432617,
185
+ "learning_rate": 5e-05,
186
+ "loss": 1.5957,
187
+ "step": 1900
188
+ },
189
+ {
190
+ "epoch": 3.780718336483932,
191
+ "grad_norm": 0.9901586174964905,
192
+ "learning_rate": 5e-05,
193
+ "loss": 1.6026,
194
+ "step": 2000
195
+ },
196
+ {
197
+ "epoch": 3.9697542533081287,
198
+ "grad_norm": 1.0607813596725464,
199
+ "learning_rate": 5e-05,
200
+ "loss": 1.6106,
201
+ "step": 2100
202
+ },
203
+ {
204
+ "epoch": 4.0,
205
+ "eval_accuracy": 0.5708717948717948,
206
+ "eval_loss": 1.7143596410751343,
207
+ "eval_runtime": 5.3942,
208
+ "eval_samples_per_second": 92.693,
209
+ "eval_steps_per_second": 11.679,
210
+ "step": 2116
211
+ },
212
+ {
213
+ "epoch": 4.0,
214
+ "eval_exact_match": 19.0,
215
+ "eval_f1": 27.71428571428571,
216
+ "step": 2116
217
+ },
218
+ {
219
+ "epoch": 4.158790170132325,
220
+ "grad_norm": 1.3189178705215454,
221
+ "learning_rate": 5e-05,
222
+ "loss": 1.5029,
223
+ "step": 2200
224
+ },
225
+ {
226
+ "epoch": 4.3478260869565215,
227
+ "grad_norm": 1.062267541885376,
228
+ "learning_rate": 5e-05,
229
+ "loss": 1.51,
230
+ "step": 2300
231
+ },
232
+ {
233
+ "epoch": 4.536862003780718,
234
+ "grad_norm": 1.3810843229293823,
235
+ "learning_rate": 5e-05,
236
+ "loss": 1.4867,
237
+ "step": 2400
238
+ },
239
+ {
240
+ "epoch": 4.725897920604915,
241
+ "grad_norm": 1.1991653442382812,
242
+ "learning_rate": 5e-05,
243
+ "loss": 1.501,
244
+ "step": 2500
245
+ },
246
+ {
247
+ "epoch": 4.914933837429111,
248
+ "grad_norm": 1.310654878616333,
249
+ "learning_rate": 5e-05,
250
+ "loss": 1.5034,
251
+ "step": 2600
252
+ },
253
+ {
254
+ "epoch": 5.0,
255
+ "eval_accuracy": 0.5681025641025641,
256
+ "eval_loss": 1.8328346014022827,
257
+ "eval_runtime": 5.7763,
258
+ "eval_samples_per_second": 86.561,
259
+ "eval_steps_per_second": 10.907,
260
+ "step": 2645
261
+ },
262
+ {
263
+ "epoch": 5.0,
264
+ "eval_exact_match": 18.8,
265
+ "eval_f1": 26.6015873015873,
266
+ "step": 2645
267
+ }
268
+ ],
269
+ "logging_steps": 100,
270
+ "max_steps": 26450,
271
+ "num_input_tokens_seen": 0,
272
+ "num_train_epochs": 50,
273
+ "save_steps": 500,
274
+ "stateful_callbacks": {
275
+ "TrainerControl": {
276
+ "args": {
277
+ "should_epoch_stop": false,
278
+ "should_evaluate": false,
279
+ "should_log": false,
280
+ "should_save": true,
281
+ "should_training_stop": false
282
+ },
283
+ "attributes": {}
284
+ }
285
+ },
286
+ "total_flos": 1.629371386172539e+17,
287
+ "train_batch_size": 1,
288
+ "trial_name": null,
289
+ "trial_params": null
290
+ }
checkpoint-2645/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f01d18f717251d8791982fc93ed5352f2d247add98e1102e2a52cc0a32128bb7
3
+ size 5304
checkpoint-2645/vocab.json ADDED
The diff for this file is too large to render. See raw diff