tyzhu commited on
Commit
a1c118d
1 Parent(s): 64a7867

Training in progress, epoch 7, checkpoint

Browse files
checkpoint-1750/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-1750/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-1750/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88bc3a44d101e42fd5ad63291c84b63be6efe0a39a734f675b9a87534efa3e07
3
+ size 112130416
checkpoint-1750/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-1750/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af36238cc4089e488c9d787b8ba0b1d87b75ef15aba5909d3708bb19436a00a8
3
+ size 224537202
checkpoint-1750/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8682619276c2b0065c534f71527b0066dc0a59af0826bd18b825b745792333a
3
+ size 15024
checkpoint-1750/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d4ba7487935a3cf4150de8b356e28bc572e838fd1eda4dd52e4d30e1aeb7b5d
3
+ size 15024
checkpoint-1750/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a399cdf26fcf8a50ec3d329eb115e5940244c939e7eb45cea8bafe2df9b7fad
3
+ size 15024
checkpoint-1750/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7ec61a59cb6030864ed7ceaf1600b19c96d331f20111df6db8db11df6666252
3
+ size 15024
checkpoint-1750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2402e4e8c7da5ab976c94f056fa76204ef449b590cab230dff304d9f075d00
3
+ size 1064
checkpoint-1750/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-1750/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1750/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-1750/trainer_state.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 7.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1750,
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.4,
13
+ "grad_norm": 0.6831097602844238,
14
+ "learning_rate": 3e-05,
15
+ "loss": 2.487,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.8,
20
+ "grad_norm": 0.7073227763175964,
21
+ "learning_rate": 3e-05,
22
+ "loss": 2.276,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.5134285714285715,
28
+ "eval_loss": 2.3502681255340576,
29
+ "eval_runtime": 5.2185,
30
+ "eval_samples_per_second": 95.812,
31
+ "eval_steps_per_second": 12.072,
32
+ "step": 250
33
+ },
34
+ {
35
+ "epoch": 1.0,
36
+ "eval_exact_match": 17.0,
37
+ "eval_f1": 24.54219480519481,
38
+ "step": 250
39
+ },
40
+ {
41
+ "epoch": 1.2,
42
+ "grad_norm": 0.820932149887085,
43
+ "learning_rate": 3e-05,
44
+ "loss": 2.2479,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 1.6,
49
+ "grad_norm": 0.9243379831314087,
50
+ "learning_rate": 3e-05,
51
+ "loss": 2.2237,
52
+ "step": 400
53
+ },
54
+ {
55
+ "epoch": 2.0,
56
+ "grad_norm": 0.8742844462394714,
57
+ "learning_rate": 3e-05,
58
+ "loss": 2.1973,
59
+ "step": 500
60
+ },
61
+ {
62
+ "epoch": 2.0,
63
+ "eval_accuracy": 0.5151746031746032,
64
+ "eval_loss": 2.330955743789673,
65
+ "eval_runtime": 5.5478,
66
+ "eval_samples_per_second": 90.125,
67
+ "eval_steps_per_second": 11.356,
68
+ "step": 500
69
+ },
70
+ {
71
+ "epoch": 2.0,
72
+ "eval_exact_match": 16.2,
73
+ "eval_f1": 24.397655122655127,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.4,
78
+ "grad_norm": 1.034700632095337,
79
+ "learning_rate": 3e-05,
80
+ "loss": 2.1295,
81
+ "step": 600
82
+ },
83
+ {
84
+ "epoch": 2.8,
85
+ "grad_norm": 1.130967617034912,
86
+ "learning_rate": 3e-05,
87
+ "loss": 2.1128,
88
+ "step": 700
89
+ },
90
+ {
91
+ "epoch": 3.0,
92
+ "eval_accuracy": 0.516095238095238,
93
+ "eval_loss": 2.3357651233673096,
94
+ "eval_runtime": 5.8761,
95
+ "eval_samples_per_second": 85.091,
96
+ "eval_steps_per_second": 10.721,
97
+ "step": 750
98
+ },
99
+ {
100
+ "epoch": 3.0,
101
+ "eval_exact_match": 19.0,
102
+ "eval_f1": 26.202922077922086,
103
+ "step": 750
104
+ },
105
+ {
106
+ "epoch": 3.2,
107
+ "grad_norm": 1.4410409927368164,
108
+ "learning_rate": 3e-05,
109
+ "loss": 2.0768,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 3.6,
114
+ "grad_norm": 1.5838419198989868,
115
+ "learning_rate": 3e-05,
116
+ "loss": 2.0139,
117
+ "step": 900
118
+ },
119
+ {
120
+ "epoch": 4.0,
121
+ "grad_norm": 1.824843406677246,
122
+ "learning_rate": 3e-05,
123
+ "loss": 2.0165,
124
+ "step": 1000
125
+ },
126
+ {
127
+ "epoch": 4.0,
128
+ "eval_accuracy": 0.5151746031746032,
129
+ "eval_loss": 2.355579376220703,
130
+ "eval_runtime": 5.1124,
131
+ "eval_samples_per_second": 97.801,
132
+ "eval_steps_per_second": 12.323,
133
+ "step": 1000
134
+ },
135
+ {
136
+ "epoch": 4.0,
137
+ "eval_exact_match": 19.0,
138
+ "eval_f1": 26.60538961038962,
139
+ "step": 1000
140
+ },
141
+ {
142
+ "epoch": 4.4,
143
+ "grad_norm": 1.988659381866455,
144
+ "learning_rate": 3e-05,
145
+ "loss": 1.8919,
146
+ "step": 1100
147
+ },
148
+ {
149
+ "epoch": 4.8,
150
+ "grad_norm": 2.1034774780273438,
151
+ "learning_rate": 3e-05,
152
+ "loss": 1.9024,
153
+ "step": 1200
154
+ },
155
+ {
156
+ "epoch": 5.0,
157
+ "eval_accuracy": 0.5138730158730159,
158
+ "eval_loss": 2.4047114849090576,
159
+ "eval_runtime": 5.507,
160
+ "eval_samples_per_second": 90.794,
161
+ "eval_steps_per_second": 11.44,
162
+ "step": 1250
163
+ },
164
+ {
165
+ "epoch": 5.0,
166
+ "eval_exact_match": 19.2,
167
+ "eval_f1": 27.08811688311689,
168
+ "step": 1250
169
+ },
170
+ {
171
+ "epoch": 5.2,
172
+ "grad_norm": 2.2108240127563477,
173
+ "learning_rate": 3e-05,
174
+ "loss": 1.852,
175
+ "step": 1300
176
+ },
177
+ {
178
+ "epoch": 5.6,
179
+ "grad_norm": 2.507085084915161,
180
+ "learning_rate": 3e-05,
181
+ "loss": 1.7877,
182
+ "step": 1400
183
+ },
184
+ {
185
+ "epoch": 6.0,
186
+ "grad_norm": 2.3765366077423096,
187
+ "learning_rate": 3e-05,
188
+ "loss": 1.7989,
189
+ "step": 1500
190
+ },
191
+ {
192
+ "epoch": 6.0,
193
+ "eval_accuracy": 0.5111111111111111,
194
+ "eval_loss": 2.4534740447998047,
195
+ "eval_runtime": 5.199,
196
+ "eval_samples_per_second": 96.172,
197
+ "eval_steps_per_second": 12.118,
198
+ "step": 1500
199
+ },
200
+ {
201
+ "epoch": 6.0,
202
+ "eval_exact_match": 18.2,
203
+ "eval_f1": 26.325503531556176,
204
+ "step": 1500
205
+ },
206
+ {
207
+ "epoch": 6.4,
208
+ "grad_norm": 2.944777727127075,
209
+ "learning_rate": 3e-05,
210
+ "loss": 1.6784,
211
+ "step": 1600
212
+ },
213
+ {
214
+ "epoch": 6.8,
215
+ "grad_norm": 2.8724122047424316,
216
+ "learning_rate": 3e-05,
217
+ "loss": 1.692,
218
+ "step": 1700
219
+ },
220
+ {
221
+ "epoch": 7.0,
222
+ "eval_accuracy": 0.5085714285714286,
223
+ "eval_loss": 2.527308464050293,
224
+ "eval_runtime": 5.9179,
225
+ "eval_samples_per_second": 84.489,
226
+ "eval_steps_per_second": 10.646,
227
+ "step": 1750
228
+ },
229
+ {
230
+ "epoch": 7.0,
231
+ "eval_exact_match": 17.4,
232
+ "eval_f1": 25.36568542568543,
233
+ "step": 1750
234
+ }
235
+ ],
236
+ "logging_steps": 100,
237
+ "max_steps": 12500,
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": 5.352167147411866e+16,
254
+ "train_batch_size": 2,
255
+ "trial_name": null,
256
+ "trial_params": null
257
+ }
checkpoint-1750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76141cb7041782161f7695865881a4df3a03be3731ae75640f405be3a5a6f23d
3
+ size 5304
checkpoint-1750/vocab.json ADDED
The diff for this file is too large to render. See raw diff