mrs83 commited on
Commit
052ec8a
·
verified ·
1 Parent(s): 3ec9572

Strip gemma-4-26B-A4B-it-OnlyText to text-only (vision/audio removed)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/gemma-4-26B-A4B-it
4
+ library_name: transformers
5
+ tags:
6
+ - text-generation
7
+ - conversational
8
+ - text-only
9
+ pipeline_tag: text-generation
10
+ ---
11
+
12
+ # gemma-4-26B-A4B-it-OnlyText
13
+
14
+ Text-only causal language model derived from [google/gemma-4-26B-A4B-it](https://huggingface.co/google/gemma-4-26B-A4B-it)
15
+ by removing the vision and audio stacks (their towers/embedders and projector weights)
16
+ and the multimodal special tokens. The text backbone and LM head are preserved.
17
+
18
+ ## Details
19
+
20
+ - Base model: [google/gemma-4-26B-A4B-it](https://huggingface.co/google/gemma-4-26B-A4B-it)
21
+ - Architecture: `Gemma4ForCausalLM`
22
+ - Parameters: 25.23B
23
+ - Layers: 30 · Hidden size: 2816
24
+ - MTP head: not present
25
+ - Weights: `bfloat16`
26
+
27
+ ## Attribution
28
+
29
+ This model is a derivative of [google/gemma-4-26B-A4B-it](https://huggingface.co/google/gemma-4-26B-A4B-it) by the
30
+ [Google team](https://huggingface.co/google), released under the
31
+ [apache-2.0 license](https://www.apache.org/licenses/LICENSE-2.0).
32
+ All credit for the underlying weights and capabilities belongs to the original
33
+ authors; this repository only removes modalities, it does not add new training.
34
+
35
+ ## Usage
36
+
37
+ ```python
38
+ from transformers import AutoModelForCausalLM, AutoTokenizer
39
+
40
+ model = AutoModelForCausalLM.from_pretrained("OnlyTextLLMs/gemma-4-26B-A4B-it-OnlyText")
41
+ tokenizer = AutoTokenizer.from_pretrained("OnlyTextLLMs/gemma-4-26B-A4B-it-OnlyText")
42
+ ```
chat_template.jinja ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {#
2
+ Template: Google Gemma 4 Canonical Chat Template
3
+ Author: Google Gemma Engineering Team
4
+ Published: 2026-07-09
5
+ Context: Fixed tool-calling loops, turn closures, and thinking content-ordering.
6
+ #}
7
+ {%- macro format_parameters(properties, required, filter_keys=false) -%}
8
+ {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
9
+ {%- set ns = namespace(found_first=false) -%}
10
+ {%- for key, value in properties | dictsort -%}
11
+ {%- set add_comma = false -%}
12
+ {%- if not filter_keys or key not in standard_keys -%}
13
+ {%- if ns.found_first %},{% endif -%}
14
+ {%- set ns.found_first = true -%}
15
+ {{ key }}:{
16
+ {%- if value['description'] -%}
17
+ description:<|"|>{{ value['description'] }}<|"|>
18
+ {%- set add_comma = true -%}
19
+ {%- endif -%}
20
+ {%- if value['type'] | upper == 'STRING' -%}
21
+ {%- if value['enum'] -%}
22
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
23
+ enum:{{ format_argument(value['enum']) }}
24
+ {%- endif -%}
25
+ {%- elif value['type'] | upper == 'ARRAY' -%}
26
+ {%- if value['items'] is mapping and value['items'] -%}
27
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
28
+ items:{
29
+ {%- set ns_items = namespace(found_first=false) -%}
30
+ {%- for item_key, item_value in value['items'] | dictsort -%}
31
+ {%- if item_value is not none -%}
32
+ {%- if ns_items.found_first %},{% endif -%}
33
+ {%- set ns_items.found_first = true -%}
34
+ {%- if item_key == 'properties' -%}
35
+ properties:{
36
+ {%- if item_value is mapping -%}
37
+ {{- format_parameters(item_value, value['items']['required'] | default([])) -}}
38
+ {%- endif -%}
39
+ }
40
+ {%- elif item_key == 'required' -%}
41
+ required:[
42
+ {%- for req_item in item_value -%}
43
+ <|"|>{{- req_item -}}<|"|>
44
+ {%- if not loop.last %},{% endif -%}
45
+ {%- endfor -%}
46
+ ]
47
+ {%- elif item_key == 'type' -%}
48
+ {%- if item_value is string -%}
49
+ type:{{ format_argument(item_value | upper) }}
50
+ {%- else -%}
51
+ type:{{ format_argument(item_value | map('upper') | list) }}
52
+ {%- endif -%}
53
+ {%- else -%}
54
+ {{ item_key }}:{{ format_argument(item_value) }}
55
+ {%- endif -%}
56
+ {%- endif -%}
57
+ {%- endfor -%}
58
+ }
59
+ {%- endif -%}
60
+ {%- endif -%}
61
+ {%- if value['nullable'] %}
62
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
63
+ nullable:true
64
+ {%- endif -%}
65
+ {%- if value['type'] | upper == 'OBJECT' -%}
66
+ {%- if value['properties'] is defined and value['properties'] is mapping -%}
67
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
68
+ properties:{
69
+ {{- format_parameters(value['properties'], value['required'] | default([])) -}}
70
+ }
71
+ {%- elif value is mapping -%}
72
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
73
+ properties:{
74
+ {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}
75
+ }
76
+ {%- endif -%}
77
+ {%- if value['required'] -%}
78
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
79
+ required:[
80
+ {%- for item in value['required'] | default([]) -%}
81
+ <|"|>{{- item -}}<|"|>
82
+ {%- if not loop.last %},{% endif -%}
83
+ {%- endfor -%}
84
+ ]
85
+ {%- endif -%}
86
+ {%- endif -%}
87
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
88
+ type:<|"|>{{ value['type'] | upper }}<|"|>}
89
+ {%- endif -%}
90
+ {%- endfor -%}
91
+ {%- endmacro -%}
92
+ {%- macro format_function_declaration(tool_data) -%}
93
+ declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
94
+ {%- set params = tool_data['function']['parameters'] -%}
95
+ {%- if params -%}
96
+ ,parameters:{
97
+ {%- if params['properties'] -%}
98
+ properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
99
+ {%- endif -%}
100
+ {%- if params['required'] -%}
101
+ required:[
102
+ {%- for item in params['required'] -%}
103
+ <|"|>{{- item -}}<|"|>
104
+ {{- ',' if not loop.last -}}
105
+ {%- endfor -%}
106
+ ],
107
+ {%- endif -%}
108
+ {%- if params['type'] -%}
109
+ type:<|"|>{{- params['type'] | upper -}}<|"|>}
110
+ {%- endif -%}
111
+ {%- endif -%}
112
+ {%- if 'response' in tool_data['function'] -%}
113
+ {%- set response_declaration = tool_data['function']['response'] -%}
114
+ ,response:{
115
+ {%- if response_declaration['description'] -%}
116
+ description:<|"|>{{- response_declaration['description'] -}}<|"|>,
117
+ {%- endif -%}
118
+ {%- if response_declaration['type'] | upper == 'OBJECT' -%}
119
+ type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
120
+ {%- endif -%}
121
+ {%- endif -%}
122
+ }
123
+ {%- endmacro -%}
124
+ {%- macro format_argument(argument, escape_keys=True) -%}
125
+ {%- if argument is none -%}
126
+ {{- 'null' -}}
127
+ {%- elif argument is string -%}
128
+ {{- '<|"|>' + argument + '<|"|>' -}}
129
+ {%- elif argument is boolean -%}
130
+ {{- 'true' if argument else 'false' -}}
131
+ {%- elif argument is mapping -%}
132
+ {{- '{' -}}
133
+ {%- set ns = namespace(found_first=false) -%}
134
+ {%- for key, value in argument | dictsort -%}
135
+ {%- if ns.found_first %},{% endif -%}
136
+ {%- set ns.found_first = true -%}
137
+ {%- if escape_keys -%}
138
+ {{- '<|"|>' + key + '<|"|>' -}}
139
+ {%- else -%}
140
+ {{- key -}}
141
+ {%- endif -%}
142
+ :{{- format_argument(value, escape_keys=escape_keys) -}}
143
+ {%- endfor -%}
144
+ {{- '}' -}}
145
+ {%- elif argument is sequence -%}
146
+ {{- '[' -}}
147
+ {%- for item in argument -%}
148
+ {{- format_argument(item, escape_keys=escape_keys) -}}
149
+ {%- if not loop.last %},{% endif -%}
150
+ {%- endfor -%}
151
+ {{- ']' -}}
152
+ {%- else -%}
153
+ {{- argument -}}
154
+ {%- endif -%}
155
+ {%- endmacro -%}
156
+ {%- macro strip_thinking(text) -%}
157
+ {%- set ns = namespace(result='') -%}
158
+ {%- for part in text.split('<channel|>') -%}
159
+ {%- if '<|channel>' in part -%}
160
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
161
+ {%- else -%}
162
+ {%- set ns.result = ns.result + part -%}
163
+ {%- endif -%}
164
+ {%- endfor -%}
165
+ {{- ns.result | trim -}}
166
+ {%- endmacro -%}
167
+
168
+ {%- macro format_tool_response_block(tool_name, response) -%}
169
+ {{- '<|tool_response>' -}}
170
+ {%- if response is mapping -%}
171
+ {{- 'response:' + tool_name + '{' -}}
172
+ {%- for key, value in response | dictsort -%}
173
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
174
+ {%- if not loop.last %},{% endif -%}
175
+ {%- endfor -%}
176
+ {{- '}' -}}
177
+ {%- else -%}
178
+ {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
179
+ {%- endif -%}
180
+ {{- '<tool_response|>' -}}
181
+ {%- endmacro -%}
182
+
183
+ {#- ===== SETUP ===== -#}
184
+ {%- set ns = namespace(prev_message_type=None, prev_non_tool_role=None) -%}
185
+ {%- set loop_messages = messages -%}
186
+ {%- set enable_thinking = enable_thinking | default(false) -%}
187
+ {%- set preserve_thinking = preserve_thinking | default(false) -%}
188
+ {{- bos_token -}}
189
+ {#- Handle System/Tool Definitions Block -#}
190
+ {%- if enable_thinking or tools or (messages and messages[0]['role'] in ['system', 'developer']) -%}
191
+ {{- '<|turn>system\n' -}}
192
+ {#- Inject Thinking token at the very top of the FIRST system turn -#}
193
+ {%- if enable_thinking -%}
194
+ {{- '<|think|>\n' -}}
195
+ {%- set ns.prev_message_type = 'think' -%}
196
+ {%- endif -%}
197
+ {%- if messages and messages[0]['role'] in ['system', 'developer'] -%}
198
+ {%- if messages[0]['content'] is string -%}
199
+ {{- messages[0]['content'] | trim -}}
200
+ {%- elif messages[0]['content'] is sequence -%}
201
+ {%- for item in messages[0]['content'] -%}
202
+ {{- item['text'] | trim + ' '-}}
203
+ {%- endfor -%}
204
+ {%- endif -%}
205
+ {%- set loop_messages = messages[1:] -%}
206
+ {%- endif -%}
207
+ {%- if tools -%}
208
+ {%- for tool in tools %}
209
+ {{- '<|tool>' -}}
210
+ {{- format_function_declaration(tool) | trim -}}
211
+ {{- '<tool|>' -}}
212
+ {%- endfor %}
213
+ {%- set ns.prev_message_type = 'tool' -%}
214
+ {%- endif -%}
215
+ {{- '<turn|>\n' -}}
216
+ {%- endif %}
217
+
218
+ {#- Pre-scan: find last user message index for reasoning guard -#}
219
+ {%- set ns_turn = namespace(last_user_idx=-1) -%}
220
+ {%- for i in range(loop_messages | length) -%}
221
+ {%- if loop_messages[i]['role'] == 'user' -%}
222
+ {%- set ns_turn.last_user_idx = i -%}
223
+ {%- endif -%}
224
+ {%- endfor -%}
225
+
226
+ {#- Loop through messages -#}
227
+ {%- for message in loop_messages -%}
228
+ {%- if message['role'] != 'tool' -%}
229
+ {%- set ns.prev_message_type = None -%}
230
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
231
+ {#- Detect continuation using tracked state — O(1) instead of O(n) backward scan -#}
232
+ {%- set continue_same_model_turn = (role == 'model' and ns.prev_non_tool_role == 'assistant') -%}
233
+ {%- if not continue_same_model_turn -%}
234
+ {{- '<|turn>' + role + '\n' }}
235
+
236
+ {%- endif -%}
237
+
238
+ {#- Render reasoning/reasoning_content as thinking channel -#}
239
+ {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
240
+ {%- set thinking_gate = (loop.index0 > ns_turn.last_user_idx) or (preserve_thinking and message.get('tool_calls')) -%}
241
+ {%- if thinking_text and thinking_gate -%}
242
+ {{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
243
+ {%- endif -%}
244
+
245
+ {%- if message.get('tool_calls') -%}
246
+ {%- for tool_call in message.get('tool_calls') -%}
247
+ {%- set function = tool_call['function'] -%}
248
+ {{- '<|tool_call>call:' + function['name'] + '{' -}}
249
+ {%- if function['arguments'] is mapping -%}
250
+ {%- set ns_args = namespace(found_first=false) -%}
251
+ {%- for key, value in function['arguments'] | dictsort -%}
252
+ {%- if ns_args.found_first %},{% endif -%}
253
+ {%- set ns_args.found_first = true -%}
254
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
255
+ {%- endfor -%}
256
+ {%- elif function['arguments'] is none -%}
257
+ {%- else -%}
258
+ {{- raise_exception(
259
+ "chat_template: tool_calls[].function.arguments must be a "
260
+ "JSON object (mapping), not a string. Deserialize arguments "
261
+ "before passing to the template."
262
+ ) -}}
263
+ {%- endif -%}
264
+ {{- '}<tool_call|>' -}}
265
+ {%- endfor -%}
266
+ {%- set ns.prev_message_type = 'tool_call' -%}
267
+ {%- endif -%}
268
+
269
+ {%- set ns_tr_out = namespace(flag=false) -%}
270
+ {%- if message.get('tool_responses') -%}
271
+ {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
272
+ {%- for tool_response in message.get('tool_responses') -%}
273
+ {{- format_tool_response_block(tool_response['name'] | default('unknown', true), tool_response['response']) -}}
274
+ {%- set ns_tr_out.flag = true -%}
275
+ {%- set ns.prev_message_type = 'tool_response' -%}
276
+ {%- endfor -%}
277
+ {%- elif message.get('tool_calls') -%}
278
+ {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
279
+ {%- set ns_tool_scan = namespace(stopped=false) -%}
280
+ {%- for k in range(loop.index0 + 1, loop_messages | length) -%}
281
+ {%- if ns_tool_scan.stopped -%}
282
+ {%- elif loop_messages[k]['role'] != 'tool' -%}
283
+ {%- set ns_tool_scan.stopped = true -%}
284
+ {%- else -%}
285
+ {%- set follow = loop_messages[k] -%}
286
+ {#- Resolve tool_call_id to function name -#}
287
+ {%- set ns_tname = namespace(name=follow.get('name') or 'unknown') -%}
288
+ {%- for tc in message.get('tool_calls') -%}
289
+ {%- if tc.get('id') == follow.get('tool_call_id') -%}
290
+ {%- set ns_tname.name = tc['function']['name'] -%}
291
+ {%- endif -%}
292
+ {%- endfor -%}
293
+ {#- Handle content as string or content-parts array -#}
294
+ {%- set tool_body = follow.get('content') -%}
295
+ {%- if tool_body is string -%}
296
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
297
+ {%- elif tool_body is sequence and tool_body is not string -%}
298
+ {%- set ns_txt = namespace(s='') -%}
299
+ {%- for part in tool_body -%}
300
+ {%- if part.get('type') == 'text' -%}
301
+ {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
302
+ {%- endif -%}
303
+ {%- endfor -%}
304
+ {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
305
+ {%- for part in tool_body -%}
306
+ {%- if part.get('type') in ['image', 'image_url'] -%}
307
+ {{- '<|image|>' -}}
308
+ {%- elif part.get('type') in ['audio', 'input_audio'] -%}
309
+ {{- '<|audio|>' -}}
310
+ {%- elif part.get('type') == 'video' -%}
311
+ {{- '<|video|>' -}}
312
+ {%- endif -%}
313
+ {%- endfor -%}
314
+ {%- else -%}
315
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
316
+ {%- endif -%}
317
+ {%- set ns_tr_out.flag = true -%}
318
+ {%- set ns.prev_message_type = 'tool_response' -%}
319
+ {%- endif -%}
320
+ {%- endfor -%}
321
+ {%- endif -%}
322
+
323
+ {%- set captured_content -%}
324
+ {%- if message.get('content') is string -%}
325
+ {%- if role == 'model' -%}
326
+ {{- strip_thinking(message['content']) -}}
327
+ {%- else -%}
328
+ {{- message['content'] | trim -}}
329
+ {%- endif -%}
330
+ {%- elif message.get('content') is sequence -%}
331
+ {%- for item in message['content'] -%}
332
+ {%- if item.get('type') == 'text' -%}
333
+ {%- if role == 'model' -%}
334
+ {{- strip_thinking(item['text']) -}}
335
+ {%- else -%}
336
+ {{- item['text'] | trim -}}
337
+ {%- endif -%}
338
+ {%- elif item.get('type') in ['image', 'image_url'] -%}
339
+ {{- '<|image|>' -}}
340
+ {%- elif item.get('type') in ['audio', 'input_audio'] -%}
341
+ {{- '<|audio|>' -}}
342
+ {%- elif item.get('type') == 'video' -%}
343
+ {{- '<|video|>' -}}
344
+ {%- endif -%}
345
+ {%- endfor -%}
346
+ {%- endif -%}
347
+ {%- endset -%}
348
+
349
+ {{- captured_content -}}
350
+ {%- set has_content = captured_content | trim | length > 0 -%}
351
+
352
+ {#- Forward-scan: find next non-tool message role for continuation detection -#}
353
+ {%- set next_nt = namespace(role=None, found=false) -%}
354
+ {%- for j in range(loop.index0 + 1, loop_messages | length) -%}
355
+ {%- if not next_nt.found -%}
356
+ {%- if loop_messages[j]['role'] != 'tool' -%}
357
+ {%- set next_nt.role = loop_messages[j]['role'] -%}
358
+ {%- set next_nt.found = true -%}
359
+ {%- endif -%}
360
+ {%- endif -%}
361
+ {%- endfor -%}
362
+
363
+ {%- set continues_into_next = (
364
+ role == 'model'
365
+ and next_nt.role == 'assistant'
366
+ and (not message.get('tool_calls') or ns_tr_out.flag)
367
+ ) -%}
368
+
369
+ {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
370
+ {{- '<|tool_response>' -}}
371
+ {%- elif continues_into_next -%}
372
+ {%- elif not (ns_tr_out.flag and not has_content and not next_nt.found) -%}
373
+ {{- '<turn|>\n' -}}
374
+ {%- endif -%}
375
+
376
+ {#- Track previous non-tool role for next iteration (avoids O(n) backward scan) -#}
377
+ {%- set ns.prev_non_tool_role = message['role'] -%}
378
+ {%- endif -%}
379
+ {%- endfor -%}
380
+
381
+ {%- if add_generation_prompt -%}
382
+ {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
383
+ {{- '<|turn>model\n' -}}
384
+ {%- if not enable_thinking -%}
385
+ {{- '<|channel>thought\n<channel|>' -}}
386
+ {%- endif -%}
387
+ {%- elif ns.prev_message_type == 'tool_response' and enable_thinking -%}
388
+ {{- '<|channel>thought\n' -}}
389
+ {%- endif -%}
390
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformers_version": "5.15.0",
3
+ "architectures": [
4
+ "Gemma4ForCausalLM"
5
+ ],
6
+ "output_hidden_states": false,
7
+ "return_dict": true,
8
+ "dtype": "bfloat16",
9
+ "chunk_size_feed_forward": 0,
10
+ "is_encoder_decoder": false,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1"
14
+ },
15
+ "label2id": {
16
+ "LABEL_0": 0,
17
+ "LABEL_1": 1
18
+ },
19
+ "vocab_size": 262137,
20
+ "hidden_size": 2816,
21
+ "intermediate_size": 2112,
22
+ "num_hidden_layers": 30,
23
+ "num_attention_heads": 16,
24
+ "num_key_value_heads": 8,
25
+ "head_dim": 256,
26
+ "hidden_activation": "gelu_pytorch_tanh",
27
+ "max_position_embeddings": 262144,
28
+ "initializer_range": 0.02,
29
+ "rms_norm_eps": 1e-06,
30
+ "use_cache": true,
31
+ "pad_token_id": 0,
32
+ "eos_token_id": 1,
33
+ "bos_token_id": 2,
34
+ "tie_word_embeddings": true,
35
+ "rope_parameters": {
36
+ "full_attention": {
37
+ "partial_rotary_factor": 0.25,
38
+ "rope_theta": 1000000.0,
39
+ "rope_type": "proportional"
40
+ },
41
+ "sliding_attention": {
42
+ "rope_theta": 10000.0,
43
+ "rope_type": "default"
44
+ }
45
+ },
46
+ "attention_bias": false,
47
+ "attention_dropout": 0.0,
48
+ "sliding_window": 1024,
49
+ "layer_types": [
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "sliding_attention",
54
+ "sliding_attention",
55
+ "full_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "sliding_attention",
60
+ "sliding_attention",
61
+ "full_attention",
62
+ "sliding_attention",
63
+ "sliding_attention",
64
+ "sliding_attention",
65
+ "sliding_attention",
66
+ "sliding_attention",
67
+ "full_attention",
68
+ "sliding_attention",
69
+ "sliding_attention",
70
+ "sliding_attention",
71
+ "sliding_attention",
72
+ "sliding_attention",
73
+ "full_attention",
74
+ "sliding_attention",
75
+ "sliding_attention",
76
+ "sliding_attention",
77
+ "sliding_attention",
78
+ "sliding_attention",
79
+ "full_attention"
80
+ ],
81
+ "final_logit_softcapping": 30.0,
82
+ "use_bidirectional_attention": "vision",
83
+ "vocab_size_per_layer_input": 262137,
84
+ "hidden_size_per_layer_input": 0,
85
+ "attention_k_eq_v": true,
86
+ "num_kv_shared_layers": 0,
87
+ "enable_moe_block": true,
88
+ "use_double_wide_mlp": false,
89
+ "num_experts": 128,
90
+ "top_k_experts": 8,
91
+ "moe_intermediate_size": 704,
92
+ "model_type": "gemma4_text",
93
+ "output_attentions": false,
94
+ "per_layer_config": {
95
+ "05": {
96
+ "head_dim": 512,
97
+ "num_key_value_heads": 2
98
+ },
99
+ "11": {
100
+ "head_dim": 512,
101
+ "num_key_value_heads": 2
102
+ },
103
+ "17": {
104
+ "head_dim": 512,
105
+ "num_key_value_heads": 2
106
+ },
107
+ "23": {
108
+ "head_dim": 512,
109
+ "num_key_value_heads": 2
110
+ },
111
+ "29": {
112
+ "head_dim": 512,
113
+ "num_key_value_heads": 2
114
+ }
115
+ }
116
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 1,
6
+ 106,
7
+ 50
8
+ ],
9
+ "pad_token_id": 0,
10
+ "temperature": 1.0,
11
+ "top_k": 64,
12
+ "top_p": 0.95,
13
+ "transformers_version": "5.5.0.dev0"
14
+ }
model-00001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f8294e204ae4763c449eda2c9cbff97a4843475f691572ec4e09fd9c45c8e94
3
+ size 4627080762
model-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec2f098f3e205a7f2aaf206a398fd0c643ae0a54f7a2861a4e28c0c84ba2918
3
+ size 4876968166
model-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cce8bb40806ca50646f7a388d29213c55b46d3f76827c39d5c239a27f52ff932
3
+ size 4884577422
model-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d9c81ed4c1629ec45131b99c95b4dc71b4d2771b06dea63e7d9199aab9edc57
3
+ size 4369457286
model-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:018451c84425299ae7a585205bc49dc3f42521e1544316d8a3e1aa99de08b0b4
3
+ size 4884577398
model-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a4acb012f19cf6e7b8ceb651ed711f23713c54b35b630b16daca9568b00e42a
3
+ size 4377066518
model-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e007af4f8f6052674bc552f6b82b4568a9e9c6c978b557087b93207dbb5b8b70
3
+ size 4876968206
model-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43436a76f355b90d1e662671850082449d49ce9dbecf9bcdc9c080428b77363e
3
+ size 4377066518
model-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:687e34a22f6953c1f47a381cc12cb2f4601b7efc804c7d490ef66820dafea6d6
3
+ size 4876968158
model-00010.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18da381ff6aa891a121ad397e80c31834ec59f2dba8408a7e8ea9f1c668c2e23
3
+ size 4876968150
model-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272d9755ec78b351da36cc1b082df1fd2fc437919baeb3b23871ba89b9cebeb2
3
+ size 3438620612
model.safetensors.index.json ADDED
@@ -0,0 +1,664 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 50466244156
4
+ },
5
+ "weight_map": {
6
+ "model.embed_tokens.weight": "model-00001.safetensors",
7
+ "model.layers.0.experts.down_proj": "model-00001.safetensors",
8
+ "model.layers.0.experts.gate_up_proj": "model-00001.safetensors",
9
+ "model.layers.0.input_layernorm.weight": "model-00001.safetensors",
10
+ "model.layers.0.layer_scalar": "model-00001.safetensors",
11
+ "model.layers.0.mlp.down_proj.weight": "model-00001.safetensors",
12
+ "model.layers.0.mlp.gate_proj.weight": "model-00001.safetensors",
13
+ "model.layers.0.mlp.up_proj.weight": "model-00001.safetensors",
14
+ "model.layers.0.post_attention_layernorm.weight": "model-00001.safetensors",
15
+ "model.layers.0.post_feedforward_layernorm.weight": "model-00001.safetensors",
16
+ "model.layers.0.post_feedforward_layernorm_1.weight": "model-00001.safetensors",
17
+ "model.layers.0.post_feedforward_layernorm_2.weight": "model-00001.safetensors",
18
+ "model.layers.0.pre_feedforward_layernorm.weight": "model-00001.safetensors",
19
+ "model.layers.0.pre_feedforward_layernorm_2.weight": "model-00001.safetensors",
20
+ "model.layers.0.router.per_expert_scale": "model-00001.safetensors",
21
+ "model.layers.0.router.proj.weight": "model-00001.safetensors",
22
+ "model.layers.0.router.scale": "model-00001.safetensors",
23
+ "model.layers.0.self_attn.k_norm.weight": "model-00001.safetensors",
24
+ "model.layers.0.self_attn.k_proj.weight": "model-00001.safetensors",
25
+ "model.layers.0.self_attn.o_proj.weight": "model-00001.safetensors",
26
+ "model.layers.0.self_attn.q_norm.weight": "model-00001.safetensors",
27
+ "model.layers.0.self_attn.q_proj.weight": "model-00001.safetensors",
28
+ "model.layers.0.self_attn.v_proj.weight": "model-00001.safetensors",
29
+ "model.layers.1.experts.down_proj": "model-00001.safetensors",
30
+ "model.layers.1.experts.gate_up_proj": "model-00001.safetensors",
31
+ "model.layers.1.input_layernorm.weight": "model-00002.safetensors",
32
+ "model.layers.1.layer_scalar": "model-00002.safetensors",
33
+ "model.layers.1.mlp.down_proj.weight": "model-00002.safetensors",
34
+ "model.layers.1.mlp.gate_proj.weight": "model-00002.safetensors",
35
+ "model.layers.1.mlp.up_proj.weight": "model-00002.safetensors",
36
+ "model.layers.1.post_attention_layernorm.weight": "model-00002.safetensors",
37
+ "model.layers.1.post_feedforward_layernorm.weight": "model-00002.safetensors",
38
+ "model.layers.1.post_feedforward_layernorm_1.weight": "model-00002.safetensors",
39
+ "model.layers.1.post_feedforward_layernorm_2.weight": "model-00002.safetensors",
40
+ "model.layers.1.pre_feedforward_layernorm.weight": "model-00002.safetensors",
41
+ "model.layers.1.pre_feedforward_layernorm_2.weight": "model-00002.safetensors",
42
+ "model.layers.1.router.per_expert_scale": "model-00002.safetensors",
43
+ "model.layers.1.router.proj.weight": "model-00002.safetensors",
44
+ "model.layers.1.router.scale": "model-00002.safetensors",
45
+ "model.layers.1.self_attn.k_norm.weight": "model-00002.safetensors",
46
+ "model.layers.1.self_attn.k_proj.weight": "model-00002.safetensors",
47
+ "model.layers.1.self_attn.o_proj.weight": "model-00002.safetensors",
48
+ "model.layers.1.self_attn.q_norm.weight": "model-00002.safetensors",
49
+ "model.layers.1.self_attn.q_proj.weight": "model-00002.safetensors",
50
+ "model.layers.1.self_attn.v_proj.weight": "model-00002.safetensors",
51
+ "model.layers.10.experts.down_proj": "model-00002.safetensors",
52
+ "model.layers.10.experts.gate_up_proj": "model-00002.safetensors",
53
+ "model.layers.10.input_layernorm.weight": "model-00002.safetensors",
54
+ "model.layers.10.layer_scalar": "model-00002.safetensors",
55
+ "model.layers.10.mlp.down_proj.weight": "model-00002.safetensors",
56
+ "model.layers.10.mlp.gate_proj.weight": "model-00002.safetensors",
57
+ "model.layers.10.mlp.up_proj.weight": "model-00002.safetensors",
58
+ "model.layers.10.post_attention_layernorm.weight": "model-00002.safetensors",
59
+ "model.layers.10.post_feedforward_layernorm.weight": "model-00002.safetensors",
60
+ "model.layers.10.post_feedforward_layernorm_1.weight": "model-00002.safetensors",
61
+ "model.layers.10.post_feedforward_layernorm_2.weight": "model-00002.safetensors",
62
+ "model.layers.10.pre_feedforward_layernorm.weight": "model-00002.safetensors",
63
+ "model.layers.10.pre_feedforward_layernorm_2.weight": "model-00002.safetensors",
64
+ "model.layers.10.router.per_expert_scale": "model-00002.safetensors",
65
+ "model.layers.10.router.proj.weight": "model-00002.safetensors",
66
+ "model.layers.10.router.scale": "model-00002.safetensors",
67
+ "model.layers.10.self_attn.k_norm.weight": "model-00002.safetensors",
68
+ "model.layers.10.self_attn.k_proj.weight": "model-00002.safetensors",
69
+ "model.layers.10.self_attn.o_proj.weight": "model-00002.safetensors",
70
+ "model.layers.10.self_attn.q_norm.weight": "model-00002.safetensors",
71
+ "model.layers.10.self_attn.q_proj.weight": "model-00002.safetensors",
72
+ "model.layers.10.self_attn.v_proj.weight": "model-00002.safetensors",
73
+ "model.layers.11.experts.down_proj": "model-00002.safetensors",
74
+ "model.layers.11.experts.gate_up_proj": "model-00002.safetensors",
75
+ "model.layers.11.layer_scalar": "model-00002.safetensors",
76
+ "model.layers.11.router.per_expert_scale": "model-00002.safetensors",
77
+ "model.layers.11.router.scale": "model-00002.safetensors",
78
+ "model.layers.11.self_attn.k_norm.weight": "model-00002.safetensors",
79
+ "model.layers.11.self_attn.k_proj.weight": "model-00002.safetensors",
80
+ "model.layers.11.self_attn.o_proj.weight": "model-00002.safetensors",
81
+ "model.layers.11.self_attn.q_norm.weight": "model-00002.safetensors",
82
+ "model.layers.11.self_attn.q_proj.weight": "model-00002.safetensors",
83
+ "model.layers.12.experts.down_proj": "model-00002.safetensors",
84
+ "model.layers.12.experts.gate_up_proj": "model-00002.safetensors",
85
+ "model.layers.12.input_layernorm.weight": "model-00003.safetensors",
86
+ "model.layers.12.layer_scalar": "model-00003.safetensors",
87
+ "model.layers.12.mlp.down_proj.weight": "model-00003.safetensors",
88
+ "model.layers.12.mlp.gate_proj.weight": "model-00003.safetensors",
89
+ "model.layers.12.mlp.up_proj.weight": "model-00003.safetensors",
90
+ "model.layers.12.post_attention_layernorm.weight": "model-00003.safetensors",
91
+ "model.layers.12.post_feedforward_layernorm.weight": "model-00003.safetensors",
92
+ "model.layers.12.post_feedforward_layernorm_1.weight": "model-00003.safetensors",
93
+ "model.layers.12.post_feedforward_layernorm_2.weight": "model-00003.safetensors",
94
+ "model.layers.12.pre_feedforward_layernorm.weight": "model-00003.safetensors",
95
+ "model.layers.12.pre_feedforward_layernorm_2.weight": "model-00003.safetensors",
96
+ "model.layers.12.router.per_expert_scale": "model-00003.safetensors",
97
+ "model.layers.12.router.proj.weight": "model-00003.safetensors",
98
+ "model.layers.12.router.scale": "model-00003.safetensors",
99
+ "model.layers.12.self_attn.k_norm.weight": "model-00003.safetensors",
100
+ "model.layers.12.self_attn.k_proj.weight": "model-00003.safetensors",
101
+ "model.layers.12.self_attn.o_proj.weight": "model-00003.safetensors",
102
+ "model.layers.12.self_attn.q_norm.weight": "model-00003.safetensors",
103
+ "model.layers.12.self_attn.q_proj.weight": "model-00003.safetensors",
104
+ "model.layers.12.self_attn.v_proj.weight": "model-00003.safetensors",
105
+ "model.layers.13.experts.down_proj": "model-00003.safetensors",
106
+ "model.layers.13.experts.gate_up_proj": "model-00003.safetensors",
107
+ "model.layers.13.input_layernorm.weight": "model-00003.safetensors",
108
+ "model.layers.13.layer_scalar": "model-00003.safetensors",
109
+ "model.layers.13.mlp.down_proj.weight": "model-00003.safetensors",
110
+ "model.layers.13.mlp.gate_proj.weight": "model-00003.safetensors",
111
+ "model.layers.13.mlp.up_proj.weight": "model-00003.safetensors",
112
+ "model.layers.13.post_attention_layernorm.weight": "model-00003.safetensors",
113
+ "model.layers.13.post_feedforward_layernorm.weight": "model-00003.safetensors",
114
+ "model.layers.13.post_feedforward_layernorm_1.weight": "model-00003.safetensors",
115
+ "model.layers.13.post_feedforward_layernorm_2.weight": "model-00003.safetensors",
116
+ "model.layers.13.pre_feedforward_layernorm.weight": "model-00003.safetensors",
117
+ "model.layers.13.pre_feedforward_layernorm_2.weight": "model-00003.safetensors",
118
+ "model.layers.13.router.per_expert_scale": "model-00003.safetensors",
119
+ "model.layers.13.router.proj.weight": "model-00003.safetensors",
120
+ "model.layers.13.router.scale": "model-00003.safetensors",
121
+ "model.layers.13.self_attn.k_norm.weight": "model-00003.safetensors",
122
+ "model.layers.13.self_attn.k_proj.weight": "model-00003.safetensors",
123
+ "model.layers.13.self_attn.o_proj.weight": "model-00003.safetensors",
124
+ "model.layers.13.self_attn.q_norm.weight": "model-00003.safetensors",
125
+ "model.layers.13.self_attn.q_proj.weight": "model-00003.safetensors",
126
+ "model.layers.13.self_attn.v_proj.weight": "model-00003.safetensors",
127
+ "model.layers.14.experts.down_proj": "model-00003.safetensors",
128
+ "model.layers.14.experts.gate_up_proj": "model-00003.safetensors",
129
+ "model.layers.14.input_layernorm.weight": "model-00003.safetensors",
130
+ "model.layers.14.layer_scalar": "model-00003.safetensors",
131
+ "model.layers.14.mlp.down_proj.weight": "model-00003.safetensors",
132
+ "model.layers.14.mlp.gate_proj.weight": "model-00003.safetensors",
133
+ "model.layers.14.mlp.up_proj.weight": "model-00003.safetensors",
134
+ "model.layers.14.post_attention_layernorm.weight": "model-00003.safetensors",
135
+ "model.layers.14.post_feedforward_layernorm.weight": "model-00003.safetensors",
136
+ "model.layers.14.post_feedforward_layernorm_1.weight": "model-00003.safetensors",
137
+ "model.layers.14.post_feedforward_layernorm_2.weight": "model-00003.safetensors",
138
+ "model.layers.14.pre_feedforward_layernorm.weight": "model-00003.safetensors",
139
+ "model.layers.14.pre_feedforward_layernorm_2.weight": "model-00003.safetensors",
140
+ "model.layers.14.router.per_expert_scale": "model-00003.safetensors",
141
+ "model.layers.14.router.proj.weight": "model-00003.safetensors",
142
+ "model.layers.14.router.scale": "model-00003.safetensors",
143
+ "model.layers.14.self_attn.k_norm.weight": "model-00003.safetensors",
144
+ "model.layers.14.self_attn.k_proj.weight": "model-00003.safetensors",
145
+ "model.layers.14.self_attn.o_proj.weight": "model-00003.safetensors",
146
+ "model.layers.14.self_attn.q_norm.weight": "model-00003.safetensors",
147
+ "model.layers.14.self_attn.q_proj.weight": "model-00003.safetensors",
148
+ "model.layers.14.self_attn.v_proj.weight": "model-00003.safetensors",
149
+ "model.layers.15.experts.down_proj": "model-00003.safetensors",
150
+ "model.layers.15.experts.gate_up_proj": "model-00003.safetensors",
151
+ "model.layers.15.input_layernorm.weight": "model-00004.safetensors",
152
+ "model.layers.15.layer_scalar": "model-00004.safetensors",
153
+ "model.layers.15.mlp.down_proj.weight": "model-00004.safetensors",
154
+ "model.layers.15.mlp.gate_proj.weight": "model-00004.safetensors",
155
+ "model.layers.15.mlp.up_proj.weight": "model-00004.safetensors",
156
+ "model.layers.15.post_attention_layernorm.weight": "model-00004.safetensors",
157
+ "model.layers.15.post_feedforward_layernorm.weight": "model-00004.safetensors",
158
+ "model.layers.15.post_feedforward_layernorm_1.weight": "model-00004.safetensors",
159
+ "model.layers.15.post_feedforward_layernorm_2.weight": "model-00004.safetensors",
160
+ "model.layers.15.pre_feedforward_layernorm.weight": "model-00004.safetensors",
161
+ "model.layers.15.pre_feedforward_layernorm_2.weight": "model-00004.safetensors",
162
+ "model.layers.15.router.per_expert_scale": "model-00004.safetensors",
163
+ "model.layers.15.router.proj.weight": "model-00004.safetensors",
164
+ "model.layers.15.router.scale": "model-00004.safetensors",
165
+ "model.layers.15.self_attn.k_norm.weight": "model-00004.safetensors",
166
+ "model.layers.15.self_attn.k_proj.weight": "model-00004.safetensors",
167
+ "model.layers.15.self_attn.o_proj.weight": "model-00004.safetensors",
168
+ "model.layers.15.self_attn.q_norm.weight": "model-00004.safetensors",
169
+ "model.layers.15.self_attn.q_proj.weight": "model-00004.safetensors",
170
+ "model.layers.15.self_attn.v_proj.weight": "model-00004.safetensors",
171
+ "model.layers.16.experts.down_proj": "model-00004.safetensors",
172
+ "model.layers.16.experts.gate_up_proj": "model-00004.safetensors",
173
+ "model.layers.16.input_layernorm.weight": "model-00004.safetensors",
174
+ "model.layers.16.layer_scalar": "model-00004.safetensors",
175
+ "model.layers.16.mlp.down_proj.weight": "model-00004.safetensors",
176
+ "model.layers.16.mlp.gate_proj.weight": "model-00004.safetensors",
177
+ "model.layers.16.mlp.up_proj.weight": "model-00004.safetensors",
178
+ "model.layers.16.post_attention_layernorm.weight": "model-00004.safetensors",
179
+ "model.layers.16.post_feedforward_layernorm.weight": "model-00004.safetensors",
180
+ "model.layers.16.post_feedforward_layernorm_1.weight": "model-00004.safetensors",
181
+ "model.layers.16.post_feedforward_layernorm_2.weight": "model-00004.safetensors",
182
+ "model.layers.16.pre_feedforward_layernorm.weight": "model-00004.safetensors",
183
+ "model.layers.16.pre_feedforward_layernorm_2.weight": "model-00004.safetensors",
184
+ "model.layers.16.router.per_expert_scale": "model-00004.safetensors",
185
+ "model.layers.16.router.proj.weight": "model-00004.safetensors",
186
+ "model.layers.16.router.scale": "model-00004.safetensors",
187
+ "model.layers.16.self_attn.k_norm.weight": "model-00004.safetensors",
188
+ "model.layers.16.self_attn.k_proj.weight": "model-00004.safetensors",
189
+ "model.layers.16.self_attn.o_proj.weight": "model-00004.safetensors",
190
+ "model.layers.16.self_attn.q_norm.weight": "model-00004.safetensors",
191
+ "model.layers.16.self_attn.q_proj.weight": "model-00004.safetensors",
192
+ "model.layers.16.self_attn.v_proj.weight": "model-00004.safetensors",
193
+ "model.layers.17.experts.gate_up_proj": "model-00004.safetensors",
194
+ "model.layers.17.layer_scalar": "model-00004.safetensors",
195
+ "model.layers.17.router.per_expert_scale": "model-00004.safetensors",
196
+ "model.layers.17.router.scale": "model-00004.safetensors",
197
+ "model.layers.17.self_attn.k_norm.weight": "model-00004.safetensors",
198
+ "model.layers.17.self_attn.k_proj.weight": "model-00004.safetensors",
199
+ "model.layers.17.self_attn.o_proj.weight": "model-00004.safetensors",
200
+ "model.layers.17.self_attn.q_norm.weight": "model-00004.safetensors",
201
+ "model.layers.17.self_attn.q_proj.weight": "model-00004.safetensors",
202
+ "model.layers.18.experts.down_proj": "model-00004.safetensors",
203
+ "model.layers.18.experts.gate_up_proj": "model-00004.safetensors",
204
+ "model.layers.18.input_layernorm.weight": "model-00005.safetensors",
205
+ "model.layers.18.layer_scalar": "model-00005.safetensors",
206
+ "model.layers.18.mlp.down_proj.weight": "model-00005.safetensors",
207
+ "model.layers.18.mlp.gate_proj.weight": "model-00005.safetensors",
208
+ "model.layers.18.mlp.up_proj.weight": "model-00005.safetensors",
209
+ "model.layers.18.post_attention_layernorm.weight": "model-00005.safetensors",
210
+ "model.layers.18.post_feedforward_layernorm.weight": "model-00005.safetensors",
211
+ "model.layers.18.post_feedforward_layernorm_1.weight": "model-00005.safetensors",
212
+ "model.layers.18.post_feedforward_layernorm_2.weight": "model-00005.safetensors",
213
+ "model.layers.18.pre_feedforward_layernorm.weight": "model-00005.safetensors",
214
+ "model.layers.18.pre_feedforward_layernorm_2.weight": "model-00005.safetensors",
215
+ "model.layers.18.router.per_expert_scale": "model-00005.safetensors",
216
+ "model.layers.18.router.proj.weight": "model-00005.safetensors",
217
+ "model.layers.18.router.scale": "model-00005.safetensors",
218
+ "model.layers.18.self_attn.k_norm.weight": "model-00005.safetensors",
219
+ "model.layers.18.self_attn.k_proj.weight": "model-00005.safetensors",
220
+ "model.layers.18.self_attn.o_proj.weight": "model-00005.safetensors",
221
+ "model.layers.18.self_attn.q_norm.weight": "model-00005.safetensors",
222
+ "model.layers.18.self_attn.q_proj.weight": "model-00005.safetensors",
223
+ "model.layers.18.self_attn.v_proj.weight": "model-00005.safetensors",
224
+ "model.layers.19.experts.down_proj": "model-00005.safetensors",
225
+ "model.layers.19.experts.gate_up_proj": "model-00005.safetensors",
226
+ "model.layers.19.input_layernorm.weight": "model-00005.safetensors",
227
+ "model.layers.19.layer_scalar": "model-00005.safetensors",
228
+ "model.layers.19.mlp.down_proj.weight": "model-00005.safetensors",
229
+ "model.layers.19.mlp.gate_proj.weight": "model-00005.safetensors",
230
+ "model.layers.19.mlp.up_proj.weight": "model-00005.safetensors",
231
+ "model.layers.19.post_attention_layernorm.weight": "model-00005.safetensors",
232
+ "model.layers.19.post_feedforward_layernorm.weight": "model-00005.safetensors",
233
+ "model.layers.19.post_feedforward_layernorm_1.weight": "model-00005.safetensors",
234
+ "model.layers.19.post_feedforward_layernorm_2.weight": "model-00005.safetensors",
235
+ "model.layers.19.pre_feedforward_layernorm.weight": "model-00005.safetensors",
236
+ "model.layers.19.pre_feedforward_layernorm_2.weight": "model-00005.safetensors",
237
+ "model.layers.19.router.per_expert_scale": "model-00005.safetensors",
238
+ "model.layers.19.router.proj.weight": "model-00005.safetensors",
239
+ "model.layers.19.router.scale": "model-00005.safetensors",
240
+ "model.layers.19.self_attn.k_norm.weight": "model-00005.safetensors",
241
+ "model.layers.19.self_attn.k_proj.weight": "model-00005.safetensors",
242
+ "model.layers.19.self_attn.o_proj.weight": "model-00005.safetensors",
243
+ "model.layers.19.self_attn.q_norm.weight": "model-00005.safetensors",
244
+ "model.layers.19.self_attn.q_proj.weight": "model-00005.safetensors",
245
+ "model.layers.19.self_attn.v_proj.weight": "model-00005.safetensors",
246
+ "model.layers.2.experts.down_proj": "model-00005.safetensors",
247
+ "model.layers.2.experts.gate_up_proj": "model-00005.safetensors",
248
+ "model.layers.2.input_layernorm.weight": "model-00005.safetensors",
249
+ "model.layers.2.layer_scalar": "model-00005.safetensors",
250
+ "model.layers.2.mlp.down_proj.weight": "model-00005.safetensors",
251
+ "model.layers.2.mlp.gate_proj.weight": "model-00005.safetensors",
252
+ "model.layers.2.mlp.up_proj.weight": "model-00005.safetensors",
253
+ "model.layers.2.post_attention_layernorm.weight": "model-00005.safetensors",
254
+ "model.layers.2.post_feedforward_layernorm.weight": "model-00005.safetensors",
255
+ "model.layers.2.post_feedforward_layernorm_1.weight": "model-00005.safetensors",
256
+ "model.layers.2.post_feedforward_layernorm_2.weight": "model-00005.safetensors",
257
+ "model.layers.2.pre_feedforward_layernorm.weight": "model-00005.safetensors",
258
+ "model.layers.2.pre_feedforward_layernorm_2.weight": "model-00005.safetensors",
259
+ "model.layers.2.router.per_expert_scale": "model-00005.safetensors",
260
+ "model.layers.2.router.proj.weight": "model-00005.safetensors",
261
+ "model.layers.2.router.scale": "model-00005.safetensors",
262
+ "model.layers.2.self_attn.k_norm.weight": "model-00005.safetensors",
263
+ "model.layers.2.self_attn.k_proj.weight": "model-00005.safetensors",
264
+ "model.layers.2.self_attn.o_proj.weight": "model-00005.safetensors",
265
+ "model.layers.2.self_attn.q_norm.weight": "model-00005.safetensors",
266
+ "model.layers.2.self_attn.q_proj.weight": "model-00005.safetensors",
267
+ "model.layers.2.self_attn.v_proj.weight": "model-00005.safetensors",
268
+ "model.layers.20.experts.down_proj": "model-00005.safetensors",
269
+ "model.layers.20.experts.gate_up_proj": "model-00005.safetensors",
270
+ "model.layers.20.input_layernorm.weight": "model-00006.safetensors",
271
+ "model.layers.20.layer_scalar": "model-00006.safetensors",
272
+ "model.layers.20.mlp.down_proj.weight": "model-00006.safetensors",
273
+ "model.layers.20.mlp.gate_proj.weight": "model-00006.safetensors",
274
+ "model.layers.20.mlp.up_proj.weight": "model-00006.safetensors",
275
+ "model.layers.20.post_attention_layernorm.weight": "model-00006.safetensors",
276
+ "model.layers.20.post_feedforward_layernorm.weight": "model-00006.safetensors",
277
+ "model.layers.20.post_feedforward_layernorm_1.weight": "model-00006.safetensors",
278
+ "model.layers.20.post_feedforward_layernorm_2.weight": "model-00006.safetensors",
279
+ "model.layers.20.pre_feedforward_layernorm.weight": "model-00006.safetensors",
280
+ "model.layers.20.pre_feedforward_layernorm_2.weight": "model-00006.safetensors",
281
+ "model.layers.20.router.per_expert_scale": "model-00006.safetensors",
282
+ "model.layers.20.router.proj.weight": "model-00006.safetensors",
283
+ "model.layers.20.router.scale": "model-00006.safetensors",
284
+ "model.layers.20.self_attn.k_norm.weight": "model-00006.safetensors",
285
+ "model.layers.20.self_attn.k_proj.weight": "model-00006.safetensors",
286
+ "model.layers.20.self_attn.o_proj.weight": "model-00006.safetensors",
287
+ "model.layers.20.self_attn.q_norm.weight": "model-00006.safetensors",
288
+ "model.layers.20.self_attn.q_proj.weight": "model-00006.safetensors",
289
+ "model.layers.20.self_attn.v_proj.weight": "model-00006.safetensors",
290
+ "model.layers.21.experts.down_proj": "model-00006.safetensors",
291
+ "model.layers.21.experts.gate_up_proj": "model-00006.safetensors",
292
+ "model.layers.21.input_layernorm.weight": "model-00006.safetensors",
293
+ "model.layers.21.layer_scalar": "model-00006.safetensors",
294
+ "model.layers.21.mlp.down_proj.weight": "model-00006.safetensors",
295
+ "model.layers.21.mlp.gate_proj.weight": "model-00006.safetensors",
296
+ "model.layers.21.mlp.up_proj.weight": "model-00006.safetensors",
297
+ "model.layers.21.post_attention_layernorm.weight": "model-00006.safetensors",
298
+ "model.layers.21.post_feedforward_layernorm.weight": "model-00006.safetensors",
299
+ "model.layers.21.post_feedforward_layernorm_1.weight": "model-00006.safetensors",
300
+ "model.layers.21.post_feedforward_layernorm_2.weight": "model-00006.safetensors",
301
+ "model.layers.21.pre_feedforward_layernorm.weight": "model-00006.safetensors",
302
+ "model.layers.21.pre_feedforward_layernorm_2.weight": "model-00006.safetensors",
303
+ "model.layers.21.router.per_expert_scale": "model-00006.safetensors",
304
+ "model.layers.21.router.proj.weight": "model-00006.safetensors",
305
+ "model.layers.21.router.scale": "model-00006.safetensors",
306
+ "model.layers.21.self_attn.k_norm.weight": "model-00006.safetensors",
307
+ "model.layers.21.self_attn.k_proj.weight": "model-00006.safetensors",
308
+ "model.layers.21.self_attn.o_proj.weight": "model-00006.safetensors",
309
+ "model.layers.21.self_attn.q_norm.weight": "model-00006.safetensors",
310
+ "model.layers.21.self_attn.q_proj.weight": "model-00006.safetensors",
311
+ "model.layers.21.self_attn.v_proj.weight": "model-00006.safetensors",
312
+ "model.layers.22.experts.down_proj": "model-00006.safetensors",
313
+ "model.layers.22.experts.gate_up_proj": "model-00006.safetensors",
314
+ "model.layers.22.input_layernorm.weight": "model-00006.safetensors",
315
+ "model.layers.22.layer_scalar": "model-00006.safetensors",
316
+ "model.layers.22.mlp.down_proj.weight": "model-00006.safetensors",
317
+ "model.layers.22.mlp.gate_proj.weight": "model-00006.safetensors",
318
+ "model.layers.22.mlp.up_proj.weight": "model-00006.safetensors",
319
+ "model.layers.22.post_attention_layernorm.weight": "model-00006.safetensors",
320
+ "model.layers.22.post_feedforward_layernorm.weight": "model-00006.safetensors",
321
+ "model.layers.22.post_feedforward_layernorm_1.weight": "model-00006.safetensors",
322
+ "model.layers.22.post_feedforward_layernorm_2.weight": "model-00006.safetensors",
323
+ "model.layers.22.pre_feedforward_layernorm.weight": "model-00006.safetensors",
324
+ "model.layers.22.pre_feedforward_layernorm_2.weight": "model-00006.safetensors",
325
+ "model.layers.22.router.per_expert_scale": "model-00006.safetensors",
326
+ "model.layers.22.router.proj.weight": "model-00006.safetensors",
327
+ "model.layers.22.router.scale": "model-00006.safetensors",
328
+ "model.layers.22.self_attn.k_norm.weight": "model-00006.safetensors",
329
+ "model.layers.22.self_attn.k_proj.weight": "model-00006.safetensors",
330
+ "model.layers.22.self_attn.o_proj.weight": "model-00006.safetensors",
331
+ "model.layers.22.self_attn.q_norm.weight": "model-00006.safetensors",
332
+ "model.layers.22.self_attn.q_proj.weight": "model-00006.safetensors",
333
+ "model.layers.22.self_attn.v_proj.weight": "model-00006.safetensors",
334
+ "model.layers.23.experts.gate_up_proj": "model-00006.safetensors",
335
+ "model.layers.23.layer_scalar": "model-00007.safetensors",
336
+ "model.layers.23.router.per_expert_scale": "model-00007.safetensors",
337
+ "model.layers.23.router.scale": "model-00007.safetensors",
338
+ "model.layers.23.self_attn.k_norm.weight": "model-00007.safetensors",
339
+ "model.layers.23.self_attn.k_proj.weight": "model-00007.safetensors",
340
+ "model.layers.23.self_attn.o_proj.weight": "model-00007.safetensors",
341
+ "model.layers.23.self_attn.q_norm.weight": "model-00007.safetensors",
342
+ "model.layers.23.self_attn.q_proj.weight": "model-00007.safetensors",
343
+ "model.layers.24.experts.down_proj": "model-00007.safetensors",
344
+ "model.layers.24.experts.gate_up_proj": "model-00007.safetensors",
345
+ "model.layers.24.input_layernorm.weight": "model-00007.safetensors",
346
+ "model.layers.24.layer_scalar": "model-00007.safetensors",
347
+ "model.layers.24.mlp.down_proj.weight": "model-00007.safetensors",
348
+ "model.layers.24.mlp.gate_proj.weight": "model-00007.safetensors",
349
+ "model.layers.24.mlp.up_proj.weight": "model-00007.safetensors",
350
+ "model.layers.24.post_attention_layernorm.weight": "model-00007.safetensors",
351
+ "model.layers.24.post_feedforward_layernorm.weight": "model-00007.safetensors",
352
+ "model.layers.24.post_feedforward_layernorm_1.weight": "model-00007.safetensors",
353
+ "model.layers.24.post_feedforward_layernorm_2.weight": "model-00007.safetensors",
354
+ "model.layers.24.pre_feedforward_layernorm.weight": "model-00007.safetensors",
355
+ "model.layers.24.pre_feedforward_layernorm_2.weight": "model-00007.safetensors",
356
+ "model.layers.24.router.per_expert_scale": "model-00007.safetensors",
357
+ "model.layers.24.router.proj.weight": "model-00007.safetensors",
358
+ "model.layers.24.router.scale": "model-00007.safetensors",
359
+ "model.layers.24.self_attn.k_norm.weight": "model-00007.safetensors",
360
+ "model.layers.24.self_attn.k_proj.weight": "model-00007.safetensors",
361
+ "model.layers.24.self_attn.o_proj.weight": "model-00007.safetensors",
362
+ "model.layers.24.self_attn.q_norm.weight": "model-00007.safetensors",
363
+ "model.layers.24.self_attn.q_proj.weight": "model-00007.safetensors",
364
+ "model.layers.24.self_attn.v_proj.weight": "model-00007.safetensors",
365
+ "model.layers.25.experts.down_proj": "model-00007.safetensors",
366
+ "model.layers.25.experts.gate_up_proj": "model-00007.safetensors",
367
+ "model.layers.25.input_layernorm.weight": "model-00007.safetensors",
368
+ "model.layers.25.layer_scalar": "model-00007.safetensors",
369
+ "model.layers.25.mlp.down_proj.weight": "model-00007.safetensors",
370
+ "model.layers.25.mlp.gate_proj.weight": "model-00007.safetensors",
371
+ "model.layers.25.mlp.up_proj.weight": "model-00007.safetensors",
372
+ "model.layers.25.post_attention_layernorm.weight": "model-00007.safetensors",
373
+ "model.layers.25.post_feedforward_layernorm.weight": "model-00007.safetensors",
374
+ "model.layers.25.post_feedforward_layernorm_1.weight": "model-00007.safetensors",
375
+ "model.layers.25.post_feedforward_layernorm_2.weight": "model-00007.safetensors",
376
+ "model.layers.25.pre_feedforward_layernorm.weight": "model-00007.safetensors",
377
+ "model.layers.25.pre_feedforward_layernorm_2.weight": "model-00007.safetensors",
378
+ "model.layers.25.router.per_expert_scale": "model-00007.safetensors",
379
+ "model.layers.25.router.proj.weight": "model-00007.safetensors",
380
+ "model.layers.25.router.scale": "model-00007.safetensors",
381
+ "model.layers.25.self_attn.k_norm.weight": "model-00007.safetensors",
382
+ "model.layers.25.self_attn.k_proj.weight": "model-00007.safetensors",
383
+ "model.layers.25.self_attn.o_proj.weight": "model-00007.safetensors",
384
+ "model.layers.25.self_attn.q_norm.weight": "model-00007.safetensors",
385
+ "model.layers.25.self_attn.q_proj.weight": "model-00007.safetensors",
386
+ "model.layers.25.self_attn.v_proj.weight": "model-00007.safetensors",
387
+ "model.layers.26.experts.down_proj": "model-00007.safetensors",
388
+ "model.layers.26.experts.gate_up_proj": "model-00007.safetensors",
389
+ "model.layers.26.input_layernorm.weight": "model-00008.safetensors",
390
+ "model.layers.26.layer_scalar": "model-00008.safetensors",
391
+ "model.layers.26.mlp.down_proj.weight": "model-00008.safetensors",
392
+ "model.layers.26.mlp.gate_proj.weight": "model-00008.safetensors",
393
+ "model.layers.26.mlp.up_proj.weight": "model-00008.safetensors",
394
+ "model.layers.26.post_attention_layernorm.weight": "model-00008.safetensors",
395
+ "model.layers.26.post_feedforward_layernorm.weight": "model-00008.safetensors",
396
+ "model.layers.26.post_feedforward_layernorm_1.weight": "model-00008.safetensors",
397
+ "model.layers.26.post_feedforward_layernorm_2.weight": "model-00008.safetensors",
398
+ "model.layers.26.pre_feedforward_layernorm.weight": "model-00008.safetensors",
399
+ "model.layers.26.pre_feedforward_layernorm_2.weight": "model-00008.safetensors",
400
+ "model.layers.26.router.per_expert_scale": "model-00008.safetensors",
401
+ "model.layers.26.router.proj.weight": "model-00008.safetensors",
402
+ "model.layers.26.router.scale": "model-00008.safetensors",
403
+ "model.layers.26.self_attn.k_norm.weight": "model-00008.safetensors",
404
+ "model.layers.26.self_attn.k_proj.weight": "model-00008.safetensors",
405
+ "model.layers.26.self_attn.o_proj.weight": "model-00008.safetensors",
406
+ "model.layers.26.self_attn.q_norm.weight": "model-00008.safetensors",
407
+ "model.layers.26.self_attn.q_proj.weight": "model-00008.safetensors",
408
+ "model.layers.26.self_attn.v_proj.weight": "model-00008.safetensors",
409
+ "model.layers.27.experts.down_proj": "model-00008.safetensors",
410
+ "model.layers.27.experts.gate_up_proj": "model-00008.safetensors",
411
+ "model.layers.27.input_layernorm.weight": "model-00008.safetensors",
412
+ "model.layers.27.layer_scalar": "model-00008.safetensors",
413
+ "model.layers.27.mlp.down_proj.weight": "model-00008.safetensors",
414
+ "model.layers.27.mlp.gate_proj.weight": "model-00008.safetensors",
415
+ "model.layers.27.mlp.up_proj.weight": "model-00008.safetensors",
416
+ "model.layers.27.post_attention_layernorm.weight": "model-00008.safetensors",
417
+ "model.layers.27.post_feedforward_layernorm.weight": "model-00008.safetensors",
418
+ "model.layers.27.post_feedforward_layernorm_1.weight": "model-00008.safetensors",
419
+ "model.layers.27.post_feedforward_layernorm_2.weight": "model-00008.safetensors",
420
+ "model.layers.27.pre_feedforward_layernorm.weight": "model-00008.safetensors",
421
+ "model.layers.27.pre_feedforward_layernorm_2.weight": "model-00008.safetensors",
422
+ "model.layers.27.router.per_expert_scale": "model-00008.safetensors",
423
+ "model.layers.27.router.proj.weight": "model-00008.safetensors",
424
+ "model.layers.27.router.scale": "model-00008.safetensors",
425
+ "model.layers.27.self_attn.k_norm.weight": "model-00008.safetensors",
426
+ "model.layers.27.self_attn.k_proj.weight": "model-00008.safetensors",
427
+ "model.layers.27.self_attn.o_proj.weight": "model-00008.safetensors",
428
+ "model.layers.27.self_attn.q_norm.weight": "model-00008.safetensors",
429
+ "model.layers.27.self_attn.q_proj.weight": "model-00008.safetensors",
430
+ "model.layers.27.self_attn.v_proj.weight": "model-00008.safetensors",
431
+ "model.layers.28.experts.down_proj": "model-00008.safetensors",
432
+ "model.layers.28.experts.gate_up_proj": "model-00008.safetensors",
433
+ "model.layers.28.input_layernorm.weight": "model-00008.safetensors",
434
+ "model.layers.28.layer_scalar": "model-00008.safetensors",
435
+ "model.layers.28.mlp.down_proj.weight": "model-00008.safetensors",
436
+ "model.layers.28.mlp.gate_proj.weight": "model-00008.safetensors",
437
+ "model.layers.28.mlp.up_proj.weight": "model-00008.safetensors",
438
+ "model.layers.28.post_attention_layernorm.weight": "model-00008.safetensors",
439
+ "model.layers.28.post_feedforward_layernorm.weight": "model-00008.safetensors",
440
+ "model.layers.28.post_feedforward_layernorm_1.weight": "model-00008.safetensors",
441
+ "model.layers.28.post_feedforward_layernorm_2.weight": "model-00008.safetensors",
442
+ "model.layers.28.pre_feedforward_layernorm.weight": "model-00008.safetensors",
443
+ "model.layers.28.pre_feedforward_layernorm_2.weight": "model-00008.safetensors",
444
+ "model.layers.28.router.per_expert_scale": "model-00008.safetensors",
445
+ "model.layers.28.router.proj.weight": "model-00008.safetensors",
446
+ "model.layers.28.router.scale": "model-00008.safetensors",
447
+ "model.layers.28.self_attn.k_norm.weight": "model-00008.safetensors",
448
+ "model.layers.28.self_attn.k_proj.weight": "model-00008.safetensors",
449
+ "model.layers.28.self_attn.o_proj.weight": "model-00008.safetensors",
450
+ "model.layers.28.self_attn.q_norm.weight": "model-00008.safetensors",
451
+ "model.layers.28.self_attn.q_proj.weight": "model-00008.safetensors",
452
+ "model.layers.28.self_attn.v_proj.weight": "model-00008.safetensors",
453
+ "model.layers.29.experts.gate_up_proj": "model-00008.safetensors",
454
+ "model.layers.29.layer_scalar": "model-00009.safetensors",
455
+ "model.layers.29.router.per_expert_scale": "model-00009.safetensors",
456
+ "model.layers.29.router.scale": "model-00009.safetensors",
457
+ "model.layers.29.self_attn.k_norm.weight": "model-00009.safetensors",
458
+ "model.layers.29.self_attn.k_proj.weight": "model-00009.safetensors",
459
+ "model.layers.29.self_attn.o_proj.weight": "model-00009.safetensors",
460
+ "model.layers.29.self_attn.q_norm.weight": "model-00009.safetensors",
461
+ "model.layers.29.self_attn.q_proj.weight": "model-00009.safetensors",
462
+ "model.layers.3.experts.down_proj": "model-00009.safetensors",
463
+ "model.layers.3.experts.gate_up_proj": "model-00009.safetensors",
464
+ "model.layers.3.input_layernorm.weight": "model-00009.safetensors",
465
+ "model.layers.3.layer_scalar": "model-00009.safetensors",
466
+ "model.layers.3.mlp.down_proj.weight": "model-00009.safetensors",
467
+ "model.layers.3.mlp.gate_proj.weight": "model-00009.safetensors",
468
+ "model.layers.3.mlp.up_proj.weight": "model-00009.safetensors",
469
+ "model.layers.3.post_attention_layernorm.weight": "model-00009.safetensors",
470
+ "model.layers.3.post_feedforward_layernorm.weight": "model-00009.safetensors",
471
+ "model.layers.3.post_feedforward_layernorm_1.weight": "model-00009.safetensors",
472
+ "model.layers.3.post_feedforward_layernorm_2.weight": "model-00009.safetensors",
473
+ "model.layers.3.pre_feedforward_layernorm.weight": "model-00009.safetensors",
474
+ "model.layers.3.pre_feedforward_layernorm_2.weight": "model-00009.safetensors",
475
+ "model.layers.3.router.per_expert_scale": "model-00009.safetensors",
476
+ "model.layers.3.router.proj.weight": "model-00009.safetensors",
477
+ "model.layers.3.router.scale": "model-00009.safetensors",
478
+ "model.layers.3.self_attn.k_norm.weight": "model-00009.safetensors",
479
+ "model.layers.3.self_attn.k_proj.weight": "model-00009.safetensors",
480
+ "model.layers.3.self_attn.o_proj.weight": "model-00009.safetensors",
481
+ "model.layers.3.self_attn.q_norm.weight": "model-00009.safetensors",
482
+ "model.layers.3.self_attn.q_proj.weight": "model-00009.safetensors",
483
+ "model.layers.3.self_attn.v_proj.weight": "model-00009.safetensors",
484
+ "model.layers.4.experts.down_proj": "model-00009.safetensors",
485
+ "model.layers.4.experts.gate_up_proj": "model-00009.safetensors",
486
+ "model.layers.4.input_layernorm.weight": "model-00009.safetensors",
487
+ "model.layers.4.layer_scalar": "model-00009.safetensors",
488
+ "model.layers.4.mlp.down_proj.weight": "model-00009.safetensors",
489
+ "model.layers.4.mlp.gate_proj.weight": "model-00009.safetensors",
490
+ "model.layers.4.mlp.up_proj.weight": "model-00009.safetensors",
491
+ "model.layers.4.post_attention_layernorm.weight": "model-00009.safetensors",
492
+ "model.layers.4.post_feedforward_layernorm.weight": "model-00009.safetensors",
493
+ "model.layers.4.post_feedforward_layernorm_1.weight": "model-00009.safetensors",
494
+ "model.layers.4.post_feedforward_layernorm_2.weight": "model-00009.safetensors",
495
+ "model.layers.4.pre_feedforward_layernorm.weight": "model-00009.safetensors",
496
+ "model.layers.4.pre_feedforward_layernorm_2.weight": "model-00009.safetensors",
497
+ "model.layers.4.router.per_expert_scale": "model-00009.safetensors",
498
+ "model.layers.4.router.proj.weight": "model-00009.safetensors",
499
+ "model.layers.4.router.scale": "model-00009.safetensors",
500
+ "model.layers.4.self_attn.k_norm.weight": "model-00009.safetensors",
501
+ "model.layers.4.self_attn.k_proj.weight": "model-00009.safetensors",
502
+ "model.layers.4.self_attn.o_proj.weight": "model-00009.safetensors",
503
+ "model.layers.4.self_attn.q_norm.weight": "model-00009.safetensors",
504
+ "model.layers.4.self_attn.q_proj.weight": "model-00009.safetensors",
505
+ "model.layers.4.self_attn.v_proj.weight": "model-00009.safetensors",
506
+ "model.layers.5.experts.down_proj": "model-00009.safetensors",
507
+ "model.layers.5.experts.gate_up_proj": "model-00009.safetensors",
508
+ "model.layers.5.layer_scalar": "model-00010.safetensors",
509
+ "model.layers.5.router.per_expert_scale": "model-00010.safetensors",
510
+ "model.layers.5.router.scale": "model-00010.safetensors",
511
+ "model.layers.5.self_attn.k_norm.weight": "model-00010.safetensors",
512
+ "model.layers.5.self_attn.k_proj.weight": "model-00010.safetensors",
513
+ "model.layers.5.self_attn.o_proj.weight": "model-00010.safetensors",
514
+ "model.layers.5.self_attn.q_norm.weight": "model-00010.safetensors",
515
+ "model.layers.5.self_attn.q_proj.weight": "model-00010.safetensors",
516
+ "model.layers.6.experts.down_proj": "model-00010.safetensors",
517
+ "model.layers.6.experts.gate_up_proj": "model-00010.safetensors",
518
+ "model.layers.6.input_layernorm.weight": "model-00010.safetensors",
519
+ "model.layers.6.layer_scalar": "model-00010.safetensors",
520
+ "model.layers.6.mlp.down_proj.weight": "model-00010.safetensors",
521
+ "model.layers.6.mlp.gate_proj.weight": "model-00010.safetensors",
522
+ "model.layers.6.mlp.up_proj.weight": "model-00010.safetensors",
523
+ "model.layers.6.post_attention_layernorm.weight": "model-00010.safetensors",
524
+ "model.layers.6.post_feedforward_layernorm.weight": "model-00010.safetensors",
525
+ "model.layers.6.post_feedforward_layernorm_1.weight": "model-00010.safetensors",
526
+ "model.layers.6.post_feedforward_layernorm_2.weight": "model-00010.safetensors",
527
+ "model.layers.6.pre_feedforward_layernorm.weight": "model-00010.safetensors",
528
+ "model.layers.6.pre_feedforward_layernorm_2.weight": "model-00010.safetensors",
529
+ "model.layers.6.router.per_expert_scale": "model-00010.safetensors",
530
+ "model.layers.6.router.proj.weight": "model-00010.safetensors",
531
+ "model.layers.6.router.scale": "model-00010.safetensors",
532
+ "model.layers.6.self_attn.k_norm.weight": "model-00010.safetensors",
533
+ "model.layers.6.self_attn.k_proj.weight": "model-00010.safetensors",
534
+ "model.layers.6.self_attn.o_proj.weight": "model-00010.safetensors",
535
+ "model.layers.6.self_attn.q_norm.weight": "model-00010.safetensors",
536
+ "model.layers.6.self_attn.q_proj.weight": "model-00010.safetensors",
537
+ "model.layers.6.self_attn.v_proj.weight": "model-00010.safetensors",
538
+ "model.layers.7.experts.down_proj": "model-00010.safetensors",
539
+ "model.layers.7.experts.gate_up_proj": "model-00010.safetensors",
540
+ "model.layers.7.input_layernorm.weight": "model-00010.safetensors",
541
+ "model.layers.7.layer_scalar": "model-00010.safetensors",
542
+ "model.layers.7.mlp.down_proj.weight": "model-00010.safetensors",
543
+ "model.layers.7.mlp.gate_proj.weight": "model-00010.safetensors",
544
+ "model.layers.7.mlp.up_proj.weight": "model-00010.safetensors",
545
+ "model.layers.7.post_attention_layernorm.weight": "model-00010.safetensors",
546
+ "model.layers.7.post_feedforward_layernorm.weight": "model-00010.safetensors",
547
+ "model.layers.7.post_feedforward_layernorm_1.weight": "model-00010.safetensors",
548
+ "model.layers.7.post_feedforward_layernorm_2.weight": "model-00010.safetensors",
549
+ "model.layers.7.pre_feedforward_layernorm.weight": "model-00010.safetensors",
550
+ "model.layers.7.pre_feedforward_layernorm_2.weight": "model-00010.safetensors",
551
+ "model.layers.7.router.per_expert_scale": "model-00010.safetensors",
552
+ "model.layers.7.router.proj.weight": "model-00010.safetensors",
553
+ "model.layers.7.router.scale": "model-00010.safetensors",
554
+ "model.layers.7.self_attn.k_norm.weight": "model-00010.safetensors",
555
+ "model.layers.7.self_attn.k_proj.weight": "model-00010.safetensors",
556
+ "model.layers.7.self_attn.o_proj.weight": "model-00010.safetensors",
557
+ "model.layers.7.self_attn.q_norm.weight": "model-00010.safetensors",
558
+ "model.layers.7.self_attn.q_proj.weight": "model-00010.safetensors",
559
+ "model.layers.7.self_attn.v_proj.weight": "model-00010.safetensors",
560
+ "model.layers.8.experts.down_proj": "model-00010.safetensors",
561
+ "model.layers.8.experts.gate_up_proj": "model-00010.safetensors",
562
+ "model.layers.8.input_layernorm.weight": "model-00011.safetensors",
563
+ "model.layers.8.layer_scalar": "model-00011.safetensors",
564
+ "model.layers.8.mlp.down_proj.weight": "model-00011.safetensors",
565
+ "model.layers.8.mlp.gate_proj.weight": "model-00011.safetensors",
566
+ "model.layers.8.mlp.up_proj.weight": "model-00011.safetensors",
567
+ "model.layers.8.post_attention_layernorm.weight": "model-00011.safetensors",
568
+ "model.layers.8.post_feedforward_layernorm.weight": "model-00011.safetensors",
569
+ "model.layers.8.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
570
+ "model.layers.8.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
571
+ "model.layers.8.pre_feedforward_layernorm.weight": "model-00011.safetensors",
572
+ "model.layers.8.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
573
+ "model.layers.8.router.per_expert_scale": "model-00011.safetensors",
574
+ "model.layers.8.router.proj.weight": "model-00011.safetensors",
575
+ "model.layers.8.router.scale": "model-00011.safetensors",
576
+ "model.layers.8.self_attn.k_norm.weight": "model-00011.safetensors",
577
+ "model.layers.8.self_attn.k_proj.weight": "model-00011.safetensors",
578
+ "model.layers.8.self_attn.o_proj.weight": "model-00011.safetensors",
579
+ "model.layers.8.self_attn.q_norm.weight": "model-00011.safetensors",
580
+ "model.layers.8.self_attn.q_proj.weight": "model-00011.safetensors",
581
+ "model.layers.8.self_attn.v_proj.weight": "model-00011.safetensors",
582
+ "model.layers.9.experts.down_proj": "model-00011.safetensors",
583
+ "model.layers.9.experts.gate_up_proj": "model-00011.safetensors",
584
+ "model.layers.9.input_layernorm.weight": "model-00011.safetensors",
585
+ "model.layers.9.layer_scalar": "model-00011.safetensors",
586
+ "model.layers.9.mlp.down_proj.weight": "model-00011.safetensors",
587
+ "model.layers.9.mlp.gate_proj.weight": "model-00011.safetensors",
588
+ "model.layers.9.mlp.up_proj.weight": "model-00011.safetensors",
589
+ "model.layers.9.post_attention_layernorm.weight": "model-00011.safetensors",
590
+ "model.layers.9.post_feedforward_layernorm.weight": "model-00011.safetensors",
591
+ "model.layers.9.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
592
+ "model.layers.9.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
593
+ "model.layers.9.pre_feedforward_layernorm.weight": "model-00011.safetensors",
594
+ "model.layers.9.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
595
+ "model.layers.9.router.per_expert_scale": "model-00011.safetensors",
596
+ "model.layers.9.router.proj.weight": "model-00011.safetensors",
597
+ "model.layers.9.router.scale": "model-00011.safetensors",
598
+ "model.layers.9.self_attn.k_norm.weight": "model-00011.safetensors",
599
+ "model.layers.9.self_attn.k_proj.weight": "model-00011.safetensors",
600
+ "model.layers.9.self_attn.o_proj.weight": "model-00011.safetensors",
601
+ "model.layers.9.self_attn.q_norm.weight": "model-00011.safetensors",
602
+ "model.layers.9.self_attn.q_proj.weight": "model-00011.safetensors",
603
+ "model.layers.9.self_attn.v_proj.weight": "model-00011.safetensors",
604
+ "model.norm.weight": "model-00011.safetensors",
605
+ "model.layers.11.input_layernorm.weight": "model-00011.safetensors",
606
+ "model.layers.11.mlp.down_proj.weight": "model-00011.safetensors",
607
+ "model.layers.11.mlp.gate_proj.weight": "model-00011.safetensors",
608
+ "model.layers.11.mlp.up_proj.weight": "model-00011.safetensors",
609
+ "model.layers.11.post_attention_layernorm.weight": "model-00011.safetensors",
610
+ "model.layers.11.post_feedforward_layernorm.weight": "model-00011.safetensors",
611
+ "model.layers.11.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
612
+ "model.layers.11.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
613
+ "model.layers.11.pre_feedforward_layernorm.weight": "model-00011.safetensors",
614
+ "model.layers.11.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
615
+ "model.layers.11.router.proj.weight": "model-00011.safetensors",
616
+ "model.layers.17.experts.down_proj": "model-00011.safetensors",
617
+ "model.layers.17.input_layernorm.weight": "model-00011.safetensors",
618
+ "model.layers.17.mlp.down_proj.weight": "model-00011.safetensors",
619
+ "model.layers.17.mlp.gate_proj.weight": "model-00011.safetensors",
620
+ "model.layers.17.mlp.up_proj.weight": "model-00011.safetensors",
621
+ "model.layers.17.post_attention_layernorm.weight": "model-00011.safetensors",
622
+ "model.layers.17.post_feedforward_layernorm.weight": "model-00011.safetensors",
623
+ "model.layers.17.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
624
+ "model.layers.17.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
625
+ "model.layers.17.pre_feedforward_layernorm.weight": "model-00011.safetensors",
626
+ "model.layers.17.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
627
+ "model.layers.17.router.proj.weight": "model-00011.safetensors",
628
+ "model.layers.23.experts.down_proj": "model-00011.safetensors",
629
+ "model.layers.23.input_layernorm.weight": "model-00011.safetensors",
630
+ "model.layers.23.mlp.down_proj.weight": "model-00011.safetensors",
631
+ "model.layers.23.mlp.gate_proj.weight": "model-00011.safetensors",
632
+ "model.layers.23.mlp.up_proj.weight": "model-00011.safetensors",
633
+ "model.layers.23.post_attention_layernorm.weight": "model-00011.safetensors",
634
+ "model.layers.23.post_feedforward_layernorm.weight": "model-00011.safetensors",
635
+ "model.layers.23.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
636
+ "model.layers.23.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
637
+ "model.layers.23.pre_feedforward_layernorm.weight": "model-00011.safetensors",
638
+ "model.layers.23.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
639
+ "model.layers.23.router.proj.weight": "model-00011.safetensors",
640
+ "model.layers.29.experts.down_proj": "model-00011.safetensors",
641
+ "model.layers.29.input_layernorm.weight": "model-00011.safetensors",
642
+ "model.layers.29.mlp.down_proj.weight": "model-00011.safetensors",
643
+ "model.layers.29.mlp.gate_proj.weight": "model-00011.safetensors",
644
+ "model.layers.29.mlp.up_proj.weight": "model-00011.safetensors",
645
+ "model.layers.29.post_attention_layernorm.weight": "model-00011.safetensors",
646
+ "model.layers.29.post_feedforward_layernorm.weight": "model-00011.safetensors",
647
+ "model.layers.29.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
648
+ "model.layers.29.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
649
+ "model.layers.29.pre_feedforward_layernorm.weight": "model-00011.safetensors",
650
+ "model.layers.29.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
651
+ "model.layers.29.router.proj.weight": "model-00011.safetensors",
652
+ "model.layers.5.input_layernorm.weight": "model-00011.safetensors",
653
+ "model.layers.5.mlp.down_proj.weight": "model-00011.safetensors",
654
+ "model.layers.5.mlp.gate_proj.weight": "model-00011.safetensors",
655
+ "model.layers.5.mlp.up_proj.weight": "model-00011.safetensors",
656
+ "model.layers.5.post_attention_layernorm.weight": "model-00011.safetensors",
657
+ "model.layers.5.post_feedforward_layernorm.weight": "model-00011.safetensors",
658
+ "model.layers.5.post_feedforward_layernorm_1.weight": "model-00011.safetensors",
659
+ "model.layers.5.post_feedforward_layernorm_2.weight": "model-00011.safetensors",
660
+ "model.layers.5.pre_feedforward_layernorm.weight": "model-00011.safetensors",
661
+ "model.layers.5.pre_feedforward_layernorm_2.weight": "model-00011.safetensors",
662
+ "model.layers.5.router.proj.weight": "model-00011.safetensors"
663
+ }
664
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95e99f5b3d0df745980cc851d270a89b4dbeb6ea75ab27cff723f836b764c517
3
+ size 13592405
tokenizer_config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<bos>",
4
+ "eoc_token": "<channel|>",
5
+ "eos_token": "<eos>",
6
+ "eot_token": "<turn|>",
7
+ "escape_token": "<|\"|>",
8
+ "etc_token": "<tool_call|>",
9
+ "etd_token": "<tool|>",
10
+ "etr_token": "<tool_response|>",
11
+ "mask_token": "<mask>",
12
+ "model_max_length": 1000000000000000019884624838656,
13
+ "pad_token": "<pad>",
14
+ "padding_side": "left",
15
+ "processor_class": "Gemma4Processor",
16
+ "response_schema": {
17
+ "type": "object",
18
+ "properties": {
19
+ "role": {
20
+ "const": "assistant"
21
+ },
22
+ "thinking": {
23
+ "type": "string"
24
+ },
25
+ "content": {
26
+ "type": "string"
27
+ },
28
+ "tool_calls": {
29
+ "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>",
30
+ "type": "array",
31
+ "items": {
32
+ "type": "object",
33
+ "properties": {
34
+ "type": {
35
+ "const": "function"
36
+ },
37
+ "function": {
38
+ "type": "object",
39
+ "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})",
40
+ "properties": {
41
+ "name": {
42
+ "type": "string"
43
+ },
44
+ "arguments": {
45
+ "type": "object",
46
+ "x-parser": "gemma4-tool-call",
47
+ "additionalProperties": {}
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
56
+ },
57
+ "response_template": {
58
+ "defaults": {
59
+ "role": "assistant"
60
+ },
61
+ "fields": {
62
+ "content": {
63
+ "close": [
64
+ "<turn|>",
65
+ "<|tool_response>",
66
+ "<eos>"
67
+ ],
68
+ "content": "text"
69
+ },
70
+ "thinking": {
71
+ "close": "<channel|>",
72
+ "content": "text",
73
+ "open": "<|channel>thought\n"
74
+ },
75
+ "tool_calls": {
76
+ "close": "<tool_call|>",
77
+ "content": "json",
78
+ "content_args": {
79
+ "string_delims": [
80
+ [
81
+ "<|\"|>",
82
+ "<|\"|>"
83
+ ]
84
+ ],
85
+ "unquoted_keys": true
86
+ },
87
+ "open_pattern": "<\\|tool_call>call:(?P<name>\\w+)",
88
+ "repeats": true,
89
+ "transform": {
90
+ "function": {
91
+ "arguments": "{content}",
92
+ "name": "{name}"
93
+ },
94
+ "type": "function"
95
+ }
96
+ }
97
+ },
98
+ "start_anchor": [
99
+ "<|turn>model\n",
100
+ "<tool_response|>"
101
+ ]
102
+ },
103
+ "soc_token": "<|channel>",
104
+ "sot_token": "<|turn>",
105
+ "stc_token": "<|tool_call>",
106
+ "std_token": "<|tool>",
107
+ "str_token": "<|tool_response>",
108
+ "think_token": "<|think|>",
109
+ "tokenizer_class": "GemmaTokenizer",
110
+ "unk_token": "<unk>",
111
+ "added_tokens_decoder": {}
112
+ }