kylesayrs commited on
Commit
74257af
·
verified ·
1 Parent(s): 9eba70d

Add files using upload-large-folder tool

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
+ model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
chat_template.jinja ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {#- ----------‑‑‑ special token variables ‑‑‑---------- -#}
2
+ {%- set HYTK = ':opensource' %}
3
+ {%- set eos_token = '<|hy_eos{}|>'.format(HYTK) %}
4
+ {%- set bos_token = '<|hy_begin_of_sentence{}|>'.format(HYTK) %}
5
+ {%- set pad_token = '<|hy_pad{}|>'.format(HYTK) %}
6
+ {%- set user_token = '<|hy_User{}|>'.format(HYTK) %}
7
+ {%- set assistant_token = '<|hy_Assistant{}|>'.format(HYTK) %}
8
+ {%- set think_begin_token = '<think{}>'.format(HYTK) %}
9
+ {%- set think_end_token = '</think{}>'.format(HYTK) %}
10
+ {%- set toolcalls_begin_token = '<tool_calls{}>'.format(HYTK) %}
11
+ {%- set toolcalls_end_token = '</tool_calls{}>'.format(HYTK) %}
12
+ {%- set toolcall_begin_token = '<tool_call{}>'.format(HYTK) %}
13
+ {%- set toolcall_end_token = '</tool_call{}>'.format(HYTK) %}
14
+ {%- set toolsep_token = '<tool_sep{}>'.format(HYTK) %}
15
+ {%- set argkey_begin_token = '<arg_key{}>'.format(HYTK) %}
16
+ {%- set argkey_end_token = '</arg_key{}>'.format(HYTK) %}
17
+ {%- set argvalue_begin_token = '<arg_value{}>'.format(HYTK) %}
18
+ {%- set argvalue_end_token = '</arg_value{}>'.format(HYTK) %}
19
+ {%- set toolresponses_begin_token = '<tool_responses{}>'.format(HYTK) %}
20
+ {%- set toolresponses_end_token = '</tool_responses{}>'.format(HYTK) %}
21
+ {%- set toolresponse_begin_token = '<tool_response{}>'.format(HYTK) %}
22
+ {%- set toolresponse_end_token = '</tool_response{}>'.format(HYTK) %}
23
+ {%- set reasoning_mode_token = '<|reasoning_mode{}|>'.format(HYTK) %}
24
+
25
+ {#- ----------‑‑‑ hyperparameters variables ‑‑‑---------- -#}
26
+ {%- if not add_generation_prompt is defined %}
27
+ {%- set add_generation_prompt = false %}
28
+ {%- endif %}
29
+ {%- if not preserved_thinking is defined %}
30
+ {%- if not tools %}
31
+ {%- set preserved_thinking = false %}
32
+ {%- else %}
33
+ {%- set preserved_thinking = true %}
34
+ {%- endif %}
35
+ {%- endif %}
36
+ {%- if not is_training is defined %}
37
+ {%- set is_training = false %}
38
+ {%- endif %}
39
+
40
+ {%- if not reasoning_effort is defined %}
41
+ {%- set reasoning_effort = 'no_think' %}
42
+ {%- elif reasoning_effort not in ['high', 'low', 'no_think'] %}
43
+ {%- if reasoning_effort is none %}
44
+ {{- raise_exception('reasoning_effort error : None, should be no_think/low/high') }}
45
+ {%- else %}
46
+ {{- raise_exception('reasoning_effort error : ' + reasoning_effort + ', should be no_think/low/high') }}
47
+ {%- endif %}
48
+ {%- endif %}
49
+
50
+ {%- if fallback_strategy is defined and fallback_strategy == 'reasoning_toolcall_retry' %}
51
+ {%- set reasoning_effort = 'high' %}
52
+ {%- set add_generation_prompt = false %}
53
+ {%- endif %}
54
+ {%- if not raw_last_assistant is defined %}
55
+ {%- set raw_last_assistant = false %}
56
+ {%- endif %}
57
+
58
+ {%- macro visible_text(content) -%}
59
+ {%- if content is string -%}
60
+ {{- content }}
61
+ {%- elif content is iterable and content is not mapping -%}
62
+ {%- for item in content -%}
63
+ {%- if item is mapping and item.type == 'text' -%}
64
+ {{- item.text }}
65
+ {%- elif item is string -%}
66
+ {{- item }}
67
+ {%- endif -%}
68
+ {%- endfor -%}
69
+ {%- elif content is none -%}
70
+ {{- '' }}
71
+ {%- else -%}
72
+ {{- content }}
73
+ {%- endif -%}
74
+ {%- endmacro -%}
75
+
76
+ {%- set ns = namespace(last_user_index=-1) %}
77
+ {%- set sp_ns = namespace(system_prompt='', is_first_sp=true) %}
78
+ {%- for message in messages %}
79
+ {%- if message['role'] == 'system' %}
80
+ {%- set sp_ns.system_prompt = sp_ns.system_prompt + visible_text(message['content']) %}
81
+ {%- endif %}
82
+ {%- if message['role'] == 'user' %}
83
+ {%- set ns.last_user_index = loop.index0 %}
84
+ {%- endif %}
85
+ {%- endfor %}
86
+ {%- if reasoning_effort is defined and reasoning_effort is string and reasoning_effort != '' and not tools %}
87
+ {%- set sp_ns.system_prompt = sp_ns.system_prompt + reasoning_mode_token + 'reasoning_effort:' + reasoning_effort %}
88
+ {%- endif %}
89
+ {{- bos_token }}
90
+ {{- sp_ns.system_prompt }}
91
+ {%- if tools %}
92
+ {%- if sp_ns.system_prompt != '' %}
93
+ {{- '\n\n# Tools\n\nYou may call one or more functions to assist with the user query.' }}
94
+ {%- else %}
95
+ {{- '# Tools\n\nYou may call one or more functions to assist with the user query.' }}
96
+ {%- endif %}
97
+ {{- '\n\nYou are provided with function signatures within <tools></tools> XML tags:' }}
98
+ {{- '\n<tools>\n' }}
99
+ {%- for tool in tools %}
100
+ {%- if loop.index0 > 0 %}
101
+ {{- '\n' }}
102
+ {%- endif %}
103
+ {{- tool | tojson }}
104
+ {%- endfor %}
105
+ {{- '\n</tools>\n\n' }}
106
+ {{- 'For function call returns, you should first print ' + toolcalls_begin_token + '\n' }}
107
+ {{- 'For each function call, you should return object like:\n' }}
108
+ {{- toolcall_begin_token + '{function-name}' + toolsep_token + '\n' }}
109
+ {{- argkey_begin_token + '{arg-key-1}' + argkey_end_token + '\n' }}
110
+ {{- argvalue_begin_token + '{arg-value-1}' + argvalue_end_token + '\n' }}
111
+ {{- argkey_begin_token + '{arg-key-2}' + argkey_end_token + '\n' }}
112
+ {{- argvalue_begin_token + '{arg-value-2}' + argvalue_end_token + '\n' }}
113
+ {{- '...\n' }}
114
+ {{- toolcall_end_token + '\n' }}
115
+ {%- if reasoning_effort is defined and reasoning_effort is string and reasoning_effort != '' %}
116
+ {{- 'At the end of function call returns, you should print ' + toolcalls_end_token + reasoning_mode_token + 'reasoning_effort:' + reasoning_effort }}
117
+ {%- else %}
118
+ {{- 'At the end of function call returns, you should print ' + toolcalls_end_token }}
119
+ {%- endif %}
120
+ {%- endif %}
121
+
122
+ {%- set prev_ns = namespace(is_tool=false, is_tool_first=true) %}
123
+ {%- set last_ns = namespace(last_is_assistant=false) %}
124
+ {%- for message in messages %}
125
+ {%- if message['role'] == 'user' %}
126
+ {%- if prev_ns.is_tool %}
127
+ {{- toolresponses_end_token }}
128
+ {%- endif %}
129
+ {{- user_token + visible_text(message['content']) }}
130
+ {%- set prev_ns.is_tool = false %}
131
+ {%- endif %}
132
+ {%- if message['role'] == 'assistant' %}
133
+ {%- if is_training %}
134
+ {%- if 'reasoning_content' in message and message['reasoning_content'] is string %}
135
+ {%- set rc = message['reasoning_content'] %}
136
+ {%- elif 'reasoning' in message and message['reasoning'] is string %}
137
+ {%- set rc = message['reasoning'] %}
138
+ {%- else %}
139
+ {%- set rc = none %}
140
+ {%- endif %}
141
+ {%- if rc is not none %}
142
+ {%- set content = think_begin_token + rc + think_end_token + visible_text(message['content']) %}
143
+ {%- else %}
144
+ {%- set content = think_begin_token + think_end_token + visible_text(message['content']) %}
145
+ {%- endif %}
146
+ {%- else %}
147
+ {%- if ((preserved_thinking is defined and preserved_thinking) or loop.index0 > ns.last_user_index) %}
148
+ {%- if 'reasoning_content' in message and message['reasoning_content'] is string %}
149
+ {%- set rc = message['reasoning_content'] %}
150
+ {%- elif 'reasoning' in message and message['reasoning'] is string %}
151
+ {%- set rc = message['reasoning'] %}
152
+ {%- else %}
153
+ {%- set rc = none %}
154
+ {%- endif %}
155
+ {%- if rc is not none %}
156
+ {%- set content = think_begin_token + rc + think_end_token + visible_text(message['content']) %}
157
+ {%- else %}
158
+ {%- set content = think_begin_token + think_end_token + visible_text(message['content']) %}
159
+ {%- endif %}
160
+ {%- else %}
161
+ {%- set content = think_begin_token + think_end_token + visible_text(message['content']) %}
162
+ {%- endif %}
163
+ {%- endif %}
164
+ {%- if prev_ns.is_tool %}
165
+ {{- toolresponses_end_token }}
166
+ {%- endif %}
167
+ {{- assistant_token }}
168
+ {%- if message['tool_calls'] is defined and message['tool_calls'] %}
169
+ {%- set prev_ns.is_tool_first = true %}
170
+ {{- content }}
171
+ {{- toolcalls_begin_token + '\n' }}
172
+ {%- for tool in message['tool_calls'] %}
173
+ {%- set arguments = tool['function']['arguments'] %}
174
+ {{- toolcall_begin_token + tool['function']['name'] + toolsep_token + '\n' }}
175
+ {%- for key, value in arguments.items() %}
176
+ {{- argkey_begin_token + key + argkey_end_token + '\n' }}
177
+ {%- if value is not string %}
178
+ {%- set value = value | tojson(ensure_ascii=False) %}
179
+ {%- endif %}
180
+ {{- argvalue_begin_token + value + argvalue_end_token + '\n' }}
181
+ {%- endfor %}
182
+ {{- toolcall_end_token + '\n' }}
183
+ {%- endfor %}
184
+ {{- toolcalls_end_token + eos_token }}
185
+ {%- else %}
186
+ {%- if loop.last and raw_last_assistant %}
187
+ {{- visible_text(message['content']) }}
188
+ {%- elif not loop.last or is_training %}
189
+ {{- content + eos_token }}
190
+ {%- else %}
191
+ {{- content }}
192
+ {%- endif %}
193
+ {%- endif %}
194
+ {%- set prev_ns.is_tool = false %}
195
+ {%- endif %}
196
+ {%- if message['role'] == 'tool' %}
197
+ {%- set prev_ns.is_tool = true %}
198
+ {%- if prev_ns.is_tool_first %}
199
+ {{- toolresponses_begin_token + '\n' }}
200
+ {%- set prev_ns.is_tool_first = false %}
201
+ {%- endif %}
202
+ {{- toolresponse_begin_token + '\n' + visible_text(message['content']) + '\n' + toolresponse_end_token + '\n' }}
203
+ {%- endif %}
204
+ {%- if loop.last and message['role'] == 'assistant' %}
205
+ {%- set last_ns.last_is_assistant = true %}
206
+ {%- endif %}
207
+
208
+ {%- endfor %}
209
+ {%- if prev_ns.is_tool %}
210
+ {{- toolresponses_end_token }}
211
+ {%- endif %}
212
+ {%- if add_generation_prompt %}
213
+ {%- if not last_ns.last_is_assistant %}
214
+ {%- if reasoning_effort is defined and reasoning_effort in ['low', 'high'] %}
215
+ {{- assistant_token + think_begin_token }}
216
+ {%- elif reasoning_effort is defined and reasoning_effort == 'no_think' %}
217
+ {{- assistant_token + think_begin_token + think_end_token }}
218
+ {%- else %}
219
+ {{- assistant_token }}
220
+ {%- endif %}
221
+ {%- endif %}
222
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "HYV3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 120000,
8
+ "dtype": "bfloat16",
9
+ "enable_attention_fp32_softmax": false,
10
+ "enable_lm_head_fp32": true,
11
+ "enable_moe_fp32_combine": false,
12
+ "eod_token_id": 120026,
13
+ "eos_token_id": 120025,
14
+ "expert_hidden_dim": 1536,
15
+ "first_k_dense_replace": 1,
16
+ "head_dim": 128,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 4096,
19
+ "initializer_range": 0.006,
20
+ "intermediate_size": 13312,
21
+ "max_position_embeddings": 262144,
22
+ "mlp_bias": false,
23
+ "mlp_layer_types": [
24
+ "dense",
25
+ "sparse",
26
+ "sparse",
27
+ "sparse",
28
+ "sparse",
29
+ "sparse",
30
+ "sparse",
31
+ "sparse",
32
+ "sparse",
33
+ "sparse",
34
+ "sparse",
35
+ "sparse",
36
+ "sparse",
37
+ "sparse",
38
+ "sparse",
39
+ "sparse",
40
+ "sparse",
41
+ "sparse",
42
+ "sparse",
43
+ "sparse",
44
+ "sparse",
45
+ "sparse",
46
+ "sparse",
47
+ "sparse",
48
+ "sparse",
49
+ "sparse",
50
+ "sparse",
51
+ "sparse",
52
+ "sparse",
53
+ "sparse",
54
+ "sparse",
55
+ "sparse",
56
+ "sparse",
57
+ "sparse",
58
+ "sparse",
59
+ "sparse",
60
+ "sparse",
61
+ "sparse",
62
+ "sparse",
63
+ "sparse",
64
+ "sparse",
65
+ "sparse",
66
+ "sparse",
67
+ "sparse",
68
+ "sparse",
69
+ "sparse",
70
+ "sparse",
71
+ "sparse",
72
+ "sparse",
73
+ "sparse",
74
+ "sparse",
75
+ "sparse",
76
+ "sparse",
77
+ "sparse",
78
+ "sparse",
79
+ "sparse",
80
+ "sparse",
81
+ "sparse",
82
+ "sparse",
83
+ "sparse",
84
+ "sparse",
85
+ "sparse",
86
+ "sparse",
87
+ "sparse",
88
+ "sparse",
89
+ "sparse",
90
+ "sparse",
91
+ "sparse",
92
+ "sparse",
93
+ "sparse",
94
+ "sparse",
95
+ "sparse",
96
+ "sparse",
97
+ "sparse",
98
+ "sparse",
99
+ "sparse",
100
+ "sparse",
101
+ "sparse",
102
+ "sparse",
103
+ "sparse"
104
+ ],
105
+ "model_type": "hy_v3",
106
+ "moe_intermediate_size": 1536,
107
+ "moe_router_enable_expert_bias": true,
108
+ "moe_router_use_sigmoid": true,
109
+ "num_attention_heads": 64,
110
+ "num_experts": 192,
111
+ "num_experts_per_tok": 8,
112
+ "num_hidden_layers": 80,
113
+ "num_key_value_heads": 8,
114
+ "num_nextn_predict_layers": 1,
115
+ "num_shared_experts": 1,
116
+ "output_router_logits": true,
117
+ "pad_token_id": 120002,
118
+ "qk_norm": true,
119
+ "quantization_config": {
120
+ "config_groups": {
121
+ "group_0": {
122
+ "format": "float-quantized",
123
+ "input_activations": {
124
+ "actorder": null,
125
+ "block_structure": null,
126
+ "dynamic": true,
127
+ "group_size": 128,
128
+ "num_bits": 8,
129
+ "observer": null,
130
+ "observer_kwargs": {},
131
+ "scale_dtype": null,
132
+ "strategy": "group",
133
+ "symmetric": true,
134
+ "type": "float",
135
+ "zp_dtype": null
136
+ },
137
+ "output_activations": null,
138
+ "targets": [
139
+ "re:.*self_attn\\..*"
140
+ ],
141
+ "weights": {
142
+ "actorder": null,
143
+ "block_structure": [
144
+ 128,
145
+ 128
146
+ ],
147
+ "dynamic": false,
148
+ "group_size": null,
149
+ "num_bits": 8,
150
+ "observer": "memoryless_minmax",
151
+ "observer_kwargs": {},
152
+ "scale_dtype": null,
153
+ "strategy": "block",
154
+ "symmetric": true,
155
+ "type": "float",
156
+ "zp_dtype": null
157
+ }
158
+ },
159
+ "group_1": {
160
+ "format": "nvfp4-pack-quantized",
161
+ "input_activations": {
162
+ "actorder": null,
163
+ "block_structure": null,
164
+ "dynamic": "local",
165
+ "group_size": 16,
166
+ "num_bits": 4,
167
+ "observer": "static_minmax",
168
+ "observer_kwargs": {},
169
+ "scale_dtype": "torch.float8_e4m3fn",
170
+ "strategy": "tensor_group",
171
+ "symmetric": true,
172
+ "type": "float",
173
+ "zp_dtype": null
174
+ },
175
+ "output_activations": null,
176
+ "targets": [
177
+ "re:.*mlp.*"
178
+ ],
179
+ "weights": {
180
+ "actorder": null,
181
+ "block_structure": null,
182
+ "dynamic": false,
183
+ "group_size": 16,
184
+ "num_bits": 4,
185
+ "observer": "memoryless_minmax",
186
+ "observer_kwargs": {},
187
+ "scale_dtype": "torch.float8_e4m3fn",
188
+ "strategy": "tensor_group",
189
+ "symmetric": true,
190
+ "type": "float",
191
+ "zp_dtype": null
192
+ }
193
+ }
194
+ },
195
+ "format": "mixed-precision",
196
+ "global_compression_ratio": null,
197
+ "ignore": [
198
+ "model.layers.1.mlp.gate",
199
+ "model.layers.2.mlp.gate",
200
+ "model.layers.3.mlp.gate",
201
+ "model.layers.4.mlp.gate",
202
+ "model.layers.5.mlp.gate",
203
+ "model.layers.6.mlp.gate",
204
+ "model.layers.7.mlp.gate",
205
+ "model.layers.8.mlp.gate",
206
+ "model.layers.9.mlp.gate",
207
+ "model.layers.10.mlp.gate",
208
+ "model.layers.11.mlp.gate",
209
+ "model.layers.12.mlp.gate",
210
+ "model.layers.13.mlp.gate",
211
+ "model.layers.14.mlp.gate",
212
+ "model.layers.15.mlp.gate",
213
+ "model.layers.16.mlp.gate",
214
+ "model.layers.17.mlp.gate",
215
+ "model.layers.18.mlp.gate",
216
+ "model.layers.19.mlp.gate",
217
+ "model.layers.20.mlp.gate",
218
+ "model.layers.21.mlp.gate",
219
+ "model.layers.22.mlp.gate",
220
+ "model.layers.23.mlp.gate",
221
+ "model.layers.24.mlp.gate",
222
+ "model.layers.25.mlp.gate",
223
+ "model.layers.26.mlp.gate",
224
+ "model.layers.27.mlp.gate",
225
+ "model.layers.28.mlp.gate",
226
+ "model.layers.29.mlp.gate",
227
+ "model.layers.30.mlp.gate",
228
+ "model.layers.31.mlp.gate",
229
+ "model.layers.32.mlp.gate",
230
+ "model.layers.33.mlp.gate",
231
+ "model.layers.34.mlp.gate",
232
+ "model.layers.35.mlp.gate",
233
+ "model.layers.36.mlp.gate",
234
+ "model.layers.37.mlp.gate",
235
+ "model.layers.38.mlp.gate",
236
+ "model.layers.39.mlp.gate",
237
+ "model.layers.40.mlp.gate",
238
+ "model.layers.41.mlp.gate",
239
+ "model.layers.42.mlp.gate",
240
+ "model.layers.43.mlp.gate",
241
+ "model.layers.44.mlp.gate",
242
+ "model.layers.45.mlp.gate",
243
+ "model.layers.46.mlp.gate",
244
+ "model.layers.47.mlp.gate",
245
+ "model.layers.48.mlp.gate",
246
+ "model.layers.49.mlp.gate",
247
+ "model.layers.50.mlp.gate",
248
+ "model.layers.51.mlp.gate",
249
+ "model.layers.52.mlp.gate",
250
+ "model.layers.53.mlp.gate",
251
+ "model.layers.54.mlp.gate",
252
+ "model.layers.55.mlp.gate",
253
+ "model.layers.56.mlp.gate",
254
+ "model.layers.57.mlp.gate",
255
+ "model.layers.58.mlp.gate",
256
+ "model.layers.59.mlp.gate",
257
+ "model.layers.60.mlp.gate",
258
+ "model.layers.61.mlp.gate",
259
+ "model.layers.62.mlp.gate",
260
+ "model.layers.63.mlp.gate",
261
+ "model.layers.64.mlp.gate",
262
+ "model.layers.65.mlp.gate",
263
+ "model.layers.66.mlp.gate",
264
+ "model.layers.67.mlp.gate",
265
+ "model.layers.68.mlp.gate",
266
+ "model.layers.69.mlp.gate",
267
+ "model.layers.70.mlp.gate",
268
+ "model.layers.71.mlp.gate",
269
+ "model.layers.72.mlp.gate",
270
+ "model.layers.73.mlp.gate",
271
+ "model.layers.74.mlp.gate",
272
+ "model.layers.75.mlp.gate",
273
+ "model.layers.76.mlp.gate",
274
+ "model.layers.77.mlp.gate",
275
+ "model.layers.78.mlp.gate",
276
+ "model.layers.79.mlp.gate",
277
+ "lm_head"
278
+ ],
279
+ "kv_cache_scheme": null,
280
+ "quant_method": "compressed-tensors",
281
+ "quantization_status": "compressed",
282
+ "sparsity_config": {},
283
+ "transform_config": {},
284
+ "version": "0.17.1.dev6+g3d7e616.d20260611"
285
+ },
286
+ "rms_norm_eps": 1e-05,
287
+ "rope_parameters": {
288
+ "rope_theta": 11158840.0,
289
+ "rope_type": "default"
290
+ },
291
+ "route_norm": true,
292
+ "router_scaling_factor": 2.826,
293
+ "sep_token_id": 120007,
294
+ "tie_word_embeddings": false,
295
+ "transformers_version": "5.14.0.dev0",
296
+ "use_cache": true,
297
+ "use_grouped_mm": false,
298
+ "vocab_size": 120832
299
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 120000,
3
+ "do_sample": true,
4
+ "eos_token_id": 120025,
5
+ "pad_token_id": 120002,
6
+ "temperature": 0.9,
7
+ "top_k": -1,
8
+ "top_p": 1,
9
+ "transformers_version": "5.14.0.dev0"
10
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62a5067bb991e19ec6f8cf9c3208baff75b995589235c88edddcc562ebae2ca1
3
+ size 50005388296
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a02ef06bd5f25b2f2068e26bc30a2e871d2627e5b256553fdf2062dd866971e
3
+ size 50004658568
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d29d00286053663b6120a287ef5b6c5bb85749fcdded4a073aa784eaad90fbb
3
+ size 49998370656
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c809384411e8e7433c388a5639c7466e060871b3b316276d2d77aece574c17d9
3
+ size 20127843648
model.safetensors.index.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:535d2bb56e008a619594b98bd57d2160a79f152f886127514db9b7f4c84c2b25
3
+ size 18418580
recipe.yaml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_stage:
2
+ default_modifiers:
3
+ QuantizationModifier:
4
+ config_groups:
5
+ attention:
6
+ targets: ['re:.*self_attn\..*']
7
+ weights:
8
+ num_bits: 8
9
+ type: float
10
+ symmetric: true
11
+ group_size: null
12
+ strategy: block
13
+ block_structure: [128, 128]
14
+ dynamic: false
15
+ actorder: null
16
+ scale_dtype: null
17
+ zp_dtype: null
18
+ observer: memoryless_minmax
19
+ observer_kwargs: {}
20
+ input_activations:
21
+ num_bits: 8
22
+ type: float
23
+ symmetric: true
24
+ group_size: 128
25
+ strategy: group
26
+ block_structure: null
27
+ dynamic: true
28
+ actorder: null
29
+ scale_dtype: null
30
+ zp_dtype: null
31
+ observer: null
32
+ observer_kwargs: {}
33
+ output_activations: null
34
+ format: null
35
+ experts:
36
+ targets: ['re:.*mlp.*']
37
+ weights:
38
+ num_bits: 4
39
+ type: float
40
+ symmetric: true
41
+ group_size: 16
42
+ strategy: tensor_group
43
+ block_structure: null
44
+ dynamic: false
45
+ actorder: null
46
+ scale_dtype: torch.float8_e4m3fn
47
+ zp_dtype: null
48
+ observer: memoryless_minmax
49
+ observer_kwargs: {}
50
+ input_activations:
51
+ num_bits: 4
52
+ type: float
53
+ symmetric: true
54
+ group_size: 16
55
+ strategy: tensor_group
56
+ block_structure: null
57
+ dynamic: local
58
+ actorder: null
59
+ scale_dtype: torch.float8_e4m3fn
60
+ zp_dtype: null
61
+ observer: static_minmax
62
+ observer_kwargs: {}
63
+ output_activations: null
64
+ format: null
65
+ targets: [Linear]
66
+ ignore: [lm_head]
67
+ bypass_divisibility_checks: false
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|hy_begin_of_sentence:opensource|>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "<|hy_eos:opensource|>",
6
+ "is_local": false,
7
+ "local_files_only": false,
8
+ "model_max_length": 1000000000000000019884624838656,
9
+ "pad_token": "<|hy_pad:opensource|>",
10
+ "token_suffix": ":opensource",
11
+ "tokenizer_class": "TokenizersBackend"
12
+ }