yushg commited on
Commit
ced03de
·
verified ·
1 Parent(s): 6b1a902

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d97899d562648510c92f752b6997c4e88b54d14c3715522c7faac5a521e0b4be
3
+ size 1067895761
checkpoint-500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96f54146d2d9923a1442586651c2ae5532e54e1a2de2b907bcb0c920fdb19407
3
+ size 9183894418
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfc2d878c00535a06968f1c0e3787c6b1f1016669e003d8633a0ee05b2c26dd3
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3793c4435b4b94132d1a15a8fe93bf59768d2f607b04cebf832ef25629d6f37
3
+ size 1465
checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79b276c9e0a61a4873021535a4bcf36e647b56f1bde50176dd1e927257158504
3
+ size 11422834
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<image>"
10
+ ],
11
+ "is_local": false,
12
+ "model_max_length": 1010000,
13
+ "pad_token": "<|endoftext|>",
14
+ "split_special_tokens": false,
15
+ "tokenizer_class": "Qwen2Tokenizer",
16
+ "unk_token": null
17
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.02109120628517947,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.00042182412570358947,
14
+ "grad_norm": 0.8065983057022095,
15
+ "learning_rate": 2.52808988764045e-07,
16
+ "loss": 35.651678466796874,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.0008436482514071789,
21
+ "grad_norm": 0.9798905849456787,
22
+ "learning_rate": 5.337078651685394e-07,
23
+ "loss": 35.52773742675781,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.0012654723771107683,
28
+ "grad_norm": 0.9430276155471802,
29
+ "learning_rate": 8.146067415730338e-07,
30
+ "loss": 35.94612426757813,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.0016872965028143579,
35
+ "grad_norm": 0.8668350577354431,
36
+ "learning_rate": 1.0955056179775282e-06,
37
+ "loss": 35.54988098144531,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.0021091206285179472,
42
+ "grad_norm": 0.8153179883956909,
43
+ "learning_rate": 1.3764044943820225e-06,
44
+ "loss": 35.851254272460935,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.0025309447542215366,
49
+ "grad_norm": 0.9380270838737488,
50
+ "learning_rate": 1.6573033707865168e-06,
51
+ "loss": 35.082681274414064,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.0029527688799251264,
56
+ "grad_norm": 0.8418566584587097,
57
+ "learning_rate": 1.9382022471910116e-06,
58
+ "loss": 35.33572998046875,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.0033745930056287158,
63
+ "grad_norm": 0.8267859816551208,
64
+ "learning_rate": 2.2191011235955057e-06,
65
+ "loss": 34.830789184570314,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.003796417131332305,
70
+ "grad_norm": 0.8174882531166077,
71
+ "learning_rate": 2.5e-06,
72
+ "loss": 33.9393798828125,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.0042182412570358945,
77
+ "grad_norm": 0.8325590491294861,
78
+ "learning_rate": 2.7808988764044947e-06,
79
+ "loss": 33.55337829589844,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.004640065382739484,
84
+ "grad_norm": 0.7891654372215271,
85
+ "learning_rate": 3.0617977528089893e-06,
86
+ "loss": 33.115335083007814,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.005061889508443073,
91
+ "grad_norm": 1.0313451290130615,
92
+ "learning_rate": 3.3426966292134834e-06,
93
+ "loss": 32.383547973632815,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.005483713634146663,
98
+ "grad_norm": 0.5737534165382385,
99
+ "learning_rate": 3.623595505617978e-06,
100
+ "loss": 31.1286865234375,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.005905537759850253,
105
+ "grad_norm": 0.7010501027107239,
106
+ "learning_rate": 3.9044943820224724e-06,
107
+ "loss": 29.55970458984375,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.006327361885553842,
112
+ "grad_norm": 0.5494692325592041,
113
+ "learning_rate": 4.185393258426967e-06,
114
+ "loss": 29.449929809570314,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.0067491860112574315,
119
+ "grad_norm": 0.41349244117736816,
120
+ "learning_rate": 4.466292134831461e-06,
121
+ "loss": 28.477688598632813,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.007171010136961021,
126
+ "grad_norm": 0.30324503779411316,
127
+ "learning_rate": 4.747191011235955e-06,
128
+ "loss": 27.354144287109374,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.00759283426266461,
133
+ "grad_norm": 0.327568918466568,
134
+ "learning_rate": 5.02808988764045e-06,
135
+ "loss": 26.92130126953125,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.0080146583883682,
140
+ "grad_norm": 0.29565760493278503,
141
+ "learning_rate": 5.308988764044944e-06,
142
+ "loss": 26.194525146484374,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.008436482514071789,
147
+ "grad_norm": 0.2572338283061981,
148
+ "learning_rate": 5.589887640449439e-06,
149
+ "loss": 25.769549560546874,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.008858306639775378,
154
+ "grad_norm": 0.2657480239868164,
155
+ "learning_rate": 5.870786516853933e-06,
156
+ "loss": 25.394000244140624,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.009280130765478968,
161
+ "grad_norm": 0.20723949372768402,
162
+ "learning_rate": 6.151685393258428e-06,
163
+ "loss": 24.25175323486328,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.009701954891182557,
168
+ "grad_norm": 0.19784937798976898,
169
+ "learning_rate": 6.4325842696629215e-06,
170
+ "loss": 23.95145263671875,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.010123779016886146,
175
+ "grad_norm": 0.1812913715839386,
176
+ "learning_rate": 6.713483146067417e-06,
177
+ "loss": 23.77376708984375,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.010545603142589736,
182
+ "grad_norm": 0.19627007842063904,
183
+ "learning_rate": 6.9943820224719105e-06,
184
+ "loss": 23.246966552734374,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.010967427268293325,
189
+ "grad_norm": 0.22846540808677673,
190
+ "learning_rate": 7.275280898876404e-06,
191
+ "loss": 23.158154296875,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.011389251393996916,
196
+ "grad_norm": 0.1520307958126068,
197
+ "learning_rate": 7.5561797752809e-06,
198
+ "loss": 22.498358154296874,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.011811075519700506,
203
+ "grad_norm": 0.14488539099693298,
204
+ "learning_rate": 7.837078651685394e-06,
205
+ "loss": 22.60594482421875,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.012232899645404095,
210
+ "grad_norm": 0.14345483481884003,
211
+ "learning_rate": 8.117977528089889e-06,
212
+ "loss": 22.301371765136718,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 0.012654723771107684,
217
+ "grad_norm": 0.6615362763404846,
218
+ "learning_rate": 8.398876404494383e-06,
219
+ "loss": 21.755278015136717,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 0.013076547896811274,
224
+ "grad_norm": 0.1423025280237198,
225
+ "learning_rate": 8.679775280898876e-06,
226
+ "loss": 21.386692810058594,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 0.013498372022514863,
231
+ "grad_norm": 0.14323103427886963,
232
+ "learning_rate": 8.960674157303372e-06,
233
+ "loss": 21.5313232421875,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 0.013920196148218452,
238
+ "grad_norm": 0.13975073397159576,
239
+ "learning_rate": 9.241573033707865e-06,
240
+ "loss": 21.04039306640625,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 0.014342020273922042,
245
+ "grad_norm": 0.18143784999847412,
246
+ "learning_rate": 9.522471910112361e-06,
247
+ "loss": 21.435638427734375,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 0.014763844399625631,
252
+ "grad_norm": 0.16371376812458038,
253
+ "learning_rate": 9.803370786516854e-06,
254
+ "loss": 21.240106201171876,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 0.01518566852532922,
259
+ "grad_norm": 0.19794277846813202,
260
+ "learning_rate": 1.0084269662921349e-05,
261
+ "loss": 21.265296936035156,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 0.01560749265103281,
266
+ "grad_norm": 0.15830059349536896,
267
+ "learning_rate": 1.0365168539325843e-05,
268
+ "loss": 20.513796997070312,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 0.0160293167767364,
273
+ "grad_norm": 0.15261049568653107,
274
+ "learning_rate": 1.064606741573034e-05,
275
+ "loss": 20.430271911621094,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 0.01645114090243999,
280
+ "grad_norm": 0.17001120746135712,
281
+ "learning_rate": 1.0926966292134832e-05,
282
+ "loss": 20.2728759765625,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 0.016872965028143578,
287
+ "grad_norm": 0.1754172444343567,
288
+ "learning_rate": 1.1207865168539327e-05,
289
+ "loss": 20.585818481445312,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 0.01729478915384717,
294
+ "grad_norm": 0.1494324952363968,
295
+ "learning_rate": 1.1488764044943821e-05,
296
+ "loss": 20.26520690917969,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 0.017716613279550757,
301
+ "grad_norm": 0.2788557708263397,
302
+ "learning_rate": 1.1769662921348314e-05,
303
+ "loss": 20.216525268554687,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 0.018138437405254348,
308
+ "grad_norm": 0.22943347692489624,
309
+ "learning_rate": 1.2050561797752809e-05,
310
+ "loss": 19.879740905761718,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 0.018560261530957935,
315
+ "grad_norm": 0.19310815632343292,
316
+ "learning_rate": 1.2331460674157305e-05,
317
+ "loss": 20.340792846679687,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 0.018982085656661526,
322
+ "grad_norm": 0.17677143216133118,
323
+ "learning_rate": 1.26123595505618e-05,
324
+ "loss": 20.295317077636717,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 0.019403909782365114,
329
+ "grad_norm": 0.1568199247121811,
330
+ "learning_rate": 1.2893258426966292e-05,
331
+ "loss": 20.30619659423828,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 0.019825733908068705,
336
+ "grad_norm": 0.14602652192115784,
337
+ "learning_rate": 1.3174157303370787e-05,
338
+ "loss": 19.96039581298828,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 0.020247558033772293,
343
+ "grad_norm": 0.19724591076374054,
344
+ "learning_rate": 1.3455056179775281e-05,
345
+ "loss": 19.820477294921876,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 0.020669382159475884,
350
+ "grad_norm": 0.14715564250946045,
351
+ "learning_rate": 1.3735955056179778e-05,
352
+ "loss": 19.374057006835937,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 0.02109120628517947,
357
+ "grad_norm": 0.16100069880485535,
358
+ "learning_rate": 1.401685393258427e-05,
359
+ "loss": 19.71839599609375,
360
+ "step": 500
361
+ }
362
+ ],
363
+ "logging_steps": 10,
364
+ "max_steps": 23707,
365
+ "num_input_tokens_seen": 0,
366
+ "num_train_epochs": 1,
367
+ "save_steps": 100,
368
+ "stateful_callbacks": {
369
+ "TrainerControl": {
370
+ "args": {
371
+ "should_epoch_stop": false,
372
+ "should_evaluate": false,
373
+ "should_log": false,
374
+ "should_save": true,
375
+ "should_training_stop": false
376
+ },
377
+ "attributes": {}
378
+ }
379
+ },
380
+ "total_flos": 0.0,
381
+ "train_batch_size": 1,
382
+ "trial_name": null,
383
+ "trial_params": null
384
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7be1caa92bf41ef0f471157bae89b1f2303daf32cc469853423bf0418c68bed9
3
+ size 5265