tyzhu commited on
Commit
dc6cd1a
1 Parent(s): 43fdb44

Training in progress, epoch 8, checkpoint

Browse files
checkpoint-1500/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-1500/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-1500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cb074fc64b8665a4bd78dcad44dca5f778e781f4ffa4bb05e3d8c0c4b90fd1c
3
+ size 112130416
checkpoint-1500/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-1500/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd165ae09524dac381b0f8ed4cc18b5a93aa2e7d80ec753a3aaa4123dd00f96e
3
+ size 224537202
checkpoint-1500/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f88e4143ec1f4ad4b2da7d2f03c1904d7cd330ed9e8c45b4ad43b9fe39da7694
3
+ size 15024
checkpoint-1500/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00e067d4e197d5ccf74faad44abc2da015b0a7137fa9e89acac1fddb4f94bd95
3
+ size 15024
checkpoint-1500/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a090fc366e6273e34bb8168bffd430cc2c5807bdcc1554849a22afb04db6620
3
+ size 15024
checkpoint-1500/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97b5d2071e780a43f6ad1baf817d6c06f04bbe2491882d0e17198ad1ef918c39
3
+ size 15024
checkpoint-1500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:084c8aecb9d3ac85c94f614df2060324a90d5a59efa400ab27a1733b0fc8abfb
3
+ size 1064
checkpoint-1500/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-1500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1500/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-1500/trainer_state.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1500,
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.7454617619514465,
14
+ "learning_rate": 5e-05,
15
+ "loss": 1.8726,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.9973333333333333,
20
+ "eval_accuracy": 0.5713333333333334,
21
+ "eval_loss": 1.6331332921981812,
22
+ "eval_runtime": 5.4718,
23
+ "eval_samples_per_second": 91.377,
24
+ "eval_steps_per_second": 11.514,
25
+ "step": 187
26
+ },
27
+ {
28
+ "epoch": 0.9973333333333333,
29
+ "eval_exact_match": 15.0,
30
+ "eval_f1": 25.64857142857145,
31
+ "step": 187
32
+ },
33
+ {
34
+ "epoch": 1.0666666666666667,
35
+ "grad_norm": 0.9573808908462524,
36
+ "learning_rate": 5e-05,
37
+ "loss": 1.66,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 1.6,
42
+ "grad_norm": 1.0792433023452759,
43
+ "learning_rate": 5e-05,
44
+ "loss": 1.5764,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 2.0,
49
+ "eval_accuracy": 0.5741538461538461,
50
+ "eval_loss": 1.6118417978286743,
51
+ "eval_runtime": 5.1541,
52
+ "eval_samples_per_second": 97.01,
53
+ "eval_steps_per_second": 12.223,
54
+ "step": 375
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "eval_exact_match": 16.8,
59
+ "eval_f1": 26.120952380952396,
60
+ "step": 375
61
+ },
62
+ {
63
+ "epoch": 2.1333333333333333,
64
+ "grad_norm": 1.2928162813186646,
65
+ "learning_rate": 5e-05,
66
+ "loss": 1.5364,
67
+ "step": 400
68
+ },
69
+ {
70
+ "epoch": 2.6666666666666665,
71
+ "grad_norm": 1.4883633852005005,
72
+ "learning_rate": 5e-05,
73
+ "loss": 1.4154,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.997333333333333,
78
+ "eval_accuracy": 0.5733846153846154,
79
+ "eval_loss": 1.6421321630477905,
80
+ "eval_runtime": 5.23,
81
+ "eval_samples_per_second": 95.603,
82
+ "eval_steps_per_second": 12.046,
83
+ "step": 562
84
+ },
85
+ {
86
+ "epoch": 2.997333333333333,
87
+ "eval_exact_match": 19.4,
88
+ "eval_f1": 28.4652380952381,
89
+ "step": 562
90
+ },
91
+ {
92
+ "epoch": 3.2,
93
+ "grad_norm": 1.7553108930587769,
94
+ "learning_rate": 5e-05,
95
+ "loss": 1.3426,
96
+ "step": 600
97
+ },
98
+ {
99
+ "epoch": 3.7333333333333334,
100
+ "grad_norm": 2.0343973636627197,
101
+ "learning_rate": 5e-05,
102
+ "loss": 1.2297,
103
+ "step": 700
104
+ },
105
+ {
106
+ "epoch": 4.0,
107
+ "eval_accuracy": 0.5687692307692308,
108
+ "eval_loss": 1.7009365558624268,
109
+ "eval_runtime": 5.4367,
110
+ "eval_samples_per_second": 91.968,
111
+ "eval_steps_per_second": 11.588,
112
+ "step": 750
113
+ },
114
+ {
115
+ "epoch": 4.0,
116
+ "eval_exact_match": 17.6,
117
+ "eval_f1": 26.490952380952383,
118
+ "step": 750
119
+ },
120
+ {
121
+ "epoch": 4.266666666666667,
122
+ "grad_norm": 2.3617172241210938,
123
+ "learning_rate": 5e-05,
124
+ "loss": 1.1613,
125
+ "step": 800
126
+ },
127
+ {
128
+ "epoch": 4.8,
129
+ "grad_norm": 2.357593297958374,
130
+ "learning_rate": 5e-05,
131
+ "loss": 1.0779,
132
+ "step": 900
133
+ },
134
+ {
135
+ "epoch": 4.997333333333334,
136
+ "eval_accuracy": 0.567025641025641,
137
+ "eval_loss": 1.791063666343689,
138
+ "eval_runtime": 6.0902,
139
+ "eval_samples_per_second": 82.099,
140
+ "eval_steps_per_second": 10.345,
141
+ "step": 937
142
+ },
143
+ {
144
+ "epoch": 4.997333333333334,
145
+ "eval_exact_match": 16.0,
146
+ "eval_f1": 23.740000000000013,
147
+ "step": 937
148
+ },
149
+ {
150
+ "epoch": 5.333333333333333,
151
+ "grad_norm": 2.7846109867095947,
152
+ "learning_rate": 5e-05,
153
+ "loss": 0.9807,
154
+ "step": 1000
155
+ },
156
+ {
157
+ "epoch": 5.866666666666667,
158
+ "grad_norm": 2.713942050933838,
159
+ "learning_rate": 5e-05,
160
+ "loss": 0.9547,
161
+ "step": 1100
162
+ },
163
+ {
164
+ "epoch": 6.0,
165
+ "eval_accuracy": 0.563076923076923,
166
+ "eval_loss": 1.8913958072662354,
167
+ "eval_runtime": 5.2006,
168
+ "eval_samples_per_second": 96.142,
169
+ "eval_steps_per_second": 12.114,
170
+ "step": 1125
171
+ },
172
+ {
173
+ "epoch": 6.0,
174
+ "eval_exact_match": 15.6,
175
+ "eval_f1": 24.21666666666668,
176
+ "step": 1125
177
+ },
178
+ {
179
+ "epoch": 6.4,
180
+ "grad_norm": 2.6644272804260254,
181
+ "learning_rate": 5e-05,
182
+ "loss": 0.8401,
183
+ "step": 1200
184
+ },
185
+ {
186
+ "epoch": 6.933333333333334,
187
+ "grad_norm": 3.0467491149902344,
188
+ "learning_rate": 5e-05,
189
+ "loss": 0.8414,
190
+ "step": 1300
191
+ },
192
+ {
193
+ "epoch": 6.997333333333334,
194
+ "eval_accuracy": 0.5606666666666666,
195
+ "eval_loss": 1.987471342086792,
196
+ "eval_runtime": 5.1815,
197
+ "eval_samples_per_second": 96.497,
198
+ "eval_steps_per_second": 12.159,
199
+ "step": 1312
200
+ },
201
+ {
202
+ "epoch": 6.997333333333334,
203
+ "eval_exact_match": 15.4,
204
+ "eval_f1": 24.453174603174613,
205
+ "step": 1312
206
+ },
207
+ {
208
+ "epoch": 7.466666666666667,
209
+ "grad_norm": 2.872312545776367,
210
+ "learning_rate": 5e-05,
211
+ "loss": 0.7353,
212
+ "step": 1400
213
+ },
214
+ {
215
+ "epoch": 8.0,
216
+ "grad_norm": 3.138514995574951,
217
+ "learning_rate": 5e-05,
218
+ "loss": 0.7568,
219
+ "step": 1500
220
+ },
221
+ {
222
+ "epoch": 8.0,
223
+ "eval_accuracy": 0.5592820512820513,
224
+ "eval_loss": 2.061145782470703,
225
+ "eval_runtime": 5.0637,
226
+ "eval_samples_per_second": 98.741,
227
+ "eval_steps_per_second": 12.441,
228
+ "step": 1500
229
+ },
230
+ {
231
+ "epoch": 8.0,
232
+ "eval_exact_match": 15.4,
233
+ "eval_f1": 23.31000000000001,
234
+ "step": 1500
235
+ }
236
+ ],
237
+ "logging_steps": 100,
238
+ "max_steps": 9350,
239
+ "num_input_tokens_seen": 0,
240
+ "num_train_epochs": 50,
241
+ "save_steps": 500,
242
+ "stateful_callbacks": {
243
+ "TrainerControl": {
244
+ "args": {
245
+ "should_epoch_stop": false,
246
+ "should_evaluate": false,
247
+ "should_log": false,
248
+ "should_save": true,
249
+ "should_training_stop": false
250
+ },
251
+ "attributes": {}
252
+ }
253
+ },
254
+ "total_flos": 2.612369750491136e+16,
255
+ "train_batch_size": 1,
256
+ "trial_name": null,
257
+ "trial_params": null
258
+ }
checkpoint-1500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd2191b7045c2a2985850d3b9f1472eaf3359ca38b9bc68efae9970e68b817ab
3
+ size 5304
checkpoint-1500/vocab.json ADDED
The diff for this file is too large to render. See raw diff