StatsGary commited on
Commit
eccfed7
·
verified ·
1 Parent(s): 9f5caab

Upload merged 16-bit decision model (safetensors)

Browse files
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* 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
  unsloth/tokenizer.json 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
  unsloth/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ safetensors/tokenizer.json filter=lfs diff=lfs merge=lfs -text
safetensors/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 2026 Alibaba Cloud
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.
safetensors/chat_template.jinja ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- set num_sys = 0 %}
46
+ {%- set merged_system = '' %}
47
+ {%- if messages[0].role == 'system' or messages[0].role == 'developer' %}
48
+ {%- set first = render_content(messages[0].content, false, true)|trim %}
49
+ {%- if messages|length > 1 and (messages[1].role == 'system' or messages[1].role == 'developer') %}
50
+ {%- set second = render_content(messages[1].content, false, true)|trim %}
51
+ {%- set merged_system = first + '\n' + second %}
52
+ {%- set num_sys = 2 %}
53
+ {%- else %}
54
+ {%- set merged_system = first %}
55
+ {%- set num_sys = 1 %}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- if tools and tools is iterable and tools is not mapping %}
59
+ {{- '<|im_start|>system\n' }}
60
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
61
+ {%- for tool in tools %}
62
+ {{- "\n" }}
63
+ {{- tool | tojson }}
64
+ {%- endfor %}
65
+ {{- "\n</tools>" }}
66
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
67
+ {%- if merged_system %}
68
+ {{- '\n\n' + merged_system }}
69
+ {%- endif %}
70
+ {{- '<|im_end|>\n' }}
71
+ {%- else %}
72
+ {%- if merged_system %}
73
+ {{- '<|im_start|>system\n' + merged_system + '<|im_end|>\n' }}
74
+ {%- endif %}
75
+ {%- endif %}
76
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
77
+ {%- for message in messages[::-1] %}
78
+ {%- set index = (messages|length - 1) - loop.index0 %}
79
+ {%- if ns.multi_step_tool and message.role == "user" %}
80
+ {%- set content = render_content(message.content, false)|trim %}
81
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
82
+ {%- set ns.multi_step_tool = false %}
83
+ {%- set ns.last_query_index = index %}
84
+ {%- endif %}
85
+ {%- endif %}
86
+ {%- endfor %}
87
+ {%- for message in messages %}
88
+ {%- if loop.index0 >= num_sys and message.role != "system" and message.role != "developer" %}
89
+ {%- set content = render_content(message.content, true)|trim %}
90
+ {%- if message.role == "user" %}
91
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
92
+ {%- elif message.role == "assistant" %}
93
+ {%- set reasoning_content = '' %}
94
+ {%- if message.reasoning_content is string %}
95
+ {%- set reasoning_content = message.reasoning_content %}
96
+ {%- else %}
97
+ {%- if '</think>' in content %}
98
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
99
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
100
+ {%- endif %}
101
+ {%- endif %}
102
+ {%- set reasoning_content = reasoning_content|trim %}
103
+ {%- if loop.index0 > ns.last_query_index %}
104
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
105
+ {%- else %}
106
+ {{- '<|im_start|>' + message.role + '\n' + content }}
107
+ {%- endif %}
108
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
109
+ {%- for tool_call in message.tool_calls %}
110
+ {%- if tool_call.function is defined %}
111
+ {%- set tool_call = tool_call.function %}
112
+ {%- endif %}
113
+ {%- if loop.first %}
114
+ {%- if content|trim %}
115
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
116
+ {%- else %}
117
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- else %}
120
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
121
+ {%- endif %}
122
+ {%- if tool_call.arguments is mapping %}
123
+ {%- for args_name in tool_call.arguments %}
124
+ {%- set args_value = tool_call.arguments[args_name] %}
125
+ {{- '<parameter=' + args_name + '>\n' }}
126
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
127
+ {{- args_value }}
128
+ {{- '\n</parameter>\n' }}
129
+ {%- endfor %}
130
+ {%- endif %}
131
+ {{- '</function>\n</tool_call>' }}
132
+ {%- endfor %}
133
+ {%- endif %}
134
+ {{- '<|im_end|>\n' }}
135
+ {%- elif message.role == "tool" %}
136
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
137
+ {{- '<|im_start|>user' }}
138
+ {%- endif %}
139
+ {{- '\n<tool_response>\n' }}
140
+ {{- content }}
141
+ {{- '\n</tool_response>' }}
142
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
143
+ {{- '<|im_end|>\n' }}
144
+ {%- elif loop.last %}
145
+ {{- '<|im_end|>\n' }}
146
+ {%- endif %}
147
+ {%- endif %}
148
+ {%- endif %}
149
+ {%- endfor %}
150
+ {%- if add_generation_prompt %}
151
+ {{- '<|im_start|>assistant\n' }}
152
+ {%- if enable_thinking is defined and enable_thinking is false %}
153
+ {{- '<think>\n\n</think>\n\n' }}
154
+ {%- else %}
155
+ {{- '<think>\n' }}
156
+ {%- endif %}
157
+ {%- endif %}
158
+ {#- Unsloth fixes - developer role, tool calling #}
safetensors/config.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "image_token_id": 248056,
6
+ "model_type": "qwen3_5",
7
+ "mtp_num_hidden_layers": 1,
8
+ "text_config": {
9
+ "attention_bias": false,
10
+ "attention_dropout": 0.0,
11
+ "attn_output_gate": true,
12
+ "bos_token_id": null,
13
+ "torch_dtype": "bfloat16",
14
+ "eos_token_id": 248044,
15
+ "full_attention_interval": 4,
16
+ "head_dim": 256,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 2560,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 9216,
21
+ "layer_types": [
22
+ "linear_attention",
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "full_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "full_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "full_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "full_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "full_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "full_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "linear_attention",
49
+ "full_attention",
50
+ "linear_attention",
51
+ "linear_attention",
52
+ "linear_attention",
53
+ "full_attention"
54
+ ],
55
+ "linear_conv_kernel_dim": 4,
56
+ "linear_key_head_dim": 128,
57
+ "linear_num_key_heads": 16,
58
+ "linear_num_value_heads": 32,
59
+ "linear_value_head_dim": 128,
60
+ "mamba_ssm_dtype": "float32",
61
+ "max_position_embeddings": 262144,
62
+ "mlp_only_layers": [],
63
+ "model_type": "qwen3_5_text",
64
+ "mtp_num_hidden_layers": 1,
65
+ "mtp_use_dedicated_embeddings": false,
66
+ "num_attention_heads": 16,
67
+ "num_hidden_layers": 32,
68
+ "num_key_value_heads": 4,
69
+ "pad_token_id": null,
70
+ "partial_rotary_factor": 0.25,
71
+ "rms_norm_eps": 1e-06,
72
+ "rope_parameters": {
73
+ "mrope_interleaved": true,
74
+ "mrope_section": [
75
+ 11,
76
+ 11,
77
+ 10
78
+ ],
79
+ "partial_rotary_factor": 0.25,
80
+ "rope_theta": 10000000,
81
+ "rope_type": "default"
82
+ },
83
+ "tie_word_embeddings": true,
84
+ "use_cache": true,
85
+ "vocab_size": 248320
86
+ },
87
+ "tie_word_embeddings": true,
88
+ "transformers_version": "5.2.0",
89
+ "unsloth_fixed_mtp": true,
90
+ "video_token_id": 248057,
91
+ "vision_config": {
92
+ "deepstack_visual_indexes": [],
93
+ "depth": 24,
94
+ "hidden_act": "gelu_pytorch_tanh",
95
+ "hidden_size": 1024,
96
+ "in_channels": 3,
97
+ "initializer_range": 0.02,
98
+ "intermediate_size": 4096,
99
+ "model_type": "qwen3_5",
100
+ "num_heads": 16,
101
+ "num_position_embeddings": 2304,
102
+ "out_hidden_size": 2560,
103
+ "patch_size": 16,
104
+ "spatial_merge_size": 2,
105
+ "temporal_patch_size": 2
106
+ },
107
+ "vision_end_token_id": 248054,
108
+ "vision_start_token_id": 248053
109
+ }
safetensors/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": 248044,
4
+ "pad_token_id": 248055,
5
+ "transformers_version": "5.2.0",
6
+ "use_cache": true
7
+ }
safetensors/joint_head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a864888b143618cb576de4a0848af769d96402ada85b0c1fb26daa893e0e58b
3
+ size 64105230
safetensors/joint_head_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "hidden_size": 2560,
3
+ "width": 512,
4
+ "routing_layers": 2,
5
+ "layers": 4,
6
+ "heads": 8,
7
+ "feedforward": 2048
8
+ }
safetensors/joint_schema_model.py ADDED
@@ -0,0 +1,576 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Clef: a multimodal Qwen backbone with a joint schema head for typed decisions.
2
+
3
+ A record provides a ``state`` (any JSON value), optional ``images`` and ``videos``,
4
+ and ``questions``. Each question has a ``type`` (``noul``, ``choice``, or ``score``),
5
+ ``instructions``, and, for ``choice`` and ``score``, ``criteria`` describing the
6
+ allowed options. The model returns one logit per allowed option for every question.
7
+ ``systemone`` answers a Jev/SystemOne ``/v1/systemone`` request body with the same
8
+ response body.
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import json
14
+ import math
15
+ from dataclasses import dataclass
16
+ from dataclasses import field as dataclass_field
17
+ from pathlib import Path
18
+ from typing import Any
19
+
20
+ import torch
21
+ import torch.nn.functional as functional
22
+
23
+
24
+ SYSTEM_PROMPT = (
25
+ "Read the complete state and schema. Decide every field jointly. Each answer "
26
+ "must be exactly one of that field's allowed options."
27
+ )
28
+ IMAGE_PLACEHOLDER = "<|vision_start|><|image_pad|><|vision_end|>"
29
+ VIDEO_PLACEHOLDER = "<|vision_start|><|video_pad|><|vision_end|>"
30
+ MEDIA_BATCH_KEYS = ("pixel_values", "image_grid_thw", "pixel_values_videos", "video_grid_thw")
31
+ MEDIA_TOKEN_KEYS = ("mm_token_type_ids",)
32
+ QUESTION_TYPES = {"noul": 0, "choice": 1, "score": 2}
33
+
34
+
35
+ def render(value: Any) -> str:
36
+ if isinstance(value, str):
37
+ return value
38
+ return json.dumps(
39
+ value,
40
+ ensure_ascii=False,
41
+ separators=(",", ":"),
42
+ sort_keys=True,
43
+ )
44
+
45
+
46
+ def question_options(question: dict[str, Any]) -> list[tuple[str, Any]]:
47
+ question_type = str(question["type"])
48
+ if question_type == "noul":
49
+ criteria = {
50
+ "true": "The proposition is true or the answer is yes.",
51
+ "false": "The proposition is false or the answer is no.",
52
+ }
53
+ criteria.update(question.get("criteria") or {})
54
+ return [(key, criteria[key]) for key in ("true", "false")]
55
+ if question_type == "choice":
56
+ return sorted((str(key), value) for key, value in question["criteria"].items())
57
+ return [(str(index), value) for index, value in enumerate(question["criteria"])]
58
+
59
+
60
+ @dataclass(frozen=True)
61
+ class EncodedQuestion:
62
+ question_id: str
63
+ question_type: int
64
+ question_span: tuple[int, int]
65
+ option_spans: tuple[tuple[int, int], ...]
66
+ option_ids: tuple[str, ...]
67
+
68
+
69
+ @dataclass(frozen=True)
70
+ class EncodedRecord:
71
+ input_ids: tuple[int, ...]
72
+ questions: tuple[EncodedQuestion, ...]
73
+ record_id: str
74
+ media: dict[str, Any] | None = dataclass_field(default=None, compare=False, repr=False)
75
+
76
+
77
+ def _tokens(tokenizer: Any, text: str) -> list[int]:
78
+ return tokenizer(text, add_special_tokens=False).input_ids
79
+
80
+
81
+ def _encode_media(processor: Any, record: dict[str, Any]) -> tuple[list[int], dict[str, Any] | None]:
82
+ images = list(record.get("images") or [])
83
+ videos = list(record.get("videos") or [])
84
+ if not images and not videos:
85
+ return [], None
86
+ if processor is None:
87
+ raise ValueError("records with images or videos require a processor")
88
+ text = IMAGE_PLACEHOLDER * len(images) + VIDEO_PLACEHOLDER * len(videos) + "\n"
89
+ encoded = processor(
90
+ text=[text],
91
+ images=images or None,
92
+ videos=videos or None,
93
+ return_tensors="pt",
94
+ **(record.get("media_kwargs") or {}),
95
+ )
96
+ media = {key: encoded[key] for key in MEDIA_BATCH_KEYS if key in encoded}
97
+ for key in MEDIA_TOKEN_KEYS:
98
+ if key in encoded:
99
+ media[key] = encoded[key][0].tolist()
100
+ return encoded["input_ids"][0].tolist(), media
101
+
102
+
103
+ def encode_record(
104
+ tokenizer: Any,
105
+ record: dict[str, Any],
106
+ max_length: int = 16384,
107
+ max_state_tokens: int | None = None,
108
+ processor: Any | None = None,
109
+ ) -> EncodedRecord:
110
+ schema_ids = _tokens(tokenizer, "\n\nSCHEMA FIELDS:\n")
111
+ questions: list[EncodedQuestion] = []
112
+ for question_index, (question_id, question) in enumerate(record["questions"].items()):
113
+ schema_ids.extend(
114
+ _tokens(
115
+ tokenizer,
116
+ f"\nFIELD {question_index + 1}\nID: {question_id}\nTYPE: {question['type']}\nINSTRUCTION: ",
117
+ )
118
+ )
119
+ question_start = len(schema_ids)
120
+ instructions = question.get("instructions")
121
+ if instructions is None or instructions == "":
122
+ instructions = str(question_id)
123
+ schema_ids.extend(_tokens(tokenizer, render(instructions)))
124
+ question_end = len(schema_ids)
125
+ schema_ids.extend(_tokens(tokenizer, "\nALLOWED OPTIONS:\n"))
126
+
127
+ option_spans: list[tuple[int, int]] = []
128
+ option_ids: list[str] = []
129
+ for option_index, (option_id, description) in enumerate(question_options(question)):
130
+ schema_ids.extend(_tokens(tokenizer, f"OPTION {option_index + 1}: "))
131
+ option_start = len(schema_ids)
132
+ semantics = {"option_id": option_id}
133
+ if description is not None:
134
+ semantics["description"] = description
135
+ schema_ids.extend(_tokens(tokenizer, render(semantics)))
136
+ option_spans.append((option_start, len(schema_ids)))
137
+ option_ids.append(option_id)
138
+ schema_ids.extend(_tokens(tokenizer, "\n"))
139
+ schema_ids.extend(_tokens(tokenizer, "END FIELD\n"))
140
+ questions.append(
141
+ EncodedQuestion(
142
+ question_id=str(question_id),
143
+ question_type=QUESTION_TYPES[str(question["type"])],
144
+ question_span=(question_start, question_end),
145
+ option_spans=tuple(option_spans),
146
+ option_ids=tuple(option_ids),
147
+ )
148
+ )
149
+
150
+ prefix_ids = _tokens(
151
+ tokenizer,
152
+ f"<|im_start|>system\n{SYSTEM_PROMPT}<|im_end|>\n<|im_start|>user\nSTATE:\n",
153
+ )
154
+ suffix_ids = _tokens(
155
+ tokenizer,
156
+ "\n<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\nJOINT SCHEMA DECISIONS:",
157
+ )
158
+ media_ids, media = _encode_media(processor, record)
159
+ if media is not None:
160
+ media["token_offset"] = len(prefix_ids)
161
+ prefix_ids = prefix_ids + media_ids
162
+ state_ids = _tokens(tokenizer, render(record["state"]))
163
+ if max_state_tokens is not None:
164
+ state_ids = state_ids[:max_state_tokens]
165
+ fixed_length = len(prefix_ids) + len(schema_ids) + len(suffix_ids)
166
+ if fixed_length > max_length:
167
+ raise ValueError(
168
+ f"schema requires {fixed_length} tokens before state; maximum is {max_length}"
169
+ )
170
+ state_ids = state_ids[: max_length - fixed_length]
171
+ schema_offset = len(prefix_ids) + len(state_ids)
172
+ shifted_questions = tuple(
173
+ EncodedQuestion(
174
+ question_id=question.question_id,
175
+ question_type=question.question_type,
176
+ question_span=(
177
+ question.question_span[0] + schema_offset,
178
+ question.question_span[1] + schema_offset,
179
+ ),
180
+ option_spans=tuple(
181
+ (start + schema_offset, end + schema_offset)
182
+ for start, end in question.option_spans
183
+ ),
184
+ option_ids=question.option_ids,
185
+ )
186
+ for question in questions
187
+ )
188
+ input_ids = tuple(prefix_ids + state_ids + schema_ids + suffix_ids)
189
+ if not input_ids or not shifted_questions:
190
+ raise ValueError("record produced no model input or questions")
191
+ return EncodedRecord(
192
+ input_ids=input_ids,
193
+ questions=shifted_questions,
194
+ record_id=str(record.get("id", "unknown")),
195
+ media=media,
196
+ )
197
+
198
+
199
+ def collate_records(
200
+ records: list[EncodedRecord],
201
+ pad_token_id: int,
202
+ device: torch.device,
203
+ ) -> dict[str, Any]:
204
+ maximum_length = max(len(record.input_ids) for record in records)
205
+ input_ids = torch.full(
206
+ (len(records), maximum_length),
207
+ pad_token_id,
208
+ dtype=torch.long,
209
+ device=device,
210
+ )
211
+ attention_mask = torch.zeros(
212
+ (len(records), maximum_length),
213
+ dtype=torch.long,
214
+ device=device,
215
+ )
216
+ for index, record in enumerate(records):
217
+ length = len(record.input_ids)
218
+ input_ids[index, :length] = torch.tensor(record.input_ids, device=device)
219
+ attention_mask[index, :length] = 1
220
+ media: dict[str, torch.Tensor] = {}
221
+ for key in MEDIA_BATCH_KEYS:
222
+ values = [record.media[key] for record in records if record.media and key in record.media]
223
+ if values:
224
+ media[key] = torch.cat(values, dim=0).to(device)
225
+ for key in MEDIA_TOKEN_KEYS:
226
+ if any(record.media and key in record.media for record in records):
227
+ token_values = torch.zeros((len(records), maximum_length), dtype=torch.long, device=device)
228
+ for index, record in enumerate(records):
229
+ if record.media and key in record.media:
230
+ offset = record.media["token_offset"]
231
+ values = torch.tensor(record.media[key], dtype=torch.long, device=device)
232
+ token_values[index, offset : offset + len(values)] = values
233
+ media[key] = token_values
234
+ return {
235
+ "input_ids": input_ids,
236
+ "attention_mask": attention_mask,
237
+ "records": records,
238
+ "media": media,
239
+ }
240
+
241
+
242
+ class EvidenceRoutingLayer(torch.nn.Module):
243
+ def __init__(
244
+ self,
245
+ width: int,
246
+ heads: int,
247
+ feedforward: int,
248
+ dropout: float = 0.0,
249
+ ) -> None:
250
+ super().__init__()
251
+ self.query_norm = torch.nn.LayerNorm(width)
252
+ self.memory_norm = torch.nn.LayerNorm(width)
253
+ self.attention = torch.nn.MultiheadAttention(
254
+ width,
255
+ heads,
256
+ dropout=dropout,
257
+ batch_first=True,
258
+ )
259
+ self.attention_dropout = torch.nn.Dropout(dropout)
260
+ self.feedforward_norm = torch.nn.LayerNorm(width)
261
+ self.feedforward = torch.nn.Sequential(
262
+ torch.nn.Linear(width, feedforward),
263
+ torch.nn.GELU(),
264
+ torch.nn.Dropout(dropout),
265
+ torch.nn.Linear(feedforward, width),
266
+ torch.nn.Dropout(dropout),
267
+ )
268
+
269
+ def forward(self, queries: torch.Tensor, memory: torch.Tensor) -> torch.Tensor:
270
+ normalized_queries = self.query_norm(queries)
271
+ routed, _ = self.attention(
272
+ normalized_queries,
273
+ self.memory_norm(memory),
274
+ self.memory_norm(memory),
275
+ need_weights=False,
276
+ )
277
+ queries = queries + self.attention_dropout(routed)
278
+ return queries + self.feedforward(self.feedforward_norm(queries))
279
+
280
+
281
+ class JointSchemaHead(torch.nn.Module):
282
+ def __init__(
283
+ self,
284
+ hidden_size: int,
285
+ width: int,
286
+ routing_layers: int,
287
+ layers: int,
288
+ heads: int,
289
+ feedforward: int,
290
+ dropout: float = 0.0,
291
+ ) -> None:
292
+ super().__init__()
293
+ self.hidden_norm = torch.nn.LayerNorm(hidden_size)
294
+ self.memory_projection = torch.nn.Linear(hidden_size, width, bias=False)
295
+ self.question_projection = torch.nn.Linear(hidden_size, width, bias=False)
296
+ self.option_question_projection = torch.nn.Linear(hidden_size, width, bias=False)
297
+ self.global_projection = torch.nn.Linear(hidden_size, width, bias=False)
298
+ self.option_context_projection = torch.nn.Linear(hidden_size, width, bias=False)
299
+ self.option_lexical_projection = torch.nn.Linear(hidden_size, width, bias=False)
300
+ self.type_embedding = torch.nn.Embedding(3, width)
301
+ self.evidence_layers = torch.nn.ModuleList(
302
+ [
303
+ EvidenceRoutingLayer(
304
+ width=width,
305
+ heads=heads,
306
+ feedforward=feedforward,
307
+ dropout=dropout,
308
+ )
309
+ for _ in range(routing_layers)
310
+ ]
311
+ )
312
+ self.option_summary_norm = torch.nn.LayerNorm(width)
313
+ self.layers = torch.nn.ModuleList(
314
+ [
315
+ torch.nn.TransformerDecoderLayer(
316
+ d_model=width,
317
+ nhead=heads,
318
+ dim_feedforward=feedforward,
319
+ dropout=dropout,
320
+ activation="gelu",
321
+ batch_first=True,
322
+ norm_first=True,
323
+ )
324
+ for _ in range(layers)
325
+ ]
326
+ )
327
+ self.field_norm = torch.nn.LayerNorm(width)
328
+ self.option_norm = torch.nn.LayerNorm(width)
329
+ self.residual_scorer = torch.nn.Sequential(
330
+ torch.nn.Linear(width * 4, width),
331
+ torch.nn.GELU(),
332
+ torch.nn.Dropout(dropout),
333
+ torch.nn.Linear(width, 1),
334
+ )
335
+ self.prior_logit_scale = torch.nn.Parameter(torch.zeros(()))
336
+ self.joint_logit_scale = torch.nn.Parameter(torch.zeros(()))
337
+ self.residual_gate = torch.nn.Parameter(torch.zeros(()))
338
+
339
+ @staticmethod
340
+ def _mean_span(values: torch.Tensor, span: tuple[int, int]) -> torch.Tensor:
341
+ start, end = span
342
+ return values[start:end].mean(dim=0)
343
+
344
+ def forward(
345
+ self,
346
+ hidden_states: torch.Tensor,
347
+ input_ids: torch.Tensor,
348
+ attention_mask: torch.Tensor,
349
+ records: list[EncodedRecord],
350
+ output_embedding_weight: torch.Tensor,
351
+ ) -> list[list[torch.Tensor]]:
352
+ results: list[list[torch.Tensor]] = []
353
+ normalized_hidden = self.hidden_norm(hidden_states)
354
+ for batch_index, record in enumerate(records):
355
+ sequence_length = int(attention_mask[batch_index].sum().item())
356
+ sequence_hidden = normalized_hidden[batch_index, :sequence_length]
357
+ memory = self.memory_projection(sequence_hidden).unsqueeze(0)
358
+ global_vector = sequence_hidden[-1]
359
+ question_vectors = torch.stack(
360
+ [
361
+ self._mean_span(sequence_hidden, question.question_span)
362
+ for question in record.questions
363
+ ]
364
+ )
365
+ type_ids = torch.tensor(
366
+ [question.question_type for question in record.questions],
367
+ device=hidden_states.device,
368
+ )
369
+ option_contexts: list[torch.Tensor] = []
370
+ lexical_options: list[torch.Tensor] = []
371
+ option_counts = []
372
+ for question in record.questions:
373
+ context_vectors = torch.stack(
374
+ [
375
+ self._mean_span(sequence_hidden, span)
376
+ for span in question.option_spans
377
+ ]
378
+ )
379
+ lexical_vectors = []
380
+ for start, end in question.option_spans:
381
+ token_ids = input_ids[batch_index, start:end]
382
+ lexical_vectors.append(output_embedding_weight[token_ids].mean(dim=0))
383
+ lexical = torch.stack(lexical_vectors)
384
+ option_contexts.append(context_vectors)
385
+ lexical_options.append(lexical)
386
+ option_counts.append(len(question.option_spans))
387
+
388
+ option_queries = []
389
+ for question_index, (context_vectors, lexical) in enumerate(
390
+ zip(option_contexts, lexical_options)
391
+ ):
392
+ option_queries.append(
393
+ self.option_context_projection(context_vectors)
394
+ + self.option_lexical_projection(lexical)
395
+ + self.option_question_projection(
396
+ question_vectors[question_index]
397
+ ).unsqueeze(0)
398
+ )
399
+ routed_options = torch.cat(option_queries, dim=0).unsqueeze(0)
400
+ for layer in self.evidence_layers:
401
+ routed_options = layer(routed_options, memory)
402
+ routed_options = routed_options[0]
403
+ split_options = list(torch.split(routed_options, option_counts, dim=0))
404
+
405
+ base_fields = self.question_projection(question_vectors)
406
+ option_summaries = []
407
+ for field, options in zip(base_fields, split_options):
408
+ routing_weights = torch.softmax(
409
+ torch.matmul(options, field) / math.sqrt(options.shape[-1]),
410
+ dim=0,
411
+ )
412
+ option_summaries.append(
413
+ torch.sum(routing_weights.unsqueeze(-1) * options, dim=0)
414
+ )
415
+ fields = (
416
+ base_fields
417
+ + self.option_summary_norm(torch.stack(option_summaries))
418
+ + self.global_projection(global_vector).unsqueeze(0)
419
+ + self.type_embedding(type_ids)
420
+ )
421
+ fields = fields.unsqueeze(0)
422
+ for layer in self.layers:
423
+ fields = layer(fields, memory)
424
+ fields = self.field_norm(fields[0])
425
+
426
+ record_logits: list[torch.Tensor] = []
427
+ for field, question, lexical, routed in zip(
428
+ fields,
429
+ record.questions,
430
+ lexical_options,
431
+ split_options,
432
+ ):
433
+ anchor = functional.normalize(
434
+ question_vectors[len(record_logits)] + global_vector,
435
+ dim=-1,
436
+ )
437
+ lexical_anchor = functional.normalize(lexical, dim=-1)
438
+ prior_scale = self.prior_logit_scale.clamp(max=math.log(100.0)).exp()
439
+ prior = prior_scale * torch.matmul(lexical_anchor, anchor)
440
+ options = self.option_norm(routed)
441
+ repeated_field = field.unsqueeze(0).expand_as(options)
442
+ cosine = functional.cosine_similarity(repeated_field, options, dim=-1)
443
+ features = torch.cat(
444
+ [
445
+ repeated_field,
446
+ options,
447
+ repeated_field * options,
448
+ torch.abs(repeated_field - options),
449
+ ],
450
+ dim=-1,
451
+ )
452
+ residual = self.residual_scorer(features).squeeze(-1)
453
+ joint_scale = self.joint_logit_scale.clamp(max=math.log(100.0)).exp()
454
+ joint = joint_scale * cosine + residual
455
+ record_logits.append(
456
+ prior + torch.sigmoid(self.residual_gate) * joint
457
+ )
458
+ results.append(record_logits)
459
+ return results
460
+
461
+
462
+ class ClefModel(torch.nn.Module):
463
+ def __init__(self, language_model: Any, head: JointSchemaHead) -> None:
464
+ super().__init__()
465
+ self.language_model = language_model
466
+ self.head = head
467
+
468
+ def forward(self, batch: dict[str, Any]) -> list[list[torch.Tensor]]:
469
+ base_model = (
470
+ self.language_model.get_base_model()
471
+ if hasattr(self.language_model, "get_base_model")
472
+ else self.language_model
473
+ )
474
+ media = batch.get("media") or {}
475
+ text_model = base_model.model
476
+ if not media and hasattr(text_model, "language_model"):
477
+ text_model = text_model.language_model
478
+ outputs = text_model(
479
+ input_ids=batch["input_ids"],
480
+ attention_mask=batch["attention_mask"],
481
+ use_cache=False,
482
+ return_dict=True,
483
+ **media,
484
+ )
485
+ return self.head(
486
+ outputs.last_hidden_state,
487
+ batch["input_ids"],
488
+ batch["attention_mask"],
489
+ batch["records"],
490
+ base_model.get_output_embeddings().weight,
491
+ )
492
+
493
+
494
+ def load_release_model(
495
+ model_path: str | Path,
496
+ device: str | torch.device = "cuda",
497
+ dtype: torch.dtype = torch.bfloat16,
498
+ **from_pretrained_kwargs: Any,
499
+ ) -> tuple[ClefModel, Any]:
500
+ """Load a Clef release (merged backbone, joint schema head, and processor)."""
501
+ from huggingface_hub import snapshot_download
502
+ from safetensors.torch import load_file
503
+ from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration
504
+
505
+ path = Path(model_path)
506
+ if not path.is_dir():
507
+ path = Path(snapshot_download(str(model_path)))
508
+ backbone = Qwen3_5ForConditionalGeneration.from_pretrained(
509
+ path,
510
+ dtype=dtype,
511
+ device_map={"": str(device)},
512
+ **from_pretrained_kwargs,
513
+ )
514
+ backbone.config.use_cache = False
515
+ head_config = json.loads((path / "joint_head_config.json").read_text())
516
+ head = JointSchemaHead(**head_config)
517
+ head.load_state_dict(load_file(path / "joint_head.safetensors"), strict=True)
518
+ head = head.to(device=device, dtype=dtype)
519
+ processor = AutoProcessor.from_pretrained(path)
520
+ return ClefModel(backbone, head).eval(), processor
521
+
522
+
523
+ def systemone_answer(question: dict[str, Any], probabilities: dict[str, float]) -> dict[str, Any]:
524
+ """Convert per-option probabilities for one question into a SystemOne answer."""
525
+ if question["type"] == "noul":
526
+ return {"type": "noul", "noul": round(probabilities["true"], 4)}
527
+ if question["type"] == "choice":
528
+ options = [str(option) for option in question["criteria"]]
529
+ choice = max(options, key=probabilities.__getitem__)
530
+ return {
531
+ "type": "choice",
532
+ "choice": choice,
533
+ "confidence": round(probabilities[choice], 4),
534
+ "probabilities": {option: round(probabilities[option], 4) for option in options},
535
+ }
536
+ levels = [str(index) for index in range(len(question["criteria"]))]
537
+ return {
538
+ "type": "score",
539
+ "score": round(sum(index * probabilities[level] for index, level in enumerate(levels)), 4),
540
+ "confidence": round(max(probabilities[level] for level in levels), 4),
541
+ "legend": dict(zip(levels, question["criteria"])),
542
+ "probabilities": {level: round(probabilities[level], 4) for level in levels},
543
+ }
544
+
545
+
546
+ @torch.inference_mode()
547
+ def systemone(model: ClefModel, processor: Any, request: dict[str, Any], max_length: int = 16384) -> dict[str, Any]:
548
+ """Answer a Jev/SystemOne ``/v1/systemone`` request body with a SystemOne response body.
549
+
550
+ The request has ``model``, ``state``, and ``questions``, plus optional ``images`` and ``videos``.
551
+ """
552
+ questions = request.get("questions")
553
+ if not isinstance(request.get("model"), str) or "state" not in request:
554
+ raise ValueError("model and state are required")
555
+ if not isinstance(questions, dict) or not questions:
556
+ raise ValueError("at least one question is required")
557
+ for question_id, question in questions.items():
558
+ if question.get("type") not in QUESTION_TYPES:
559
+ raise ValueError(f"{question_id}: type must be noul, choice, or score")
560
+ if question["type"] != "noul" and not question.get("criteria"):
561
+ raise ValueError(f"{question_id}: criteria must not be empty")
562
+ encoded = encode_record(processor.tokenizer, request, max_length=max_length, processor=processor)
563
+ device = next(model.parameters()).device
564
+ logits = model(collate_records([encoded], processor.tokenizer.pad_token_id, device))[0]
565
+ answers = {
566
+ question.question_id: systemone_answer(
567
+ questions[question.question_id],
568
+ dict(zip(question.option_ids, question_logits.float().softmax(-1).tolist())),
569
+ )
570
+ for question, question_logits in zip(encoded.questions, logits)
571
+ }
572
+ return {
573
+ "model": request["model"],
574
+ "answers": answers,
575
+ "usage": {"input_tokens": len(encoded.input_ids), "output_tokens": 0},
576
+ }
safetensors/model.safetensors-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb8ca5ea070abb7840a7f4b64c2de21aae830734b667ff35e47ac912f729103e
3
+ size 5329398688
safetensors/model.safetensors-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1301827dc86d01b2c9d2421b20aeb57bb60aa08a0c4188c36b53b6da8db70d4b
3
+ size 3990429408
safetensors/model.safetensors.index.json ADDED
@@ -0,0 +1,745 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 9319737856
4
+ },
5
+ "weight_map": {
6
+ "model.language_model.embed_tokens.weight": "model.safetensors-00001-of-00002.safetensors",
7
+ "model.language_model.layers.1.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
8
+ "model.language_model.layers.1.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
9
+ "model.language_model.layers.1.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
10
+ "model.language_model.layers.10.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
11
+ "model.language_model.layers.10.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
12
+ "model.language_model.layers.10.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
13
+ "model.language_model.layers.11.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
14
+ "model.language_model.layers.11.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
15
+ "model.language_model.layers.11.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
16
+ "model.language_model.layers.18.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
17
+ "model.language_model.layers.18.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
18
+ "model.language_model.layers.18.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
19
+ "model.language_model.layers.19.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
20
+ "model.language_model.layers.19.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
21
+ "model.language_model.layers.19.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
22
+ "model.language_model.layers.12.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
23
+ "model.language_model.layers.12.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
24
+ "model.language_model.layers.12.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
25
+ "model.language_model.layers.13.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
26
+ "model.language_model.layers.13.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
27
+ "model.language_model.layers.13.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
28
+ "model.language_model.layers.7.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
29
+ "model.language_model.layers.8.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
30
+ "model.language_model.layers.8.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
31
+ "model.language_model.layers.8.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
32
+ "model.language_model.layers.21.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
33
+ "model.language_model.layers.21.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
34
+ "model.language_model.layers.21.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
35
+ "model.language_model.layers.22.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
36
+ "model.language_model.layers.22.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
37
+ "model.language_model.layers.22.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
38
+ "model.language_model.layers.23.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
39
+ "model.language_model.layers.23.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
40
+ "model.language_model.layers.23.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
41
+ "model.language_model.layers.31.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
42
+ "model.language_model.layers.31.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
43
+ "model.language_model.layers.31.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
44
+ "model.language_model.layers.4.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
45
+ "model.language_model.layers.4.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
46
+ "model.language_model.layers.4.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
47
+ "model.language_model.layers.14.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
48
+ "model.language_model.layers.14.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
49
+ "model.language_model.layers.14.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
50
+ "model.language_model.layers.15.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
51
+ "model.language_model.layers.15.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
52
+ "model.language_model.layers.15.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
53
+ "model.language_model.layers.9.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
54
+ "model.language_model.layers.9.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
55
+ "model.language_model.layers.9.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
56
+ "mtp.layers.0.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
57
+ "mtp.layers.0.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
58
+ "mtp.layers.0.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
59
+ "model.language_model.layers.29.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
60
+ "model.language_model.layers.3.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
61
+ "model.language_model.layers.3.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
62
+ "model.language_model.layers.3.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
63
+ "model.language_model.layers.30.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
64
+ "model.language_model.layers.30.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
65
+ "model.language_model.layers.30.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
66
+ "model.language_model.layers.16.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
67
+ "model.language_model.layers.16.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
68
+ "model.language_model.layers.16.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
69
+ "model.language_model.layers.17.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
70
+ "model.language_model.layers.17.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
71
+ "model.language_model.layers.17.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
72
+ "model.language_model.layers.24.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
73
+ "model.language_model.layers.24.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
74
+ "model.language_model.layers.24.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
75
+ "model.language_model.layers.5.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
76
+ "model.language_model.layers.5.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
77
+ "model.language_model.layers.5.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
78
+ "model.language_model.layers.6.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
79
+ "model.language_model.layers.6.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
80
+ "model.language_model.layers.6.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
81
+ "model.language_model.layers.7.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
82
+ "model.language_model.layers.7.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
83
+ "model.language_model.layers.2.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
84
+ "model.language_model.layers.2.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
85
+ "model.language_model.layers.2.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
86
+ "model.language_model.layers.20.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
87
+ "model.language_model.layers.20.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
88
+ "model.language_model.layers.20.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
89
+ "model.language_model.layers.25.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
90
+ "model.language_model.layers.25.mlp.gate_proj.weight": "model.safetensors-00001-of-00002.safetensors",
91
+ "model.language_model.layers.25.mlp.up_proj.weight": "model.safetensors-00001-of-00002.safetensors",
92
+ "model.language_model.layers.26.mlp.down_proj.weight": "model.safetensors-00001-of-00002.safetensors",
93
+ "model.language_model.layers.26.mlp.gate_proj.weight": "model.safetensors-00002-of-00002.safetensors",
94
+ "model.language_model.layers.26.mlp.up_proj.weight": "model.safetensors-00002-of-00002.safetensors",
95
+ "model.language_model.layers.27.mlp.down_proj.weight": "model.safetensors-00002-of-00002.safetensors",
96
+ "model.language_model.layers.27.mlp.gate_proj.weight": "model.safetensors-00002-of-00002.safetensors",
97
+ "model.language_model.layers.27.mlp.up_proj.weight": "model.safetensors-00002-of-00002.safetensors",
98
+ "model.language_model.layers.28.mlp.down_proj.weight": "model.safetensors-00002-of-00002.safetensors",
99
+ "model.language_model.layers.28.mlp.gate_proj.weight": "model.safetensors-00002-of-00002.safetensors",
100
+ "model.language_model.layers.28.mlp.up_proj.weight": "model.safetensors-00002-of-00002.safetensors",
101
+ "model.language_model.layers.29.mlp.gate_proj.weight": "model.safetensors-00002-of-00002.safetensors",
102
+ "model.language_model.layers.29.mlp.up_proj.weight": "model.safetensors-00002-of-00002.safetensors",
103
+ "model.language_model.layers.0.mlp.down_proj.weight": "model.safetensors-00002-of-00002.safetensors",
104
+ "model.language_model.layers.0.mlp.gate_proj.weight": "model.safetensors-00002-of-00002.safetensors",
105
+ "model.language_model.layers.0.mlp.up_proj.weight": "model.safetensors-00002-of-00002.safetensors",
106
+ "model.language_model.layers.10.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
107
+ "model.language_model.layers.11.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
108
+ "model.language_model.layers.18.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
109
+ "model.language_model.layers.19.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
110
+ "model.language_model.layers.2.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
111
+ "model.language_model.layers.12.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
112
+ "model.language_model.layers.13.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
113
+ "model.language_model.layers.7.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
114
+ "model.language_model.layers.8.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
115
+ "model.language_model.layers.22.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
116
+ "model.language_model.layers.23.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
117
+ "model.language_model.layers.31.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
118
+ "model.language_model.layers.4.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
119
+ "model.language_model.layers.14.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
120
+ "model.language_model.layers.15.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
121
+ "model.language_model.layers.9.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
122
+ "mtp.layers.0.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
123
+ "model.language_model.layers.3.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
124
+ "model.language_model.layers.30.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
125
+ "model.language_model.layers.16.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
126
+ "model.language_model.layers.17.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
127
+ "model.language_model.layers.24.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
128
+ "model.language_model.layers.25.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
129
+ "model.language_model.layers.5.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
130
+ "model.language_model.layers.6.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
131
+ "model.language_model.layers.20.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
132
+ "model.language_model.layers.21.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
133
+ "model.language_model.layers.26.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
134
+ "model.language_model.layers.27.self_attn.q_proj.weight": "model.safetensors-00002-of-00002.safetensors",
135
+ "model.language_model.layers.28.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
136
+ "model.language_model.layers.29.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
137
+ "model.language_model.layers.0.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
138
+ "model.language_model.layers.1.linear_attn.in_proj_qkv.weight": "model.safetensors-00002-of-00002.safetensors",
139
+ "model.visual.merger.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
140
+ "mtp.fc.weight": "model.safetensors-00002-of-00002.safetensors",
141
+ "model.language_model.layers.10.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
142
+ "model.language_model.layers.10.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
143
+ "model.language_model.layers.11.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
144
+ "model.language_model.layers.18.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
145
+ "model.language_model.layers.18.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
146
+ "model.language_model.layers.19.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
147
+ "model.language_model.layers.2.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
148
+ "model.language_model.layers.12.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
149
+ "model.language_model.layers.12.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
150
+ "model.language_model.layers.13.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
151
+ "model.language_model.layers.13.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
152
+ "model.language_model.layers.7.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
153
+ "model.language_model.layers.8.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
154
+ "model.language_model.layers.8.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
155
+ "model.language_model.layers.21.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
156
+ "model.language_model.layers.22.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
157
+ "model.language_model.layers.22.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
158
+ "model.language_model.layers.23.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
159
+ "model.language_model.layers.31.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
160
+ "model.language_model.layers.4.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
161
+ "model.language_model.layers.4.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
162
+ "model.language_model.layers.14.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
163
+ "model.language_model.layers.14.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
164
+ "model.language_model.layers.15.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
165
+ "model.language_model.layers.9.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
166
+ "model.language_model.layers.9.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
167
+ "mtp.layers.0.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
168
+ "model.language_model.layers.3.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
169
+ "model.language_model.layers.30.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
170
+ "model.language_model.layers.30.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
171
+ "model.language_model.layers.16.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
172
+ "model.language_model.layers.16.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
173
+ "model.language_model.layers.17.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
174
+ "model.language_model.layers.17.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
175
+ "model.language_model.layers.24.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
176
+ "model.language_model.layers.24.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
177
+ "model.language_model.layers.25.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
178
+ "model.language_model.layers.25.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
179
+ "model.language_model.layers.5.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
180
+ "model.language_model.layers.5.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
181
+ "model.language_model.layers.6.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
182
+ "model.language_model.layers.6.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
183
+ "model.language_model.layers.2.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
184
+ "model.language_model.layers.20.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
185
+ "model.language_model.layers.20.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
186
+ "model.language_model.layers.21.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
187
+ "model.language_model.layers.26.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
188
+ "model.language_model.layers.26.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
189
+ "model.language_model.layers.27.self_attn.o_proj.weight": "model.safetensors-00002-of-00002.safetensors",
190
+ "model.language_model.layers.28.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
191
+ "model.language_model.layers.28.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
192
+ "model.language_model.layers.29.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
193
+ "model.language_model.layers.29.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
194
+ "model.language_model.layers.0.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
195
+ "model.language_model.layers.0.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
196
+ "model.language_model.layers.1.linear_attn.in_proj_z.weight": "model.safetensors-00002-of-00002.safetensors",
197
+ "model.language_model.layers.1.linear_attn.out_proj.weight": "model.safetensors-00002-of-00002.safetensors",
198
+ "model.visual.merger.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
199
+ "model.visual.blocks.0.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
200
+ "model.visual.blocks.0.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
201
+ "model.visual.blocks.1.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
202
+ "model.visual.blocks.1.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
203
+ "model.visual.blocks.10.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
204
+ "model.visual.blocks.10.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
205
+ "model.visual.blocks.11.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
206
+ "model.visual.blocks.11.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
207
+ "model.visual.blocks.12.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
208
+ "model.visual.blocks.12.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
209
+ "model.visual.blocks.13.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
210
+ "model.visual.blocks.13.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
211
+ "model.visual.blocks.14.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
212
+ "model.visual.blocks.14.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
213
+ "model.visual.blocks.15.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
214
+ "model.visual.blocks.15.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
215
+ "model.visual.blocks.16.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
216
+ "model.visual.blocks.16.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
217
+ "model.visual.blocks.17.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
218
+ "model.visual.blocks.17.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
219
+ "model.visual.blocks.18.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
220
+ "model.visual.blocks.18.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
221
+ "model.visual.blocks.19.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
222
+ "model.visual.blocks.19.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
223
+ "model.visual.blocks.2.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
224
+ "model.visual.blocks.2.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
225
+ "model.visual.blocks.20.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
226
+ "model.visual.blocks.20.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
227
+ "model.visual.blocks.21.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
228
+ "model.visual.blocks.21.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
229
+ "model.visual.blocks.22.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
230
+ "model.visual.blocks.22.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
231
+ "model.visual.blocks.23.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
232
+ "model.visual.blocks.23.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
233
+ "model.visual.blocks.3.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
234
+ "model.visual.blocks.3.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
235
+ "model.visual.blocks.4.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
236
+ "model.visual.blocks.4.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
237
+ "model.visual.blocks.5.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
238
+ "model.visual.blocks.5.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
239
+ "model.visual.blocks.6.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
240
+ "model.visual.blocks.6.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
241
+ "model.visual.blocks.7.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
242
+ "model.visual.blocks.7.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
243
+ "model.visual.blocks.8.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
244
+ "model.visual.blocks.8.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
245
+ "model.visual.blocks.9.mlp.linear_fc1.weight": "model.safetensors-00002-of-00002.safetensors",
246
+ "model.visual.blocks.9.mlp.linear_fc2.weight": "model.safetensors-00002-of-00002.safetensors",
247
+ "model.visual.blocks.0.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
248
+ "model.visual.blocks.1.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
249
+ "model.visual.blocks.10.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
250
+ "model.visual.blocks.11.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
251
+ "model.visual.blocks.12.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
252
+ "model.visual.blocks.13.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
253
+ "model.visual.blocks.14.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
254
+ "model.visual.blocks.15.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
255
+ "model.visual.blocks.16.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
256
+ "model.visual.blocks.17.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
257
+ "model.visual.blocks.18.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
258
+ "model.visual.blocks.19.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
259
+ "model.visual.blocks.2.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
260
+ "model.visual.blocks.20.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
261
+ "model.visual.blocks.21.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
262
+ "model.visual.blocks.22.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
263
+ "model.visual.blocks.23.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
264
+ "model.visual.blocks.3.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
265
+ "model.visual.blocks.4.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
266
+ "model.visual.blocks.5.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
267
+ "model.visual.blocks.6.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
268
+ "model.visual.blocks.7.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
269
+ "model.visual.blocks.8.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
270
+ "model.visual.blocks.9.attn.qkv.weight": "model.safetensors-00002-of-00002.safetensors",
271
+ "model.language_model.layers.11.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
272
+ "model.language_model.layers.11.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
273
+ "model.language_model.layers.19.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
274
+ "model.language_model.layers.19.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
275
+ "model.language_model.layers.7.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
276
+ "model.language_model.layers.7.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
277
+ "model.language_model.layers.23.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
278
+ "model.language_model.layers.23.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
279
+ "model.language_model.layers.31.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
280
+ "model.language_model.layers.31.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
281
+ "model.language_model.layers.15.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
282
+ "model.language_model.layers.15.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
283
+ "mtp.layers.0.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
284
+ "mtp.layers.0.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
285
+ "model.language_model.layers.3.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
286
+ "model.language_model.layers.3.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
287
+ "model.language_model.layers.27.self_attn.k_proj.weight": "model.safetensors-00002-of-00002.safetensors",
288
+ "model.language_model.layers.27.self_attn.v_proj.weight": "model.safetensors-00002-of-00002.safetensors",
289
+ "model.visual.pos_embed.weight": "model.safetensors-00002-of-00002.safetensors",
290
+ "model.visual.patch_embed.proj.weight": "model.safetensors-00002-of-00002.safetensors",
291
+ "model.visual.blocks.0.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
292
+ "model.visual.blocks.1.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
293
+ "model.visual.blocks.10.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
294
+ "model.visual.blocks.11.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
295
+ "model.visual.blocks.12.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
296
+ "model.visual.blocks.13.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
297
+ "model.visual.blocks.14.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
298
+ "model.visual.blocks.15.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
299
+ "model.visual.blocks.16.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
300
+ "model.visual.blocks.17.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
301
+ "model.visual.blocks.18.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
302
+ "model.visual.blocks.19.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
303
+ "model.visual.blocks.2.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
304
+ "model.visual.blocks.20.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
305
+ "model.visual.blocks.21.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
306
+ "model.visual.blocks.22.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
307
+ "model.visual.blocks.23.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
308
+ "model.visual.blocks.3.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
309
+ "model.visual.blocks.4.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
310
+ "model.visual.blocks.5.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
311
+ "model.visual.blocks.6.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
312
+ "model.visual.blocks.7.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
313
+ "model.visual.blocks.8.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
314
+ "model.visual.blocks.9.attn.proj.weight": "model.safetensors-00002-of-00002.safetensors",
315
+ "model.language_model.layers.10.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
316
+ "model.language_model.layers.10.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
317
+ "model.language_model.layers.18.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
318
+ "model.language_model.layers.18.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
319
+ "model.language_model.layers.2.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
320
+ "model.language_model.layers.2.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
321
+ "model.language_model.layers.12.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
322
+ "model.language_model.layers.12.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
323
+ "model.language_model.layers.13.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
324
+ "model.language_model.layers.13.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
325
+ "model.language_model.layers.8.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
326
+ "model.language_model.layers.8.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
327
+ "model.language_model.layers.22.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
328
+ "model.language_model.layers.22.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
329
+ "model.language_model.layers.4.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
330
+ "model.language_model.layers.4.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
331
+ "model.language_model.layers.14.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
332
+ "model.language_model.layers.14.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
333
+ "model.language_model.layers.9.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
334
+ "model.language_model.layers.9.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
335
+ "model.language_model.layers.30.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
336
+ "model.language_model.layers.30.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
337
+ "model.language_model.layers.16.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
338
+ "model.language_model.layers.16.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
339
+ "model.language_model.layers.17.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
340
+ "model.language_model.layers.17.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
341
+ "model.language_model.layers.24.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
342
+ "model.language_model.layers.24.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
343
+ "model.language_model.layers.25.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
344
+ "model.language_model.layers.25.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
345
+ "model.language_model.layers.5.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
346
+ "model.language_model.layers.5.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
347
+ "model.language_model.layers.6.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
348
+ "model.language_model.layers.6.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
349
+ "model.language_model.layers.20.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
350
+ "model.language_model.layers.20.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
351
+ "model.language_model.layers.21.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
352
+ "model.language_model.layers.21.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
353
+ "model.language_model.layers.26.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
354
+ "model.language_model.layers.26.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
355
+ "model.language_model.layers.28.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
356
+ "model.language_model.layers.28.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
357
+ "model.language_model.layers.29.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
358
+ "model.language_model.layers.29.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
359
+ "model.language_model.layers.0.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
360
+ "model.language_model.layers.0.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
361
+ "model.language_model.layers.1.linear_attn.in_proj_b.weight": "model.safetensors-00002-of-00002.safetensors",
362
+ "model.language_model.layers.1.linear_attn.in_proj_a.weight": "model.safetensors-00002-of-00002.safetensors",
363
+ "model.language_model.layers.10.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
364
+ "model.language_model.layers.2.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
365
+ "model.language_model.layers.12.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
366
+ "model.language_model.layers.13.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
367
+ "model.language_model.layers.8.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
368
+ "model.language_model.layers.9.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
369
+ "model.language_model.layers.22.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
370
+ "model.language_model.layers.4.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
371
+ "model.language_model.layers.5.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
372
+ "model.language_model.layers.14.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
373
+ "model.language_model.layers.16.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
374
+ "model.language_model.layers.30.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
375
+ "model.language_model.layers.17.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
376
+ "model.language_model.layers.18.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
377
+ "model.language_model.layers.24.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
378
+ "model.language_model.layers.25.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
379
+ "model.language_model.layers.6.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
380
+ "model.language_model.layers.20.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
381
+ "model.language_model.layers.21.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
382
+ "model.language_model.layers.26.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
383
+ "model.language_model.layers.28.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
384
+ "model.language_model.layers.29.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
385
+ "model.language_model.layers.0.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
386
+ "model.language_model.layers.1.linear_attn.conv1d.weight": "model.safetensors-00002-of-00002.safetensors",
387
+ "model.visual.blocks.0.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
388
+ "model.visual.blocks.1.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
389
+ "model.visual.blocks.10.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
390
+ "model.visual.blocks.11.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
391
+ "model.visual.blocks.12.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
392
+ "model.visual.blocks.13.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
393
+ "model.visual.blocks.14.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
394
+ "model.visual.blocks.15.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
395
+ "model.visual.blocks.16.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
396
+ "model.visual.blocks.17.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
397
+ "model.visual.blocks.18.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
398
+ "model.visual.blocks.19.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
399
+ "model.visual.blocks.2.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
400
+ "model.visual.blocks.20.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
401
+ "model.visual.blocks.21.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
402
+ "model.visual.blocks.22.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
403
+ "model.visual.blocks.23.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
404
+ "model.visual.blocks.3.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
405
+ "model.visual.blocks.4.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
406
+ "model.visual.blocks.5.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
407
+ "model.visual.blocks.6.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
408
+ "model.visual.blocks.7.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
409
+ "model.visual.blocks.8.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
410
+ "model.visual.blocks.9.mlp.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
411
+ "model.visual.merger.linear_fc1.bias": "model.safetensors-00002-of-00002.safetensors",
412
+ "model.visual.blocks.0.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
413
+ "model.visual.blocks.1.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
414
+ "model.visual.blocks.10.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
415
+ "model.visual.blocks.11.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
416
+ "model.visual.blocks.12.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
417
+ "model.visual.blocks.13.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
418
+ "model.visual.blocks.14.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
419
+ "model.visual.blocks.15.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
420
+ "model.visual.blocks.16.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
421
+ "model.visual.blocks.17.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
422
+ "model.visual.blocks.18.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
423
+ "model.visual.blocks.19.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
424
+ "model.visual.blocks.2.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
425
+ "model.visual.blocks.20.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
426
+ "model.visual.blocks.21.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
427
+ "model.visual.blocks.22.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
428
+ "model.visual.blocks.23.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
429
+ "model.visual.blocks.3.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
430
+ "model.visual.blocks.4.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
431
+ "model.visual.blocks.5.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
432
+ "model.visual.blocks.6.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
433
+ "model.visual.blocks.7.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
434
+ "model.visual.blocks.8.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
435
+ "model.visual.blocks.9.attn.qkv.bias": "model.safetensors-00002-of-00002.safetensors",
436
+ "model.language_model.layers.10.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
437
+ "model.language_model.layers.10.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
438
+ "model.language_model.layers.11.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
439
+ "model.language_model.layers.11.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
440
+ "model.language_model.layers.18.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
441
+ "model.language_model.layers.19.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
442
+ "model.language_model.layers.19.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
443
+ "model.language_model.layers.2.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
444
+ "model.language_model.layers.12.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
445
+ "model.language_model.layers.12.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
446
+ "model.language_model.layers.13.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
447
+ "model.language_model.layers.13.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
448
+ "model.language_model.layers.7.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
449
+ "model.language_model.layers.8.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
450
+ "model.language_model.layers.8.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
451
+ "model.language_model.layers.9.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
452
+ "model.language_model.layers.21.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
453
+ "model.language_model.layers.22.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
454
+ "model.language_model.layers.22.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
455
+ "model.language_model.layers.23.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
456
+ "model.language_model.layers.23.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
457
+ "model.language_model.layers.31.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
458
+ "model.language_model.layers.4.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
459
+ "model.language_model.layers.4.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
460
+ "model.language_model.layers.14.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
461
+ "model.language_model.layers.14.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
462
+ "model.language_model.layers.15.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
463
+ "model.language_model.layers.15.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
464
+ "model.language_model.layers.16.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
465
+ "model.language_model.layers.9.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
466
+ "mtp.layers.0.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
467
+ "mtp.layers.0.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
468
+ "mtp.norm.weight": "model.safetensors-00002-of-00002.safetensors",
469
+ "mtp.pre_fc_norm_embedding.weight": "model.safetensors-00002-of-00002.safetensors",
470
+ "mtp.pre_fc_norm_hidden.weight": "model.safetensors-00002-of-00002.safetensors",
471
+ "model.language_model.layers.3.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
472
+ "model.language_model.layers.3.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
473
+ "model.language_model.layers.30.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
474
+ "model.language_model.layers.30.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
475
+ "model.language_model.layers.31.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
476
+ "model.language_model.layers.16.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
477
+ "model.language_model.layers.17.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
478
+ "model.language_model.layers.17.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
479
+ "model.language_model.layers.18.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
480
+ "model.language_model.layers.24.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
481
+ "model.language_model.layers.24.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
482
+ "model.language_model.layers.25.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
483
+ "model.language_model.layers.25.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
484
+ "model.language_model.layers.5.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
485
+ "model.language_model.layers.5.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
486
+ "model.language_model.layers.6.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
487
+ "model.language_model.layers.6.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
488
+ "model.language_model.layers.7.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
489
+ "model.language_model.layers.2.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
490
+ "model.language_model.layers.20.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
491
+ "model.language_model.layers.20.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
492
+ "model.language_model.layers.21.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
493
+ "model.language_model.layers.26.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
494
+ "model.language_model.layers.26.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
495
+ "model.language_model.layers.27.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
496
+ "model.language_model.layers.27.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
497
+ "model.language_model.layers.28.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
498
+ "model.language_model.layers.28.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
499
+ "model.language_model.layers.29.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
500
+ "model.language_model.layers.29.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
501
+ "model.language_model.layers.0.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
502
+ "model.language_model.layers.0.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
503
+ "model.language_model.layers.1.input_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
504
+ "model.language_model.layers.1.post_attention_layernorm.weight": "model.safetensors-00002-of-00002.safetensors",
505
+ "model.language_model.norm.weight": "model.safetensors-00002-of-00002.safetensors",
506
+ "model.visual.merger.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
507
+ "model.visual.blocks.0.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
508
+ "model.visual.blocks.0.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
509
+ "model.visual.blocks.0.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
510
+ "model.visual.blocks.0.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
511
+ "model.visual.blocks.0.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
512
+ "model.visual.blocks.0.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
513
+ "model.visual.blocks.1.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
514
+ "model.visual.blocks.1.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
515
+ "model.visual.blocks.1.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
516
+ "model.visual.blocks.1.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
517
+ "model.visual.blocks.1.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
518
+ "model.visual.blocks.1.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
519
+ "model.visual.blocks.10.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
520
+ "model.visual.blocks.10.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
521
+ "model.visual.blocks.10.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
522
+ "model.visual.blocks.10.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
523
+ "model.visual.blocks.10.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
524
+ "model.visual.blocks.10.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
525
+ "model.visual.blocks.11.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
526
+ "model.visual.blocks.11.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
527
+ "model.visual.blocks.11.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
528
+ "model.visual.blocks.11.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
529
+ "model.visual.blocks.11.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
530
+ "model.visual.blocks.11.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
531
+ "model.visual.blocks.12.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
532
+ "model.visual.blocks.12.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
533
+ "model.visual.blocks.12.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
534
+ "model.visual.blocks.12.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
535
+ "model.visual.blocks.12.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
536
+ "model.visual.blocks.12.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
537
+ "model.visual.blocks.13.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
538
+ "model.visual.blocks.13.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
539
+ "model.visual.blocks.13.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
540
+ "model.visual.blocks.13.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
541
+ "model.visual.blocks.13.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
542
+ "model.visual.blocks.13.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
543
+ "model.visual.blocks.14.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
544
+ "model.visual.blocks.14.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
545
+ "model.visual.blocks.14.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
546
+ "model.visual.blocks.14.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
547
+ "model.visual.blocks.14.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
548
+ "model.visual.blocks.14.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
549
+ "model.visual.blocks.15.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
550
+ "model.visual.blocks.15.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
551
+ "model.visual.blocks.15.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
552
+ "model.visual.blocks.15.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
553
+ "model.visual.blocks.15.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
554
+ "model.visual.blocks.15.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
555
+ "model.visual.blocks.16.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
556
+ "model.visual.blocks.16.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
557
+ "model.visual.blocks.16.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
558
+ "model.visual.blocks.16.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
559
+ "model.visual.blocks.16.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
560
+ "model.visual.blocks.16.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
561
+ "model.visual.blocks.17.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
562
+ "model.visual.blocks.17.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
563
+ "model.visual.blocks.17.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
564
+ "model.visual.blocks.17.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
565
+ "model.visual.blocks.17.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
566
+ "model.visual.blocks.17.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
567
+ "model.visual.blocks.18.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
568
+ "model.visual.blocks.18.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
569
+ "model.visual.blocks.18.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
570
+ "model.visual.blocks.18.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
571
+ "model.visual.blocks.18.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
572
+ "model.visual.blocks.18.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
573
+ "model.visual.blocks.19.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
574
+ "model.visual.blocks.19.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
575
+ "model.visual.blocks.19.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
576
+ "model.visual.blocks.19.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
577
+ "model.visual.blocks.19.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
578
+ "model.visual.blocks.19.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
579
+ "model.visual.blocks.2.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
580
+ "model.visual.blocks.2.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
581
+ "model.visual.blocks.2.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
582
+ "model.visual.blocks.2.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
583
+ "model.visual.blocks.2.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
584
+ "model.visual.blocks.2.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
585
+ "model.visual.blocks.20.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
586
+ "model.visual.blocks.20.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
587
+ "model.visual.blocks.20.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
588
+ "model.visual.blocks.20.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
589
+ "model.visual.blocks.20.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
590
+ "model.visual.blocks.20.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
591
+ "model.visual.blocks.21.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
592
+ "model.visual.blocks.21.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
593
+ "model.visual.blocks.21.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
594
+ "model.visual.blocks.21.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
595
+ "model.visual.blocks.21.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
596
+ "model.visual.blocks.21.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
597
+ "model.visual.blocks.22.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
598
+ "model.visual.blocks.22.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
599
+ "model.visual.blocks.22.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
600
+ "model.visual.blocks.22.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
601
+ "model.visual.blocks.22.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
602
+ "model.visual.blocks.22.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
603
+ "model.visual.blocks.23.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
604
+ "model.visual.blocks.23.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
605
+ "model.visual.blocks.23.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
606
+ "model.visual.blocks.23.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
607
+ "model.visual.blocks.23.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
608
+ "model.visual.blocks.23.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
609
+ "model.visual.blocks.3.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
610
+ "model.visual.blocks.3.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
611
+ "model.visual.blocks.3.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
612
+ "model.visual.blocks.3.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
613
+ "model.visual.blocks.3.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
614
+ "model.visual.blocks.3.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
615
+ "model.visual.blocks.4.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
616
+ "model.visual.blocks.4.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
617
+ "model.visual.blocks.4.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
618
+ "model.visual.blocks.4.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
619
+ "model.visual.blocks.4.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
620
+ "model.visual.blocks.4.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
621
+ "model.visual.blocks.5.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
622
+ "model.visual.blocks.5.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
623
+ "model.visual.blocks.5.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
624
+ "model.visual.blocks.5.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
625
+ "model.visual.blocks.5.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
626
+ "model.visual.blocks.5.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
627
+ "model.visual.blocks.6.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
628
+ "model.visual.blocks.6.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
629
+ "model.visual.blocks.6.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
630
+ "model.visual.blocks.6.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
631
+ "model.visual.blocks.6.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
632
+ "model.visual.blocks.6.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
633
+ "model.visual.blocks.7.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
634
+ "model.visual.blocks.7.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
635
+ "model.visual.blocks.7.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
636
+ "model.visual.blocks.7.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
637
+ "model.visual.blocks.7.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
638
+ "model.visual.blocks.7.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
639
+ "model.visual.blocks.8.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
640
+ "model.visual.blocks.8.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
641
+ "model.visual.blocks.8.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
642
+ "model.visual.blocks.8.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
643
+ "model.visual.blocks.8.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
644
+ "model.visual.blocks.8.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
645
+ "model.visual.blocks.9.attn.proj.bias": "model.safetensors-00002-of-00002.safetensors",
646
+ "model.visual.blocks.9.mlp.linear_fc2.bias": "model.safetensors-00002-of-00002.safetensors",
647
+ "model.visual.blocks.9.norm1.bias": "model.safetensors-00002-of-00002.safetensors",
648
+ "model.visual.blocks.9.norm1.weight": "model.safetensors-00002-of-00002.safetensors",
649
+ "model.visual.blocks.9.norm2.bias": "model.safetensors-00002-of-00002.safetensors",
650
+ "model.visual.blocks.9.norm2.weight": "model.safetensors-00002-of-00002.safetensors",
651
+ "model.visual.merger.norm.bias": "model.safetensors-00002-of-00002.safetensors",
652
+ "model.visual.merger.norm.weight": "model.safetensors-00002-of-00002.safetensors",
653
+ "model.visual.patch_embed.proj.bias": "model.safetensors-00002-of-00002.safetensors",
654
+ "model.language_model.layers.10.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
655
+ "model.language_model.layers.11.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
656
+ "model.language_model.layers.11.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
657
+ "model.language_model.layers.18.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
658
+ "model.language_model.layers.19.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
659
+ "model.language_model.layers.19.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
660
+ "model.language_model.layers.2.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
661
+ "model.language_model.layers.12.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
662
+ "model.language_model.layers.13.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
663
+ "model.language_model.layers.7.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
664
+ "model.language_model.layers.7.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
665
+ "model.language_model.layers.8.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
666
+ "model.language_model.layers.22.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
667
+ "model.language_model.layers.23.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
668
+ "model.language_model.layers.31.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
669
+ "model.language_model.layers.31.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
670
+ "model.language_model.layers.4.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
671
+ "model.language_model.layers.14.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
672
+ "model.language_model.layers.15.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
673
+ "model.language_model.layers.15.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
674
+ "model.language_model.layers.9.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
675
+ "mtp.layers.0.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
676
+ "mtp.layers.0.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
677
+ "model.language_model.layers.3.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
678
+ "model.language_model.layers.3.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
679
+ "model.language_model.layers.30.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
680
+ "model.language_model.layers.16.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
681
+ "model.language_model.layers.17.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
682
+ "model.language_model.layers.23.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
683
+ "model.language_model.layers.24.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
684
+ "model.language_model.layers.25.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
685
+ "model.language_model.layers.5.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
686
+ "model.language_model.layers.6.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
687
+ "model.language_model.layers.20.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
688
+ "model.language_model.layers.21.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
689
+ "model.language_model.layers.26.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
690
+ "model.language_model.layers.27.self_attn.k_norm.weight": "model.safetensors-00002-of-00002.safetensors",
691
+ "model.language_model.layers.27.self_attn.q_norm.weight": "model.safetensors-00002-of-00002.safetensors",
692
+ "model.language_model.layers.28.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
693
+ "model.language_model.layers.29.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
694
+ "model.language_model.layers.0.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
695
+ "model.language_model.layers.1.linear_attn.norm.weight": "model.safetensors-00002-of-00002.safetensors",
696
+ "model.language_model.layers.10.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
697
+ "model.language_model.layers.12.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
698
+ "model.language_model.layers.2.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
699
+ "model.language_model.layers.13.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
700
+ "model.language_model.layers.14.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
701
+ "model.language_model.layers.8.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
702
+ "model.language_model.layers.9.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
703
+ "model.language_model.layers.22.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
704
+ "model.language_model.layers.4.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
705
+ "model.language_model.layers.5.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
706
+ "model.language_model.layers.16.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
707
+ "model.language_model.layers.30.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
708
+ "model.language_model.layers.17.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
709
+ "model.language_model.layers.18.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
710
+ "model.language_model.layers.24.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
711
+ "model.language_model.layers.25.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
712
+ "model.language_model.layers.6.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
713
+ "model.language_model.layers.20.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
714
+ "model.language_model.layers.21.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
715
+ "model.language_model.layers.26.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
716
+ "model.language_model.layers.28.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
717
+ "model.language_model.layers.29.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
718
+ "model.language_model.layers.0.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
719
+ "model.language_model.layers.1.linear_attn.A_log": "model.safetensors-00002-of-00002.safetensors",
720
+ "model.language_model.layers.10.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
721
+ "model.language_model.layers.2.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
722
+ "model.language_model.layers.12.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
723
+ "model.language_model.layers.13.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
724
+ "model.language_model.layers.8.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
725
+ "model.language_model.layers.9.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
726
+ "model.language_model.layers.22.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
727
+ "model.language_model.layers.4.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
728
+ "model.language_model.layers.5.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
729
+ "model.language_model.layers.14.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
730
+ "model.language_model.layers.16.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
731
+ "model.language_model.layers.30.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
732
+ "model.language_model.layers.17.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
733
+ "model.language_model.layers.18.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
734
+ "model.language_model.layers.24.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
735
+ "model.language_model.layers.25.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
736
+ "model.language_model.layers.6.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
737
+ "model.language_model.layers.20.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
738
+ "model.language_model.layers.21.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
739
+ "model.language_model.layers.26.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
740
+ "model.language_model.layers.28.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
741
+ "model.language_model.layers.29.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
742
+ "model.language_model.layers.0.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors",
743
+ "model.language_model.layers.1.linear_attn.dt_bias": "model.safetensors-00002-of-00002.safetensors"
744
+ }
745
+ }
safetensors/processor_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "data_format": "channels_first",
4
+ "do_convert_rgb": true,
5
+ "do_normalize": true,
6
+ "do_rescale": true,
7
+ "do_resize": true,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "Qwen2VLImageProcessorFast",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "merge_size": 2,
20
+ "patch_size": 16,
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "longest_edge": 16777216,
25
+ "shortest_edge": 65536
26
+ },
27
+ "temporal_patch_size": 2
28
+ },
29
+ "processor_class": "Qwen3VLProcessor",
30
+ "video_processor": {
31
+ "data_format": "channels_first",
32
+ "default_to_square": true,
33
+ "do_convert_rgb": true,
34
+ "do_normalize": true,
35
+ "do_rescale": true,
36
+ "do_resize": true,
37
+ "do_sample_frames": true,
38
+ "fps": 2,
39
+ "image_mean": [
40
+ 0.5,
41
+ 0.5,
42
+ 0.5
43
+ ],
44
+ "image_std": [
45
+ 0.5,
46
+ 0.5,
47
+ 0.5
48
+ ],
49
+ "max_frames": 768,
50
+ "merge_size": 2,
51
+ "min_frames": 4,
52
+ "patch_size": 16,
53
+ "resample": 3,
54
+ "rescale_factor": 0.00392156862745098,
55
+ "return_metadata": false,
56
+ "size": {
57
+ "longest_edge": 25165824,
58
+ "shortest_edge": 4096
59
+ },
60
+ "temporal_patch_size": 2,
61
+ "video_processor_type": "Qwen3VLVideoProcessor"
62
+ }
63
+ }
safetensors/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
3
+ size 19989343
safetensors/tokenizer_config.json ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "248044": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "248045": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "248046": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "248047": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "248048": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "248049": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "248050": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "248051": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "248052": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "248053": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "248054": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "248055": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "248056": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "248057": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "248058": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "248059": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "248060": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "248061": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "248062": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "248063": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "248064": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "248065": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "248066": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "248067": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "248068": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "248069": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ },
213
+ "248070": {
214
+ "content": "<|audio_start|>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "248071": {
222
+ "content": "<|audio_end|>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ },
229
+ "248072": {
230
+ "content": "<tts_pad>",
231
+ "lstrip": false,
232
+ "normalized": false,
233
+ "rstrip": false,
234
+ "single_word": false,
235
+ "special": true
236
+ },
237
+ "248073": {
238
+ "content": "<tts_text_bos>",
239
+ "lstrip": false,
240
+ "normalized": false,
241
+ "rstrip": false,
242
+ "single_word": false,
243
+ "special": true
244
+ },
245
+ "248074": {
246
+ "content": "<tts_text_eod>",
247
+ "lstrip": false,
248
+ "normalized": false,
249
+ "rstrip": false,
250
+ "single_word": false,
251
+ "special": true
252
+ },
253
+ "248075": {
254
+ "content": "<tts_text_bos_single>",
255
+ "lstrip": false,
256
+ "normalized": false,
257
+ "rstrip": false,
258
+ "single_word": false,
259
+ "special": true
260
+ },
261
+ "248076": {
262
+ "content": "<|audio_pad|>",
263
+ "lstrip": false,
264
+ "normalized": false,
265
+ "rstrip": false,
266
+ "single_word": false,
267
+ "special": true
268
+ }
269
+ },
270
+ "additional_special_tokens": [
271
+ "<|im_start|>",
272
+ "<|im_end|>",
273
+ "<|object_ref_start|>",
274
+ "<|object_ref_end|>",
275
+ "<|box_start|>",
276
+ "<|box_end|>",
277
+ "<|quad_start|>",
278
+ "<|quad_end|>",
279
+ "<|vision_start|>",
280
+ "<|vision_end|>",
281
+ "<|vision_pad|>",
282
+ "<|image_pad|>",
283
+ "<|video_pad|>"
284
+ ],
285
+ "audio_bos_token": "<|audio_start|>",
286
+ "audio_eos_token": "<|audio_end|>",
287
+ "audio_token": "<|audio_pad|>",
288
+ "bos_token": null,
289
+ "clean_up_tokenization_spaces": false,
290
+ "eos_token": "<|im_end|>",
291
+ "errors": "replace",
292
+ "extra_special_tokens": {
293
+ "audio_bos_token": "<|audio_start|>",
294
+ "audio_eos_token": "<|audio_end|>",
295
+ "audio_token": "<|audio_pad|>",
296
+ "image_token": "<|image_pad|>",
297
+ "video_token": "<|video_pad|>",
298
+ "vision_bos_token": "<|vision_start|>",
299
+ "vision_eos_token": "<|vision_end|>"
300
+ },
301
+ "image_token": "<|image_pad|>",
302
+ "model_max_length": 262144,
303
+ "pad_token": "<|vision_pad|>",
304
+ "padding_side": "left",
305
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
306
+ "processor_class": "Qwen3VLProcessor",
307
+ "split_special_tokens": false,
308
+ "tokenizer_class": "Qwen2Tokenizer",
309
+ "unk_token": null,
310
+ "video_token": "<|video_pad|>",
311
+ "vision_bos_token": "<|vision_start|>",
312
+ "vision_eos_token": "<|vision_end|>",
313
+ "chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- set num_sys = 0 %}\n{%- set merged_system = '' %}\n{%- if messages[0].role == 'system' or messages[0].role == 'developer' %}\n {%- set first = render_content(messages[0].content, false, true)|trim %}\n {%- if messages|length > 1 and (messages[1].role == 'system' or messages[1].role == 'developer') %}\n {%- set second = render_content(messages[1].content, false, true)|trim %}\n {%- set merged_system = first + '\\n' + second %}\n {%- set num_sys = 2 %}\n {%- else %}\n {%- set merged_system = first %}\n {%- set num_sys = 1 %}\n {%- endif %}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if merged_system %}\n {{- '\\n\\n' + merged_system }}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if merged_system %}\n {{- '<|im_start|>system\\n' + merged_system + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if loop.index0 >= num_sys and message.role != \"system\" and message.role != \"developer\" %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if loop.index0 > ns.last_query_index %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is mapping %}\n {%- for args_name in tool_call.arguments %}\n {%- set args_value = tool_call.arguments[args_name] %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}\n{#- Unsloth fixes - developer role, tool calling #}\n"
314
+ }
safetensors/unsloth_decision_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "layout": "clef",
3
+ "max_len": 2048,
4
+ "temperature": [
5
+ 1.073546290397644,
6
+ 0.9172300696372986,
7
+ 1.0519075393676758
8
+ ],
9
+ "base_model": "unsloth/Qwen3.5-4B",
10
+ "load_in_4bit": true,
11
+ "fine_tuned": true,
12
+ "folded_temperature": 0.32240864634513855
13
+ }