justinchuby commited on
Commit
20fda7a
·
verified ·
1 Parent(s): 1fbfbe6

Restructure: 6 variants (f16+bf16 x default+cuda+onnx-standard)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. bf16/cuda/audio_encoder/model.onnx +3 -0
  2. bf16/cuda/audio_encoder/model.safetensors +3 -0
  3. bf16/cuda/audio_feature_extraction.json +30 -0
  4. bf16/cuda/chat_template.jinja +351 -0
  5. bf16/cuda/decoder/model-00001-of-00002.safetensors +3 -0
  6. bf16/cuda/decoder/model-00002-of-00002.safetensors +3 -0
  7. bf16/cuda/decoder/model.onnx +3 -0
  8. bf16/cuda/decoder/model.safetensors.index.json +550 -0
  9. bf16/cuda/embedding/model.onnx +3 -0
  10. bf16/cuda/embedding/model.safetensors +3 -0
  11. bf16/cuda/genai_config.json +128 -0
  12. bf16/cuda/image_processor.json +27 -0
  13. bf16/cuda/tokenizer.json +3 -0
  14. bf16/cuda/tokenizer_config.json +75 -0
  15. bf16/cuda/vision_encoder/model.onnx +3 -0
  16. bf16/cuda/vision_encoder/model.safetensors +3 -0
  17. bf16/default/audio_encoder/model.onnx +3 -0
  18. bf16/default/audio_encoder/model.safetensors +3 -0
  19. bf16/default/audio_feature_extraction.json +30 -0
  20. bf16/default/chat_template.jinja +351 -0
  21. bf16/default/decoder/model-00001-of-00002.safetensors +3 -0
  22. bf16/default/decoder/model-00002-of-00002.safetensors +3 -0
  23. bf16/default/decoder/model.onnx +3 -0
  24. bf16/default/decoder/model.safetensors.index.json +550 -0
  25. bf16/default/embedding/model.onnx +3 -0
  26. bf16/default/embedding/model.safetensors +3 -0
  27. bf16/default/genai_config.json +100 -0
  28. bf16/default/image_processor.json +27 -0
  29. bf16/default/tokenizer.json +3 -0
  30. bf16/default/tokenizer_config.json +75 -0
  31. bf16/default/vision_encoder/model.onnx +3 -0
  32. bf16/default/vision_encoder/model.safetensors +3 -0
  33. bf16/onnx-standard/audio_encoder/model.onnx +3 -0
  34. bf16/onnx-standard/audio_encoder/model.safetensors +3 -0
  35. bf16/onnx-standard/audio_feature_extraction.json +30 -0
  36. bf16/onnx-standard/chat_template.jinja +351 -0
  37. bf16/onnx-standard/decoder/model-00001-of-00002.safetensors +3 -0
  38. bf16/onnx-standard/decoder/model-00002-of-00002.safetensors +3 -0
  39. bf16/onnx-standard/decoder/model.onnx +3 -0
  40. bf16/onnx-standard/decoder/model.safetensors.index.json +550 -0
  41. bf16/onnx-standard/embedding/model.onnx +3 -0
  42. bf16/onnx-standard/embedding/model.safetensors +3 -0
  43. bf16/onnx-standard/genai_config.json +100 -0
  44. bf16/onnx-standard/image_processor.json +27 -0
  45. bf16/onnx-standard/tokenizer.json +3 -0
  46. bf16/onnx-standard/tokenizer_config.json +75 -0
  47. bf16/onnx-standard/vision_encoder/model.onnx +3 -0
  48. bf16/onnx-standard/vision_encoder/model.safetensors +3 -0
  49. f16/cuda/audio_encoder/model.onnx +3 -0
  50. f16/cuda/audio_encoder/model.safetensors +3 -0
bf16/cuda/audio_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b91d094783cb3847141ea5f13529c2348c226a0024a4ed4433754611552a3b7
3
+ size 1239093
bf16/cuda/audio_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbbb99ee9ece21e21b59d81c3d2a60b04d05dc4511951a2a8ab5aa48af4e3c0d
3
+ size 614725024
bf16/cuda/audio_feature_extraction.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extraction": {
3
+ "sequence": [
4
+ {
5
+ "operation": {
6
+ "name": "audio_decoder",
7
+ "type": "AudioDecoder"
8
+ }
9
+ },
10
+ {
11
+ "operation": {
12
+ "name": "gemma4_log_mel",
13
+ "type": "Gemma4LogMel",
14
+ "attrs": {
15
+ "feature_size": 128,
16
+ "sampling_rate": 16000,
17
+ "frame_length_ms": 20.0,
18
+ "hop_length_ms": 10.0,
19
+ "min_frequency": 0.0,
20
+ "max_frequency": 8000.0,
21
+ "preemphasis": 0.0,
22
+ "preemphasis_htk_flavor": 1,
23
+ "fft_overdrive": 0,
24
+ "mel_floor": 0.001
25
+ }
26
+ }
27
+ }
28
+ ]
29
+ }
30
+ }
bf16/cuda/chat_template.jinja ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- macro format_parameters(properties, required, filter_keys=false) -%}
2
+ {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
3
+ {%- set ns = namespace(found_first=false) -%}
4
+ {%- for key, value in properties | dictsort -%}
5
+ {%- set add_comma = false -%}
6
+ {%- if not filter_keys or key not in standard_keys -%}
7
+ {%- if ns.found_first %},{% endif -%}
8
+ {%- set ns.found_first = true -%}
9
+ {{ key }}:{
10
+ {%- if value['description'] -%}
11
+ description:<|"|>{{ value['description'] }}<|"|>
12
+ {%- set add_comma = true -%}
13
+ {%- endif -%}
14
+ {%- if value['type'] | upper == 'STRING' -%}
15
+ {%- if value['enum'] -%}
16
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
17
+ enum:{{ format_argument(value['enum']) }}
18
+ {%- endif -%}
19
+ {%- elif value['type'] | upper == 'ARRAY' -%}
20
+ {%- if value['items'] is mapping and value['items'] -%}
21
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
22
+ items:{
23
+ {%- set ns_items = namespace(found_first=false) -%}
24
+ {%- for item_key, item_value in value['items'] | dictsort -%}
25
+ {%- if item_value is not none -%}
26
+ {%- if ns_items.found_first %},{% endif -%}
27
+ {%- set ns_items.found_first = true -%}
28
+ {%- if item_key == 'properties' -%}
29
+ properties:{
30
+ {%- if item_value is mapping -%}
31
+ {{- format_parameters(item_value, value['items']['required'] | default([])) -}}
32
+ {%- endif -%}
33
+ }
34
+ {%- elif item_key == 'required' -%}
35
+ required:[
36
+ {%- for req_item in item_value -%}
37
+ <|"|>{{- req_item -}}<|"|>
38
+ {%- if not loop.last %},{% endif -%}
39
+ {%- endfor -%}
40
+ ]
41
+ {%- elif item_key == 'type' -%}
42
+ {%- if item_value is string -%}
43
+ type:{{ format_argument(item_value | upper) }}
44
+ {%- else -%}
45
+ type:{{ format_argument(item_value | map('upper') | list) }}
46
+ {%- endif -%}
47
+ {%- else -%}
48
+ {{ item_key }}:{{ format_argument(item_value) }}
49
+ {%- endif -%}
50
+ {%- endif -%}
51
+ {%- endfor -%}
52
+ }
53
+ {%- endif -%}
54
+ {%- endif -%}
55
+ {%- if value['nullable'] %}
56
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
57
+ nullable:true
58
+ {%- endif -%}
59
+ {%- if value['type'] | upper == 'OBJECT' -%}
60
+ {%- if value['properties'] is defined and value['properties'] is mapping -%}
61
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
62
+ properties:{
63
+ {{- format_parameters(value['properties'], value['required'] | default([])) -}}
64
+ }
65
+ {%- elif value is mapping -%}
66
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
67
+ properties:{
68
+ {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}
69
+ }
70
+ {%- endif -%}
71
+ {%- if value['required'] -%}
72
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
73
+ required:[
74
+ {%- for item in value['required'] | default([]) -%}
75
+ <|"|>{{- item -}}<|"|>
76
+ {%- if not loop.last %},{% endif -%}
77
+ {%- endfor -%}
78
+ ]
79
+ {%- endif -%}
80
+ {%- endif -%}
81
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
82
+ type:<|"|>{{ value['type'] | upper }}<|"|>}
83
+ {%- endif -%}
84
+ {%- endfor -%}
85
+ {%- endmacro -%}
86
+ {%- macro format_function_declaration(tool_data) -%}
87
+ declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
88
+ {%- set params = tool_data['function']['parameters'] -%}
89
+ {%- if params -%}
90
+ ,parameters:{
91
+ {%- if params['properties'] -%}
92
+ properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
93
+ {%- endif -%}
94
+ {%- if params['required'] -%}
95
+ required:[
96
+ {%- for item in params['required'] -%}
97
+ <|"|>{{- item -}}<|"|>
98
+ {{- ',' if not loop.last -}}
99
+ {%- endfor -%}
100
+ ],
101
+ {%- endif -%}
102
+ {%- if params['type'] -%}
103
+ type:<|"|>{{- params['type'] | upper -}}<|"|>}
104
+ {%- endif -%}
105
+ {%- endif -%}
106
+ {%- if 'response' in tool_data['function'] -%}
107
+ {%- set response_declaration = tool_data['function']['response'] -%}
108
+ ,response:{
109
+ {%- if response_declaration['description'] -%}
110
+ description:<|"|>{{- response_declaration['description'] -}}<|"|>,
111
+ {%- endif -%}
112
+ {%- if response_declaration['type'] | upper == 'OBJECT' -%}
113
+ type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
114
+ {%- endif -%}
115
+ {%- endif -%}
116
+ }
117
+ {%- endmacro -%}
118
+ {%- macro format_argument(argument, escape_keys=True) -%}
119
+ {%- if argument is string -%}
120
+ {{- '<|"|>' + argument + '<|"|>' -}}
121
+ {%- elif argument is boolean -%}
122
+ {{- 'true' if argument else 'false' -}}
123
+ {%- elif argument is mapping -%}
124
+ {{- '{' -}}
125
+ {%- set ns = namespace(found_first=false) -%}
126
+ {%- for key, value in argument | dictsort -%}
127
+ {%- if ns.found_first %},{% endif -%}
128
+ {%- set ns.found_first = true -%}
129
+ {%- if escape_keys -%}
130
+ {{- '<|"|>' + key + '<|"|>' -}}
131
+ {%- else -%}
132
+ {{- key -}}
133
+ {%- endif -%}
134
+ :{{- format_argument(value, escape_keys=escape_keys) -}}
135
+ {%- endfor -%}
136
+ {{- '}' -}}
137
+ {%- elif argument is sequence -%}
138
+ {{- '[' -}}
139
+ {%- for item in argument -%}
140
+ {{- format_argument(item, escape_keys=escape_keys) -}}
141
+ {%- if not loop.last %},{% endif -%}
142
+ {%- endfor -%}
143
+ {{- ']' -}}
144
+ {%- else -%}
145
+ {{- argument -}}
146
+ {%- endif -%}
147
+ {%- endmacro -%}
148
+ {%- macro strip_thinking(text) -%}
149
+ {%- set ns = namespace(result='') -%}
150
+ {%- for part in text.split('<channel|>') -%}
151
+ {%- if '<|channel>' in part -%}
152
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
153
+ {%- else -%}
154
+ {%- set ns.result = ns.result + part -%}
155
+ {%- endif -%}
156
+ {%- endfor -%}
157
+ {{- ns.result | trim -}}
158
+ {%- endmacro -%}
159
+
160
+ {%- macro format_tool_response_block(tool_name, response) -%}
161
+ {{- '<|tool_response>' -}}
162
+ {%- if response is mapping -%}
163
+ {{- 'response:' + tool_name + '{' -}}
164
+ {%- for key, value in response | dictsort -%}
165
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
166
+ {%- if not loop.last %},{% endif -%}
167
+ {%- endfor -%}
168
+ {{- '}' -}}
169
+ {%- else -%}
170
+ {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
171
+ {%- endif -%}
172
+ {{- '<tool_response|>' -}}
173
+ {%- endmacro -%}
174
+
175
+ {%- set ns = namespace(prev_message_type=None) -%}
176
+ {%- set loop_messages = messages -%}
177
+ {{- bos_token -}}
178
+ {#- Handle System/Tool Definitions Block -#}
179
+ {%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
180
+ {{- '<|turn>system\n' -}}
181
+ {#- Inject Thinking token at the very top of the FIRST system turn -#}
182
+ {%- if enable_thinking is defined and enable_thinking -%}
183
+ {{- '<|think|>\n' -}}
184
+ {%- set ns.prev_message_type = 'think' -%}
185
+ {%- endif -%}
186
+ {%- if messages[0]['role'] in ['system', 'developer'] -%}
187
+ {%- if messages[0]['content'] is string -%}
188
+ {{- messages[0]['content'] | trim -}}
189
+ {%- elif messages[0]['content'] is sequence -%}
190
+ {%- for item in messages[0]['content'] -%}
191
+ {{- item['text'] | trim + ' '-}}
192
+ {%- endfor -%}
193
+ {%- endif -%}
194
+ {%- set loop_messages = messages[1:] -%}
195
+ {%- endif -%}
196
+ {%- if tools -%}
197
+ {%- for tool in tools %}
198
+ {{- '<|tool>' -}}
199
+ {{- format_function_declaration(tool) | trim -}}
200
+ {{- '<tool|>' -}}
201
+ {%- endfor %}
202
+ {%- set ns.prev_message_type = 'tool' -%}
203
+ {%- endif -%}
204
+ {{- '<turn|>\n' -}}
205
+ {%- endif %}
206
+
207
+ {#- Pre-scan: find last user message index for reasoning guard -#}
208
+ {%- set ns_turn = namespace(last_user_idx=-1) -%}
209
+ {%- for i in range(loop_messages | length) -%}
210
+ {%- if loop_messages[i]['role'] == 'user' -%}
211
+ {%- set ns_turn.last_user_idx = i -%}
212
+ {%- endif -%}
213
+ {%- endfor -%}
214
+
215
+ {#- Loop through messages -#}
216
+ {%- for message in loop_messages -%}
217
+ {%- if message['role'] != 'tool' -%}
218
+ {%- set ns.prev_message_type = None -%}
219
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
220
+ {#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}
221
+ {%- set prev_nt = namespace(role=None, found=false) -%}
222
+ {%- if loop.index0 > 0 -%}
223
+ {%- for j in range(loop.index0 - 1, -1, -1) -%}
224
+ {%- if not prev_nt.found -%}
225
+ {%- if loop_messages[j]['role'] != 'tool' -%}
226
+ {%- set prev_nt.role = loop_messages[j]['role'] -%}
227
+ {%- set prev_nt.found = true -%}
228
+ {%- endif -%}
229
+ {%- endif -%}
230
+ {%- endfor -%}
231
+ {%- endif -%}
232
+ {%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}
233
+ {%- if not continue_same_model_turn -%}
234
+ {{- '<|turn>' + role + '\n' }}
235
+ {%- endif -%}
236
+
237
+ {#- Render reasoning/reasoning_content as thinking channel -#}
238
+ {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
239
+ {%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}
240
+ {{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
241
+ {%- endif -%}
242
+
243
+ {%- if message['tool_calls'] -%}
244
+ {%- for tool_call in message['tool_calls'] -%}
245
+ {%- set function = tool_call['function'] -%}
246
+ {{- '<|tool_call>call:' + function['name'] + '{' -}}
247
+ {%- if function['arguments'] is mapping -%}
248
+ {%- set ns_args = namespace(found_first=false) -%}
249
+ {%- for key, value in function['arguments'] | dictsort -%}
250
+ {%- if ns_args.found_first %},{% endif -%}
251
+ {%- set ns_args.found_first = true -%}
252
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
253
+ {%- endfor -%}
254
+ {%- elif function['arguments'] is string -%}
255
+ {{- function['arguments'] -}}
256
+ {%- endif -%}
257
+ {{- '}<tool_call|>' -}}
258
+ {%- endfor -%}
259
+ {%- set ns.prev_message_type = 'tool_call' -%}
260
+ {%- endif -%}
261
+
262
+ {%- set ns_tr_out = namespace(flag=false) -%}
263
+ {%- if message.get('tool_responses') -%}
264
+ {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
265
+ {%- for tool_response in message['tool_responses'] -%}
266
+ {{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}
267
+ {%- set ns_tr_out.flag = true -%}
268
+ {%- set ns.prev_message_type = 'tool_response' -%}
269
+ {%- endfor -%}
270
+ {%- elif message.get('tool_calls') -%}
271
+ {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
272
+ {%- set ns_tool_scan = namespace(stopped=false) -%}
273
+ {%- for k in range(loop.index0 + 1, loop_messages | length) -%}
274
+ {%- if ns_tool_scan.stopped -%}
275
+ {%- elif loop_messages[k]['role'] != 'tool' -%}
276
+ {%- set ns_tool_scan.stopped = true -%}
277
+ {%- else -%}
278
+ {%- set follow = loop_messages[k] -%}
279
+ {#- Resolve tool_call_id to function name -#}
280
+ {%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}
281
+ {%- for tc in message['tool_calls'] -%}
282
+ {%- if tc.get('id') == follow.get('tool_call_id') -%}
283
+ {%- set ns_tname.name = tc['function']['name'] -%}
284
+ {%- endif -%}
285
+ {%- endfor -%}
286
+ {#- Handle content as string or content-parts array -#}
287
+ {%- set tool_body = follow.get('content') -%}
288
+ {%- if tool_body is string -%}
289
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
290
+ {%- elif tool_body is sequence and tool_body is not string -%}
291
+ {%- set ns_txt = namespace(s='') -%}
292
+ {%- for part in tool_body -%}
293
+ {%- if part.get('type') == 'text' -%}
294
+ {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
295
+ {%- endif -%}
296
+ {%- endfor -%}
297
+ {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
298
+ {%- else -%}
299
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
300
+ {%- endif -%}
301
+ {%- set ns_tr_out.flag = true -%}
302
+ {%- set ns.prev_message_type = 'tool_response' -%}
303
+ {%- endif -%}
304
+ {%- endfor -%}
305
+ {%- endif -%}
306
+
307
+ {%- set captured_content -%}
308
+ {%- if message['content'] is string -%}
309
+ {%- if role == 'model' -%}
310
+ {{- strip_thinking(message['content']) -}}
311
+ {%- else -%}
312
+ {{- message['content'] | trim -}}
313
+ {%- endif -%}
314
+ {%- elif message['content'] is sequence -%}
315
+ {%- for item in message['content'] -%}
316
+ {%- if item['type'] == 'text' -%}
317
+ {%- if role == 'model' -%}
318
+ {{- strip_thinking(item['text']) -}}
319
+ {%- else -%}
320
+ {{- item['text'] | trim -}}
321
+ {%- endif -%}
322
+ {%- elif item['type'] == 'image' -%}
323
+ {{- '<|image|>' -}}
324
+ {%- set ns.prev_message_type = 'image' -%}
325
+ {%- elif item['type'] == 'audio' -%}
326
+ {{- '<|audio|>' -}}
327
+ {%- set ns.prev_message_type = 'audio' -%}
328
+ {%- elif item['type'] == 'video' -%}
329
+ {{- '<|video|>' -}}
330
+ {%- set ns.prev_message_type = 'video' -%}
331
+ {%- endif -%}
332
+ {%- endfor -%}
333
+ {%- endif -%}
334
+ {%- endset -%}
335
+
336
+ {{- captured_content -}}
337
+ {%- set has_content = captured_content | trim | length > 0 -%}
338
+
339
+ {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
340
+ {{- '<|tool_response>' -}}
341
+ {%- elif not (ns_tr_out.flag and not has_content) -%}
342
+ {{- '<turn|>\n' -}}
343
+ {%- endif -%}
344
+ {%- endif -%}
345
+ {%- endfor -%}
346
+
347
+ {%- if add_generation_prompt -%}
348
+ {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
349
+ {{- '<|turn>model\n' -}}
350
+ {%- endif -%}
351
+ {%- endif -%}
bf16/cuda/decoder/model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e554c5c22e59f60d8d5eee7505bac60e74da7a8d4be57666b3e9a4c2e2fba046
3
+ size 4999430520
bf16/cuda/decoder/model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e3a718a5ed0fbfe379dbd95d01ccb26a59522db7d6490645a83e6c20a63dd6a
3
+ size 4459103336
bf16/cuda/decoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4137153e85ae7578d1b0539b99ffcdaaa672c8192899f0b2f8bedf53d66cc855
3
+ size 912580
bf16/cuda/decoder/model.safetensors.index.json ADDED
@@ -0,0 +1,550 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 9458465280
4
+ },
5
+ "weight_map": {
6
+ "decoder.model.per_layer_projection_norm.weight": "model-00001-of-00002.safetensors",
7
+ "decoder.model.embed_tokens_per_layer.0.weight": "model-00001-of-00002.safetensors",
8
+ "decoder.model.embed_tokens_per_layer.1.weight": "model-00001-of-00002.safetensors",
9
+ "decoder.model.embed_tokens_per_layer.2.weight": "model-00001-of-00002.safetensors",
10
+ "decoder.model.embed_tokens_per_layer.3.weight": "model-00001-of-00002.safetensors",
11
+ "decoder.model.embed_tokens_per_layer.4.weight": "model-00001-of-00002.safetensors",
12
+ "decoder.model.embed_tokens_per_layer.5.weight": "model-00001-of-00002.safetensors",
13
+ "decoder.model.embed_tokens_per_layer.6.weight": "model-00001-of-00002.safetensors",
14
+ "decoder.model.embed_tokens_per_layer.7.weight": "model-00001-of-00002.safetensors",
15
+ "decoder.model.embed_tokens_per_layer.8.weight": "model-00001-of-00002.safetensors",
16
+ "decoder.model.embed_tokens_per_layer.9.weight": "model-00001-of-00002.safetensors",
17
+ "decoder.model.embed_tokens_per_layer.10.weight": "model-00001-of-00002.safetensors",
18
+ "decoder.model.embed_tokens_per_layer.11.weight": "model-00001-of-00002.safetensors",
19
+ "decoder.model.embed_tokens_per_layer.12.weight": "model-00001-of-00002.safetensors",
20
+ "decoder.model.embed_tokens_per_layer.13.weight": "model-00001-of-00002.safetensors",
21
+ "decoder.model.embed_tokens_per_layer.14.weight": "model-00001-of-00002.safetensors",
22
+ "decoder.model.embed_tokens_per_layer.15.weight": "model-00001-of-00002.safetensors",
23
+ "decoder.model.embed_tokens_per_layer.16.weight": "model-00001-of-00002.safetensors",
24
+ "decoder.model.embed_tokens_per_layer.17.weight": "model-00001-of-00002.safetensors",
25
+ "decoder.model.embed_tokens_per_layer.18.weight": "model-00001-of-00002.safetensors",
26
+ "decoder.model.embed_tokens_per_layer.19.weight": "model-00001-of-00002.safetensors",
27
+ "decoder.model.embed_tokens_per_layer.20.weight": "model-00001-of-00002.safetensors",
28
+ "decoder.model.embed_tokens_per_layer.21.weight": "model-00001-of-00002.safetensors",
29
+ "decoder.model.embed_tokens_per_layer.22.weight": "model-00001-of-00002.safetensors",
30
+ "decoder.model.embed_tokens_per_layer.23.weight": "model-00001-of-00002.safetensors",
31
+ "decoder.model.embed_tokens_per_layer.24.weight": "model-00001-of-00002.safetensors",
32
+ "decoder.model.embed_tokens_per_layer.25.weight": "model-00001-of-00002.safetensors",
33
+ "decoder.model.embed_tokens_per_layer.26.weight": "model-00001-of-00002.safetensors",
34
+ "decoder.model.embed_tokens_per_layer.27.weight": "model-00001-of-00002.safetensors",
35
+ "decoder.model.embed_tokens_per_layer.28.weight": "model-00001-of-00002.safetensors",
36
+ "decoder.model.embed_tokens_per_layer.29.weight": "model-00001-of-00002.safetensors",
37
+ "decoder.model.embed_tokens_per_layer.30.weight": "model-00001-of-00002.safetensors",
38
+ "decoder.model.embed_tokens_per_layer.31.weight": "model-00001-of-00002.safetensors",
39
+ "decoder.model.embed_tokens_per_layer.32.weight": "model-00001-of-00002.safetensors",
40
+ "decoder.model.embed_tokens_per_layer.33.weight": "model-00001-of-00002.safetensors",
41
+ "decoder.model.embed_tokens_per_layer.34.weight": "model-00001-of-00002.safetensors",
42
+ "decoder.model.rotary_emb_local.cos_cache": "model-00001-of-00002.safetensors",
43
+ "decoder.model.rotary_emb_local.sin_cache": "model-00001-of-00002.safetensors",
44
+ "decoder.model.rotary_emb_global.cos_cache": "model-00001-of-00002.safetensors",
45
+ "decoder.model.rotary_emb_global.sin_cache": "model-00001-of-00002.safetensors",
46
+ "decoder.model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
47
+ "decoder.model.layers.0.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
48
+ "decoder.model.layers.0.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
49
+ "decoder.model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
50
+ "decoder.model.layers.0.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
51
+ "decoder.model.layers.0.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
52
+ "decoder.model.layers.0.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
53
+ "decoder.model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
54
+ "decoder.model.layers.1.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
55
+ "decoder.model.layers.1.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
56
+ "decoder.model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
57
+ "decoder.model.layers.1.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
58
+ "decoder.model.layers.1.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
59
+ "decoder.model.layers.1.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
60
+ "decoder.model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
61
+ "decoder.model.layers.2.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
62
+ "decoder.model.layers.2.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
63
+ "decoder.model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
64
+ "decoder.model.layers.2.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
65
+ "decoder.model.layers.2.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
66
+ "decoder.model.layers.2.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
67
+ "decoder.model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
68
+ "decoder.model.layers.3.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
69
+ "decoder.model.layers.3.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
70
+ "decoder.model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
71
+ "decoder.model.layers.3.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
72
+ "decoder.model.layers.3.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
73
+ "decoder.model.layers.3.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
74
+ "decoder.model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
75
+ "decoder.model.layers.4.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
76
+ "decoder.model.layers.4.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
77
+ "decoder.model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
78
+ "decoder.model.layers.4.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
79
+ "decoder.model.layers.4.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
80
+ "decoder.model.layers.4.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
81
+ "decoder.model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
82
+ "decoder.model.layers.5.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
83
+ "decoder.model.layers.5.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
84
+ "decoder.model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
85
+ "decoder.model.layers.5.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
86
+ "decoder.model.layers.5.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
87
+ "decoder.model.layers.5.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
88
+ "decoder.model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
89
+ "decoder.model.layers.6.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
90
+ "decoder.model.layers.6.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
91
+ "decoder.model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
92
+ "decoder.model.layers.6.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
93
+ "decoder.model.layers.6.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
94
+ "decoder.model.layers.6.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
95
+ "decoder.model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
96
+ "decoder.model.layers.7.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
97
+ "decoder.model.layers.7.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
98
+ "decoder.model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
99
+ "decoder.model.layers.7.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
100
+ "decoder.model.layers.7.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
101
+ "decoder.model.layers.7.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
102
+ "decoder.model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
103
+ "decoder.model.layers.8.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
104
+ "decoder.model.layers.8.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
105
+ "decoder.model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
106
+ "decoder.model.layers.8.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
107
+ "decoder.model.layers.8.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
108
+ "decoder.model.layers.8.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
109
+ "decoder.model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
110
+ "decoder.model.layers.9.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
111
+ "decoder.model.layers.9.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
112
+ "decoder.model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
113
+ "decoder.model.layers.9.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
114
+ "decoder.model.layers.9.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
115
+ "decoder.model.layers.9.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
116
+ "decoder.model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
117
+ "decoder.model.layers.10.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
118
+ "decoder.model.layers.10.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
119
+ "decoder.model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
120
+ "decoder.model.layers.10.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
121
+ "decoder.model.layers.10.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
122
+ "decoder.model.layers.10.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
123
+ "decoder.model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
124
+ "decoder.model.layers.11.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
125
+ "decoder.model.layers.11.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
126
+ "decoder.model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
127
+ "decoder.model.layers.11.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
128
+ "decoder.model.layers.11.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
129
+ "decoder.model.layers.11.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
130
+ "decoder.model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
131
+ "decoder.model.layers.12.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
132
+ "decoder.model.layers.12.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
133
+ "decoder.model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
134
+ "decoder.model.layers.12.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
135
+ "decoder.model.layers.12.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
136
+ "decoder.model.layers.12.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
137
+ "decoder.model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
138
+ "decoder.model.layers.13.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
139
+ "decoder.model.layers.13.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
140
+ "decoder.model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
141
+ "decoder.model.layers.13.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
142
+ "decoder.model.layers.13.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
143
+ "decoder.model.layers.13.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
144
+ "decoder.model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
145
+ "decoder.model.layers.14.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
146
+ "decoder.model.layers.14.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
147
+ "decoder.model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
148
+ "decoder.model.layers.14.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
149
+ "decoder.model.layers.14.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
150
+ "decoder.model.layers.14.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
151
+ "decoder.model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
152
+ "decoder.model.layers.15.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
153
+ "decoder.model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
154
+ "decoder.model.layers.15.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
155
+ "decoder.model.layers.15.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
156
+ "decoder.model.layers.15.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
157
+ "decoder.model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
158
+ "decoder.model.layers.16.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
159
+ "decoder.model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
160
+ "decoder.model.layers.16.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
161
+ "decoder.model.layers.16.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
162
+ "decoder.model.layers.16.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
163
+ "decoder.model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
164
+ "decoder.model.layers.17.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
165
+ "decoder.model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
166
+ "decoder.model.layers.17.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
167
+ "decoder.model.layers.17.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
168
+ "decoder.model.layers.17.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
169
+ "decoder.model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
170
+ "decoder.model.layers.18.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
171
+ "decoder.model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
172
+ "decoder.model.layers.18.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
173
+ "decoder.model.layers.18.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
174
+ "decoder.model.layers.18.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
175
+ "decoder.model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
176
+ "decoder.model.layers.19.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
177
+ "decoder.model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
178
+ "decoder.model.layers.19.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
179
+ "decoder.model.layers.19.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
180
+ "decoder.model.layers.19.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
181
+ "decoder.model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
182
+ "decoder.model.layers.20.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
183
+ "decoder.model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
184
+ "decoder.model.layers.20.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
185
+ "decoder.model.layers.20.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
186
+ "decoder.model.layers.20.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
187
+ "decoder.model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors",
188
+ "decoder.model.layers.21.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
189
+ "decoder.model.layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
190
+ "decoder.model.layers.21.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
191
+ "decoder.model.layers.21.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
192
+ "decoder.model.layers.21.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
193
+ "decoder.model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors",
194
+ "decoder.model.layers.22.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
195
+ "decoder.model.layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
196
+ "decoder.model.layers.22.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
197
+ "decoder.model.layers.22.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
198
+ "decoder.model.layers.22.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
199
+ "decoder.model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors",
200
+ "decoder.model.layers.23.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
201
+ "decoder.model.layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
202
+ "decoder.model.layers.23.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
203
+ "decoder.model.layers.23.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
204
+ "decoder.model.layers.23.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
205
+ "decoder.model.layers.24.input_layernorm.weight": "model-00001-of-00002.safetensors",
206
+ "decoder.model.layers.24.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
207
+ "decoder.model.layers.24.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
208
+ "decoder.model.layers.24.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
209
+ "decoder.model.layers.24.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
210
+ "decoder.model.layers.24.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
211
+ "decoder.model.layers.25.input_layernorm.weight": "model-00001-of-00002.safetensors",
212
+ "decoder.model.layers.25.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
213
+ "decoder.model.layers.25.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
214
+ "decoder.model.layers.25.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
215
+ "decoder.model.layers.25.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
216
+ "decoder.model.layers.25.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
217
+ "decoder.model.layers.26.input_layernorm.weight": "model-00001-of-00002.safetensors",
218
+ "decoder.model.layers.26.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
219
+ "decoder.model.layers.26.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
220
+ "decoder.model.layers.26.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
221
+ "decoder.model.layers.26.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
222
+ "decoder.model.layers.26.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
223
+ "decoder.model.layers.27.input_layernorm.weight": "model-00001-of-00002.safetensors",
224
+ "decoder.model.layers.27.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
225
+ "decoder.model.layers.27.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
226
+ "decoder.model.layers.27.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
227
+ "decoder.model.layers.27.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
228
+ "decoder.model.layers.27.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
229
+ "decoder.model.layers.28.input_layernorm.weight": "model-00001-of-00002.safetensors",
230
+ "decoder.model.layers.28.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
231
+ "decoder.model.layers.28.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
232
+ "decoder.model.layers.28.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
233
+ "decoder.model.layers.28.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
234
+ "decoder.model.layers.28.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
235
+ "decoder.model.layers.29.input_layernorm.weight": "model-00001-of-00002.safetensors",
236
+ "decoder.model.layers.29.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
237
+ "decoder.model.layers.29.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
238
+ "decoder.model.layers.29.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
239
+ "decoder.model.layers.29.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
240
+ "decoder.model.layers.29.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
241
+ "decoder.model.layers.30.input_layernorm.weight": "model-00001-of-00002.safetensors",
242
+ "decoder.model.layers.30.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
243
+ "decoder.model.layers.30.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
244
+ "decoder.model.layers.30.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
245
+ "decoder.model.layers.30.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
246
+ "decoder.model.layers.30.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
247
+ "decoder.model.layers.31.input_layernorm.weight": "model-00001-of-00002.safetensors",
248
+ "decoder.model.layers.31.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
249
+ "decoder.model.layers.31.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
250
+ "decoder.model.layers.31.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
251
+ "decoder.model.layers.31.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
252
+ "decoder.model.layers.31.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
253
+ "decoder.model.layers.32.input_layernorm.weight": "model-00001-of-00002.safetensors",
254
+ "decoder.model.layers.32.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
255
+ "decoder.model.layers.32.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
256
+ "decoder.model.layers.32.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
257
+ "decoder.model.layers.32.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
258
+ "decoder.model.layers.32.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
259
+ "decoder.model.layers.33.input_layernorm.weight": "model-00001-of-00002.safetensors",
260
+ "decoder.model.layers.33.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
261
+ "decoder.model.layers.33.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
262
+ "decoder.model.layers.33.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
263
+ "decoder.model.layers.33.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
264
+ "decoder.model.layers.33.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
265
+ "decoder.model.layers.34.input_layernorm.weight": "model-00001-of-00002.safetensors",
266
+ "decoder.model.layers.34.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
267
+ "decoder.model.layers.34.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
268
+ "decoder.model.layers.34.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
269
+ "decoder.model.layers.34.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
270
+ "decoder.model.layers.34.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
271
+ "decoder.model.norm.weight": "model-00001-of-00002.safetensors",
272
+ "decoder.model.per_layer_model_projection.weight_t": "model-00001-of-00002.safetensors",
273
+ "decoder.model.layers.0.self_attn.q_proj.weight_t": "model-00001-of-00002.safetensors",
274
+ "decoder.model.layers.0.self_attn.k_proj.weight_t": "model-00001-of-00002.safetensors",
275
+ "decoder.model.layers.0.self_attn.v_proj.weight_t": "model-00001-of-00002.safetensors",
276
+ "decoder.model.layers.0.self_attn.o_proj.weight_t": "model-00001-of-00002.safetensors",
277
+ "decoder.model.layers.0.mlp.gate_proj.weight_t": "model-00001-of-00002.safetensors",
278
+ "decoder.model.layers.0.mlp.up_proj.weight_t": "model-00001-of-00002.safetensors",
279
+ "decoder.model.layers.0.mlp.down_proj.weight_t": "model-00001-of-00002.safetensors",
280
+ "decoder.model.layers.0.per_layer_input_gate.weight_t": "model-00001-of-00002.safetensors",
281
+ "decoder.model.layers.0.per_layer_projection.weight_t": "model-00001-of-00002.safetensors",
282
+ "decoder.model.layers.1.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
283
+ "decoder.model.layers.1.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
284
+ "decoder.model.layers.1.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
285
+ "decoder.model.layers.1.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
286
+ "decoder.model.layers.1.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
287
+ "decoder.model.layers.1.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
288
+ "decoder.model.layers.1.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
289
+ "decoder.model.layers.1.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
290
+ "decoder.model.layers.1.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
291
+ "decoder.model.layers.2.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
292
+ "decoder.model.layers.2.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
293
+ "decoder.model.layers.2.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
294
+ "decoder.model.layers.2.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
295
+ "decoder.model.layers.2.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
296
+ "decoder.model.layers.2.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
297
+ "decoder.model.layers.2.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
298
+ "decoder.model.layers.2.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
299
+ "decoder.model.layers.2.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
300
+ "decoder.model.layers.3.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
301
+ "decoder.model.layers.3.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
302
+ "decoder.model.layers.3.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
303
+ "decoder.model.layers.3.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
304
+ "decoder.model.layers.3.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
305
+ "decoder.model.layers.3.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
306
+ "decoder.model.layers.3.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
307
+ "decoder.model.layers.3.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
308
+ "decoder.model.layers.3.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
309
+ "decoder.model.layers.4.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
310
+ "decoder.model.layers.4.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
311
+ "decoder.model.layers.4.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
312
+ "decoder.model.layers.4.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
313
+ "decoder.model.layers.4.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
314
+ "decoder.model.layers.4.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
315
+ "decoder.model.layers.4.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
316
+ "decoder.model.layers.4.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
317
+ "decoder.model.layers.4.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
318
+ "decoder.model.layers.5.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
319
+ "decoder.model.layers.5.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
320
+ "decoder.model.layers.5.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
321
+ "decoder.model.layers.5.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
322
+ "decoder.model.layers.5.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
323
+ "decoder.model.layers.5.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
324
+ "decoder.model.layers.5.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
325
+ "decoder.model.layers.5.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
326
+ "decoder.model.layers.5.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
327
+ "decoder.model.layers.6.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
328
+ "decoder.model.layers.6.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
329
+ "decoder.model.layers.6.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
330
+ "decoder.model.layers.6.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
331
+ "decoder.model.layers.6.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
332
+ "decoder.model.layers.6.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
333
+ "decoder.model.layers.6.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
334
+ "decoder.model.layers.6.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
335
+ "decoder.model.layers.6.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
336
+ "decoder.model.layers.7.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
337
+ "decoder.model.layers.7.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
338
+ "decoder.model.layers.7.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
339
+ "decoder.model.layers.7.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
340
+ "decoder.model.layers.7.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
341
+ "decoder.model.layers.7.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
342
+ "decoder.model.layers.7.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
343
+ "decoder.model.layers.7.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
344
+ "decoder.model.layers.7.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
345
+ "decoder.model.layers.8.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
346
+ "decoder.model.layers.8.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
347
+ "decoder.model.layers.8.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
348
+ "decoder.model.layers.8.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
349
+ "decoder.model.layers.8.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
350
+ "decoder.model.layers.8.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
351
+ "decoder.model.layers.8.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
352
+ "decoder.model.layers.8.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
353
+ "decoder.model.layers.8.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
354
+ "decoder.model.layers.9.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
355
+ "decoder.model.layers.9.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
356
+ "decoder.model.layers.9.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
357
+ "decoder.model.layers.9.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
358
+ "decoder.model.layers.9.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
359
+ "decoder.model.layers.9.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
360
+ "decoder.model.layers.9.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
361
+ "decoder.model.layers.9.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
362
+ "decoder.model.layers.9.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
363
+ "decoder.model.layers.10.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
364
+ "decoder.model.layers.10.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
365
+ "decoder.model.layers.10.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
366
+ "decoder.model.layers.10.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
367
+ "decoder.model.layers.10.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
368
+ "decoder.model.layers.10.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
369
+ "decoder.model.layers.10.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
370
+ "decoder.model.layers.10.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
371
+ "decoder.model.layers.10.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
372
+ "decoder.model.layers.11.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
373
+ "decoder.model.layers.11.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
374
+ "decoder.model.layers.11.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
375
+ "decoder.model.layers.11.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
376
+ "decoder.model.layers.11.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
377
+ "decoder.model.layers.11.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
378
+ "decoder.model.layers.11.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
379
+ "decoder.model.layers.11.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
380
+ "decoder.model.layers.11.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
381
+ "decoder.model.layers.12.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
382
+ "decoder.model.layers.12.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
383
+ "decoder.model.layers.12.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
384
+ "decoder.model.layers.12.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
385
+ "decoder.model.layers.12.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
386
+ "decoder.model.layers.12.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
387
+ "decoder.model.layers.12.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
388
+ "decoder.model.layers.12.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
389
+ "decoder.model.layers.12.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
390
+ "decoder.model.layers.13.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
391
+ "decoder.model.layers.13.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
392
+ "decoder.model.layers.13.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
393
+ "decoder.model.layers.13.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
394
+ "decoder.model.layers.13.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
395
+ "decoder.model.layers.13.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
396
+ "decoder.model.layers.13.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
397
+ "decoder.model.layers.13.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
398
+ "decoder.model.layers.13.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
399
+ "decoder.model.layers.14.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
400
+ "decoder.model.layers.14.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
401
+ "decoder.model.layers.14.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
402
+ "decoder.model.layers.14.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
403
+ "decoder.model.layers.14.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
404
+ "decoder.model.layers.14.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
405
+ "decoder.model.layers.14.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
406
+ "decoder.model.layers.14.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
407
+ "decoder.model.layers.14.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
408
+ "decoder.model.layers.15.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
409
+ "decoder.model.layers.15.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
410
+ "decoder.model.layers.15.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
411
+ "decoder.model.layers.15.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
412
+ "decoder.model.layers.15.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
413
+ "decoder.model.layers.15.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
414
+ "decoder.model.layers.15.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
415
+ "decoder.model.layers.16.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
416
+ "decoder.model.layers.16.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
417
+ "decoder.model.layers.16.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
418
+ "decoder.model.layers.16.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
419
+ "decoder.model.layers.16.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
420
+ "decoder.model.layers.16.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
421
+ "decoder.model.layers.16.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
422
+ "decoder.model.layers.17.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
423
+ "decoder.model.layers.17.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
424
+ "decoder.model.layers.17.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
425
+ "decoder.model.layers.17.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
426
+ "decoder.model.layers.17.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
427
+ "decoder.model.layers.17.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
428
+ "decoder.model.layers.17.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
429
+ "decoder.model.layers.18.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
430
+ "decoder.model.layers.18.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
431
+ "decoder.model.layers.18.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
432
+ "decoder.model.layers.18.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
433
+ "decoder.model.layers.18.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
434
+ "decoder.model.layers.18.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
435
+ "decoder.model.layers.18.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
436
+ "decoder.model.layers.19.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
437
+ "decoder.model.layers.19.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
438
+ "decoder.model.layers.19.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
439
+ "decoder.model.layers.19.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
440
+ "decoder.model.layers.19.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
441
+ "decoder.model.layers.19.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
442
+ "decoder.model.layers.19.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
443
+ "decoder.model.layers.20.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
444
+ "decoder.model.layers.20.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
445
+ "decoder.model.layers.20.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
446
+ "decoder.model.layers.20.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
447
+ "decoder.model.layers.20.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
448
+ "decoder.model.layers.20.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
449
+ "decoder.model.layers.20.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
450
+ "decoder.model.layers.21.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
451
+ "decoder.model.layers.21.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
452
+ "decoder.model.layers.21.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
453
+ "decoder.model.layers.21.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
454
+ "decoder.model.layers.21.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
455
+ "decoder.model.layers.21.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
456
+ "decoder.model.layers.21.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
457
+ "decoder.model.layers.22.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
458
+ "decoder.model.layers.22.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
459
+ "decoder.model.layers.22.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
460
+ "decoder.model.layers.22.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
461
+ "decoder.model.layers.22.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
462
+ "decoder.model.layers.22.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
463
+ "decoder.model.layers.22.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
464
+ "decoder.model.layers.23.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
465
+ "decoder.model.layers.23.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
466
+ "decoder.model.layers.23.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
467
+ "decoder.model.layers.23.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
468
+ "decoder.model.layers.23.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
469
+ "decoder.model.layers.23.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
470
+ "decoder.model.layers.23.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
471
+ "decoder.model.layers.24.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
472
+ "decoder.model.layers.24.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
473
+ "decoder.model.layers.24.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
474
+ "decoder.model.layers.24.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
475
+ "decoder.model.layers.24.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
476
+ "decoder.model.layers.24.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
477
+ "decoder.model.layers.24.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
478
+ "decoder.model.layers.25.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
479
+ "decoder.model.layers.25.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
480
+ "decoder.model.layers.25.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
481
+ "decoder.model.layers.25.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
482
+ "decoder.model.layers.25.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
483
+ "decoder.model.layers.25.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
484
+ "decoder.model.layers.25.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
485
+ "decoder.model.layers.26.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
486
+ "decoder.model.layers.26.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
487
+ "decoder.model.layers.26.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
488
+ "decoder.model.layers.26.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
489
+ "decoder.model.layers.26.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
490
+ "decoder.model.layers.26.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
491
+ "decoder.model.layers.26.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
492
+ "decoder.model.layers.27.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
493
+ "decoder.model.layers.27.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
494
+ "decoder.model.layers.27.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
495
+ "decoder.model.layers.27.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
496
+ "decoder.model.layers.27.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
497
+ "decoder.model.layers.27.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
498
+ "decoder.model.layers.27.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
499
+ "decoder.model.layers.28.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
500
+ "decoder.model.layers.28.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
501
+ "decoder.model.layers.28.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
502
+ "decoder.model.layers.28.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
503
+ "decoder.model.layers.28.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
504
+ "decoder.model.layers.28.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
505
+ "decoder.model.layers.28.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
506
+ "decoder.model.layers.29.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
507
+ "decoder.model.layers.29.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
508
+ "decoder.model.layers.29.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
509
+ "decoder.model.layers.29.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
510
+ "decoder.model.layers.29.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
511
+ "decoder.model.layers.29.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
512
+ "decoder.model.layers.29.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
513
+ "decoder.model.layers.30.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
514
+ "decoder.model.layers.30.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
515
+ "decoder.model.layers.30.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
516
+ "decoder.model.layers.30.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
517
+ "decoder.model.layers.30.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
518
+ "decoder.model.layers.30.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
519
+ "decoder.model.layers.30.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
520
+ "decoder.model.layers.31.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
521
+ "decoder.model.layers.31.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
522
+ "decoder.model.layers.31.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
523
+ "decoder.model.layers.31.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
524
+ "decoder.model.layers.31.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
525
+ "decoder.model.layers.31.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
526
+ "decoder.model.layers.31.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
527
+ "decoder.model.layers.32.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
528
+ "decoder.model.layers.32.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
529
+ "decoder.model.layers.32.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
530
+ "decoder.model.layers.32.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
531
+ "decoder.model.layers.32.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
532
+ "decoder.model.layers.32.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
533
+ "decoder.model.layers.32.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
534
+ "decoder.model.layers.33.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
535
+ "decoder.model.layers.33.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
536
+ "decoder.model.layers.33.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
537
+ "decoder.model.layers.33.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
538
+ "decoder.model.layers.33.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
539
+ "decoder.model.layers.33.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
540
+ "decoder.model.layers.33.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
541
+ "decoder.model.layers.34.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
542
+ "decoder.model.layers.34.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
543
+ "decoder.model.layers.34.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
544
+ "decoder.model.layers.34.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
545
+ "decoder.model.layers.34.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
546
+ "decoder.model.layers.34.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
547
+ "decoder.model.layers.34.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
548
+ "decoder.lm_head.weight_t": "model-00002-of-00002.safetensors"
549
+ }
550
+ }
bf16/cuda/embedding/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47d105fc7ae637554a6552b90e4335caa175427b8770d1891e3602cb869776e0
3
+ size 8656
bf16/cuda/embedding/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741c3297844e13c22a8eae3db118a94ae7d296e490d25e12e1a90c3d143f8681
3
+ size 805312824
bf16/cuda/genai_config.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "type": "gemma4",
4
+ "vocab_size": 262144,
5
+ "context_length": 131072,
6
+ "decoder": {
7
+ "session_options": {
8
+ "log_id": "onnxruntime-genai",
9
+ "provider_options": [
10
+ {
11
+ "CUDAExecutionProvider": {
12
+ "enable_cuda_graph": "0",
13
+ "enable_skip_layer_norm_strict_mode": "1"
14
+ }
15
+ }
16
+ ]
17
+ },
18
+ "filename": "decoder/model.onnx",
19
+ "head_size": 256,
20
+ "hidden_size": 1536,
21
+ "inputs": {
22
+ "inputs_embeds": "inputs_embeds",
23
+ "attention_mask": "attention_mask",
24
+ "position_ids": "position_ids",
25
+ "input_ids": "input_ids",
26
+ "past_key_names": "past_key_values.%d.key",
27
+ "past_value_names": "past_key_values.%d.value"
28
+ },
29
+ "outputs": {
30
+ "logits": "logits",
31
+ "present_key_names": "present.%d.key",
32
+ "present_value_names": "present.%d.value"
33
+ },
34
+ "num_attention_heads": 8,
35
+ "num_hidden_layers": 35,
36
+ "num_key_value_heads": 1
37
+ },
38
+ "bos_token_id": 2,
39
+ "eos_token_id": [
40
+ 1,
41
+ 106
42
+ ],
43
+ "pad_token_id": 0,
44
+ "vision": {
45
+ "filename": "vision_encoder/model.onnx",
46
+ "config_filename": "image_processor.json",
47
+ "inputs": {
48
+ "pixel_values": "pixel_values",
49
+ "pixel_position_ids": "pixel_position_ids"
50
+ },
51
+ "outputs": {
52
+ "image_features": "image_features"
53
+ },
54
+ "session_options": {
55
+ "log_id": "onnxruntime-genai",
56
+ "provider_options": [
57
+ {
58
+ "CUDAExecutionProvider": {
59
+ "enable_cuda_graph": "0",
60
+ "enable_skip_layer_norm_strict_mode": "1"
61
+ }
62
+ }
63
+ ]
64
+ },
65
+ "spatial_merge_size": 2
66
+ },
67
+ "embedding": {
68
+ "filename": "embedding/model.onnx",
69
+ "inputs": {
70
+ "input_ids": "input_ids",
71
+ "image_features": "image_features",
72
+ "audio_features": "audio_features"
73
+ },
74
+ "outputs": {
75
+ "inputs_embeds": "inputs_embeds"
76
+ },
77
+ "session_options": {
78
+ "log_id": "onnxruntime-genai",
79
+ "provider_options": [
80
+ {
81
+ "CUDAExecutionProvider": {
82
+ "enable_cuda_graph": "0",
83
+ "enable_skip_layer_norm_strict_mode": "1"
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ },
89
+ "speech": {
90
+ "filename": "audio_encoder/model.onnx",
91
+ "config_filename": "audio_feature_extraction.json",
92
+ "inputs": {
93
+ "audio_embeds": "input_features",
94
+ "attention_mask": "input_features_mask"
95
+ },
96
+ "outputs": {
97
+ "audio_features": "audio_features"
98
+ },
99
+ "session_options": {
100
+ "log_id": "onnxruntime-genai",
101
+ "provider_options": [
102
+ {
103
+ "CUDAExecutionProvider": {
104
+ "enable_cuda_graph": "0",
105
+ "enable_skip_layer_norm_strict_mode": "1"
106
+ }
107
+ }
108
+ ]
109
+ }
110
+ },
111
+ "image_token_id": 258880,
112
+ "audio_token_id": 258881,
113
+ "boa_token_id": 256000
114
+ },
115
+ "search": {
116
+ "do_sample": true,
117
+ "early_stopping": true,
118
+ "max_length": 131072,
119
+ "min_length": 0,
120
+ "num_beams": 1,
121
+ "num_return_sequences": 1,
122
+ "past_present_share_buffer": false,
123
+ "repetition_penalty": 1.0,
124
+ "temperature": 1.0,
125
+ "top_k": 1,
126
+ "top_p": 1.0
127
+ }
128
+ }
bf16/cuda/image_processor.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "processor": {
3
+ "name": "gemma_4_image_processing",
4
+ "transforms": [
5
+ {
6
+ "operation": {
7
+ "name": "decode_image",
8
+ "type": "DecodeImage",
9
+ "attrs": {
10
+ "color_space": "RGB"
11
+ }
12
+ }
13
+ },
14
+ {
15
+ "operation": {
16
+ "name": "gemma4_image_transform",
17
+ "type": "Gemma4ImageTransform",
18
+ "attrs": {
19
+ "patch_size": 16,
20
+ "max_soft_tokens": 280,
21
+ "pooling_kernel_size": 3
22
+ }
23
+ }
24
+ }
25
+ ]
26
+ }
27
+ }
bf16/cuda/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
3
+ size 32169626
bf16/cuda/tokenizer_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "mask_token": "<mask>",
21
+ "model_max_length": 1000000000000000019884624838656,
22
+ "pad_token": "<pad>",
23
+ "padding_side": "left",
24
+ "processor_class": "Gemma4Processor",
25
+ "response_schema": {
26
+ "type": "object",
27
+ "properties": {
28
+ "role": {
29
+ "const": "assistant"
30
+ },
31
+ "thinking": {
32
+ "type": "string"
33
+ },
34
+ "content": {
35
+ "type": "string"
36
+ },
37
+ "tool_calls": {
38
+ "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>",
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "properties": {
43
+ "type": {
44
+ "const": "function"
45
+ },
46
+ "function": {
47
+ "type": "object",
48
+ "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})",
49
+ "properties": {
50
+ "name": {
51
+ "type": "string"
52
+ },
53
+ "arguments": {
54
+ "type": "object",
55
+ "x-parser": "gemma4-tool-call",
56
+ "additionalProperties": {}
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
65
+ },
66
+ "soc_token": "<|channel>",
67
+ "sot_token": "<|turn>",
68
+ "stc_token": "<|tool_call>",
69
+ "std_token": "<|tool>",
70
+ "str_token": "<|tool_response>",
71
+ "think_token": "<|think|>",
72
+ "tokenizer_class": "GemmaTokenizer",
73
+ "unk_token": "<unk>",
74
+ "chat_template": "{%- macro format_parameters(properties, required, filter_keys=false) -%}\n {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in properties | dictsort -%}\n {%- set add_comma = false -%}\n {%- if not filter_keys or key not in standard_keys -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {{ key }}:{\n {%- if value['description'] -%}\n description:<|\"|>{{ value['description'] }}<|\"|>\n {%- set add_comma = true -%}\n {%- endif -%}\n {%- if value['type'] | upper == 'STRING' -%}\n {%- if value['enum'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n enum:{{ format_argument(value['enum']) }}\n {%- endif -%}\n {%- elif value['type'] | upper == 'ARRAY' -%}\n {%- if value['items'] is mapping and value['items'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n items:{\n {%- set ns_items = namespace(found_first=false) -%}\n {%- for item_key, item_value in value['items'] | dictsort -%}\n {%- if item_value is not none -%}\n {%- if ns_items.found_first %},{% endif -%}\n {%- set ns_items.found_first = true -%}\n {%- if item_key == 'properties' -%}\n properties:{\n {%- if item_value is mapping -%}\n {{- format_parameters(item_value, value['items']['required'] | default([])) -}}\n {%- endif -%}\n }\n {%- elif item_key == 'required' -%}\n required:[\n {%- for req_item in item_value -%}\n <|\"|>{{- req_item -}}<|\"|>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- elif item_key == 'type' -%}\n {%- if item_value is string -%}\n type:{{ format_argument(item_value | upper) }}\n {%- else -%}\n type:{{ format_argument(item_value | map('upper') | list) }}\n {%- endif -%}\n {%- else -%}\n {{ item_key }}:{{ format_argument(item_value) }}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n }\n {%- endif -%}\n {%- endif -%}\n {%- if value['nullable'] %}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n nullable:true\n {%- endif -%}\n {%- if value['type'] | upper == 'OBJECT' -%}\n {%- if value['properties'] is defined and value['properties'] is mapping -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n properties:{\n {{- format_parameters(value['properties'], value['required'] | default([])) -}}\n }\n {%- elif value is mapping -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n properties:{\n {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}\n }\n {%- endif -%}\n {%- if value['required'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n required:[\n {%- for item in value['required'] | default([]) -%}\n <|\"|>{{- item -}}<|\"|>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- endif -%}\n {%- endif -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n type:<|\"|>{{ value['type'] | upper }}<|\"|>}\n {%- endif -%}\n {%- endfor -%}\n{%- endmacro -%}\n{%- macro format_function_declaration(tool_data) -%}\n declaration:{{- tool_data['function']['name'] -}}{description:<|\"|>{{- tool_data['function']['description'] -}}<|\"|>\n {%- set params = tool_data['function']['parameters'] -%}\n {%- if params -%}\n ,parameters:{\n {%- if params['properties'] -%}\n properties:{ {{- format_parameters(params['properties'], params['required']) -}} },\n {%- endif -%}\n {%- if params['required'] -%}\n required:[\n {%- for item in params['required'] -%}\n <|\"|>{{- item -}}<|\"|>\n {{- ',' if not loop.last -}}\n {%- endfor -%}\n ],\n {%- endif -%}\n {%- if params['type'] -%}\n type:<|\"|>{{- params['type'] | upper -}}<|\"|>}\n {%- endif -%}\n {%- endif -%}\n {%- if 'response' in tool_data['function'] -%}\n {%- set response_declaration = tool_data['function']['response'] -%}\n ,response:{\n {%- if response_declaration['description'] -%}\n description:<|\"|>{{- response_declaration['description'] -}}<|\"|>,\n {%- endif -%}\n {%- if response_declaration['type'] | upper == 'OBJECT' -%}\n type:<|\"|>{{- response_declaration['type'] | upper -}}<|\"|>}\n {%- endif -%}\n {%- endif -%}\n }\n{%- endmacro -%}\n{%- macro format_argument(argument, escape_keys=True) -%}\n {%- if argument is string -%}\n {{- '<|\"|>' + argument + '<|\"|>' -}}\n {%- elif argument is boolean -%}\n {{- 'true' if argument else 'false' -}}\n {%- elif argument is mapping -%}\n {{- '{' -}}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in argument | dictsort -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {%- if escape_keys -%}\n {{- '<|\"|>' + key + '<|\"|>' -}}\n {%- else -%}\n {{- key -}}\n {%- endif -%}\n :{{- format_argument(value, escape_keys=escape_keys) -}}\n {%- endfor -%}\n {{- '}' -}}\n {%- elif argument is sequence -%}\n {{- '[' -}}\n {%- for item in argument -%}\n {{- format_argument(item, escape_keys=escape_keys) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- ']' -}}\n {%- else -%}\n {{- argument -}}\n {%- endif -%}\n{%- endmacro -%}\n{%- macro strip_thinking(text) -%}\n {%- set ns = namespace(result='') -%}\n {%- for part in text.split('<channel|>') -%}\n {%- if '<|channel>' in part -%}\n {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}\n {%- else -%}\n {%- set ns.result = ns.result + part -%}\n {%- endif -%}\n {%- endfor -%}\n {{- ns.result | trim -}}\n{%- endmacro -%}\n\n{%- macro format_tool_response_block(tool_name, response) -%}\n {{- '<|tool_response>' -}}\n {%- if response is mapping -%}\n {{- 'response:' + tool_name + '{' -}}\n {%- for key, value in response | dictsort -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- '}' -}}\n {%- else -%}\n {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}\n {%- endif -%}\n {{- '<tool_response|>' -}}\n{%- endmacro -%}\n\n{%- set ns = namespace(prev_message_type=None) -%}\n{%- set loop_messages = messages -%}\n{{- bos_token -}}\n{#- Handle System/Tool Definitions Block -#}\n{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}\n {{- '<|turn>system\\n' -}}\n {#- Inject Thinking token at the very top of the FIRST system turn -#}\n {%- if enable_thinking is defined and enable_thinking -%}\n {{- '<|think|>\\n' -}}\n {%- set ns.prev_message_type = 'think' -%}\n {%- endif -%}\n {%- if messages[0]['role'] in ['system', 'developer'] -%}\n {%- if messages[0]['content'] is string -%}\n {{- messages[0]['content'] | trim -}}\n {%- elif messages[0]['content'] is sequence -%}\n {%- for item in messages[0]['content'] -%}\n {{- item['text'] | trim + ' '-}}\n {%- endfor -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n {%- endif -%}\n {%- if tools -%}\n {%- for tool in tools %}\n {{- '<|tool>' -}}\n {{- format_function_declaration(tool) | trim -}}\n {{- '<tool|>' -}}\n {%- endfor %}\n {%- set ns.prev_message_type = 'tool' -%}\n {%- endif -%}\n {{- '<turn|>\\n' -}}\n{%- endif %}\n\n{#- Pre-scan: find last user message index for reasoning guard -#}\n{%- set ns_turn = namespace(last_user_idx=-1) -%}\n{%- for i in range(loop_messages | length) -%}\n {%- if loop_messages[i]['role'] == 'user' -%}\n {%- set ns_turn.last_user_idx = i -%}\n {%- endif -%}\n{%- endfor -%}\n\n{#- Loop through messages -#}\n{%- for message in loop_messages -%}\n {%- if message['role'] != 'tool' -%}\n {%- set ns.prev_message_type = None -%}\n {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}\n {#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}\n {%- set prev_nt = namespace(role=None, found=false) -%}\n {%- if loop.index0 > 0 -%}\n {%- for j in range(loop.index0 - 1, -1, -1) -%}\n {%- if not prev_nt.found -%}\n {%- if loop_messages[j]['role'] != 'tool' -%}\n {%- set prev_nt.role = loop_messages[j]['role'] -%}\n {%- set prev_nt.found = true -%}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}\n {%- if not continue_same_model_turn -%}\n {{- '<|turn>' + role + '\\n' }}\n {%- endif -%}\n\n {#- Render reasoning/reasoning_content as thinking channel -#}\n {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}\n {%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}\n {{- '<|channel>thought\\n' + thinking_text + '\\n<channel|>' -}}\n {%- endif -%}\n\n {%- if message['tool_calls'] -%}\n {%- for tool_call in message['tool_calls'] -%}\n {%- set function = tool_call['function'] -%}\n {{- '<|tool_call>call:' + function['name'] + '{' -}}\n {%- if function['arguments'] is mapping -%}\n {%- set ns_args = namespace(found_first=false) -%}\n {%- for key, value in function['arguments'] | dictsort -%}\n {%- if ns_args.found_first %},{% endif -%}\n {%- set ns_args.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {%- elif function['arguments'] is string -%}\n {{- function['arguments'] -}}\n {%- endif -%}\n {{- '}<tool_call|>' -}}\n {%- endfor -%}\n {%- set ns.prev_message_type = 'tool_call' -%}\n {%- endif -%}\n\n {%- set ns_tr_out = namespace(flag=false) -%}\n {%- if message.get('tool_responses') -%}\n {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}\n {%- for tool_response in message['tool_responses'] -%}\n {{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}\n {%- set ns_tr_out.flag = true -%}\n {%- set ns.prev_message_type = 'tool_response' -%}\n {%- endfor -%}\n {%- elif message.get('tool_calls') -%}\n {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}\n {%- set ns_tool_scan = namespace(stopped=false) -%}\n {%- for k in range(loop.index0 + 1, loop_messages | length) -%}\n {%- if ns_tool_scan.stopped -%}\n {%- elif loop_messages[k]['role'] != 'tool' -%}\n {%- set ns_tool_scan.stopped = true -%}\n {%- else -%}\n {%- set follow = loop_messages[k] -%}\n {#- Resolve tool_call_id to function name -#}\n {%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}\n {%- for tc in message['tool_calls'] -%}\n {%- if tc.get('id') == follow.get('tool_call_id') -%}\n {%- set ns_tname.name = tc['function']['name'] -%}\n {%- endif -%}\n {%- endfor -%}\n {#- Handle content as string or content-parts array -#}\n {%- set tool_body = follow.get('content') -%}\n {%- if tool_body is string -%}\n {{- format_tool_response_block(ns_tname.name, tool_body) -}}\n {%- elif tool_body is sequence and tool_body is not string -%}\n {%- set ns_txt = namespace(s='') -%}\n {%- for part in tool_body -%}\n {%- if part.get('type') == 'text' -%}\n {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}\n {%- endif -%}\n {%- endfor -%}\n {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}\n {%- else -%}\n {{- format_tool_response_block(ns_tname.name, tool_body) -}}\n {%- endif -%}\n {%- set ns_tr_out.flag = true -%}\n {%- set ns.prev_message_type = 'tool_response' -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- set captured_content -%}\n {%- if message['content'] is string -%}\n {%- if role == 'model' -%}\n {{- strip_thinking(message['content']) -}}\n {%- else -%}\n {{- message['content'] | trim -}}\n {%- endif -%}\n {%- elif message['content'] is sequence -%}\n {%- for item in message['content'] -%}\n {%- if item['type'] == 'text' -%}\n {%- if role == 'model' -%}\n {{- strip_thinking(item['text']) -}}\n {%- else -%}\n {{- item['text'] | trim -}}\n {%- endif -%}\n {%- elif item['type'] == 'image' -%}\n {{- '<|image|>' -}}\n {%- set ns.prev_message_type = 'image' -%}\n {%- elif item['type'] == 'audio' -%}\n {{- '<|audio|>' -}}\n {%- set ns.prev_message_type = 'audio' -%}\n {%- elif item['type'] == 'video' -%}\n {{- '<|video|>' -}}\n {%- set ns.prev_message_type = 'video' -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- endset -%}\n\n {{- captured_content -}}\n {%- set has_content = captured_content | trim | length > 0 -%}\n\n {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}\n {{- '<|tool_response>' -}}\n {%- elif not (ns_tr_out.flag and not has_content) -%}\n {{- '<turn|>\\n' -}}\n {%- endif -%}\n {%- endif -%}\n{%- endfor -%}\n\n{%- if add_generation_prompt -%}\n {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}\n {{- '<|turn>model\\n' -}}\n {%- endif -%}\n{%- endif -%}"
75
+ }
bf16/cuda/vision_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b1aa8d01379401cce914cd2bed70e776238d174ee6b08c016ae94c6b3617c48
3
+ size 1239595
bf16/cuda/vision_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33fd860d1ce013444d2f16667e4625045971ad0ca905d1cb3b62feae2e937ba9
3
+ size 358083464
bf16/default/audio_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b91d094783cb3847141ea5f13529c2348c226a0024a4ed4433754611552a3b7
3
+ size 1239093
bf16/default/audio_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbbb99ee9ece21e21b59d81c3d2a60b04d05dc4511951a2a8ab5aa48af4e3c0d
3
+ size 614725024
bf16/default/audio_feature_extraction.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extraction": {
3
+ "sequence": [
4
+ {
5
+ "operation": {
6
+ "name": "audio_decoder",
7
+ "type": "AudioDecoder"
8
+ }
9
+ },
10
+ {
11
+ "operation": {
12
+ "name": "gemma4_log_mel",
13
+ "type": "Gemma4LogMel",
14
+ "attrs": {
15
+ "feature_size": 128,
16
+ "sampling_rate": 16000,
17
+ "frame_length_ms": 20.0,
18
+ "hop_length_ms": 10.0,
19
+ "min_frequency": 0.0,
20
+ "max_frequency": 8000.0,
21
+ "preemphasis": 0.0,
22
+ "preemphasis_htk_flavor": 1,
23
+ "fft_overdrive": 0,
24
+ "mel_floor": 0.001
25
+ }
26
+ }
27
+ }
28
+ ]
29
+ }
30
+ }
bf16/default/chat_template.jinja ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- macro format_parameters(properties, required, filter_keys=false) -%}
2
+ {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
3
+ {%- set ns = namespace(found_first=false) -%}
4
+ {%- for key, value in properties | dictsort -%}
5
+ {%- set add_comma = false -%}
6
+ {%- if not filter_keys or key not in standard_keys -%}
7
+ {%- if ns.found_first %},{% endif -%}
8
+ {%- set ns.found_first = true -%}
9
+ {{ key }}:{
10
+ {%- if value['description'] -%}
11
+ description:<|"|>{{ value['description'] }}<|"|>
12
+ {%- set add_comma = true -%}
13
+ {%- endif -%}
14
+ {%- if value['type'] | upper == 'STRING' -%}
15
+ {%- if value['enum'] -%}
16
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
17
+ enum:{{ format_argument(value['enum']) }}
18
+ {%- endif -%}
19
+ {%- elif value['type'] | upper == 'ARRAY' -%}
20
+ {%- if value['items'] is mapping and value['items'] -%}
21
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
22
+ items:{
23
+ {%- set ns_items = namespace(found_first=false) -%}
24
+ {%- for item_key, item_value in value['items'] | dictsort -%}
25
+ {%- if item_value is not none -%}
26
+ {%- if ns_items.found_first %},{% endif -%}
27
+ {%- set ns_items.found_first = true -%}
28
+ {%- if item_key == 'properties' -%}
29
+ properties:{
30
+ {%- if item_value is mapping -%}
31
+ {{- format_parameters(item_value, value['items']['required'] | default([])) -}}
32
+ {%- endif -%}
33
+ }
34
+ {%- elif item_key == 'required' -%}
35
+ required:[
36
+ {%- for req_item in item_value -%}
37
+ <|"|>{{- req_item -}}<|"|>
38
+ {%- if not loop.last %},{% endif -%}
39
+ {%- endfor -%}
40
+ ]
41
+ {%- elif item_key == 'type' -%}
42
+ {%- if item_value is string -%}
43
+ type:{{ format_argument(item_value | upper) }}
44
+ {%- else -%}
45
+ type:{{ format_argument(item_value | map('upper') | list) }}
46
+ {%- endif -%}
47
+ {%- else -%}
48
+ {{ item_key }}:{{ format_argument(item_value) }}
49
+ {%- endif -%}
50
+ {%- endif -%}
51
+ {%- endfor -%}
52
+ }
53
+ {%- endif -%}
54
+ {%- endif -%}
55
+ {%- if value['nullable'] %}
56
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
57
+ nullable:true
58
+ {%- endif -%}
59
+ {%- if value['type'] | upper == 'OBJECT' -%}
60
+ {%- if value['properties'] is defined and value['properties'] is mapping -%}
61
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
62
+ properties:{
63
+ {{- format_parameters(value['properties'], value['required'] | default([])) -}}
64
+ }
65
+ {%- elif value is mapping -%}
66
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
67
+ properties:{
68
+ {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}
69
+ }
70
+ {%- endif -%}
71
+ {%- if value['required'] -%}
72
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
73
+ required:[
74
+ {%- for item in value['required'] | default([]) -%}
75
+ <|"|>{{- item -}}<|"|>
76
+ {%- if not loop.last %},{% endif -%}
77
+ {%- endfor -%}
78
+ ]
79
+ {%- endif -%}
80
+ {%- endif -%}
81
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
82
+ type:<|"|>{{ value['type'] | upper }}<|"|>}
83
+ {%- endif -%}
84
+ {%- endfor -%}
85
+ {%- endmacro -%}
86
+ {%- macro format_function_declaration(tool_data) -%}
87
+ declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
88
+ {%- set params = tool_data['function']['parameters'] -%}
89
+ {%- if params -%}
90
+ ,parameters:{
91
+ {%- if params['properties'] -%}
92
+ properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
93
+ {%- endif -%}
94
+ {%- if params['required'] -%}
95
+ required:[
96
+ {%- for item in params['required'] -%}
97
+ <|"|>{{- item -}}<|"|>
98
+ {{- ',' if not loop.last -}}
99
+ {%- endfor -%}
100
+ ],
101
+ {%- endif -%}
102
+ {%- if params['type'] -%}
103
+ type:<|"|>{{- params['type'] | upper -}}<|"|>}
104
+ {%- endif -%}
105
+ {%- endif -%}
106
+ {%- if 'response' in tool_data['function'] -%}
107
+ {%- set response_declaration = tool_data['function']['response'] -%}
108
+ ,response:{
109
+ {%- if response_declaration['description'] -%}
110
+ description:<|"|>{{- response_declaration['description'] -}}<|"|>,
111
+ {%- endif -%}
112
+ {%- if response_declaration['type'] | upper == 'OBJECT' -%}
113
+ type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
114
+ {%- endif -%}
115
+ {%- endif -%}
116
+ }
117
+ {%- endmacro -%}
118
+ {%- macro format_argument(argument, escape_keys=True) -%}
119
+ {%- if argument is string -%}
120
+ {{- '<|"|>' + argument + '<|"|>' -}}
121
+ {%- elif argument is boolean -%}
122
+ {{- 'true' if argument else 'false' -}}
123
+ {%- elif argument is mapping -%}
124
+ {{- '{' -}}
125
+ {%- set ns = namespace(found_first=false) -%}
126
+ {%- for key, value in argument | dictsort -%}
127
+ {%- if ns.found_first %},{% endif -%}
128
+ {%- set ns.found_first = true -%}
129
+ {%- if escape_keys -%}
130
+ {{- '<|"|>' + key + '<|"|>' -}}
131
+ {%- else -%}
132
+ {{- key -}}
133
+ {%- endif -%}
134
+ :{{- format_argument(value, escape_keys=escape_keys) -}}
135
+ {%- endfor -%}
136
+ {{- '}' -}}
137
+ {%- elif argument is sequence -%}
138
+ {{- '[' -}}
139
+ {%- for item in argument -%}
140
+ {{- format_argument(item, escape_keys=escape_keys) -}}
141
+ {%- if not loop.last %},{% endif -%}
142
+ {%- endfor -%}
143
+ {{- ']' -}}
144
+ {%- else -%}
145
+ {{- argument -}}
146
+ {%- endif -%}
147
+ {%- endmacro -%}
148
+ {%- macro strip_thinking(text) -%}
149
+ {%- set ns = namespace(result='') -%}
150
+ {%- for part in text.split('<channel|>') -%}
151
+ {%- if '<|channel>' in part -%}
152
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
153
+ {%- else -%}
154
+ {%- set ns.result = ns.result + part -%}
155
+ {%- endif -%}
156
+ {%- endfor -%}
157
+ {{- ns.result | trim -}}
158
+ {%- endmacro -%}
159
+
160
+ {%- macro format_tool_response_block(tool_name, response) -%}
161
+ {{- '<|tool_response>' -}}
162
+ {%- if response is mapping -%}
163
+ {{- 'response:' + tool_name + '{' -}}
164
+ {%- for key, value in response | dictsort -%}
165
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
166
+ {%- if not loop.last %},{% endif -%}
167
+ {%- endfor -%}
168
+ {{- '}' -}}
169
+ {%- else -%}
170
+ {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
171
+ {%- endif -%}
172
+ {{- '<tool_response|>' -}}
173
+ {%- endmacro -%}
174
+
175
+ {%- set ns = namespace(prev_message_type=None) -%}
176
+ {%- set loop_messages = messages -%}
177
+ {{- bos_token -}}
178
+ {#- Handle System/Tool Definitions Block -#}
179
+ {%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
180
+ {{- '<|turn>system\n' -}}
181
+ {#- Inject Thinking token at the very top of the FIRST system turn -#}
182
+ {%- if enable_thinking is defined and enable_thinking -%}
183
+ {{- '<|think|>\n' -}}
184
+ {%- set ns.prev_message_type = 'think' -%}
185
+ {%- endif -%}
186
+ {%- if messages[0]['role'] in ['system', 'developer'] -%}
187
+ {%- if messages[0]['content'] is string -%}
188
+ {{- messages[0]['content'] | trim -}}
189
+ {%- elif messages[0]['content'] is sequence -%}
190
+ {%- for item in messages[0]['content'] -%}
191
+ {{- item['text'] | trim + ' '-}}
192
+ {%- endfor -%}
193
+ {%- endif -%}
194
+ {%- set loop_messages = messages[1:] -%}
195
+ {%- endif -%}
196
+ {%- if tools -%}
197
+ {%- for tool in tools %}
198
+ {{- '<|tool>' -}}
199
+ {{- format_function_declaration(tool) | trim -}}
200
+ {{- '<tool|>' -}}
201
+ {%- endfor %}
202
+ {%- set ns.prev_message_type = 'tool' -%}
203
+ {%- endif -%}
204
+ {{- '<turn|>\n' -}}
205
+ {%- endif %}
206
+
207
+ {#- Pre-scan: find last user message index for reasoning guard -#}
208
+ {%- set ns_turn = namespace(last_user_idx=-1) -%}
209
+ {%- for i in range(loop_messages | length) -%}
210
+ {%- if loop_messages[i]['role'] == 'user' -%}
211
+ {%- set ns_turn.last_user_idx = i -%}
212
+ {%- endif -%}
213
+ {%- endfor -%}
214
+
215
+ {#- Loop through messages -#}
216
+ {%- for message in loop_messages -%}
217
+ {%- if message['role'] != 'tool' -%}
218
+ {%- set ns.prev_message_type = None -%}
219
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
220
+ {#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}
221
+ {%- set prev_nt = namespace(role=None, found=false) -%}
222
+ {%- if loop.index0 > 0 -%}
223
+ {%- for j in range(loop.index0 - 1, -1, -1) -%}
224
+ {%- if not prev_nt.found -%}
225
+ {%- if loop_messages[j]['role'] != 'tool' -%}
226
+ {%- set prev_nt.role = loop_messages[j]['role'] -%}
227
+ {%- set prev_nt.found = true -%}
228
+ {%- endif -%}
229
+ {%- endif -%}
230
+ {%- endfor -%}
231
+ {%- endif -%}
232
+ {%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}
233
+ {%- if not continue_same_model_turn -%}
234
+ {{- '<|turn>' + role + '\n' }}
235
+ {%- endif -%}
236
+
237
+ {#- Render reasoning/reasoning_content as thinking channel -#}
238
+ {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
239
+ {%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}
240
+ {{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
241
+ {%- endif -%}
242
+
243
+ {%- if message['tool_calls'] -%}
244
+ {%- for tool_call in message['tool_calls'] -%}
245
+ {%- set function = tool_call['function'] -%}
246
+ {{- '<|tool_call>call:' + function['name'] + '{' -}}
247
+ {%- if function['arguments'] is mapping -%}
248
+ {%- set ns_args = namespace(found_first=false) -%}
249
+ {%- for key, value in function['arguments'] | dictsort -%}
250
+ {%- if ns_args.found_first %},{% endif -%}
251
+ {%- set ns_args.found_first = true -%}
252
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
253
+ {%- endfor -%}
254
+ {%- elif function['arguments'] is string -%}
255
+ {{- function['arguments'] -}}
256
+ {%- endif -%}
257
+ {{- '}<tool_call|>' -}}
258
+ {%- endfor -%}
259
+ {%- set ns.prev_message_type = 'tool_call' -%}
260
+ {%- endif -%}
261
+
262
+ {%- set ns_tr_out = namespace(flag=false) -%}
263
+ {%- if message.get('tool_responses') -%}
264
+ {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
265
+ {%- for tool_response in message['tool_responses'] -%}
266
+ {{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}
267
+ {%- set ns_tr_out.flag = true -%}
268
+ {%- set ns.prev_message_type = 'tool_response' -%}
269
+ {%- endfor -%}
270
+ {%- elif message.get('tool_calls') -%}
271
+ {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
272
+ {%- set ns_tool_scan = namespace(stopped=false) -%}
273
+ {%- for k in range(loop.index0 + 1, loop_messages | length) -%}
274
+ {%- if ns_tool_scan.stopped -%}
275
+ {%- elif loop_messages[k]['role'] != 'tool' -%}
276
+ {%- set ns_tool_scan.stopped = true -%}
277
+ {%- else -%}
278
+ {%- set follow = loop_messages[k] -%}
279
+ {#- Resolve tool_call_id to function name -#}
280
+ {%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}
281
+ {%- for tc in message['tool_calls'] -%}
282
+ {%- if tc.get('id') == follow.get('tool_call_id') -%}
283
+ {%- set ns_tname.name = tc['function']['name'] -%}
284
+ {%- endif -%}
285
+ {%- endfor -%}
286
+ {#- Handle content as string or content-parts array -#}
287
+ {%- set tool_body = follow.get('content') -%}
288
+ {%- if tool_body is string -%}
289
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
290
+ {%- elif tool_body is sequence and tool_body is not string -%}
291
+ {%- set ns_txt = namespace(s='') -%}
292
+ {%- for part in tool_body -%}
293
+ {%- if part.get('type') == 'text' -%}
294
+ {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
295
+ {%- endif -%}
296
+ {%- endfor -%}
297
+ {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
298
+ {%- else -%}
299
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
300
+ {%- endif -%}
301
+ {%- set ns_tr_out.flag = true -%}
302
+ {%- set ns.prev_message_type = 'tool_response' -%}
303
+ {%- endif -%}
304
+ {%- endfor -%}
305
+ {%- endif -%}
306
+
307
+ {%- set captured_content -%}
308
+ {%- if message['content'] is string -%}
309
+ {%- if role == 'model' -%}
310
+ {{- strip_thinking(message['content']) -}}
311
+ {%- else -%}
312
+ {{- message['content'] | trim -}}
313
+ {%- endif -%}
314
+ {%- elif message['content'] is sequence -%}
315
+ {%- for item in message['content'] -%}
316
+ {%- if item['type'] == 'text' -%}
317
+ {%- if role == 'model' -%}
318
+ {{- strip_thinking(item['text']) -}}
319
+ {%- else -%}
320
+ {{- item['text'] | trim -}}
321
+ {%- endif -%}
322
+ {%- elif item['type'] == 'image' -%}
323
+ {{- '<|image|>' -}}
324
+ {%- set ns.prev_message_type = 'image' -%}
325
+ {%- elif item['type'] == 'audio' -%}
326
+ {{- '<|audio|>' -}}
327
+ {%- set ns.prev_message_type = 'audio' -%}
328
+ {%- elif item['type'] == 'video' -%}
329
+ {{- '<|video|>' -}}
330
+ {%- set ns.prev_message_type = 'video' -%}
331
+ {%- endif -%}
332
+ {%- endfor -%}
333
+ {%- endif -%}
334
+ {%- endset -%}
335
+
336
+ {{- captured_content -}}
337
+ {%- set has_content = captured_content | trim | length > 0 -%}
338
+
339
+ {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
340
+ {{- '<|tool_response>' -}}
341
+ {%- elif not (ns_tr_out.flag and not has_content) -%}
342
+ {{- '<turn|>\n' -}}
343
+ {%- endif -%}
344
+ {%- endif -%}
345
+ {%- endfor -%}
346
+
347
+ {%- if add_generation_prompt -%}
348
+ {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
349
+ {{- '<|turn>model\n' -}}
350
+ {%- endif -%}
351
+ {%- endif -%}
bf16/default/decoder/model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e554c5c22e59f60d8d5eee7505bac60e74da7a8d4be57666b3e9a4c2e2fba046
3
+ size 4999430520
bf16/default/decoder/model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e3a718a5ed0fbfe379dbd95d01ccb26a59522db7d6490645a83e6c20a63dd6a
3
+ size 4459103336
bf16/default/decoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4599f57e737314b94d50e6d324c9bbb52c3bde7050e5288ea9483cff90c29591
3
+ size 915092
bf16/default/decoder/model.safetensors.index.json ADDED
@@ -0,0 +1,550 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 9458465280
4
+ },
5
+ "weight_map": {
6
+ "decoder.model.per_layer_projection_norm.weight": "model-00001-of-00002.safetensors",
7
+ "decoder.model.embed_tokens_per_layer.0.weight": "model-00001-of-00002.safetensors",
8
+ "decoder.model.embed_tokens_per_layer.1.weight": "model-00001-of-00002.safetensors",
9
+ "decoder.model.embed_tokens_per_layer.2.weight": "model-00001-of-00002.safetensors",
10
+ "decoder.model.embed_tokens_per_layer.3.weight": "model-00001-of-00002.safetensors",
11
+ "decoder.model.embed_tokens_per_layer.4.weight": "model-00001-of-00002.safetensors",
12
+ "decoder.model.embed_tokens_per_layer.5.weight": "model-00001-of-00002.safetensors",
13
+ "decoder.model.embed_tokens_per_layer.6.weight": "model-00001-of-00002.safetensors",
14
+ "decoder.model.embed_tokens_per_layer.7.weight": "model-00001-of-00002.safetensors",
15
+ "decoder.model.embed_tokens_per_layer.8.weight": "model-00001-of-00002.safetensors",
16
+ "decoder.model.embed_tokens_per_layer.9.weight": "model-00001-of-00002.safetensors",
17
+ "decoder.model.embed_tokens_per_layer.10.weight": "model-00001-of-00002.safetensors",
18
+ "decoder.model.embed_tokens_per_layer.11.weight": "model-00001-of-00002.safetensors",
19
+ "decoder.model.embed_tokens_per_layer.12.weight": "model-00001-of-00002.safetensors",
20
+ "decoder.model.embed_tokens_per_layer.13.weight": "model-00001-of-00002.safetensors",
21
+ "decoder.model.embed_tokens_per_layer.14.weight": "model-00001-of-00002.safetensors",
22
+ "decoder.model.embed_tokens_per_layer.15.weight": "model-00001-of-00002.safetensors",
23
+ "decoder.model.embed_tokens_per_layer.16.weight": "model-00001-of-00002.safetensors",
24
+ "decoder.model.embed_tokens_per_layer.17.weight": "model-00001-of-00002.safetensors",
25
+ "decoder.model.embed_tokens_per_layer.18.weight": "model-00001-of-00002.safetensors",
26
+ "decoder.model.embed_tokens_per_layer.19.weight": "model-00001-of-00002.safetensors",
27
+ "decoder.model.embed_tokens_per_layer.20.weight": "model-00001-of-00002.safetensors",
28
+ "decoder.model.embed_tokens_per_layer.21.weight": "model-00001-of-00002.safetensors",
29
+ "decoder.model.embed_tokens_per_layer.22.weight": "model-00001-of-00002.safetensors",
30
+ "decoder.model.embed_tokens_per_layer.23.weight": "model-00001-of-00002.safetensors",
31
+ "decoder.model.embed_tokens_per_layer.24.weight": "model-00001-of-00002.safetensors",
32
+ "decoder.model.embed_tokens_per_layer.25.weight": "model-00001-of-00002.safetensors",
33
+ "decoder.model.embed_tokens_per_layer.26.weight": "model-00001-of-00002.safetensors",
34
+ "decoder.model.embed_tokens_per_layer.27.weight": "model-00001-of-00002.safetensors",
35
+ "decoder.model.embed_tokens_per_layer.28.weight": "model-00001-of-00002.safetensors",
36
+ "decoder.model.embed_tokens_per_layer.29.weight": "model-00001-of-00002.safetensors",
37
+ "decoder.model.embed_tokens_per_layer.30.weight": "model-00001-of-00002.safetensors",
38
+ "decoder.model.embed_tokens_per_layer.31.weight": "model-00001-of-00002.safetensors",
39
+ "decoder.model.embed_tokens_per_layer.32.weight": "model-00001-of-00002.safetensors",
40
+ "decoder.model.embed_tokens_per_layer.33.weight": "model-00001-of-00002.safetensors",
41
+ "decoder.model.embed_tokens_per_layer.34.weight": "model-00001-of-00002.safetensors",
42
+ "decoder.model.rotary_emb_local.cos_cache": "model-00001-of-00002.safetensors",
43
+ "decoder.model.rotary_emb_local.sin_cache": "model-00001-of-00002.safetensors",
44
+ "decoder.model.rotary_emb_global.cos_cache": "model-00001-of-00002.safetensors",
45
+ "decoder.model.rotary_emb_global.sin_cache": "model-00001-of-00002.safetensors",
46
+ "decoder.model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
47
+ "decoder.model.layers.0.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
48
+ "decoder.model.layers.0.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
49
+ "decoder.model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
50
+ "decoder.model.layers.0.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
51
+ "decoder.model.layers.0.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
52
+ "decoder.model.layers.0.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
53
+ "decoder.model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
54
+ "decoder.model.layers.1.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
55
+ "decoder.model.layers.1.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
56
+ "decoder.model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
57
+ "decoder.model.layers.1.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
58
+ "decoder.model.layers.1.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
59
+ "decoder.model.layers.1.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
60
+ "decoder.model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
61
+ "decoder.model.layers.2.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
62
+ "decoder.model.layers.2.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
63
+ "decoder.model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
64
+ "decoder.model.layers.2.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
65
+ "decoder.model.layers.2.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
66
+ "decoder.model.layers.2.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
67
+ "decoder.model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
68
+ "decoder.model.layers.3.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
69
+ "decoder.model.layers.3.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
70
+ "decoder.model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
71
+ "decoder.model.layers.3.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
72
+ "decoder.model.layers.3.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
73
+ "decoder.model.layers.3.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
74
+ "decoder.model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
75
+ "decoder.model.layers.4.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
76
+ "decoder.model.layers.4.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
77
+ "decoder.model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
78
+ "decoder.model.layers.4.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
79
+ "decoder.model.layers.4.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
80
+ "decoder.model.layers.4.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
81
+ "decoder.model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
82
+ "decoder.model.layers.5.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
83
+ "decoder.model.layers.5.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
84
+ "decoder.model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
85
+ "decoder.model.layers.5.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
86
+ "decoder.model.layers.5.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
87
+ "decoder.model.layers.5.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
88
+ "decoder.model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
89
+ "decoder.model.layers.6.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
90
+ "decoder.model.layers.6.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
91
+ "decoder.model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
92
+ "decoder.model.layers.6.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
93
+ "decoder.model.layers.6.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
94
+ "decoder.model.layers.6.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
95
+ "decoder.model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
96
+ "decoder.model.layers.7.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
97
+ "decoder.model.layers.7.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
98
+ "decoder.model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
99
+ "decoder.model.layers.7.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
100
+ "decoder.model.layers.7.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
101
+ "decoder.model.layers.7.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
102
+ "decoder.model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
103
+ "decoder.model.layers.8.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
104
+ "decoder.model.layers.8.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
105
+ "decoder.model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
106
+ "decoder.model.layers.8.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
107
+ "decoder.model.layers.8.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
108
+ "decoder.model.layers.8.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
109
+ "decoder.model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
110
+ "decoder.model.layers.9.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
111
+ "decoder.model.layers.9.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
112
+ "decoder.model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
113
+ "decoder.model.layers.9.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
114
+ "decoder.model.layers.9.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
115
+ "decoder.model.layers.9.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
116
+ "decoder.model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
117
+ "decoder.model.layers.10.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
118
+ "decoder.model.layers.10.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
119
+ "decoder.model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
120
+ "decoder.model.layers.10.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
121
+ "decoder.model.layers.10.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
122
+ "decoder.model.layers.10.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
123
+ "decoder.model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
124
+ "decoder.model.layers.11.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
125
+ "decoder.model.layers.11.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
126
+ "decoder.model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
127
+ "decoder.model.layers.11.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
128
+ "decoder.model.layers.11.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
129
+ "decoder.model.layers.11.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
130
+ "decoder.model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
131
+ "decoder.model.layers.12.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
132
+ "decoder.model.layers.12.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
133
+ "decoder.model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
134
+ "decoder.model.layers.12.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
135
+ "decoder.model.layers.12.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
136
+ "decoder.model.layers.12.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
137
+ "decoder.model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
138
+ "decoder.model.layers.13.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
139
+ "decoder.model.layers.13.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
140
+ "decoder.model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
141
+ "decoder.model.layers.13.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
142
+ "decoder.model.layers.13.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
143
+ "decoder.model.layers.13.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
144
+ "decoder.model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
145
+ "decoder.model.layers.14.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
146
+ "decoder.model.layers.14.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
147
+ "decoder.model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
148
+ "decoder.model.layers.14.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
149
+ "decoder.model.layers.14.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
150
+ "decoder.model.layers.14.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
151
+ "decoder.model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
152
+ "decoder.model.layers.15.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
153
+ "decoder.model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
154
+ "decoder.model.layers.15.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
155
+ "decoder.model.layers.15.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
156
+ "decoder.model.layers.15.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
157
+ "decoder.model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
158
+ "decoder.model.layers.16.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
159
+ "decoder.model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
160
+ "decoder.model.layers.16.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
161
+ "decoder.model.layers.16.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
162
+ "decoder.model.layers.16.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
163
+ "decoder.model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
164
+ "decoder.model.layers.17.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
165
+ "decoder.model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
166
+ "decoder.model.layers.17.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
167
+ "decoder.model.layers.17.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
168
+ "decoder.model.layers.17.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
169
+ "decoder.model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
170
+ "decoder.model.layers.18.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
171
+ "decoder.model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
172
+ "decoder.model.layers.18.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
173
+ "decoder.model.layers.18.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
174
+ "decoder.model.layers.18.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
175
+ "decoder.model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
176
+ "decoder.model.layers.19.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
177
+ "decoder.model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
178
+ "decoder.model.layers.19.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
179
+ "decoder.model.layers.19.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
180
+ "decoder.model.layers.19.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
181
+ "decoder.model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
182
+ "decoder.model.layers.20.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
183
+ "decoder.model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
184
+ "decoder.model.layers.20.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
185
+ "decoder.model.layers.20.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
186
+ "decoder.model.layers.20.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
187
+ "decoder.model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors",
188
+ "decoder.model.layers.21.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
189
+ "decoder.model.layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
190
+ "decoder.model.layers.21.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
191
+ "decoder.model.layers.21.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
192
+ "decoder.model.layers.21.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
193
+ "decoder.model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors",
194
+ "decoder.model.layers.22.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
195
+ "decoder.model.layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
196
+ "decoder.model.layers.22.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
197
+ "decoder.model.layers.22.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
198
+ "decoder.model.layers.22.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
199
+ "decoder.model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors",
200
+ "decoder.model.layers.23.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
201
+ "decoder.model.layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
202
+ "decoder.model.layers.23.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
203
+ "decoder.model.layers.23.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
204
+ "decoder.model.layers.23.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
205
+ "decoder.model.layers.24.input_layernorm.weight": "model-00001-of-00002.safetensors",
206
+ "decoder.model.layers.24.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
207
+ "decoder.model.layers.24.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
208
+ "decoder.model.layers.24.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
209
+ "decoder.model.layers.24.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
210
+ "decoder.model.layers.24.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
211
+ "decoder.model.layers.25.input_layernorm.weight": "model-00001-of-00002.safetensors",
212
+ "decoder.model.layers.25.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
213
+ "decoder.model.layers.25.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
214
+ "decoder.model.layers.25.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
215
+ "decoder.model.layers.25.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
216
+ "decoder.model.layers.25.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
217
+ "decoder.model.layers.26.input_layernorm.weight": "model-00001-of-00002.safetensors",
218
+ "decoder.model.layers.26.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
219
+ "decoder.model.layers.26.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
220
+ "decoder.model.layers.26.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
221
+ "decoder.model.layers.26.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
222
+ "decoder.model.layers.26.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
223
+ "decoder.model.layers.27.input_layernorm.weight": "model-00001-of-00002.safetensors",
224
+ "decoder.model.layers.27.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
225
+ "decoder.model.layers.27.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
226
+ "decoder.model.layers.27.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
227
+ "decoder.model.layers.27.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
228
+ "decoder.model.layers.27.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
229
+ "decoder.model.layers.28.input_layernorm.weight": "model-00001-of-00002.safetensors",
230
+ "decoder.model.layers.28.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
231
+ "decoder.model.layers.28.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
232
+ "decoder.model.layers.28.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
233
+ "decoder.model.layers.28.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
234
+ "decoder.model.layers.28.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
235
+ "decoder.model.layers.29.input_layernorm.weight": "model-00001-of-00002.safetensors",
236
+ "decoder.model.layers.29.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
237
+ "decoder.model.layers.29.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
238
+ "decoder.model.layers.29.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
239
+ "decoder.model.layers.29.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
240
+ "decoder.model.layers.29.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
241
+ "decoder.model.layers.30.input_layernorm.weight": "model-00001-of-00002.safetensors",
242
+ "decoder.model.layers.30.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
243
+ "decoder.model.layers.30.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
244
+ "decoder.model.layers.30.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
245
+ "decoder.model.layers.30.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
246
+ "decoder.model.layers.30.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
247
+ "decoder.model.layers.31.input_layernorm.weight": "model-00001-of-00002.safetensors",
248
+ "decoder.model.layers.31.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
249
+ "decoder.model.layers.31.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
250
+ "decoder.model.layers.31.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
251
+ "decoder.model.layers.31.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
252
+ "decoder.model.layers.31.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
253
+ "decoder.model.layers.32.input_layernorm.weight": "model-00001-of-00002.safetensors",
254
+ "decoder.model.layers.32.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
255
+ "decoder.model.layers.32.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
256
+ "decoder.model.layers.32.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
257
+ "decoder.model.layers.32.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
258
+ "decoder.model.layers.32.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
259
+ "decoder.model.layers.33.input_layernorm.weight": "model-00001-of-00002.safetensors",
260
+ "decoder.model.layers.33.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
261
+ "decoder.model.layers.33.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
262
+ "decoder.model.layers.33.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
263
+ "decoder.model.layers.33.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
264
+ "decoder.model.layers.33.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
265
+ "decoder.model.layers.34.input_layernorm.weight": "model-00001-of-00002.safetensors",
266
+ "decoder.model.layers.34.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
267
+ "decoder.model.layers.34.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
268
+ "decoder.model.layers.34.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
269
+ "decoder.model.layers.34.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
270
+ "decoder.model.layers.34.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
271
+ "decoder.model.norm.weight": "model-00001-of-00002.safetensors",
272
+ "decoder.model.per_layer_model_projection.weight_t": "model-00001-of-00002.safetensors",
273
+ "decoder.model.layers.0.self_attn.q_proj.weight_t": "model-00001-of-00002.safetensors",
274
+ "decoder.model.layers.0.self_attn.k_proj.weight_t": "model-00001-of-00002.safetensors",
275
+ "decoder.model.layers.0.self_attn.v_proj.weight_t": "model-00001-of-00002.safetensors",
276
+ "decoder.model.layers.0.self_attn.o_proj.weight_t": "model-00001-of-00002.safetensors",
277
+ "decoder.model.layers.0.mlp.gate_proj.weight_t": "model-00001-of-00002.safetensors",
278
+ "decoder.model.layers.0.mlp.up_proj.weight_t": "model-00001-of-00002.safetensors",
279
+ "decoder.model.layers.0.mlp.down_proj.weight_t": "model-00001-of-00002.safetensors",
280
+ "decoder.model.layers.0.per_layer_input_gate.weight_t": "model-00001-of-00002.safetensors",
281
+ "decoder.model.layers.0.per_layer_projection.weight_t": "model-00001-of-00002.safetensors",
282
+ "decoder.model.layers.1.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
283
+ "decoder.model.layers.1.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
284
+ "decoder.model.layers.1.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
285
+ "decoder.model.layers.1.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
286
+ "decoder.model.layers.1.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
287
+ "decoder.model.layers.1.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
288
+ "decoder.model.layers.1.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
289
+ "decoder.model.layers.1.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
290
+ "decoder.model.layers.1.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
291
+ "decoder.model.layers.2.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
292
+ "decoder.model.layers.2.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
293
+ "decoder.model.layers.2.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
294
+ "decoder.model.layers.2.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
295
+ "decoder.model.layers.2.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
296
+ "decoder.model.layers.2.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
297
+ "decoder.model.layers.2.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
298
+ "decoder.model.layers.2.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
299
+ "decoder.model.layers.2.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
300
+ "decoder.model.layers.3.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
301
+ "decoder.model.layers.3.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
302
+ "decoder.model.layers.3.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
303
+ "decoder.model.layers.3.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
304
+ "decoder.model.layers.3.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
305
+ "decoder.model.layers.3.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
306
+ "decoder.model.layers.3.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
307
+ "decoder.model.layers.3.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
308
+ "decoder.model.layers.3.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
309
+ "decoder.model.layers.4.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
310
+ "decoder.model.layers.4.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
311
+ "decoder.model.layers.4.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
312
+ "decoder.model.layers.4.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
313
+ "decoder.model.layers.4.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
314
+ "decoder.model.layers.4.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
315
+ "decoder.model.layers.4.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
316
+ "decoder.model.layers.4.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
317
+ "decoder.model.layers.4.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
318
+ "decoder.model.layers.5.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
319
+ "decoder.model.layers.5.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
320
+ "decoder.model.layers.5.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
321
+ "decoder.model.layers.5.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
322
+ "decoder.model.layers.5.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
323
+ "decoder.model.layers.5.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
324
+ "decoder.model.layers.5.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
325
+ "decoder.model.layers.5.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
326
+ "decoder.model.layers.5.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
327
+ "decoder.model.layers.6.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
328
+ "decoder.model.layers.6.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
329
+ "decoder.model.layers.6.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
330
+ "decoder.model.layers.6.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
331
+ "decoder.model.layers.6.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
332
+ "decoder.model.layers.6.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
333
+ "decoder.model.layers.6.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
334
+ "decoder.model.layers.6.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
335
+ "decoder.model.layers.6.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
336
+ "decoder.model.layers.7.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
337
+ "decoder.model.layers.7.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
338
+ "decoder.model.layers.7.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
339
+ "decoder.model.layers.7.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
340
+ "decoder.model.layers.7.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
341
+ "decoder.model.layers.7.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
342
+ "decoder.model.layers.7.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
343
+ "decoder.model.layers.7.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
344
+ "decoder.model.layers.7.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
345
+ "decoder.model.layers.8.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
346
+ "decoder.model.layers.8.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
347
+ "decoder.model.layers.8.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
348
+ "decoder.model.layers.8.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
349
+ "decoder.model.layers.8.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
350
+ "decoder.model.layers.8.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
351
+ "decoder.model.layers.8.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
352
+ "decoder.model.layers.8.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
353
+ "decoder.model.layers.8.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
354
+ "decoder.model.layers.9.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
355
+ "decoder.model.layers.9.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
356
+ "decoder.model.layers.9.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
357
+ "decoder.model.layers.9.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
358
+ "decoder.model.layers.9.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
359
+ "decoder.model.layers.9.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
360
+ "decoder.model.layers.9.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
361
+ "decoder.model.layers.9.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
362
+ "decoder.model.layers.9.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
363
+ "decoder.model.layers.10.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
364
+ "decoder.model.layers.10.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
365
+ "decoder.model.layers.10.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
366
+ "decoder.model.layers.10.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
367
+ "decoder.model.layers.10.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
368
+ "decoder.model.layers.10.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
369
+ "decoder.model.layers.10.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
370
+ "decoder.model.layers.10.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
371
+ "decoder.model.layers.10.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
372
+ "decoder.model.layers.11.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
373
+ "decoder.model.layers.11.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
374
+ "decoder.model.layers.11.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
375
+ "decoder.model.layers.11.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
376
+ "decoder.model.layers.11.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
377
+ "decoder.model.layers.11.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
378
+ "decoder.model.layers.11.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
379
+ "decoder.model.layers.11.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
380
+ "decoder.model.layers.11.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
381
+ "decoder.model.layers.12.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
382
+ "decoder.model.layers.12.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
383
+ "decoder.model.layers.12.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
384
+ "decoder.model.layers.12.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
385
+ "decoder.model.layers.12.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
386
+ "decoder.model.layers.12.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
387
+ "decoder.model.layers.12.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
388
+ "decoder.model.layers.12.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
389
+ "decoder.model.layers.12.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
390
+ "decoder.model.layers.13.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
391
+ "decoder.model.layers.13.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
392
+ "decoder.model.layers.13.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
393
+ "decoder.model.layers.13.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
394
+ "decoder.model.layers.13.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
395
+ "decoder.model.layers.13.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
396
+ "decoder.model.layers.13.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
397
+ "decoder.model.layers.13.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
398
+ "decoder.model.layers.13.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
399
+ "decoder.model.layers.14.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
400
+ "decoder.model.layers.14.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
401
+ "decoder.model.layers.14.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
402
+ "decoder.model.layers.14.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
403
+ "decoder.model.layers.14.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
404
+ "decoder.model.layers.14.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
405
+ "decoder.model.layers.14.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
406
+ "decoder.model.layers.14.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
407
+ "decoder.model.layers.14.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
408
+ "decoder.model.layers.15.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
409
+ "decoder.model.layers.15.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
410
+ "decoder.model.layers.15.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
411
+ "decoder.model.layers.15.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
412
+ "decoder.model.layers.15.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
413
+ "decoder.model.layers.15.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
414
+ "decoder.model.layers.15.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
415
+ "decoder.model.layers.16.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
416
+ "decoder.model.layers.16.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
417
+ "decoder.model.layers.16.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
418
+ "decoder.model.layers.16.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
419
+ "decoder.model.layers.16.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
420
+ "decoder.model.layers.16.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
421
+ "decoder.model.layers.16.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
422
+ "decoder.model.layers.17.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
423
+ "decoder.model.layers.17.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
424
+ "decoder.model.layers.17.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
425
+ "decoder.model.layers.17.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
426
+ "decoder.model.layers.17.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
427
+ "decoder.model.layers.17.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
428
+ "decoder.model.layers.17.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
429
+ "decoder.model.layers.18.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
430
+ "decoder.model.layers.18.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
431
+ "decoder.model.layers.18.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
432
+ "decoder.model.layers.18.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
433
+ "decoder.model.layers.18.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
434
+ "decoder.model.layers.18.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
435
+ "decoder.model.layers.18.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
436
+ "decoder.model.layers.19.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
437
+ "decoder.model.layers.19.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
438
+ "decoder.model.layers.19.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
439
+ "decoder.model.layers.19.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
440
+ "decoder.model.layers.19.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
441
+ "decoder.model.layers.19.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
442
+ "decoder.model.layers.19.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
443
+ "decoder.model.layers.20.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
444
+ "decoder.model.layers.20.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
445
+ "decoder.model.layers.20.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
446
+ "decoder.model.layers.20.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
447
+ "decoder.model.layers.20.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
448
+ "decoder.model.layers.20.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
449
+ "decoder.model.layers.20.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
450
+ "decoder.model.layers.21.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
451
+ "decoder.model.layers.21.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
452
+ "decoder.model.layers.21.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
453
+ "decoder.model.layers.21.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
454
+ "decoder.model.layers.21.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
455
+ "decoder.model.layers.21.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
456
+ "decoder.model.layers.21.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
457
+ "decoder.model.layers.22.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
458
+ "decoder.model.layers.22.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
459
+ "decoder.model.layers.22.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
460
+ "decoder.model.layers.22.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
461
+ "decoder.model.layers.22.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
462
+ "decoder.model.layers.22.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
463
+ "decoder.model.layers.22.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
464
+ "decoder.model.layers.23.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
465
+ "decoder.model.layers.23.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
466
+ "decoder.model.layers.23.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
467
+ "decoder.model.layers.23.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
468
+ "decoder.model.layers.23.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
469
+ "decoder.model.layers.23.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
470
+ "decoder.model.layers.23.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
471
+ "decoder.model.layers.24.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
472
+ "decoder.model.layers.24.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
473
+ "decoder.model.layers.24.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
474
+ "decoder.model.layers.24.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
475
+ "decoder.model.layers.24.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
476
+ "decoder.model.layers.24.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
477
+ "decoder.model.layers.24.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
478
+ "decoder.model.layers.25.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
479
+ "decoder.model.layers.25.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
480
+ "decoder.model.layers.25.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
481
+ "decoder.model.layers.25.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
482
+ "decoder.model.layers.25.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
483
+ "decoder.model.layers.25.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
484
+ "decoder.model.layers.25.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
485
+ "decoder.model.layers.26.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
486
+ "decoder.model.layers.26.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
487
+ "decoder.model.layers.26.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
488
+ "decoder.model.layers.26.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
489
+ "decoder.model.layers.26.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
490
+ "decoder.model.layers.26.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
491
+ "decoder.model.layers.26.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
492
+ "decoder.model.layers.27.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
493
+ "decoder.model.layers.27.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
494
+ "decoder.model.layers.27.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
495
+ "decoder.model.layers.27.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
496
+ "decoder.model.layers.27.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
497
+ "decoder.model.layers.27.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
498
+ "decoder.model.layers.27.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
499
+ "decoder.model.layers.28.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
500
+ "decoder.model.layers.28.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
501
+ "decoder.model.layers.28.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
502
+ "decoder.model.layers.28.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
503
+ "decoder.model.layers.28.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
504
+ "decoder.model.layers.28.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
505
+ "decoder.model.layers.28.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
506
+ "decoder.model.layers.29.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
507
+ "decoder.model.layers.29.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
508
+ "decoder.model.layers.29.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
509
+ "decoder.model.layers.29.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
510
+ "decoder.model.layers.29.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
511
+ "decoder.model.layers.29.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
512
+ "decoder.model.layers.29.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
513
+ "decoder.model.layers.30.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
514
+ "decoder.model.layers.30.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
515
+ "decoder.model.layers.30.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
516
+ "decoder.model.layers.30.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
517
+ "decoder.model.layers.30.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
518
+ "decoder.model.layers.30.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
519
+ "decoder.model.layers.30.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
520
+ "decoder.model.layers.31.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
521
+ "decoder.model.layers.31.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
522
+ "decoder.model.layers.31.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
523
+ "decoder.model.layers.31.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
524
+ "decoder.model.layers.31.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
525
+ "decoder.model.layers.31.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
526
+ "decoder.model.layers.31.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
527
+ "decoder.model.layers.32.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
528
+ "decoder.model.layers.32.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
529
+ "decoder.model.layers.32.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
530
+ "decoder.model.layers.32.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
531
+ "decoder.model.layers.32.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
532
+ "decoder.model.layers.32.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
533
+ "decoder.model.layers.32.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
534
+ "decoder.model.layers.33.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
535
+ "decoder.model.layers.33.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
536
+ "decoder.model.layers.33.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
537
+ "decoder.model.layers.33.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
538
+ "decoder.model.layers.33.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
539
+ "decoder.model.layers.33.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
540
+ "decoder.model.layers.33.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
541
+ "decoder.model.layers.34.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
542
+ "decoder.model.layers.34.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
543
+ "decoder.model.layers.34.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
544
+ "decoder.model.layers.34.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
545
+ "decoder.model.layers.34.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
546
+ "decoder.model.layers.34.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
547
+ "decoder.model.layers.34.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
548
+ "decoder.lm_head.weight_t": "model-00002-of-00002.safetensors"
549
+ }
550
+ }
bf16/default/embedding/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47d105fc7ae637554a6552b90e4335caa175427b8770d1891e3602cb869776e0
3
+ size 8656
bf16/default/embedding/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741c3297844e13c22a8eae3db118a94ae7d296e490d25e12e1a90c3d143f8681
3
+ size 805312824
bf16/default/genai_config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "type": "gemma4",
4
+ "vocab_size": 262144,
5
+ "context_length": 131072,
6
+ "decoder": {
7
+ "session_options": {
8
+ "log_id": "onnxruntime-genai",
9
+ "provider_options": []
10
+ },
11
+ "filename": "decoder/model.onnx",
12
+ "head_size": 256,
13
+ "hidden_size": 1536,
14
+ "inputs": {
15
+ "inputs_embeds": "inputs_embeds",
16
+ "attention_mask": "attention_mask",
17
+ "position_ids": "position_ids",
18
+ "input_ids": "input_ids",
19
+ "past_key_names": "past_key_values.%d.key",
20
+ "past_value_names": "past_key_values.%d.value"
21
+ },
22
+ "outputs": {
23
+ "logits": "logits",
24
+ "present_key_names": "present.%d.key",
25
+ "present_value_names": "present.%d.value"
26
+ },
27
+ "num_attention_heads": 8,
28
+ "num_hidden_layers": 35,
29
+ "num_key_value_heads": 1
30
+ },
31
+ "bos_token_id": 2,
32
+ "eos_token_id": [
33
+ 1,
34
+ 106
35
+ ],
36
+ "pad_token_id": 0,
37
+ "vision": {
38
+ "filename": "vision_encoder/model.onnx",
39
+ "config_filename": "image_processor.json",
40
+ "inputs": {
41
+ "pixel_values": "pixel_values",
42
+ "pixel_position_ids": "pixel_position_ids"
43
+ },
44
+ "outputs": {
45
+ "image_features": "image_features"
46
+ },
47
+ "session_options": {
48
+ "log_id": "onnxruntime-genai",
49
+ "provider_options": []
50
+ },
51
+ "spatial_merge_size": 2
52
+ },
53
+ "embedding": {
54
+ "filename": "embedding/model.onnx",
55
+ "inputs": {
56
+ "input_ids": "input_ids",
57
+ "image_features": "image_features",
58
+ "audio_features": "audio_features"
59
+ },
60
+ "outputs": {
61
+ "inputs_embeds": "inputs_embeds"
62
+ },
63
+ "session_options": {
64
+ "log_id": "onnxruntime-genai",
65
+ "provider_options": []
66
+ }
67
+ },
68
+ "speech": {
69
+ "filename": "audio_encoder/model.onnx",
70
+ "config_filename": "audio_feature_extraction.json",
71
+ "inputs": {
72
+ "audio_embeds": "input_features",
73
+ "attention_mask": "input_features_mask"
74
+ },
75
+ "outputs": {
76
+ "audio_features": "audio_features"
77
+ },
78
+ "session_options": {
79
+ "log_id": "onnxruntime-genai",
80
+ "provider_options": []
81
+ }
82
+ },
83
+ "image_token_id": 258880,
84
+ "audio_token_id": 258881,
85
+ "boa_token_id": 256000
86
+ },
87
+ "search": {
88
+ "do_sample": true,
89
+ "early_stopping": true,
90
+ "max_length": 131072,
91
+ "min_length": 0,
92
+ "num_beams": 1,
93
+ "num_return_sequences": 1,
94
+ "past_present_share_buffer": false,
95
+ "repetition_penalty": 1.0,
96
+ "temperature": 1.0,
97
+ "top_k": 1,
98
+ "top_p": 1.0
99
+ }
100
+ }
bf16/default/image_processor.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "processor": {
3
+ "name": "gemma_4_image_processing",
4
+ "transforms": [
5
+ {
6
+ "operation": {
7
+ "name": "decode_image",
8
+ "type": "DecodeImage",
9
+ "attrs": {
10
+ "color_space": "RGB"
11
+ }
12
+ }
13
+ },
14
+ {
15
+ "operation": {
16
+ "name": "gemma4_image_transform",
17
+ "type": "Gemma4ImageTransform",
18
+ "attrs": {
19
+ "patch_size": 16,
20
+ "max_soft_tokens": 280,
21
+ "pooling_kernel_size": 3
22
+ }
23
+ }
24
+ }
25
+ ]
26
+ }
27
+ }
bf16/default/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
3
+ size 32169626
bf16/default/tokenizer_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "mask_token": "<mask>",
21
+ "model_max_length": 1000000000000000019884624838656,
22
+ "pad_token": "<pad>",
23
+ "padding_side": "left",
24
+ "processor_class": "Gemma4Processor",
25
+ "response_schema": {
26
+ "type": "object",
27
+ "properties": {
28
+ "role": {
29
+ "const": "assistant"
30
+ },
31
+ "thinking": {
32
+ "type": "string"
33
+ },
34
+ "content": {
35
+ "type": "string"
36
+ },
37
+ "tool_calls": {
38
+ "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>",
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "properties": {
43
+ "type": {
44
+ "const": "function"
45
+ },
46
+ "function": {
47
+ "type": "object",
48
+ "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})",
49
+ "properties": {
50
+ "name": {
51
+ "type": "string"
52
+ },
53
+ "arguments": {
54
+ "type": "object",
55
+ "x-parser": "gemma4-tool-call",
56
+ "additionalProperties": {}
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
65
+ },
66
+ "soc_token": "<|channel>",
67
+ "sot_token": "<|turn>",
68
+ "stc_token": "<|tool_call>",
69
+ "std_token": "<|tool>",
70
+ "str_token": "<|tool_response>",
71
+ "think_token": "<|think|>",
72
+ "tokenizer_class": "GemmaTokenizer",
73
+ "unk_token": "<unk>",
74
+ "chat_template": "{%- macro format_parameters(properties, required, filter_keys=false) -%}\n {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in properties | dictsort -%}\n {%- set add_comma = false -%}\n {%- if not filter_keys or key not in standard_keys -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {{ key }}:{\n {%- if value['description'] -%}\n description:<|\"|>{{ value['description'] }}<|\"|>\n {%- set add_comma = true -%}\n {%- endif -%}\n {%- if value['type'] | upper == 'STRING' -%}\n {%- if value['enum'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n enum:{{ format_argument(value['enum']) }}\n {%- endif -%}\n {%- elif value['type'] | upper == 'ARRAY' -%}\n {%- if value['items'] is mapping and value['items'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n items:{\n {%- set ns_items = namespace(found_first=false) -%}\n {%- for item_key, item_value in value['items'] | dictsort -%}\n {%- if item_value is not none -%}\n {%- if ns_items.found_first %},{% endif -%}\n {%- set ns_items.found_first = true -%}\n {%- if item_key == 'properties' -%}\n properties:{\n {%- if item_value is mapping -%}\n {{- format_parameters(item_value, value['items']['required'] | default([])) -}}\n {%- endif -%}\n }\n {%- elif item_key == 'required' -%}\n required:[\n {%- for req_item in item_value -%}\n <|\"|>{{- req_item -}}<|\"|>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- elif item_key == 'type' -%}\n {%- if item_value is string -%}\n type:{{ format_argument(item_value | upper) }}\n {%- else -%}\n type:{{ format_argument(item_value | map('upper') | list) }}\n {%- endif -%}\n {%- else -%}\n {{ item_key }}:{{ format_argument(item_value) }}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n }\n {%- endif -%}\n {%- endif -%}\n {%- if value['nullable'] %}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n nullable:true\n {%- endif -%}\n {%- if value['type'] | upper == 'OBJECT' -%}\n {%- if value['properties'] is defined and value['properties'] is mapping -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n properties:{\n {{- format_parameters(value['properties'], value['required'] | default([])) -}}\n }\n {%- elif value is mapping -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n properties:{\n {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}\n }\n {%- endif -%}\n {%- if value['required'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n required:[\n {%- for item in value['required'] | default([]) -%}\n <|\"|>{{- item -}}<|\"|>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- endif -%}\n {%- endif -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n type:<|\"|>{{ value['type'] | upper }}<|\"|>}\n {%- endif -%}\n {%- endfor -%}\n{%- endmacro -%}\n{%- macro format_function_declaration(tool_data) -%}\n declaration:{{- tool_data['function']['name'] -}}{description:<|\"|>{{- tool_data['function']['description'] -}}<|\"|>\n {%- set params = tool_data['function']['parameters'] -%}\n {%- if params -%}\n ,parameters:{\n {%- if params['properties'] -%}\n properties:{ {{- format_parameters(params['properties'], params['required']) -}} },\n {%- endif -%}\n {%- if params['required'] -%}\n required:[\n {%- for item in params['required'] -%}\n <|\"|>{{- item -}}<|\"|>\n {{- ',' if not loop.last -}}\n {%- endfor -%}\n ],\n {%- endif -%}\n {%- if params['type'] -%}\n type:<|\"|>{{- params['type'] | upper -}}<|\"|>}\n {%- endif -%}\n {%- endif -%}\n {%- if 'response' in tool_data['function'] -%}\n {%- set response_declaration = tool_data['function']['response'] -%}\n ,response:{\n {%- if response_declaration['description'] -%}\n description:<|\"|>{{- response_declaration['description'] -}}<|\"|>,\n {%- endif -%}\n {%- if response_declaration['type'] | upper == 'OBJECT' -%}\n type:<|\"|>{{- response_declaration['type'] | upper -}}<|\"|>}\n {%- endif -%}\n {%- endif -%}\n }\n{%- endmacro -%}\n{%- macro format_argument(argument, escape_keys=True) -%}\n {%- if argument is string -%}\n {{- '<|\"|>' + argument + '<|\"|>' -}}\n {%- elif argument is boolean -%}\n {{- 'true' if argument else 'false' -}}\n {%- elif argument is mapping -%}\n {{- '{' -}}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in argument | dictsort -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {%- if escape_keys -%}\n {{- '<|\"|>' + key + '<|\"|>' -}}\n {%- else -%}\n {{- key -}}\n {%- endif -%}\n :{{- format_argument(value, escape_keys=escape_keys) -}}\n {%- endfor -%}\n {{- '}' -}}\n {%- elif argument is sequence -%}\n {{- '[' -}}\n {%- for item in argument -%}\n {{- format_argument(item, escape_keys=escape_keys) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- ']' -}}\n {%- else -%}\n {{- argument -}}\n {%- endif -%}\n{%- endmacro -%}\n{%- macro strip_thinking(text) -%}\n {%- set ns = namespace(result='') -%}\n {%- for part in text.split('<channel|>') -%}\n {%- if '<|channel>' in part -%}\n {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}\n {%- else -%}\n {%- set ns.result = ns.result + part -%}\n {%- endif -%}\n {%- endfor -%}\n {{- ns.result | trim -}}\n{%- endmacro -%}\n\n{%- macro format_tool_response_block(tool_name, response) -%}\n {{- '<|tool_response>' -}}\n {%- if response is mapping -%}\n {{- 'response:' + tool_name + '{' -}}\n {%- for key, value in response | dictsort -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- '}' -}}\n {%- else -%}\n {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}\n {%- endif -%}\n {{- '<tool_response|>' -}}\n{%- endmacro -%}\n\n{%- set ns = namespace(prev_message_type=None) -%}\n{%- set loop_messages = messages -%}\n{{- bos_token -}}\n{#- Handle System/Tool Definitions Block -#}\n{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}\n {{- '<|turn>system\\n' -}}\n {#- Inject Thinking token at the very top of the FIRST system turn -#}\n {%- if enable_thinking is defined and enable_thinking -%}\n {{- '<|think|>\\n' -}}\n {%- set ns.prev_message_type = 'think' -%}\n {%- endif -%}\n {%- if messages[0]['role'] in ['system', 'developer'] -%}\n {%- if messages[0]['content'] is string -%}\n {{- messages[0]['content'] | trim -}}\n {%- elif messages[0]['content'] is sequence -%}\n {%- for item in messages[0]['content'] -%}\n {{- item['text'] | trim + ' '-}}\n {%- endfor -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n {%- endif -%}\n {%- if tools -%}\n {%- for tool in tools %}\n {{- '<|tool>' -}}\n {{- format_function_declaration(tool) | trim -}}\n {{- '<tool|>' -}}\n {%- endfor %}\n {%- set ns.prev_message_type = 'tool' -%}\n {%- endif -%}\n {{- '<turn|>\\n' -}}\n{%- endif %}\n\n{#- Pre-scan: find last user message index for reasoning guard -#}\n{%- set ns_turn = namespace(last_user_idx=-1) -%}\n{%- for i in range(loop_messages | length) -%}\n {%- if loop_messages[i]['role'] == 'user' -%}\n {%- set ns_turn.last_user_idx = i -%}\n {%- endif -%}\n{%- endfor -%}\n\n{#- Loop through messages -#}\n{%- for message in loop_messages -%}\n {%- if message['role'] != 'tool' -%}\n {%- set ns.prev_message_type = None -%}\n {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}\n {#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}\n {%- set prev_nt = namespace(role=None, found=false) -%}\n {%- if loop.index0 > 0 -%}\n {%- for j in range(loop.index0 - 1, -1, -1) -%}\n {%- if not prev_nt.found -%}\n {%- if loop_messages[j]['role'] != 'tool' -%}\n {%- set prev_nt.role = loop_messages[j]['role'] -%}\n {%- set prev_nt.found = true -%}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}\n {%- if not continue_same_model_turn -%}\n {{- '<|turn>' + role + '\\n' }}\n {%- endif -%}\n\n {#- Render reasoning/reasoning_content as thinking channel -#}\n {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}\n {%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}\n {{- '<|channel>thought\\n' + thinking_text + '\\n<channel|>' -}}\n {%- endif -%}\n\n {%- if message['tool_calls'] -%}\n {%- for tool_call in message['tool_calls'] -%}\n {%- set function = tool_call['function'] -%}\n {{- '<|tool_call>call:' + function['name'] + '{' -}}\n {%- if function['arguments'] is mapping -%}\n {%- set ns_args = namespace(found_first=false) -%}\n {%- for key, value in function['arguments'] | dictsort -%}\n {%- if ns_args.found_first %},{% endif -%}\n {%- set ns_args.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {%- elif function['arguments'] is string -%}\n {{- function['arguments'] -}}\n {%- endif -%}\n {{- '}<tool_call|>' -}}\n {%- endfor -%}\n {%- set ns.prev_message_type = 'tool_call' -%}\n {%- endif -%}\n\n {%- set ns_tr_out = namespace(flag=false) -%}\n {%- if message.get('tool_responses') -%}\n {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}\n {%- for tool_response in message['tool_responses'] -%}\n {{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}\n {%- set ns_tr_out.flag = true -%}\n {%- set ns.prev_message_type = 'tool_response' -%}\n {%- endfor -%}\n {%- elif message.get('tool_calls') -%}\n {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}\n {%- set ns_tool_scan = namespace(stopped=false) -%}\n {%- for k in range(loop.index0 + 1, loop_messages | length) -%}\n {%- if ns_tool_scan.stopped -%}\n {%- elif loop_messages[k]['role'] != 'tool' -%}\n {%- set ns_tool_scan.stopped = true -%}\n {%- else -%}\n {%- set follow = loop_messages[k] -%}\n {#- Resolve tool_call_id to function name -#}\n {%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}\n {%- for tc in message['tool_calls'] -%}\n {%- if tc.get('id') == follow.get('tool_call_id') -%}\n {%- set ns_tname.name = tc['function']['name'] -%}\n {%- endif -%}\n {%- endfor -%}\n {#- Handle content as string or content-parts array -#}\n {%- set tool_body = follow.get('content') -%}\n {%- if tool_body is string -%}\n {{- format_tool_response_block(ns_tname.name, tool_body) -}}\n {%- elif tool_body is sequence and tool_body is not string -%}\n {%- set ns_txt = namespace(s='') -%}\n {%- for part in tool_body -%}\n {%- if part.get('type') == 'text' -%}\n {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}\n {%- endif -%}\n {%- endfor -%}\n {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}\n {%- else -%}\n {{- format_tool_response_block(ns_tname.name, tool_body) -}}\n {%- endif -%}\n {%- set ns_tr_out.flag = true -%}\n {%- set ns.prev_message_type = 'tool_response' -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- set captured_content -%}\n {%- if message['content'] is string -%}\n {%- if role == 'model' -%}\n {{- strip_thinking(message['content']) -}}\n {%- else -%}\n {{- message['content'] | trim -}}\n {%- endif -%}\n {%- elif message['content'] is sequence -%}\n {%- for item in message['content'] -%}\n {%- if item['type'] == 'text' -%}\n {%- if role == 'model' -%}\n {{- strip_thinking(item['text']) -}}\n {%- else -%}\n {{- item['text'] | trim -}}\n {%- endif -%}\n {%- elif item['type'] == 'image' -%}\n {{- '<|image|>' -}}\n {%- set ns.prev_message_type = 'image' -%}\n {%- elif item['type'] == 'audio' -%}\n {{- '<|audio|>' -}}\n {%- set ns.prev_message_type = 'audio' -%}\n {%- elif item['type'] == 'video' -%}\n {{- '<|video|>' -}}\n {%- set ns.prev_message_type = 'video' -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- endset -%}\n\n {{- captured_content -}}\n {%- set has_content = captured_content | trim | length > 0 -%}\n\n {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}\n {{- '<|tool_response>' -}}\n {%- elif not (ns_tr_out.flag and not has_content) -%}\n {{- '<turn|>\\n' -}}\n {%- endif -%}\n {%- endif -%}\n{%- endfor -%}\n\n{%- if add_generation_prompt -%}\n {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}\n {{- '<|turn>model\\n' -}}\n {%- endif -%}\n{%- endif -%}"
75
+ }
bf16/default/vision_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b1aa8d01379401cce914cd2bed70e776238d174ee6b08c016ae94c6b3617c48
3
+ size 1239595
bf16/default/vision_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33fd860d1ce013444d2f16667e4625045971ad0ca905d1cb3b62feae2e937ba9
3
+ size 358083464
bf16/onnx-standard/audio_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d470d65d71c8e052b0cbf28b835cbe2168cb9d2c04747c1e1d1c69f2ef120f22
3
+ size 1238451
bf16/onnx-standard/audio_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbbb99ee9ece21e21b59d81c3d2a60b04d05dc4511951a2a8ab5aa48af4e3c0d
3
+ size 614725024
bf16/onnx-standard/audio_feature_extraction.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extraction": {
3
+ "sequence": [
4
+ {
5
+ "operation": {
6
+ "name": "audio_decoder",
7
+ "type": "AudioDecoder"
8
+ }
9
+ },
10
+ {
11
+ "operation": {
12
+ "name": "gemma4_log_mel",
13
+ "type": "Gemma4LogMel",
14
+ "attrs": {
15
+ "feature_size": 128,
16
+ "sampling_rate": 16000,
17
+ "frame_length_ms": 20.0,
18
+ "hop_length_ms": 10.0,
19
+ "min_frequency": 0.0,
20
+ "max_frequency": 8000.0,
21
+ "preemphasis": 0.0,
22
+ "preemphasis_htk_flavor": 1,
23
+ "fft_overdrive": 0,
24
+ "mel_floor": 0.001
25
+ }
26
+ }
27
+ }
28
+ ]
29
+ }
30
+ }
bf16/onnx-standard/chat_template.jinja ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- macro format_parameters(properties, required, filter_keys=false) -%}
2
+ {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
3
+ {%- set ns = namespace(found_first=false) -%}
4
+ {%- for key, value in properties | dictsort -%}
5
+ {%- set add_comma = false -%}
6
+ {%- if not filter_keys or key not in standard_keys -%}
7
+ {%- if ns.found_first %},{% endif -%}
8
+ {%- set ns.found_first = true -%}
9
+ {{ key }}:{
10
+ {%- if value['description'] -%}
11
+ description:<|"|>{{ value['description'] }}<|"|>
12
+ {%- set add_comma = true -%}
13
+ {%- endif -%}
14
+ {%- if value['type'] | upper == 'STRING' -%}
15
+ {%- if value['enum'] -%}
16
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
17
+ enum:{{ format_argument(value['enum']) }}
18
+ {%- endif -%}
19
+ {%- elif value['type'] | upper == 'ARRAY' -%}
20
+ {%- if value['items'] is mapping and value['items'] -%}
21
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
22
+ items:{
23
+ {%- set ns_items = namespace(found_first=false) -%}
24
+ {%- for item_key, item_value in value['items'] | dictsort -%}
25
+ {%- if item_value is not none -%}
26
+ {%- if ns_items.found_first %},{% endif -%}
27
+ {%- set ns_items.found_first = true -%}
28
+ {%- if item_key == 'properties' -%}
29
+ properties:{
30
+ {%- if item_value is mapping -%}
31
+ {{- format_parameters(item_value, value['items']['required'] | default([])) -}}
32
+ {%- endif -%}
33
+ }
34
+ {%- elif item_key == 'required' -%}
35
+ required:[
36
+ {%- for req_item in item_value -%}
37
+ <|"|>{{- req_item -}}<|"|>
38
+ {%- if not loop.last %},{% endif -%}
39
+ {%- endfor -%}
40
+ ]
41
+ {%- elif item_key == 'type' -%}
42
+ {%- if item_value is string -%}
43
+ type:{{ format_argument(item_value | upper) }}
44
+ {%- else -%}
45
+ type:{{ format_argument(item_value | map('upper') | list) }}
46
+ {%- endif -%}
47
+ {%- else -%}
48
+ {{ item_key }}:{{ format_argument(item_value) }}
49
+ {%- endif -%}
50
+ {%- endif -%}
51
+ {%- endfor -%}
52
+ }
53
+ {%- endif -%}
54
+ {%- endif -%}
55
+ {%- if value['nullable'] %}
56
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
57
+ nullable:true
58
+ {%- endif -%}
59
+ {%- if value['type'] | upper == 'OBJECT' -%}
60
+ {%- if value['properties'] is defined and value['properties'] is mapping -%}
61
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
62
+ properties:{
63
+ {{- format_parameters(value['properties'], value['required'] | default([])) -}}
64
+ }
65
+ {%- elif value is mapping -%}
66
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
67
+ properties:{
68
+ {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}
69
+ }
70
+ {%- endif -%}
71
+ {%- if value['required'] -%}
72
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
73
+ required:[
74
+ {%- for item in value['required'] | default([]) -%}
75
+ <|"|>{{- item -}}<|"|>
76
+ {%- if not loop.last %},{% endif -%}
77
+ {%- endfor -%}
78
+ ]
79
+ {%- endif -%}
80
+ {%- endif -%}
81
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
82
+ type:<|"|>{{ value['type'] | upper }}<|"|>}
83
+ {%- endif -%}
84
+ {%- endfor -%}
85
+ {%- endmacro -%}
86
+ {%- macro format_function_declaration(tool_data) -%}
87
+ declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
88
+ {%- set params = tool_data['function']['parameters'] -%}
89
+ {%- if params -%}
90
+ ,parameters:{
91
+ {%- if params['properties'] -%}
92
+ properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
93
+ {%- endif -%}
94
+ {%- if params['required'] -%}
95
+ required:[
96
+ {%- for item in params['required'] -%}
97
+ <|"|>{{- item -}}<|"|>
98
+ {{- ',' if not loop.last -}}
99
+ {%- endfor -%}
100
+ ],
101
+ {%- endif -%}
102
+ {%- if params['type'] -%}
103
+ type:<|"|>{{- params['type'] | upper -}}<|"|>}
104
+ {%- endif -%}
105
+ {%- endif -%}
106
+ {%- if 'response' in tool_data['function'] -%}
107
+ {%- set response_declaration = tool_data['function']['response'] -%}
108
+ ,response:{
109
+ {%- if response_declaration['description'] -%}
110
+ description:<|"|>{{- response_declaration['description'] -}}<|"|>,
111
+ {%- endif -%}
112
+ {%- if response_declaration['type'] | upper == 'OBJECT' -%}
113
+ type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
114
+ {%- endif -%}
115
+ {%- endif -%}
116
+ }
117
+ {%- endmacro -%}
118
+ {%- macro format_argument(argument, escape_keys=True) -%}
119
+ {%- if argument is string -%}
120
+ {{- '<|"|>' + argument + '<|"|>' -}}
121
+ {%- elif argument is boolean -%}
122
+ {{- 'true' if argument else 'false' -}}
123
+ {%- elif argument is mapping -%}
124
+ {{- '{' -}}
125
+ {%- set ns = namespace(found_first=false) -%}
126
+ {%- for key, value in argument | dictsort -%}
127
+ {%- if ns.found_first %},{% endif -%}
128
+ {%- set ns.found_first = true -%}
129
+ {%- if escape_keys -%}
130
+ {{- '<|"|>' + key + '<|"|>' -}}
131
+ {%- else -%}
132
+ {{- key -}}
133
+ {%- endif -%}
134
+ :{{- format_argument(value, escape_keys=escape_keys) -}}
135
+ {%- endfor -%}
136
+ {{- '}' -}}
137
+ {%- elif argument is sequence -%}
138
+ {{- '[' -}}
139
+ {%- for item in argument -%}
140
+ {{- format_argument(item, escape_keys=escape_keys) -}}
141
+ {%- if not loop.last %},{% endif -%}
142
+ {%- endfor -%}
143
+ {{- ']' -}}
144
+ {%- else -%}
145
+ {{- argument -}}
146
+ {%- endif -%}
147
+ {%- endmacro -%}
148
+ {%- macro strip_thinking(text) -%}
149
+ {%- set ns = namespace(result='') -%}
150
+ {%- for part in text.split('<channel|>') -%}
151
+ {%- if '<|channel>' in part -%}
152
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
153
+ {%- else -%}
154
+ {%- set ns.result = ns.result + part -%}
155
+ {%- endif -%}
156
+ {%- endfor -%}
157
+ {{- ns.result | trim -}}
158
+ {%- endmacro -%}
159
+
160
+ {%- macro format_tool_response_block(tool_name, response) -%}
161
+ {{- '<|tool_response>' -}}
162
+ {%- if response is mapping -%}
163
+ {{- 'response:' + tool_name + '{' -}}
164
+ {%- for key, value in response | dictsort -%}
165
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
166
+ {%- if not loop.last %},{% endif -%}
167
+ {%- endfor -%}
168
+ {{- '}' -}}
169
+ {%- else -%}
170
+ {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
171
+ {%- endif -%}
172
+ {{- '<tool_response|>' -}}
173
+ {%- endmacro -%}
174
+
175
+ {%- set ns = namespace(prev_message_type=None) -%}
176
+ {%- set loop_messages = messages -%}
177
+ {{- bos_token -}}
178
+ {#- Handle System/Tool Definitions Block -#}
179
+ {%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
180
+ {{- '<|turn>system\n' -}}
181
+ {#- Inject Thinking token at the very top of the FIRST system turn -#}
182
+ {%- if enable_thinking is defined and enable_thinking -%}
183
+ {{- '<|think|>\n' -}}
184
+ {%- set ns.prev_message_type = 'think' -%}
185
+ {%- endif -%}
186
+ {%- if messages[0]['role'] in ['system', 'developer'] -%}
187
+ {%- if messages[0]['content'] is string -%}
188
+ {{- messages[0]['content'] | trim -}}
189
+ {%- elif messages[0]['content'] is sequence -%}
190
+ {%- for item in messages[0]['content'] -%}
191
+ {{- item['text'] | trim + ' '-}}
192
+ {%- endfor -%}
193
+ {%- endif -%}
194
+ {%- set loop_messages = messages[1:] -%}
195
+ {%- endif -%}
196
+ {%- if tools -%}
197
+ {%- for tool in tools %}
198
+ {{- '<|tool>' -}}
199
+ {{- format_function_declaration(tool) | trim -}}
200
+ {{- '<tool|>' -}}
201
+ {%- endfor %}
202
+ {%- set ns.prev_message_type = 'tool' -%}
203
+ {%- endif -%}
204
+ {{- '<turn|>\n' -}}
205
+ {%- endif %}
206
+
207
+ {#- Pre-scan: find last user message index for reasoning guard -#}
208
+ {%- set ns_turn = namespace(last_user_idx=-1) -%}
209
+ {%- for i in range(loop_messages | length) -%}
210
+ {%- if loop_messages[i]['role'] == 'user' -%}
211
+ {%- set ns_turn.last_user_idx = i -%}
212
+ {%- endif -%}
213
+ {%- endfor -%}
214
+
215
+ {#- Loop through messages -#}
216
+ {%- for message in loop_messages -%}
217
+ {%- if message['role'] != 'tool' -%}
218
+ {%- set ns.prev_message_type = None -%}
219
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
220
+ {#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}
221
+ {%- set prev_nt = namespace(role=None, found=false) -%}
222
+ {%- if loop.index0 > 0 -%}
223
+ {%- for j in range(loop.index0 - 1, -1, -1) -%}
224
+ {%- if not prev_nt.found -%}
225
+ {%- if loop_messages[j]['role'] != 'tool' -%}
226
+ {%- set prev_nt.role = loop_messages[j]['role'] -%}
227
+ {%- set prev_nt.found = true -%}
228
+ {%- endif -%}
229
+ {%- endif -%}
230
+ {%- endfor -%}
231
+ {%- endif -%}
232
+ {%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}
233
+ {%- if not continue_same_model_turn -%}
234
+ {{- '<|turn>' + role + '\n' }}
235
+ {%- endif -%}
236
+
237
+ {#- Render reasoning/reasoning_content as thinking channel -#}
238
+ {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
239
+ {%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}
240
+ {{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
241
+ {%- endif -%}
242
+
243
+ {%- if message['tool_calls'] -%}
244
+ {%- for tool_call in message['tool_calls'] -%}
245
+ {%- set function = tool_call['function'] -%}
246
+ {{- '<|tool_call>call:' + function['name'] + '{' -}}
247
+ {%- if function['arguments'] is mapping -%}
248
+ {%- set ns_args = namespace(found_first=false) -%}
249
+ {%- for key, value in function['arguments'] | dictsort -%}
250
+ {%- if ns_args.found_first %},{% endif -%}
251
+ {%- set ns_args.found_first = true -%}
252
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
253
+ {%- endfor -%}
254
+ {%- elif function['arguments'] is string -%}
255
+ {{- function['arguments'] -}}
256
+ {%- endif -%}
257
+ {{- '}<tool_call|>' -}}
258
+ {%- endfor -%}
259
+ {%- set ns.prev_message_type = 'tool_call' -%}
260
+ {%- endif -%}
261
+
262
+ {%- set ns_tr_out = namespace(flag=false) -%}
263
+ {%- if message.get('tool_responses') -%}
264
+ {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
265
+ {%- for tool_response in message['tool_responses'] -%}
266
+ {{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}
267
+ {%- set ns_tr_out.flag = true -%}
268
+ {%- set ns.prev_message_type = 'tool_response' -%}
269
+ {%- endfor -%}
270
+ {%- elif message.get('tool_calls') -%}
271
+ {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
272
+ {%- set ns_tool_scan = namespace(stopped=false) -%}
273
+ {%- for k in range(loop.index0 + 1, loop_messages | length) -%}
274
+ {%- if ns_tool_scan.stopped -%}
275
+ {%- elif loop_messages[k]['role'] != 'tool' -%}
276
+ {%- set ns_tool_scan.stopped = true -%}
277
+ {%- else -%}
278
+ {%- set follow = loop_messages[k] -%}
279
+ {#- Resolve tool_call_id to function name -#}
280
+ {%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}
281
+ {%- for tc in message['tool_calls'] -%}
282
+ {%- if tc.get('id') == follow.get('tool_call_id') -%}
283
+ {%- set ns_tname.name = tc['function']['name'] -%}
284
+ {%- endif -%}
285
+ {%- endfor -%}
286
+ {#- Handle content as string or content-parts array -#}
287
+ {%- set tool_body = follow.get('content') -%}
288
+ {%- if tool_body is string -%}
289
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
290
+ {%- elif tool_body is sequence and tool_body is not string -%}
291
+ {%- set ns_txt = namespace(s='') -%}
292
+ {%- for part in tool_body -%}
293
+ {%- if part.get('type') == 'text' -%}
294
+ {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
295
+ {%- endif -%}
296
+ {%- endfor -%}
297
+ {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
298
+ {%- else -%}
299
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
300
+ {%- endif -%}
301
+ {%- set ns_tr_out.flag = true -%}
302
+ {%- set ns.prev_message_type = 'tool_response' -%}
303
+ {%- endif -%}
304
+ {%- endfor -%}
305
+ {%- endif -%}
306
+
307
+ {%- set captured_content -%}
308
+ {%- if message['content'] is string -%}
309
+ {%- if role == 'model' -%}
310
+ {{- strip_thinking(message['content']) -}}
311
+ {%- else -%}
312
+ {{- message['content'] | trim -}}
313
+ {%- endif -%}
314
+ {%- elif message['content'] is sequence -%}
315
+ {%- for item in message['content'] -%}
316
+ {%- if item['type'] == 'text' -%}
317
+ {%- if role == 'model' -%}
318
+ {{- strip_thinking(item['text']) -}}
319
+ {%- else -%}
320
+ {{- item['text'] | trim -}}
321
+ {%- endif -%}
322
+ {%- elif item['type'] == 'image' -%}
323
+ {{- '<|image|>' -}}
324
+ {%- set ns.prev_message_type = 'image' -%}
325
+ {%- elif item['type'] == 'audio' -%}
326
+ {{- '<|audio|>' -}}
327
+ {%- set ns.prev_message_type = 'audio' -%}
328
+ {%- elif item['type'] == 'video' -%}
329
+ {{- '<|video|>' -}}
330
+ {%- set ns.prev_message_type = 'video' -%}
331
+ {%- endif -%}
332
+ {%- endfor -%}
333
+ {%- endif -%}
334
+ {%- endset -%}
335
+
336
+ {{- captured_content -}}
337
+ {%- set has_content = captured_content | trim | length > 0 -%}
338
+
339
+ {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
340
+ {{- '<|tool_response>' -}}
341
+ {%- elif not (ns_tr_out.flag and not has_content) -%}
342
+ {{- '<turn|>\n' -}}
343
+ {%- endif -%}
344
+ {%- endif -%}
345
+ {%- endfor -%}
346
+
347
+ {%- if add_generation_prompt -%}
348
+ {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
349
+ {{- '<|turn>model\n' -}}
350
+ {%- endif -%}
351
+ {%- endif -%}
bf16/onnx-standard/decoder/model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e554c5c22e59f60d8d5eee7505bac60e74da7a8d4be57666b3e9a4c2e2fba046
3
+ size 4999430520
bf16/onnx-standard/decoder/model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e3a718a5ed0fbfe379dbd95d01ccb26a59522db7d6490645a83e6c20a63dd6a
3
+ size 4459103336
bf16/onnx-standard/decoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0051af80094cb4f7bf92e81192f48513f34331eae8f64bd35b0cc85adf08e0bd
3
+ size 914388
bf16/onnx-standard/decoder/model.safetensors.index.json ADDED
@@ -0,0 +1,550 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 9458465280
4
+ },
5
+ "weight_map": {
6
+ "decoder.model.per_layer_projection_norm.weight": "model-00001-of-00002.safetensors",
7
+ "decoder.model.embed_tokens_per_layer.0.weight": "model-00001-of-00002.safetensors",
8
+ "decoder.model.embed_tokens_per_layer.1.weight": "model-00001-of-00002.safetensors",
9
+ "decoder.model.embed_tokens_per_layer.2.weight": "model-00001-of-00002.safetensors",
10
+ "decoder.model.embed_tokens_per_layer.3.weight": "model-00001-of-00002.safetensors",
11
+ "decoder.model.embed_tokens_per_layer.4.weight": "model-00001-of-00002.safetensors",
12
+ "decoder.model.embed_tokens_per_layer.5.weight": "model-00001-of-00002.safetensors",
13
+ "decoder.model.embed_tokens_per_layer.6.weight": "model-00001-of-00002.safetensors",
14
+ "decoder.model.embed_tokens_per_layer.7.weight": "model-00001-of-00002.safetensors",
15
+ "decoder.model.embed_tokens_per_layer.8.weight": "model-00001-of-00002.safetensors",
16
+ "decoder.model.embed_tokens_per_layer.9.weight": "model-00001-of-00002.safetensors",
17
+ "decoder.model.embed_tokens_per_layer.10.weight": "model-00001-of-00002.safetensors",
18
+ "decoder.model.embed_tokens_per_layer.11.weight": "model-00001-of-00002.safetensors",
19
+ "decoder.model.embed_tokens_per_layer.12.weight": "model-00001-of-00002.safetensors",
20
+ "decoder.model.embed_tokens_per_layer.13.weight": "model-00001-of-00002.safetensors",
21
+ "decoder.model.embed_tokens_per_layer.14.weight": "model-00001-of-00002.safetensors",
22
+ "decoder.model.embed_tokens_per_layer.15.weight": "model-00001-of-00002.safetensors",
23
+ "decoder.model.embed_tokens_per_layer.16.weight": "model-00001-of-00002.safetensors",
24
+ "decoder.model.embed_tokens_per_layer.17.weight": "model-00001-of-00002.safetensors",
25
+ "decoder.model.embed_tokens_per_layer.18.weight": "model-00001-of-00002.safetensors",
26
+ "decoder.model.embed_tokens_per_layer.19.weight": "model-00001-of-00002.safetensors",
27
+ "decoder.model.embed_tokens_per_layer.20.weight": "model-00001-of-00002.safetensors",
28
+ "decoder.model.embed_tokens_per_layer.21.weight": "model-00001-of-00002.safetensors",
29
+ "decoder.model.embed_tokens_per_layer.22.weight": "model-00001-of-00002.safetensors",
30
+ "decoder.model.embed_tokens_per_layer.23.weight": "model-00001-of-00002.safetensors",
31
+ "decoder.model.embed_tokens_per_layer.24.weight": "model-00001-of-00002.safetensors",
32
+ "decoder.model.embed_tokens_per_layer.25.weight": "model-00001-of-00002.safetensors",
33
+ "decoder.model.embed_tokens_per_layer.26.weight": "model-00001-of-00002.safetensors",
34
+ "decoder.model.embed_tokens_per_layer.27.weight": "model-00001-of-00002.safetensors",
35
+ "decoder.model.embed_tokens_per_layer.28.weight": "model-00001-of-00002.safetensors",
36
+ "decoder.model.embed_tokens_per_layer.29.weight": "model-00001-of-00002.safetensors",
37
+ "decoder.model.embed_tokens_per_layer.30.weight": "model-00001-of-00002.safetensors",
38
+ "decoder.model.embed_tokens_per_layer.31.weight": "model-00001-of-00002.safetensors",
39
+ "decoder.model.embed_tokens_per_layer.32.weight": "model-00001-of-00002.safetensors",
40
+ "decoder.model.embed_tokens_per_layer.33.weight": "model-00001-of-00002.safetensors",
41
+ "decoder.model.embed_tokens_per_layer.34.weight": "model-00001-of-00002.safetensors",
42
+ "decoder.model.rotary_emb_local.cos_cache": "model-00001-of-00002.safetensors",
43
+ "decoder.model.rotary_emb_local.sin_cache": "model-00001-of-00002.safetensors",
44
+ "decoder.model.rotary_emb_global.cos_cache": "model-00001-of-00002.safetensors",
45
+ "decoder.model.rotary_emb_global.sin_cache": "model-00001-of-00002.safetensors",
46
+ "decoder.model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
47
+ "decoder.model.layers.0.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
48
+ "decoder.model.layers.0.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
49
+ "decoder.model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
50
+ "decoder.model.layers.0.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
51
+ "decoder.model.layers.0.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
52
+ "decoder.model.layers.0.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
53
+ "decoder.model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
54
+ "decoder.model.layers.1.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
55
+ "decoder.model.layers.1.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
56
+ "decoder.model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
57
+ "decoder.model.layers.1.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
58
+ "decoder.model.layers.1.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
59
+ "decoder.model.layers.1.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
60
+ "decoder.model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
61
+ "decoder.model.layers.2.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
62
+ "decoder.model.layers.2.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
63
+ "decoder.model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
64
+ "decoder.model.layers.2.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
65
+ "decoder.model.layers.2.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
66
+ "decoder.model.layers.2.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
67
+ "decoder.model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
68
+ "decoder.model.layers.3.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
69
+ "decoder.model.layers.3.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
70
+ "decoder.model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
71
+ "decoder.model.layers.3.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
72
+ "decoder.model.layers.3.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
73
+ "decoder.model.layers.3.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
74
+ "decoder.model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
75
+ "decoder.model.layers.4.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
76
+ "decoder.model.layers.4.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
77
+ "decoder.model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
78
+ "decoder.model.layers.4.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
79
+ "decoder.model.layers.4.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
80
+ "decoder.model.layers.4.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
81
+ "decoder.model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
82
+ "decoder.model.layers.5.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
83
+ "decoder.model.layers.5.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
84
+ "decoder.model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
85
+ "decoder.model.layers.5.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
86
+ "decoder.model.layers.5.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
87
+ "decoder.model.layers.5.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
88
+ "decoder.model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
89
+ "decoder.model.layers.6.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
90
+ "decoder.model.layers.6.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
91
+ "decoder.model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
92
+ "decoder.model.layers.6.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
93
+ "decoder.model.layers.6.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
94
+ "decoder.model.layers.6.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
95
+ "decoder.model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
96
+ "decoder.model.layers.7.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
97
+ "decoder.model.layers.7.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
98
+ "decoder.model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
99
+ "decoder.model.layers.7.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
100
+ "decoder.model.layers.7.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
101
+ "decoder.model.layers.7.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
102
+ "decoder.model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
103
+ "decoder.model.layers.8.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
104
+ "decoder.model.layers.8.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
105
+ "decoder.model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
106
+ "decoder.model.layers.8.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
107
+ "decoder.model.layers.8.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
108
+ "decoder.model.layers.8.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
109
+ "decoder.model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
110
+ "decoder.model.layers.9.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
111
+ "decoder.model.layers.9.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
112
+ "decoder.model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
113
+ "decoder.model.layers.9.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
114
+ "decoder.model.layers.9.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
115
+ "decoder.model.layers.9.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
116
+ "decoder.model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
117
+ "decoder.model.layers.10.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
118
+ "decoder.model.layers.10.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
119
+ "decoder.model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
120
+ "decoder.model.layers.10.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
121
+ "decoder.model.layers.10.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
122
+ "decoder.model.layers.10.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
123
+ "decoder.model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
124
+ "decoder.model.layers.11.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
125
+ "decoder.model.layers.11.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
126
+ "decoder.model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
127
+ "decoder.model.layers.11.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
128
+ "decoder.model.layers.11.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
129
+ "decoder.model.layers.11.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
130
+ "decoder.model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
131
+ "decoder.model.layers.12.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
132
+ "decoder.model.layers.12.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
133
+ "decoder.model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
134
+ "decoder.model.layers.12.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
135
+ "decoder.model.layers.12.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
136
+ "decoder.model.layers.12.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
137
+ "decoder.model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
138
+ "decoder.model.layers.13.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
139
+ "decoder.model.layers.13.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
140
+ "decoder.model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
141
+ "decoder.model.layers.13.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
142
+ "decoder.model.layers.13.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
143
+ "decoder.model.layers.13.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
144
+ "decoder.model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
145
+ "decoder.model.layers.14.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
146
+ "decoder.model.layers.14.self_attn.k_norm.weight": "model-00001-of-00002.safetensors",
147
+ "decoder.model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
148
+ "decoder.model.layers.14.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
149
+ "decoder.model.layers.14.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
150
+ "decoder.model.layers.14.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
151
+ "decoder.model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
152
+ "decoder.model.layers.15.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
153
+ "decoder.model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
154
+ "decoder.model.layers.15.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
155
+ "decoder.model.layers.15.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
156
+ "decoder.model.layers.15.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
157
+ "decoder.model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
158
+ "decoder.model.layers.16.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
159
+ "decoder.model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
160
+ "decoder.model.layers.16.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
161
+ "decoder.model.layers.16.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
162
+ "decoder.model.layers.16.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
163
+ "decoder.model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
164
+ "decoder.model.layers.17.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
165
+ "decoder.model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
166
+ "decoder.model.layers.17.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
167
+ "decoder.model.layers.17.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
168
+ "decoder.model.layers.17.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
169
+ "decoder.model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
170
+ "decoder.model.layers.18.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
171
+ "decoder.model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
172
+ "decoder.model.layers.18.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
173
+ "decoder.model.layers.18.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
174
+ "decoder.model.layers.18.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
175
+ "decoder.model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
176
+ "decoder.model.layers.19.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
177
+ "decoder.model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
178
+ "decoder.model.layers.19.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
179
+ "decoder.model.layers.19.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
180
+ "decoder.model.layers.19.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
181
+ "decoder.model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
182
+ "decoder.model.layers.20.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
183
+ "decoder.model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
184
+ "decoder.model.layers.20.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
185
+ "decoder.model.layers.20.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
186
+ "decoder.model.layers.20.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
187
+ "decoder.model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors",
188
+ "decoder.model.layers.21.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
189
+ "decoder.model.layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
190
+ "decoder.model.layers.21.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
191
+ "decoder.model.layers.21.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
192
+ "decoder.model.layers.21.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
193
+ "decoder.model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors",
194
+ "decoder.model.layers.22.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
195
+ "decoder.model.layers.22.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
196
+ "decoder.model.layers.22.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
197
+ "decoder.model.layers.22.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
198
+ "decoder.model.layers.22.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
199
+ "decoder.model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors",
200
+ "decoder.model.layers.23.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
201
+ "decoder.model.layers.23.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
202
+ "decoder.model.layers.23.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
203
+ "decoder.model.layers.23.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
204
+ "decoder.model.layers.23.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
205
+ "decoder.model.layers.24.input_layernorm.weight": "model-00001-of-00002.safetensors",
206
+ "decoder.model.layers.24.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
207
+ "decoder.model.layers.24.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
208
+ "decoder.model.layers.24.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
209
+ "decoder.model.layers.24.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
210
+ "decoder.model.layers.24.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
211
+ "decoder.model.layers.25.input_layernorm.weight": "model-00001-of-00002.safetensors",
212
+ "decoder.model.layers.25.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
213
+ "decoder.model.layers.25.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
214
+ "decoder.model.layers.25.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
215
+ "decoder.model.layers.25.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
216
+ "decoder.model.layers.25.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
217
+ "decoder.model.layers.26.input_layernorm.weight": "model-00001-of-00002.safetensors",
218
+ "decoder.model.layers.26.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
219
+ "decoder.model.layers.26.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
220
+ "decoder.model.layers.26.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
221
+ "decoder.model.layers.26.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
222
+ "decoder.model.layers.26.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
223
+ "decoder.model.layers.27.input_layernorm.weight": "model-00001-of-00002.safetensors",
224
+ "decoder.model.layers.27.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
225
+ "decoder.model.layers.27.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
226
+ "decoder.model.layers.27.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
227
+ "decoder.model.layers.27.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
228
+ "decoder.model.layers.27.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
229
+ "decoder.model.layers.28.input_layernorm.weight": "model-00001-of-00002.safetensors",
230
+ "decoder.model.layers.28.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
231
+ "decoder.model.layers.28.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
232
+ "decoder.model.layers.28.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
233
+ "decoder.model.layers.28.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
234
+ "decoder.model.layers.28.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
235
+ "decoder.model.layers.29.input_layernorm.weight": "model-00001-of-00002.safetensors",
236
+ "decoder.model.layers.29.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
237
+ "decoder.model.layers.29.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
238
+ "decoder.model.layers.29.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
239
+ "decoder.model.layers.29.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
240
+ "decoder.model.layers.29.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
241
+ "decoder.model.layers.30.input_layernorm.weight": "model-00001-of-00002.safetensors",
242
+ "decoder.model.layers.30.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
243
+ "decoder.model.layers.30.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
244
+ "decoder.model.layers.30.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
245
+ "decoder.model.layers.30.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
246
+ "decoder.model.layers.30.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
247
+ "decoder.model.layers.31.input_layernorm.weight": "model-00001-of-00002.safetensors",
248
+ "decoder.model.layers.31.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
249
+ "decoder.model.layers.31.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
250
+ "decoder.model.layers.31.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
251
+ "decoder.model.layers.31.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
252
+ "decoder.model.layers.31.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
253
+ "decoder.model.layers.32.input_layernorm.weight": "model-00001-of-00002.safetensors",
254
+ "decoder.model.layers.32.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
255
+ "decoder.model.layers.32.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
256
+ "decoder.model.layers.32.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
257
+ "decoder.model.layers.32.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
258
+ "decoder.model.layers.32.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
259
+ "decoder.model.layers.33.input_layernorm.weight": "model-00001-of-00002.safetensors",
260
+ "decoder.model.layers.33.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
261
+ "decoder.model.layers.33.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
262
+ "decoder.model.layers.33.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
263
+ "decoder.model.layers.33.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
264
+ "decoder.model.layers.33.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
265
+ "decoder.model.layers.34.input_layernorm.weight": "model-00001-of-00002.safetensors",
266
+ "decoder.model.layers.34.self_attn.q_norm.weight": "model-00001-of-00002.safetensors",
267
+ "decoder.model.layers.34.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
268
+ "decoder.model.layers.34.pre_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
269
+ "decoder.model.layers.34.post_feedforward_layernorm.weight": "model-00001-of-00002.safetensors",
270
+ "decoder.model.layers.34.post_per_layer_input_norm.weight": "model-00001-of-00002.safetensors",
271
+ "decoder.model.norm.weight": "model-00001-of-00002.safetensors",
272
+ "decoder.model.per_layer_model_projection.weight_t": "model-00001-of-00002.safetensors",
273
+ "decoder.model.layers.0.self_attn.q_proj.weight_t": "model-00001-of-00002.safetensors",
274
+ "decoder.model.layers.0.self_attn.k_proj.weight_t": "model-00001-of-00002.safetensors",
275
+ "decoder.model.layers.0.self_attn.v_proj.weight_t": "model-00001-of-00002.safetensors",
276
+ "decoder.model.layers.0.self_attn.o_proj.weight_t": "model-00001-of-00002.safetensors",
277
+ "decoder.model.layers.0.mlp.gate_proj.weight_t": "model-00001-of-00002.safetensors",
278
+ "decoder.model.layers.0.mlp.up_proj.weight_t": "model-00001-of-00002.safetensors",
279
+ "decoder.model.layers.0.mlp.down_proj.weight_t": "model-00001-of-00002.safetensors",
280
+ "decoder.model.layers.0.per_layer_input_gate.weight_t": "model-00001-of-00002.safetensors",
281
+ "decoder.model.layers.0.per_layer_projection.weight_t": "model-00001-of-00002.safetensors",
282
+ "decoder.model.layers.1.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
283
+ "decoder.model.layers.1.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
284
+ "decoder.model.layers.1.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
285
+ "decoder.model.layers.1.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
286
+ "decoder.model.layers.1.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
287
+ "decoder.model.layers.1.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
288
+ "decoder.model.layers.1.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
289
+ "decoder.model.layers.1.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
290
+ "decoder.model.layers.1.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
291
+ "decoder.model.layers.2.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
292
+ "decoder.model.layers.2.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
293
+ "decoder.model.layers.2.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
294
+ "decoder.model.layers.2.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
295
+ "decoder.model.layers.2.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
296
+ "decoder.model.layers.2.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
297
+ "decoder.model.layers.2.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
298
+ "decoder.model.layers.2.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
299
+ "decoder.model.layers.2.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
300
+ "decoder.model.layers.3.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
301
+ "decoder.model.layers.3.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
302
+ "decoder.model.layers.3.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
303
+ "decoder.model.layers.3.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
304
+ "decoder.model.layers.3.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
305
+ "decoder.model.layers.3.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
306
+ "decoder.model.layers.3.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
307
+ "decoder.model.layers.3.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
308
+ "decoder.model.layers.3.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
309
+ "decoder.model.layers.4.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
310
+ "decoder.model.layers.4.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
311
+ "decoder.model.layers.4.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
312
+ "decoder.model.layers.4.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
313
+ "decoder.model.layers.4.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
314
+ "decoder.model.layers.4.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
315
+ "decoder.model.layers.4.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
316
+ "decoder.model.layers.4.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
317
+ "decoder.model.layers.4.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
318
+ "decoder.model.layers.5.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
319
+ "decoder.model.layers.5.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
320
+ "decoder.model.layers.5.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
321
+ "decoder.model.layers.5.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
322
+ "decoder.model.layers.5.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
323
+ "decoder.model.layers.5.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
324
+ "decoder.model.layers.5.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
325
+ "decoder.model.layers.5.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
326
+ "decoder.model.layers.5.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
327
+ "decoder.model.layers.6.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
328
+ "decoder.model.layers.6.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
329
+ "decoder.model.layers.6.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
330
+ "decoder.model.layers.6.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
331
+ "decoder.model.layers.6.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
332
+ "decoder.model.layers.6.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
333
+ "decoder.model.layers.6.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
334
+ "decoder.model.layers.6.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
335
+ "decoder.model.layers.6.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
336
+ "decoder.model.layers.7.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
337
+ "decoder.model.layers.7.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
338
+ "decoder.model.layers.7.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
339
+ "decoder.model.layers.7.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
340
+ "decoder.model.layers.7.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
341
+ "decoder.model.layers.7.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
342
+ "decoder.model.layers.7.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
343
+ "decoder.model.layers.7.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
344
+ "decoder.model.layers.7.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
345
+ "decoder.model.layers.8.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
346
+ "decoder.model.layers.8.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
347
+ "decoder.model.layers.8.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
348
+ "decoder.model.layers.8.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
349
+ "decoder.model.layers.8.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
350
+ "decoder.model.layers.8.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
351
+ "decoder.model.layers.8.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
352
+ "decoder.model.layers.8.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
353
+ "decoder.model.layers.8.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
354
+ "decoder.model.layers.9.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
355
+ "decoder.model.layers.9.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
356
+ "decoder.model.layers.9.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
357
+ "decoder.model.layers.9.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
358
+ "decoder.model.layers.9.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
359
+ "decoder.model.layers.9.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
360
+ "decoder.model.layers.9.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
361
+ "decoder.model.layers.9.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
362
+ "decoder.model.layers.9.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
363
+ "decoder.model.layers.10.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
364
+ "decoder.model.layers.10.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
365
+ "decoder.model.layers.10.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
366
+ "decoder.model.layers.10.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
367
+ "decoder.model.layers.10.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
368
+ "decoder.model.layers.10.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
369
+ "decoder.model.layers.10.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
370
+ "decoder.model.layers.10.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
371
+ "decoder.model.layers.10.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
372
+ "decoder.model.layers.11.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
373
+ "decoder.model.layers.11.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
374
+ "decoder.model.layers.11.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
375
+ "decoder.model.layers.11.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
376
+ "decoder.model.layers.11.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
377
+ "decoder.model.layers.11.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
378
+ "decoder.model.layers.11.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
379
+ "decoder.model.layers.11.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
380
+ "decoder.model.layers.11.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
381
+ "decoder.model.layers.12.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
382
+ "decoder.model.layers.12.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
383
+ "decoder.model.layers.12.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
384
+ "decoder.model.layers.12.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
385
+ "decoder.model.layers.12.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
386
+ "decoder.model.layers.12.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
387
+ "decoder.model.layers.12.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
388
+ "decoder.model.layers.12.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
389
+ "decoder.model.layers.12.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
390
+ "decoder.model.layers.13.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
391
+ "decoder.model.layers.13.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
392
+ "decoder.model.layers.13.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
393
+ "decoder.model.layers.13.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
394
+ "decoder.model.layers.13.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
395
+ "decoder.model.layers.13.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
396
+ "decoder.model.layers.13.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
397
+ "decoder.model.layers.13.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
398
+ "decoder.model.layers.13.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
399
+ "decoder.model.layers.14.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
400
+ "decoder.model.layers.14.self_attn.k_proj.weight_t": "model-00002-of-00002.safetensors",
401
+ "decoder.model.layers.14.self_attn.v_proj.weight_t": "model-00002-of-00002.safetensors",
402
+ "decoder.model.layers.14.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
403
+ "decoder.model.layers.14.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
404
+ "decoder.model.layers.14.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
405
+ "decoder.model.layers.14.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
406
+ "decoder.model.layers.14.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
407
+ "decoder.model.layers.14.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
408
+ "decoder.model.layers.15.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
409
+ "decoder.model.layers.15.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
410
+ "decoder.model.layers.15.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
411
+ "decoder.model.layers.15.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
412
+ "decoder.model.layers.15.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
413
+ "decoder.model.layers.15.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
414
+ "decoder.model.layers.15.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
415
+ "decoder.model.layers.16.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
416
+ "decoder.model.layers.16.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
417
+ "decoder.model.layers.16.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
418
+ "decoder.model.layers.16.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
419
+ "decoder.model.layers.16.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
420
+ "decoder.model.layers.16.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
421
+ "decoder.model.layers.16.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
422
+ "decoder.model.layers.17.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
423
+ "decoder.model.layers.17.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
424
+ "decoder.model.layers.17.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
425
+ "decoder.model.layers.17.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
426
+ "decoder.model.layers.17.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
427
+ "decoder.model.layers.17.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
428
+ "decoder.model.layers.17.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
429
+ "decoder.model.layers.18.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
430
+ "decoder.model.layers.18.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
431
+ "decoder.model.layers.18.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
432
+ "decoder.model.layers.18.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
433
+ "decoder.model.layers.18.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
434
+ "decoder.model.layers.18.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
435
+ "decoder.model.layers.18.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
436
+ "decoder.model.layers.19.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
437
+ "decoder.model.layers.19.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
438
+ "decoder.model.layers.19.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
439
+ "decoder.model.layers.19.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
440
+ "decoder.model.layers.19.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
441
+ "decoder.model.layers.19.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
442
+ "decoder.model.layers.19.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
443
+ "decoder.model.layers.20.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
444
+ "decoder.model.layers.20.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
445
+ "decoder.model.layers.20.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
446
+ "decoder.model.layers.20.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
447
+ "decoder.model.layers.20.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
448
+ "decoder.model.layers.20.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
449
+ "decoder.model.layers.20.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
450
+ "decoder.model.layers.21.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
451
+ "decoder.model.layers.21.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
452
+ "decoder.model.layers.21.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
453
+ "decoder.model.layers.21.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
454
+ "decoder.model.layers.21.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
455
+ "decoder.model.layers.21.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
456
+ "decoder.model.layers.21.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
457
+ "decoder.model.layers.22.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
458
+ "decoder.model.layers.22.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
459
+ "decoder.model.layers.22.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
460
+ "decoder.model.layers.22.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
461
+ "decoder.model.layers.22.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
462
+ "decoder.model.layers.22.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
463
+ "decoder.model.layers.22.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
464
+ "decoder.model.layers.23.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
465
+ "decoder.model.layers.23.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
466
+ "decoder.model.layers.23.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
467
+ "decoder.model.layers.23.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
468
+ "decoder.model.layers.23.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
469
+ "decoder.model.layers.23.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
470
+ "decoder.model.layers.23.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
471
+ "decoder.model.layers.24.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
472
+ "decoder.model.layers.24.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
473
+ "decoder.model.layers.24.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
474
+ "decoder.model.layers.24.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
475
+ "decoder.model.layers.24.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
476
+ "decoder.model.layers.24.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
477
+ "decoder.model.layers.24.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
478
+ "decoder.model.layers.25.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
479
+ "decoder.model.layers.25.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
480
+ "decoder.model.layers.25.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
481
+ "decoder.model.layers.25.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
482
+ "decoder.model.layers.25.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
483
+ "decoder.model.layers.25.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
484
+ "decoder.model.layers.25.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
485
+ "decoder.model.layers.26.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
486
+ "decoder.model.layers.26.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
487
+ "decoder.model.layers.26.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
488
+ "decoder.model.layers.26.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
489
+ "decoder.model.layers.26.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
490
+ "decoder.model.layers.26.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
491
+ "decoder.model.layers.26.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
492
+ "decoder.model.layers.27.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
493
+ "decoder.model.layers.27.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
494
+ "decoder.model.layers.27.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
495
+ "decoder.model.layers.27.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
496
+ "decoder.model.layers.27.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
497
+ "decoder.model.layers.27.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
498
+ "decoder.model.layers.27.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
499
+ "decoder.model.layers.28.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
500
+ "decoder.model.layers.28.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
501
+ "decoder.model.layers.28.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
502
+ "decoder.model.layers.28.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
503
+ "decoder.model.layers.28.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
504
+ "decoder.model.layers.28.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
505
+ "decoder.model.layers.28.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
506
+ "decoder.model.layers.29.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
507
+ "decoder.model.layers.29.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
508
+ "decoder.model.layers.29.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
509
+ "decoder.model.layers.29.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
510
+ "decoder.model.layers.29.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
511
+ "decoder.model.layers.29.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
512
+ "decoder.model.layers.29.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
513
+ "decoder.model.layers.30.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
514
+ "decoder.model.layers.30.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
515
+ "decoder.model.layers.30.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
516
+ "decoder.model.layers.30.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
517
+ "decoder.model.layers.30.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
518
+ "decoder.model.layers.30.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
519
+ "decoder.model.layers.30.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
520
+ "decoder.model.layers.31.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
521
+ "decoder.model.layers.31.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
522
+ "decoder.model.layers.31.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
523
+ "decoder.model.layers.31.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
524
+ "decoder.model.layers.31.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
525
+ "decoder.model.layers.31.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
526
+ "decoder.model.layers.31.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
527
+ "decoder.model.layers.32.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
528
+ "decoder.model.layers.32.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
529
+ "decoder.model.layers.32.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
530
+ "decoder.model.layers.32.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
531
+ "decoder.model.layers.32.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
532
+ "decoder.model.layers.32.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
533
+ "decoder.model.layers.32.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
534
+ "decoder.model.layers.33.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
535
+ "decoder.model.layers.33.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
536
+ "decoder.model.layers.33.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
537
+ "decoder.model.layers.33.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
538
+ "decoder.model.layers.33.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
539
+ "decoder.model.layers.33.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
540
+ "decoder.model.layers.33.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
541
+ "decoder.model.layers.34.self_attn.q_proj.weight_t": "model-00002-of-00002.safetensors",
542
+ "decoder.model.layers.34.self_attn.o_proj.weight_t": "model-00002-of-00002.safetensors",
543
+ "decoder.model.layers.34.mlp.gate_proj.weight_t": "model-00002-of-00002.safetensors",
544
+ "decoder.model.layers.34.mlp.up_proj.weight_t": "model-00002-of-00002.safetensors",
545
+ "decoder.model.layers.34.mlp.down_proj.weight_t": "model-00002-of-00002.safetensors",
546
+ "decoder.model.layers.34.per_layer_input_gate.weight_t": "model-00002-of-00002.safetensors",
547
+ "decoder.model.layers.34.per_layer_projection.weight_t": "model-00002-of-00002.safetensors",
548
+ "decoder.lm_head.weight_t": "model-00002-of-00002.safetensors"
549
+ }
550
+ }
bf16/onnx-standard/embedding/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47d105fc7ae637554a6552b90e4335caa175427b8770d1891e3602cb869776e0
3
+ size 8656
bf16/onnx-standard/embedding/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741c3297844e13c22a8eae3db118a94ae7d296e490d25e12e1a90c3d143f8681
3
+ size 805312824
bf16/onnx-standard/genai_config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "type": "gemma4",
4
+ "vocab_size": 262144,
5
+ "context_length": 131072,
6
+ "decoder": {
7
+ "session_options": {
8
+ "log_id": "onnxruntime-genai",
9
+ "provider_options": []
10
+ },
11
+ "filename": "decoder/model.onnx",
12
+ "head_size": 256,
13
+ "hidden_size": 1536,
14
+ "inputs": {
15
+ "inputs_embeds": "inputs_embeds",
16
+ "attention_mask": "attention_mask",
17
+ "position_ids": "position_ids",
18
+ "input_ids": "input_ids",
19
+ "past_key_names": "past_key_values.%d.key",
20
+ "past_value_names": "past_key_values.%d.value"
21
+ },
22
+ "outputs": {
23
+ "logits": "logits",
24
+ "present_key_names": "present.%d.key",
25
+ "present_value_names": "present.%d.value"
26
+ },
27
+ "num_attention_heads": 8,
28
+ "num_hidden_layers": 35,
29
+ "num_key_value_heads": 1
30
+ },
31
+ "bos_token_id": 2,
32
+ "eos_token_id": [
33
+ 1,
34
+ 106
35
+ ],
36
+ "pad_token_id": 0,
37
+ "vision": {
38
+ "filename": "vision_encoder/model.onnx",
39
+ "config_filename": "image_processor.json",
40
+ "inputs": {
41
+ "pixel_values": "pixel_values",
42
+ "pixel_position_ids": "pixel_position_ids"
43
+ },
44
+ "outputs": {
45
+ "image_features": "image_features"
46
+ },
47
+ "session_options": {
48
+ "log_id": "onnxruntime-genai",
49
+ "provider_options": []
50
+ },
51
+ "spatial_merge_size": 2
52
+ },
53
+ "embedding": {
54
+ "filename": "embedding/model.onnx",
55
+ "inputs": {
56
+ "input_ids": "input_ids",
57
+ "image_features": "image_features",
58
+ "audio_features": "audio_features"
59
+ },
60
+ "outputs": {
61
+ "inputs_embeds": "inputs_embeds"
62
+ },
63
+ "session_options": {
64
+ "log_id": "onnxruntime-genai",
65
+ "provider_options": []
66
+ }
67
+ },
68
+ "speech": {
69
+ "filename": "audio_encoder/model.onnx",
70
+ "config_filename": "audio_feature_extraction.json",
71
+ "inputs": {
72
+ "audio_embeds": "input_features",
73
+ "attention_mask": "input_features_mask"
74
+ },
75
+ "outputs": {
76
+ "audio_features": "audio_features"
77
+ },
78
+ "session_options": {
79
+ "log_id": "onnxruntime-genai",
80
+ "provider_options": []
81
+ }
82
+ },
83
+ "image_token_id": 258880,
84
+ "audio_token_id": 258881,
85
+ "boa_token_id": 256000
86
+ },
87
+ "search": {
88
+ "do_sample": true,
89
+ "early_stopping": true,
90
+ "max_length": 131072,
91
+ "min_length": 0,
92
+ "num_beams": 1,
93
+ "num_return_sequences": 1,
94
+ "past_present_share_buffer": false,
95
+ "repetition_penalty": 1.0,
96
+ "temperature": 1.0,
97
+ "top_k": 1,
98
+ "top_p": 1.0
99
+ }
100
+ }
bf16/onnx-standard/image_processor.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "processor": {
3
+ "name": "gemma_4_image_processing",
4
+ "transforms": [
5
+ {
6
+ "operation": {
7
+ "name": "decode_image",
8
+ "type": "DecodeImage",
9
+ "attrs": {
10
+ "color_space": "RGB"
11
+ }
12
+ }
13
+ },
14
+ {
15
+ "operation": {
16
+ "name": "gemma4_image_transform",
17
+ "type": "Gemma4ImageTransform",
18
+ "attrs": {
19
+ "patch_size": 16,
20
+ "max_soft_tokens": 280,
21
+ "pooling_kernel_size": 3
22
+ }
23
+ }
24
+ }
25
+ ]
26
+ }
27
+ }
bf16/onnx-standard/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
3
+ size 32169626
bf16/onnx-standard/tokenizer_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "mask_token": "<mask>",
21
+ "model_max_length": 1000000000000000019884624838656,
22
+ "pad_token": "<pad>",
23
+ "padding_side": "left",
24
+ "processor_class": "Gemma4Processor",
25
+ "response_schema": {
26
+ "type": "object",
27
+ "properties": {
28
+ "role": {
29
+ "const": "assistant"
30
+ },
31
+ "thinking": {
32
+ "type": "string"
33
+ },
34
+ "content": {
35
+ "type": "string"
36
+ },
37
+ "tool_calls": {
38
+ "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>",
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "properties": {
43
+ "type": {
44
+ "const": "function"
45
+ },
46
+ "function": {
47
+ "type": "object",
48
+ "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})",
49
+ "properties": {
50
+ "name": {
51
+ "type": "string"
52
+ },
53
+ "arguments": {
54
+ "type": "object",
55
+ "x-parser": "gemma4-tool-call",
56
+ "additionalProperties": {}
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
65
+ },
66
+ "soc_token": "<|channel>",
67
+ "sot_token": "<|turn>",
68
+ "stc_token": "<|tool_call>",
69
+ "std_token": "<|tool>",
70
+ "str_token": "<|tool_response>",
71
+ "think_token": "<|think|>",
72
+ "tokenizer_class": "GemmaTokenizer",
73
+ "unk_token": "<unk>",
74
+ "chat_template": "{%- macro format_parameters(properties, required, filter_keys=false) -%}\n {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in properties | dictsort -%}\n {%- set add_comma = false -%}\n {%- if not filter_keys or key not in standard_keys -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {{ key }}:{\n {%- if value['description'] -%}\n description:<|\"|>{{ value['description'] }}<|\"|>\n {%- set add_comma = true -%}\n {%- endif -%}\n {%- if value['type'] | upper == 'STRING' -%}\n {%- if value['enum'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n enum:{{ format_argument(value['enum']) }}\n {%- endif -%}\n {%- elif value['type'] | upper == 'ARRAY' -%}\n {%- if value['items'] is mapping and value['items'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n items:{\n {%- set ns_items = namespace(found_first=false) -%}\n {%- for item_key, item_value in value['items'] | dictsort -%}\n {%- if item_value is not none -%}\n {%- if ns_items.found_first %},{% endif -%}\n {%- set ns_items.found_first = true -%}\n {%- if item_key == 'properties' -%}\n properties:{\n {%- if item_value is mapping -%}\n {{- format_parameters(item_value, value['items']['required'] | default([])) -}}\n {%- endif -%}\n }\n {%- elif item_key == 'required' -%}\n required:[\n {%- for req_item in item_value -%}\n <|\"|>{{- req_item -}}<|\"|>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- elif item_key == 'type' -%}\n {%- if item_value is string -%}\n type:{{ format_argument(item_value | upper) }}\n {%- else -%}\n type:{{ format_argument(item_value | map('upper') | list) }}\n {%- endif -%}\n {%- else -%}\n {{ item_key }}:{{ format_argument(item_value) }}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n }\n {%- endif -%}\n {%- endif -%}\n {%- if value['nullable'] %}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n nullable:true\n {%- endif -%}\n {%- if value['type'] | upper == 'OBJECT' -%}\n {%- if value['properties'] is defined and value['properties'] is mapping -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n properties:{\n {{- format_parameters(value['properties'], value['required'] | default([])) -}}\n }\n {%- elif value is mapping -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n properties:{\n {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}\n }\n {%- endif -%}\n {%- if value['required'] -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n required:[\n {%- for item in value['required'] | default([]) -%}\n <|\"|>{{- item -}}<|\"|>\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n ]\n {%- endif -%}\n {%- endif -%}\n {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}\n type:<|\"|>{{ value['type'] | upper }}<|\"|>}\n {%- endif -%}\n {%- endfor -%}\n{%- endmacro -%}\n{%- macro format_function_declaration(tool_data) -%}\n declaration:{{- tool_data['function']['name'] -}}{description:<|\"|>{{- tool_data['function']['description'] -}}<|\"|>\n {%- set params = tool_data['function']['parameters'] -%}\n {%- if params -%}\n ,parameters:{\n {%- if params['properties'] -%}\n properties:{ {{- format_parameters(params['properties'], params['required']) -}} },\n {%- endif -%}\n {%- if params['required'] -%}\n required:[\n {%- for item in params['required'] -%}\n <|\"|>{{- item -}}<|\"|>\n {{- ',' if not loop.last -}}\n {%- endfor -%}\n ],\n {%- endif -%}\n {%- if params['type'] -%}\n type:<|\"|>{{- params['type'] | upper -}}<|\"|>}\n {%- endif -%}\n {%- endif -%}\n {%- if 'response' in tool_data['function'] -%}\n {%- set response_declaration = tool_data['function']['response'] -%}\n ,response:{\n {%- if response_declaration['description'] -%}\n description:<|\"|>{{- response_declaration['description'] -}}<|\"|>,\n {%- endif -%}\n {%- if response_declaration['type'] | upper == 'OBJECT' -%}\n type:<|\"|>{{- response_declaration['type'] | upper -}}<|\"|>}\n {%- endif -%}\n {%- endif -%}\n }\n{%- endmacro -%}\n{%- macro format_argument(argument, escape_keys=True) -%}\n {%- if argument is string -%}\n {{- '<|\"|>' + argument + '<|\"|>' -}}\n {%- elif argument is boolean -%}\n {{- 'true' if argument else 'false' -}}\n {%- elif argument is mapping -%}\n {{- '{' -}}\n {%- set ns = namespace(found_first=false) -%}\n {%- for key, value in argument | dictsort -%}\n {%- if ns.found_first %},{% endif -%}\n {%- set ns.found_first = true -%}\n {%- if escape_keys -%}\n {{- '<|\"|>' + key + '<|\"|>' -}}\n {%- else -%}\n {{- key -}}\n {%- endif -%}\n :{{- format_argument(value, escape_keys=escape_keys) -}}\n {%- endfor -%}\n {{- '}' -}}\n {%- elif argument is sequence -%}\n {{- '[' -}}\n {%- for item in argument -%}\n {{- format_argument(item, escape_keys=escape_keys) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- ']' -}}\n {%- else -%}\n {{- argument -}}\n {%- endif -%}\n{%- endmacro -%}\n{%- macro strip_thinking(text) -%}\n {%- set ns = namespace(result='') -%}\n {%- for part in text.split('<channel|>') -%}\n {%- if '<|channel>' in part -%}\n {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}\n {%- else -%}\n {%- set ns.result = ns.result + part -%}\n {%- endif -%}\n {%- endfor -%}\n {{- ns.result | trim -}}\n{%- endmacro -%}\n\n{%- macro format_tool_response_block(tool_name, response) -%}\n {{- '<|tool_response>' -}}\n {%- if response is mapping -%}\n {{- 'response:' + tool_name + '{' -}}\n {%- for key, value in response | dictsort -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- if not loop.last %},{% endif -%}\n {%- endfor -%}\n {{- '}' -}}\n {%- else -%}\n {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}\n {%- endif -%}\n {{- '<tool_response|>' -}}\n{%- endmacro -%}\n\n{%- set ns = namespace(prev_message_type=None) -%}\n{%- set loop_messages = messages -%}\n{{- bos_token -}}\n{#- Handle System/Tool Definitions Block -#}\n{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}\n {{- '<|turn>system\\n' -}}\n {#- Inject Thinking token at the very top of the FIRST system turn -#}\n {%- if enable_thinking is defined and enable_thinking -%}\n {{- '<|think|>\\n' -}}\n {%- set ns.prev_message_type = 'think' -%}\n {%- endif -%}\n {%- if messages[0]['role'] in ['system', 'developer'] -%}\n {%- if messages[0]['content'] is string -%}\n {{- messages[0]['content'] | trim -}}\n {%- elif messages[0]['content'] is sequence -%}\n {%- for item in messages[0]['content'] -%}\n {{- item['text'] | trim + ' '-}}\n {%- endfor -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n {%- endif -%}\n {%- if tools -%}\n {%- for tool in tools %}\n {{- '<|tool>' -}}\n {{- format_function_declaration(tool) | trim -}}\n {{- '<tool|>' -}}\n {%- endfor %}\n {%- set ns.prev_message_type = 'tool' -%}\n {%- endif -%}\n {{- '<turn|>\\n' -}}\n{%- endif %}\n\n{#- Pre-scan: find last user message index for reasoning guard -#}\n{%- set ns_turn = namespace(last_user_idx=-1) -%}\n{%- for i in range(loop_messages | length) -%}\n {%- if loop_messages[i]['role'] == 'user' -%}\n {%- set ns_turn.last_user_idx = i -%}\n {%- endif -%}\n{%- endfor -%}\n\n{#- Loop through messages -#}\n{%- for message in loop_messages -%}\n {%- if message['role'] != 'tool' -%}\n {%- set ns.prev_message_type = None -%}\n {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}\n {#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}\n {%- set prev_nt = namespace(role=None, found=false) -%}\n {%- if loop.index0 > 0 -%}\n {%- for j in range(loop.index0 - 1, -1, -1) -%}\n {%- if not prev_nt.found -%}\n {%- if loop_messages[j]['role'] != 'tool' -%}\n {%- set prev_nt.role = loop_messages[j]['role'] -%}\n {%- set prev_nt.found = true -%}\n {%- endif -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}\n {%- if not continue_same_model_turn -%}\n {{- '<|turn>' + role + '\\n' }}\n {%- endif -%}\n\n {#- Render reasoning/reasoning_content as thinking channel -#}\n {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}\n {%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}\n {{- '<|channel>thought\\n' + thinking_text + '\\n<channel|>' -}}\n {%- endif -%}\n\n {%- if message['tool_calls'] -%}\n {%- for tool_call in message['tool_calls'] -%}\n {%- set function = tool_call['function'] -%}\n {{- '<|tool_call>call:' + function['name'] + '{' -}}\n {%- if function['arguments'] is mapping -%}\n {%- set ns_args = namespace(found_first=false) -%}\n {%- for key, value in function['arguments'] | dictsort -%}\n {%- if ns_args.found_first %},{% endif -%}\n {%- set ns_args.found_first = true -%}\n {{- key -}}:{{- format_argument(value, escape_keys=False) -}}\n {%- endfor -%}\n {%- elif function['arguments'] is string -%}\n {{- function['arguments'] -}}\n {%- endif -%}\n {{- '}<tool_call|>' -}}\n {%- endfor -%}\n {%- set ns.prev_message_type = 'tool_call' -%}\n {%- endif -%}\n\n {%- set ns_tr_out = namespace(flag=false) -%}\n {%- if message.get('tool_responses') -%}\n {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}\n {%- for tool_response in message['tool_responses'] -%}\n {{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}\n {%- set ns_tr_out.flag = true -%}\n {%- set ns.prev_message_type = 'tool_response' -%}\n {%- endfor -%}\n {%- elif message.get('tool_calls') -%}\n {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}\n {%- set ns_tool_scan = namespace(stopped=false) -%}\n {%- for k in range(loop.index0 + 1, loop_messages | length) -%}\n {%- if ns_tool_scan.stopped -%}\n {%- elif loop_messages[k]['role'] != 'tool' -%}\n {%- set ns_tool_scan.stopped = true -%}\n {%- else -%}\n {%- set follow = loop_messages[k] -%}\n {#- Resolve tool_call_id to function name -#}\n {%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}\n {%- for tc in message['tool_calls'] -%}\n {%- if tc.get('id') == follow.get('tool_call_id') -%}\n {%- set ns_tname.name = tc['function']['name'] -%}\n {%- endif -%}\n {%- endfor -%}\n {#- Handle content as string or content-parts array -#}\n {%- set tool_body = follow.get('content') -%}\n {%- if tool_body is string -%}\n {{- format_tool_response_block(ns_tname.name, tool_body) -}}\n {%- elif tool_body is sequence and tool_body is not string -%}\n {%- set ns_txt = namespace(s='') -%}\n {%- for part in tool_body -%}\n {%- if part.get('type') == 'text' -%}\n {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}\n {%- endif -%}\n {%- endfor -%}\n {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}\n {%- else -%}\n {{- format_tool_response_block(ns_tname.name, tool_body) -}}\n {%- endif -%}\n {%- set ns_tr_out.flag = true -%}\n {%- set ns.prev_message_type = 'tool_response' -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- set captured_content -%}\n {%- if message['content'] is string -%}\n {%- if role == 'model' -%}\n {{- strip_thinking(message['content']) -}}\n {%- else -%}\n {{- message['content'] | trim -}}\n {%- endif -%}\n {%- elif message['content'] is sequence -%}\n {%- for item in message['content'] -%}\n {%- if item['type'] == 'text' -%}\n {%- if role == 'model' -%}\n {{- strip_thinking(item['text']) -}}\n {%- else -%}\n {{- item['text'] | trim -}}\n {%- endif -%}\n {%- elif item['type'] == 'image' -%}\n {{- '<|image|>' -}}\n {%- set ns.prev_message_type = 'image' -%}\n {%- elif item['type'] == 'audio' -%}\n {{- '<|audio|>' -}}\n {%- set ns.prev_message_type = 'audio' -%}\n {%- elif item['type'] == 'video' -%}\n {{- '<|video|>' -}}\n {%- set ns.prev_message_type = 'video' -%}\n {%- endif -%}\n {%- endfor -%}\n {%- endif -%}\n {%- endset -%}\n\n {{- captured_content -}}\n {%- set has_content = captured_content | trim | length > 0 -%}\n\n {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}\n {{- '<|tool_response>' -}}\n {%- elif not (ns_tr_out.flag and not has_content) -%}\n {{- '<turn|>\\n' -}}\n {%- endif -%}\n {%- endif -%}\n{%- endfor -%}\n\n{%- if add_generation_prompt -%}\n {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}\n {{- '<|turn>model\\n' -}}\n {%- endif -%}\n{%- endif -%}"
75
+ }
bf16/onnx-standard/vision_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2b1224078aae32a065b043107176d8a4de0c339b841e5944b850254697b395a
3
+ size 1238953
bf16/onnx-standard/vision_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33fd860d1ce013444d2f16667e4625045971ad0ca905d1cb3b62feae2e937ba9
3
+ size 358083464
f16/cuda/audio_encoder/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be721e5ebbdf37908cabf4b0e354761214fd44ab8fccbd07d45d98bbfacf930a
3
+ size 1239093
f16/cuda/audio_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ea13edb1d00a3c23fde4816433649bcbfdd245ddffb6769b491984f914a27f
3
+ size 614724736