jiagaoxiang commited on
Commit
20a213d
1 Parent(s): 00ed11a

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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2-0.5B-Instruct",
3
+ "architectures": [
4
+ "Qwen2ForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 896,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4864,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "max_position_embeddings": 32768,
20
+ "max_window_layers": 24,
21
+ "model_type": "qwen2",
22
+ "num_attention_heads": 14,
23
+ "num_hidden_layers": 24,
24
+ "num_key_value_heads": 2,
25
+ "pad_token_id": 151643,
26
+ "rms_norm_eps": 1e-06,
27
+ "rope_scaling": null,
28
+ "rope_theta": 1000000.0,
29
+ "sliding_window": null,
30
+ "tie_word_embeddings": true,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.45.0",
33
+ "use_cache": false,
34
+ "use_sliding_window": false,
35
+ "vocab_size": 151936
36
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd5c2710ca7baca359acfb4a785692690b1a48dd20cbc1cc4b2d7b3d195fb73d
3
+ size 1976167144
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef6f5f7a6945ad8f675f962f6e246667e0c91d098f1275f6ec69bd9c0eec9f3d
3
+ size 3952513274
rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aba182f70f9f87b06e430789f4dfb12cc03e20944e94a869818d6f629c4dc49e
3
+ size 15920
rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb91b897a5ad8dc82464df0f918a277384c2167fe608ca0863c32783f769ca46
3
+ size 15920
rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:295a62d5282862cd8bab3e1da1085cb2283b30ee902c0658f6401125a785f7bf
3
+ size 15920
rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b25438eb3a696958dbea3cb7c22f1a7dc33bcf1e86cf750091f009b11171286
3
+ size 15920
rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbfea516561351744840274340d2b1b015e8cb8943f1c0918a900c92d585a099
3
+ size 15920
rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a743adb9d709ad42ab8b24e23a085fde068b0226175a1b9d9e2f2e157b830a9d
3
+ size 15920
rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d49a5ca7b7cd0de2fc737545ec7a69149ffd238b02ad3bf1808388f0ed706ed1
3
+ size 15920
rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbdf3e8f990bc058666afd87bbd0b3d3e14883a1a79d031d28fda6d7a52848dd
3
+ size 15920
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89ed76975471032276640562700797c8cf10b83f2f435bd69ad7347cbd09c374
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|im_end|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ }
20
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9
3
+ size 11418266
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": "<|im_end|>",
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
+ }
trainer_state.json ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.955033824114604,
5
+ "eval_steps": 200,
6
+ "global_step": 2400,
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.03979307600477517,
13
+ "grad_norm": 19.560626983642578,
14
+ "learning_rate": 4.000000000000001e-06,
15
+ "loss": 0.9524,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.07958615200955034,
20
+ "grad_norm": 10.810285568237305,
21
+ "learning_rate": 8.000000000000001e-06,
22
+ "loss": 0.7019,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.07958615200955034,
27
+ "eval_accuracy": 0.6237137511693172,
28
+ "eval_loss": 0.6542279124259949,
29
+ "eval_runtime": 24.2722,
30
+ "eval_samples_per_second": 352.337,
31
+ "eval_steps_per_second": 5.521,
32
+ "step": 200
33
+ },
34
+ {
35
+ "epoch": 0.1193792280143255,
36
+ "grad_norm": 6.921683311462402,
37
+ "learning_rate": 1.2e-05,
38
+ "loss": 0.6443,
39
+ "step": 300
40
+ },
41
+ {
42
+ "epoch": 0.15917230401910068,
43
+ "grad_norm": 5.143254280090332,
44
+ "learning_rate": 1.6000000000000003e-05,
45
+ "loss": 0.6156,
46
+ "step": 400
47
+ },
48
+ {
49
+ "epoch": 0.15917230401910068,
50
+ "eval_accuracy": 0.6449953227315248,
51
+ "eval_loss": 0.6248486638069153,
52
+ "eval_runtime": 24.3077,
53
+ "eval_samples_per_second": 351.823,
54
+ "eval_steps_per_second": 5.513,
55
+ "step": 400
56
+ },
57
+ {
58
+ "epoch": 0.19896538002387584,
59
+ "grad_norm": 4.483047962188721,
60
+ "learning_rate": 2e-05,
61
+ "loss": 0.6307,
62
+ "step": 500
63
+ },
64
+ {
65
+ "epoch": 0.238758456028651,
66
+ "grad_norm": 3.8908305168151855,
67
+ "learning_rate": 1.999004191733529e-05,
68
+ "loss": 0.6263,
69
+ "step": 600
70
+ },
71
+ {
72
+ "epoch": 0.238758456028651,
73
+ "eval_accuracy": 0.641955098222638,
74
+ "eval_loss": 0.6327589750289917,
75
+ "eval_runtime": 24.3113,
76
+ "eval_samples_per_second": 351.771,
77
+ "eval_steps_per_second": 5.512,
78
+ "step": 600
79
+ },
80
+ {
81
+ "epoch": 0.2785515320334262,
82
+ "grad_norm": 2.846820831298828,
83
+ "learning_rate": 1.9960187502023228e-05,
84
+ "loss": 0.6237,
85
+ "step": 700
86
+ },
87
+ {
88
+ "epoch": 0.31834460803820136,
89
+ "grad_norm": 2.4224681854248047,
90
+ "learning_rate": 1.991049621261093e-05,
91
+ "loss": 0.6237,
92
+ "step": 800
93
+ },
94
+ {
95
+ "epoch": 0.31834460803820136,
96
+ "eval_accuracy": 0.6501403180542563,
97
+ "eval_loss": 0.6154850721359253,
98
+ "eval_runtime": 24.2938,
99
+ "eval_samples_per_second": 352.024,
100
+ "eval_steps_per_second": 5.516,
101
+ "step": 800
102
+ },
103
+ {
104
+ "epoch": 0.3581376840429765,
105
+ "grad_norm": 3.673722267150879,
106
+ "learning_rate": 1.9841067015091934e-05,
107
+ "loss": 0.61,
108
+ "step": 900
109
+ },
110
+ {
111
+ "epoch": 0.3979307600477517,
112
+ "grad_norm": 4.1186299324035645,
113
+ "learning_rate": 1.975203818580389e-05,
114
+ "loss": 0.6091,
115
+ "step": 1000
116
+ },
117
+ {
118
+ "epoch": 0.3979307600477517,
119
+ "eval_accuracy": 0.6554022450888681,
120
+ "eval_loss": 0.6121359467506409,
121
+ "eval_runtime": 24.2673,
122
+ "eval_samples_per_second": 352.408,
123
+ "eval_steps_per_second": 5.522,
124
+ "step": 1000
125
+ },
126
+ {
127
+ "epoch": 0.43772383605252685,
128
+ "grad_norm": 3.4261631965637207,
129
+ "learning_rate": 1.964358703603511e-05,
130
+ "loss": 0.6112,
131
+ "step": 1100
132
+ },
133
+ {
134
+ "epoch": 0.477516912057302,
135
+ "grad_norm": 2.712700128555298,
136
+ "learning_rate": 1.9515929558888497e-05,
137
+ "loss": 0.6121,
138
+ "step": 1200
139
+ },
140
+ {
141
+ "epoch": 0.477516912057302,
142
+ "eval_accuracy": 0.659377923292797,
143
+ "eval_loss": 0.606299638748169,
144
+ "eval_runtime": 24.2915,
145
+ "eval_samples_per_second": 352.058,
146
+ "eval_steps_per_second": 5.516,
147
+ "step": 1200
148
+ },
149
+ {
150
+ "epoch": 0.5173099880620772,
151
+ "grad_norm": 4.298662185668945,
152
+ "learning_rate": 1.936931999910609e-05,
153
+ "loss": 0.6026,
154
+ "step": 1300
155
+ },
156
+ {
157
+ "epoch": 0.5571030640668524,
158
+ "grad_norm": 2.0829362869262695,
159
+ "learning_rate": 1.9204050346711034e-05,
160
+ "loss": 0.6022,
161
+ "step": 1400
162
+ },
163
+ {
164
+ "epoch": 0.5571030640668524,
165
+ "eval_accuracy": 0.653999064546305,
166
+ "eval_loss": 0.6064969301223755,
167
+ "eval_runtime": 24.3164,
168
+ "eval_samples_per_second": 351.697,
169
+ "eval_steps_per_second": 5.511,
170
+ "step": 1400
171
+ },
172
+ {
173
+ "epoch": 0.5968961400716275,
174
+ "grad_norm": 3.5935146808624268,
175
+ "learning_rate": 1.9020449755475434e-05,
176
+ "loss": 0.6059,
177
+ "step": 1500
178
+ },
179
+ {
180
+ "epoch": 0.6366892160764027,
181
+ "grad_norm": 2.9716155529022217,
182
+ "learning_rate": 1.881888388737226e-05,
183
+ "loss": 0.5957,
184
+ "step": 1600
185
+ },
186
+ {
187
+ "epoch": 0.6366892160764027,
188
+ "eval_accuracy": 0.6696679139382601,
189
+ "eval_loss": 0.5993675589561462,
190
+ "eval_runtime": 24.2743,
191
+ "eval_samples_per_second": 352.307,
192
+ "eval_steps_per_second": 5.52,
193
+ "step": 1600
194
+ },
195
+ {
196
+ "epoch": 0.6764822920811778,
197
+ "grad_norm": 2.7621397972106934,
198
+ "learning_rate": 1.859975418431689e-05,
199
+ "loss": 0.5926,
200
+ "step": 1700
201
+ },
202
+ {
203
+ "epoch": 0.716275368085953,
204
+ "grad_norm": 2.882694721221924,
205
+ "learning_rate": 1.8363497068648795e-05,
206
+ "loss": 0.6017,
207
+ "step": 1800
208
+ },
209
+ {
210
+ "epoch": 0.716275368085953,
211
+ "eval_accuracy": 0.6667446211412535,
212
+ "eval_loss": 0.6018164157867432,
213
+ "eval_runtime": 24.2955,
214
+ "eval_samples_per_second": 352.0,
215
+ "eval_steps_per_second": 5.515,
216
+ "step": 1800
217
+ },
218
+ {
219
+ "epoch": 0.7560684440907283,
220
+ "grad_norm": 3.4406116008758545,
221
+ "learning_rate": 1.8110583073945566e-05,
222
+ "loss": 0.5994,
223
+ "step": 1900
224
+ },
225
+ {
226
+ "epoch": 0.7958615200955034,
227
+ "grad_norm": 3.2141339778900146,
228
+ "learning_rate": 1.7841515907900467e-05,
229
+ "loss": 0.5902,
230
+ "step": 2000
231
+ },
232
+ {
233
+ "epoch": 0.7958615200955034,
234
+ "eval_accuracy": 0.6710710944808232,
235
+ "eval_loss": 0.6057897210121155,
236
+ "eval_runtime": 24.3126,
237
+ "eval_samples_per_second": 351.752,
238
+ "eval_steps_per_second": 5.512,
239
+ "step": 2000
240
+ },
241
+ {
242
+ "epoch": 0.8356545961002786,
243
+ "grad_norm": 2.75370192527771,
244
+ "learning_rate": 1.755683144912986e-05,
245
+ "loss": 0.6024,
246
+ "step": 2100
247
+ },
248
+ {
249
+ "epoch": 0.8754476721050537,
250
+ "grad_norm": 4.044663429260254,
251
+ "learning_rate": 1.725709667990851e-05,
252
+ "loss": 0.59,
253
+ "step": 2200
254
+ },
255
+ {
256
+ "epoch": 0.8754476721050537,
257
+ "eval_accuracy": 0.6708372310570627,
258
+ "eval_loss": 0.594099760055542,
259
+ "eval_runtime": 24.3163,
260
+ "eval_samples_per_second": 351.699,
261
+ "eval_steps_per_second": 5.511,
262
+ "step": 2200
263
+ },
264
+ {
265
+ "epoch": 0.9152407481098289,
266
+ "grad_norm": 3.4913995265960693,
267
+ "learning_rate": 1.6942908556958297e-05,
268
+ "loss": 0.5919,
269
+ "step": 2300
270
+ },
271
+ {
272
+ "epoch": 0.955033824114604,
273
+ "grad_norm": 3.277291774749756,
274
+ "learning_rate": 1.6614892822539333e-05,
275
+ "loss": 0.5963,
276
+ "step": 2400
277
+ },
278
+ {
279
+ "epoch": 0.955033824114604,
280
+ "eval_accuracy": 0.6722404115996258,
281
+ "eval_loss": 0.5924503207206726,
282
+ "eval_runtime": 24.2851,
283
+ "eval_samples_per_second": 352.151,
284
+ "eval_steps_per_second": 5.518,
285
+ "step": 2400
286
+ }
287
+ ],
288
+ "logging_steps": 100,
289
+ "max_steps": 7539,
290
+ "num_input_tokens_seen": 0,
291
+ "num_train_epochs": 3,
292
+ "save_steps": 400,
293
+ "stateful_callbacks": {
294
+ "TrainerControl": {
295
+ "args": {
296
+ "should_epoch_stop": false,
297
+ "should_evaluate": false,
298
+ "should_log": false,
299
+ "should_save": true,
300
+ "should_training_stop": false
301
+ },
302
+ "attributes": {}
303
+ }
304
+ },
305
+ "total_flos": 0.0,
306
+ "train_batch_size": 8,
307
+ "trial_name": null,
308
+ "trial_params": null
309
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbadb6a9bb946595b7c3902e566a86b540af662917e08842db193b0a28aeb3fb
3
+ size 5304
vocab.json ADDED
The diff for this file is too large to render. See raw diff