JeremyLiShuhao commited on
Commit
47f5fff
·
verified ·
1 Parent(s): 3c2bdce

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
chat_template.jinja ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {%- for message in messages -%}
2
+ {{- '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n' -}}
3
+ {%- endfor -%}
4
+ {%- if add_generation_prompt -%}
5
+ {{- '<|im_start|>assistant\n' -}}
6
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2560,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 9728,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention"
52
+ ],
53
+ "max_position_embeddings": 32768,
54
+ "max_window_layers": 36,
55
+ "model_type": "qwen3",
56
+ "num_attention_heads": 32,
57
+ "num_hidden_layers": 36,
58
+ "num_key_value_heads": 8,
59
+ "pad_token_id": 151643,
60
+ "rms_norm_eps": 1e-06,
61
+ "rope_parameters": {
62
+ "rope_theta": 1000000,
63
+ "rope_type": "default"
64
+ },
65
+ "sliding_window": null,
66
+ "tie_word_embeddings": true,
67
+ "transformers_version": "5.8.0",
68
+ "use_cache": false,
69
+ "use_sliding_window": false,
70
+ "vocab_size": 151936
71
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": false,
3
+ "eos_token_id": [
4
+ 151645,
5
+ 151643
6
+ ],
7
+ "pad_token_id": 151643,
8
+ "transformers_version": "5.8.0"
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:019db8db6992f8bd75d6c79f8f99c1f308d8ae9dc0bafc788ca251f0b4098e5d
3
+ size 16089918232
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": true,
24
+ "local_files_only": true,
25
+ "model_max_length": 131072,
26
+ "pad_token": "<|endoftext|>",
27
+ "padding_side": "right",
28
+ "split_special_tokens": false,
29
+ "tokenizer_class": "Qwen2Tokenizer",
30
+ "unk_token": null
31
+ }
trainer_state.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 144,
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.034812880765883375,
14
+ "grad_norm": 18.203611373901367,
15
+ "learning_rate": 2.666666666666667e-06,
16
+ "loss": 1.3013331413269043,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.06962576153176675,
21
+ "grad_norm": 4.754978179931641,
22
+ "learning_rate": 6e-06,
23
+ "loss": 0.7221105098724365,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.10443864229765012,
28
+ "grad_norm": 2.9184391498565674,
29
+ "learning_rate": 9.333333333333334e-06,
30
+ "loss": 0.3628223419189453,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.1392515230635335,
35
+ "grad_norm": 3.021789073944092,
36
+ "learning_rate": 9.994703880710555e-06,
37
+ "loss": 0.2186276435852051,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.17406440382941687,
42
+ "grad_norm": 3.068236827850342,
43
+ "learning_rate": 9.973207623475964e-06,
44
+ "loss": 0.11850556135177612,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.20887728459530025,
49
+ "grad_norm": 2.2665746212005615,
50
+ "learning_rate": 9.935251313189564e-06,
51
+ "loss": 0.037293270230293274,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.24369016536118362,
56
+ "grad_norm": 2.2061564922332764,
57
+ "learning_rate": 9.880960575589968e-06,
58
+ "loss": 0.032764920592308046,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.278503046127067,
63
+ "grad_norm": 2.882904052734375,
64
+ "learning_rate": 9.810515099218004e-06,
65
+ "loss": 0.06506692171096802,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.3133159268929504,
70
+ "grad_norm": 2.968428373336792,
71
+ "learning_rate": 9.724148040693328e-06,
72
+ "loss": 0.052025169134140015,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.34812880765883375,
77
+ "grad_norm": 0.09748509526252747,
78
+ "learning_rate": 9.622145253025284e-06,
79
+ "loss": 0.028395038843154908,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.38294168842471715,
84
+ "grad_norm": 0.7029889225959778,
85
+ "learning_rate": 9.504844339512096e-06,
86
+ "loss": 0.011569386720657349,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.4177545691906005,
91
+ "grad_norm": 0.9086482524871826,
92
+ "learning_rate": 9.372633536359778e-06,
93
+ "loss": 0.015249991416931152,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.4525674499564839,
98
+ "grad_norm": 2.132683038711548,
99
+ "learning_rate": 9.225950427718974e-06,
100
+ "loss": 0.007016633450984955,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.48738033072236725,
105
+ "grad_norm": 0.19082002341747284,
106
+ "learning_rate": 9.065280497392663e-06,
107
+ "loss": 0.013589264452457428,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.5221932114882507,
112
+ "grad_norm": 0.02518346719443798,
113
+ "learning_rate": 8.89115552200817e-06,
114
+ "loss": 0.04425311684608459,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.557006092254134,
119
+ "grad_norm": 1.5459957122802734,
120
+ "learning_rate": 8.704151810971708e-06,
121
+ "loss": 0.015734376013278963,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.5918189730200174,
126
+ "grad_norm": 0.7791884541511536,
127
+ "learning_rate": 8.504888299030748e-06,
128
+ "loss": 0.006042366847395897,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.6266318537859008,
133
+ "grad_norm": 0.030390126630663872,
134
+ "learning_rate": 8.294024497757329e-06,
135
+ "loss": 0.00027644773945212364,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.6614447345517842,
140
+ "grad_norm": 0.2711319327354431,
141
+ "learning_rate": 8.072258312732407e-06,
142
+ "loss": 0.00020917591173201798,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.6962576153176675,
147
+ "grad_norm": 1.261177659034729,
148
+ "learning_rate": 7.84032373365578e-06,
149
+ "loss": 0.016354134678840636,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.7310704960835509,
154
+ "grad_norm": 0.8810559511184692,
155
+ "learning_rate": 7.598988405026773e-06,
156
+ "loss": 0.0008442292921245099,
157
+ "step": 105
158
+ },
159
+ {
160
+ "epoch": 0.7658833768494343,
161
+ "grad_norm": 0.10430733859539032,
162
+ "learning_rate": 7.349051085436071e-06,
163
+ "loss": 0.011185084283351899,
164
+ "step": 110
165
+ },
166
+ {
167
+ "epoch": 0.8006962576153177,
168
+ "grad_norm": 0.05943378061056137,
169
+ "learning_rate": 7.091339003877826e-06,
170
+ "loss": 0.0001441334141418338,
171
+ "step": 115
172
+ },
173
+ {
174
+ "epoch": 0.835509138381201,
175
+ "grad_norm": 0.13715901970863342,
176
+ "learning_rate": 6.8267051218319766e-06,
177
+ "loss": 0.0004675735253840685,
178
+ "step": 120
179
+ },
180
+ {
181
+ "epoch": 0.8703220191470844,
182
+ "grad_norm": 0.005708554293960333,
183
+ "learning_rate": 6.556025310178555e-06,
184
+ "loss": 0.013984684646129609,
185
+ "step": 125
186
+ },
187
+ {
188
+ "epoch": 0.9051348999129678,
189
+ "grad_norm": 1.8621174097061157,
190
+ "learning_rate": 6.280195450287736e-06,
191
+ "loss": 0.015576617419719696,
192
+ "step": 130
193
+ },
194
+ {
195
+ "epoch": 0.9399477806788512,
196
+ "grad_norm": 0.0131299439817667,
197
+ "learning_rate": 6.000128468880223e-06,
198
+ "loss": 0.015710210800170897,
199
+ "step": 135
200
+ },
201
+ {
202
+ "epoch": 0.9747606614447345,
203
+ "grad_norm": 0.028599845245480537,
204
+ "learning_rate": 5.716751316471868e-06,
205
+ "loss": 0.013187199831008911,
206
+ "step": 140
207
+ }
208
+ ],
209
+ "logging_steps": 5,
210
+ "max_steps": 288,
211
+ "num_input_tokens_seen": 0,
212
+ "num_train_epochs": 2,
213
+ "save_steps": 500,
214
+ "stateful_callbacks": {
215
+ "TrainerControl": {
216
+ "args": {
217
+ "should_epoch_stop": false,
218
+ "should_evaluate": false,
219
+ "should_log": false,
220
+ "should_save": true,
221
+ "should_training_stop": false
222
+ },
223
+ "attributes": {}
224
+ }
225
+ },
226
+ "total_flos": 4.863976045245235e+16,
227
+ "train_batch_size": 1,
228
+ "trial_name": null,
229
+ "trial_params": null
230
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9a8fdd56ddb6cd3fb77b98815c76ba11cc002ce1b28633c57402e73944db454
3
+ size 5969