tyzhu commited on
Commit
4a746c9
1 Parent(s): 7239349

Training in progress, epoch 6, checkpoint

Browse files
checkpoint-1312/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-1312/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-1312/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efc1fb4ba74bf6d6a935e2bf21b2e03ef6b74c36bfc6b0de4615ea41084dce52
3
+ size 112130416
checkpoint-1312/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-1312/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1312/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8075f1ad1e839d700ab0d67a554c0095fc1890971385c06cd7ca649e57f72930
3
+ size 224537202
checkpoint-1312/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d894975494ee995790df6f1939a748282a440a9e2edf7b2ece08d18726db57b1
3
+ size 15024
checkpoint-1312/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f93abb626d9a0975072f556c075c9d2daa51720816ef62a77bd9bcac5ea0158
3
+ size 15024
checkpoint-1312/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23329dd8b199240fef9f8e8be2f6693c0269bb5933f8664d59192efbd076f1dd
3
+ size 15024
checkpoint-1312/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2076f60c55543eb62840db8d4577b4b4492593f7ceead547ff0c13e920c1a588
3
+ size 15024
checkpoint-1312/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c82c40da160a480147de678796724fd610e364178b1092a97a0ea380c409cdd0
3
+ size 1064
checkpoint-1312/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-1312/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1312/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-1312/trainer_state.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 6.997333333333334,
5
+ "eval_steps": 500,
6
+ "global_step": 1312,
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
+ "logging_steps": 100,
237
+ "max_steps": 9350,
238
+ "num_input_tokens_seen": 0,
239
+ "num_train_epochs": 50,
240
+ "save_steps": 500,
241
+ "stateful_callbacks": {
242
+ "TrainerControl": {
243
+ "args": {
244
+ "should_epoch_stop": false,
245
+ "should_evaluate": false,
246
+ "should_log": false,
247
+ "should_save": true,
248
+ "should_training_stop": false
249
+ },
250
+ "attributes": {}
251
+ }
252
+ },
253
+ "total_flos": 1.3220581835014144e+17,
254
+ "train_batch_size": 1,
255
+ "trial_name": null,
256
+ "trial_params": null
257
+ }
checkpoint-1312/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-1312/vocab.json ADDED
The diff for this file is too large to render. See raw diff