Instructions to use IDFluff/oxcoder-9b-oq6e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use IDFluff/oxcoder-9b-oq6e with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download IDFluff/oxcoder-9b-oq6e --local-dir oxcoder-9b-oq6e
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- chat_template.jinja +329 -0
- config.json +500 -0
- generation_config.json +6 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
- oq_imatrix_report.json +361 -0
- preprocessor_config.json +21 -0
- processor_config.json +63 -0
- tokenizer.json +3 -0
- tokenizer_config.json +31 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,329 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set template_version = "qwen3.6-froggeric-v21.3" %}
|
| 2 |
+
{%- set _tool_format = tool_call_format if tool_call_format is defined else 'xml' %}
|
| 3 |
+
{%- set image_count = namespace(value=0) %}
|
| 4 |
+
{%- set video_count = namespace(value=0) %}
|
| 5 |
+
{%- set add_vision_id = add_vision_id if add_vision_id is defined else false %}
|
| 6 |
+
{%- set enable_thinking = enable_thinking if enable_thinking is defined else true %}
|
| 7 |
+
{%- set auto_disable_thinking_with_tools = auto_disable_thinking_with_tools if auto_disable_thinking_with_tools is defined else false %}
|
| 8 |
+
{%- set _preserve_thinking = preserve_thinking if preserve_thinking is defined else true %}
|
| 9 |
+
{%- set max_tool_arg_chars = max_tool_arg_chars if max_tool_arg_chars is defined else 0 %}
|
| 10 |
+
{%- set max_tool_response_chars = max_tool_response_chars if max_tool_response_chars is defined else 0 %}
|
| 11 |
+
{%- set _has_tools = (tools is defined and tools and tools is iterable and tools is not mapping) %}
|
| 12 |
+
{%- set ns_state = namespace(thinking=enable_thinking) %}
|
| 13 |
+
{%- if auto_disable_thinking_with_tools and _has_tools %}
|
| 14 |
+
{%- set ns_state.thinking = false %}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 17 |
+
{%- if content is string %}
|
| 18 |
+
{{- content }}
|
| 19 |
+
{%- elif content is iterable and content is not mapping %}
|
| 20 |
+
{%- for item in content %}
|
| 21 |
+
{%- if item is mapping %}
|
| 22 |
+
{%- if item.type == 'image' or 'image' in item or 'image_url' in item %}
|
| 23 |
+
{%- if is_system_content %}
|
| 24 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if do_vision_count %}
|
| 27 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- if add_vision_id %}
|
| 30 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 33 |
+
{%- elif item.type == 'video' or 'video' in item %}
|
| 34 |
+
{%- if is_system_content %}
|
| 35 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 36 |
+
{%- endif %}
|
| 37 |
+
{%- if do_vision_count %}
|
| 38 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 39 |
+
{%- endif %}
|
| 40 |
+
{%- if add_vision_id %}
|
| 41 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 44 |
+
{%- elif 'text' in item %}
|
| 45 |
+
{{- item.text }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- item | string }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- endfor %}
|
| 53 |
+
{%- elif content is none or content is undefined %}
|
| 54 |
+
{{- '' }}
|
| 55 |
+
{%- else %}
|
| 56 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{%- endmacro %}
|
| 59 |
+
{%- if not messages %}
|
| 60 |
+
{{- raise_exception('No messages provided.') }}
|
| 61 |
+
{%- endif %}
|
| 62 |
+
{%- set _first_role = messages[0].role %}
|
| 63 |
+
{%- if _first_role == 'system' or _first_role == 'developer' %}
|
| 64 |
+
{%- set _sys_msg = messages[0] %}
|
| 65 |
+
{%- set _msgs = messages[1:] %}
|
| 66 |
+
{%- else %}
|
| 67 |
+
{%- set _sys_msg = none %}
|
| 68 |
+
{%- set _msgs = messages %}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
{%- set _sc = '' %}
|
| 71 |
+
{%- if _sys_msg is not none %}
|
| 72 |
+
{%- set _sc = render_content(_sys_msg.content, false, true) | trim %}
|
| 73 |
+
{%- if '<|think_off|>' in _sc %}
|
| 74 |
+
{%- set ns_state.thinking = false %}
|
| 75 |
+
{%- set _sc = _sc.split('<|think_off|>') | join('') | trim %}
|
| 76 |
+
{%- elif '<|think_on|>' in _sc %}
|
| 77 |
+
{%- set ns_state.thinking = true %}
|
| 78 |
+
{%- set _sc = _sc.split('<|think_on|>') | join('') | trim %}
|
| 79 |
+
{%- endif %}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- if _has_tools %}
|
| 82 |
+
{{- '<|im_start|>system\n' }}
|
| 83 |
+
{{- '# Tools\n\nYou have access to the following functions:\n\n<tools>' }}
|
| 84 |
+
{%- for tool in tools %}
|
| 85 |
+
{{- '\n' }}
|
| 86 |
+
{{- tool | tojson }}
|
| 87 |
+
{%- endfor %}
|
| 88 |
+
{{- '\n</tools>' }}
|
| 89 |
+
{%- set tool_instructions %}
|
| 90 |
+
If you choose to call a function ONLY reply in the following format with NO suffix:
|
| 91 |
+
|
| 92 |
+
{%- if _tool_format == 'json' %}
|
| 93 |
+
<think>
|
| 94 |
+
Brief explanation of tool call
|
| 95 |
+
</think>
|
| 96 |
+
<tool_call>
|
| 97 |
+
{"name": "example_function_name", "arguments": {"example_parameter_1": "value_1", "example_parameter_2": "This is the value for the second parameter"}}
|
| 98 |
+
</tool_call>
|
| 99 |
+
{%- else %}
|
| 100 |
+
<think>
|
| 101 |
+
Brief explanation of tool call
|
| 102 |
+
</think>
|
| 103 |
+
<tool_call>
|
| 104 |
+
<function=example_function_name>
|
| 105 |
+
<parameter=example_parameter_1>
|
| 106 |
+
value_1
|
| 107 |
+
</parameter>
|
| 108 |
+
<parameter=example_parameter_2>
|
| 109 |
+
This is the value for the second parameter
|
| 110 |
+
that can span
|
| 111 |
+
multiple lines
|
| 112 |
+
</parameter>
|
| 113 |
+
</function>
|
| 114 |
+
</tool_call>
|
| 115 |
+
{%- endif %}
|
| 116 |
+
|
| 117 |
+
<IMPORTANT>
|
| 118 |
+
Reminder:
|
| 119 |
+
- You can use the <think></think> block to plan your next tool call OR to synthesize data and formulate your final response to the user.
|
| 120 |
+
- ALL explanation and reasoning MUST be placed strictly inside the <think></think> block.
|
| 121 |
+
{%- if _tool_format == 'json' %}
|
| 122 |
+
- Function calls MUST follow the specified format: a single JSON object with "name" and "arguments" keys inside <tool_call></tool_call> XML tags.
|
| 123 |
+
{%- else %}
|
| 124 |
+
- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags.
|
| 125 |
+
{%- endif %}
|
| 126 |
+
- If you choose to call a tool, you MUST output the <tool_call> block IMMEDIATELY after thinking, with NO conversational text before it.
|
| 127 |
+
{%- if _tool_format == 'json' %}
|
| 128 |
+
- The <tool_call> tag MUST be at the very beginning of a new line, with NO spaces or indentation before it.
|
| 129 |
+
{%- else %}
|
| 130 |
+
- The <tool_call> and <function> tags MUST be at the very beginning of a new line, with NO spaces or indentation before them.
|
| 131 |
+
{%- endif %}
|
| 132 |
+
- To call multiple functions, output a separate, completely closed <tool_call></tool_call> block for EACH function. Do NOT nest <tool_call> blocks.
|
| 133 |
+
- If you have all necessary data, provide your final answer directly to the user without any tool call.
|
| 134 |
+
</IMPORTANT>
|
| 135 |
+
{%- endset %}
|
| 136 |
+
{{- '\n\n' ~ tool_instructions | trim }}
|
| 137 |
+
{%- if _sc %}
|
| 138 |
+
{{- '\n\n' + _sc }}
|
| 139 |
+
{%- endif %}
|
| 140 |
+
{{- '<|im_end|>\n' }}
|
| 141 |
+
{%- else %}
|
| 142 |
+
{%- if _sc %}
|
| 143 |
+
{{- '<|im_start|>system\n' + _sc + '<|im_end|>\n' }}
|
| 144 |
+
{%- endif %}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- set _last_idx = _msgs | length - 1 %}
|
| 147 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=_last_idx) %}
|
| 148 |
+
{%- for message in _msgs[::-1] %}
|
| 149 |
+
{%- set index = (_msgs | length - 1) - loop.index0 %}
|
| 150 |
+
{%- if ns.multi_step_tool and message.role == 'user' %}
|
| 151 |
+
{%- set _rc = render_content(message.content, false) | trim %}
|
| 152 |
+
{%- if not (_rc.startswith('<tool_response>') and _rc.endswith('</tool_response>')) %}
|
| 153 |
+
{%- set ns.multi_step_tool = false %}
|
| 154 |
+
{%- set ns.last_query_index = index %}
|
| 155 |
+
{%- endif %}
|
| 156 |
+
{%- endif %}
|
| 157 |
+
{%- endfor %}
|
| 158 |
+
{%- if ns.multi_step_tool %}
|
| 159 |
+
{%- if _last_idx > 50 %}
|
| 160 |
+
{%- set ns.last_query_index = _last_idx %}
|
| 161 |
+
{%- else %}
|
| 162 |
+
{%- set ns.last_query_index = 0 %}
|
| 163 |
+
{%- endif %}
|
| 164 |
+
{%- endif %}
|
| 165 |
+
{%- set ns2 = namespace(prev_role='', consecutive_failures=0) %}
|
| 166 |
+
{%- for message in _msgs %}
|
| 167 |
+
{%- set is_system = (message.role == "system" or message.role == "developer") %}
|
| 168 |
+
{%- set content = render_content(message.content, true, is_system) | trim %}
|
| 169 |
+
{%- if is_system or message.role == 'user' %}
|
| 170 |
+
{%- if '<|think_off|>' in content %}
|
| 171 |
+
{%- set ns_state.thinking = false %}
|
| 172 |
+
{%- set content = content.split('<|think_off|>') | join('') | trim %}
|
| 173 |
+
{%- elif '<|think_on|>' in content %}
|
| 174 |
+
{%- set ns_state.thinking = true %}
|
| 175 |
+
{%- set content = content.split('<|think_on|>') | join('') | trim %}
|
| 176 |
+
{%- endif %}
|
| 177 |
+
{%- endif %}
|
| 178 |
+
{%- if is_system %}
|
| 179 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 180 |
+
{%- elif message.role == 'user' %}
|
| 181 |
+
{%- set ns2.consecutive_failures = 0 %}
|
| 182 |
+
{{- '<|im_start|>user\n' + content + '<|im_end|>\n' }}
|
| 183 |
+
{%- elif message.role == 'assistant' %}
|
| 184 |
+
{%- set reasoning_content = '' %}
|
| 185 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 186 |
+
{%- if message.reasoning_content is string %}
|
| 187 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 188 |
+
{%- else %}
|
| 189 |
+
{%- set reasoning_content = message.reasoning_content | string %}
|
| 190 |
+
{%- endif %}
|
| 191 |
+
{%- elif message.thinking is defined and message.thinking is not none %}
|
| 192 |
+
{%- if message.thinking is string %}
|
| 193 |
+
{%- set reasoning_content = message.thinking %}
|
| 194 |
+
{%- else %}
|
| 195 |
+
{%- set reasoning_content = message.thinking | string %}
|
| 196 |
+
{%- endif %}
|
| 197 |
+
{%- else %}
|
| 198 |
+
{%- set _think_end = '' %}
|
| 199 |
+
{%- if content.startswith('</think>') %}
|
| 200 |
+
{%- set _think_end = '</think>' %}
|
| 201 |
+
{%- elif content.startswith('</thinking>') %}
|
| 202 |
+
{%- set _think_end = '</thinking>' %}
|
| 203 |
+
{%- elif '\n</think>' in content %}
|
| 204 |
+
{%- set _think_end = '\n</think>' %}
|
| 205 |
+
{%- elif '\n</thinking>' in content %}
|
| 206 |
+
{%- set _think_end = '\n</thinking>' %}
|
| 207 |
+
{%- elif '\n</ think>' in content %}
|
| 208 |
+
{%- set _think_end = '\n</ think>' %}
|
| 209 |
+
{%- elif '\n</think >' in content %}
|
| 210 |
+
{%- set _think_end = '\n</think >' %}
|
| 211 |
+
{%- endif %}
|
| 212 |
+
{%- if _think_end %}
|
| 213 |
+
{%- if 'thinking' in _think_end %}
|
| 214 |
+
{%- set _think_start = '<thinking>' %}
|
| 215 |
+
{%- else %}
|
| 216 |
+
{%- set _think_start = '<think>' %}
|
| 217 |
+
{%- endif %}
|
| 218 |
+
{%- set reasoning_content = content.split(_think_end)[0].rstrip('\n') %}
|
| 219 |
+
{%- if _think_start in reasoning_content %}
|
| 220 |
+
{%- set reasoning_content = reasoning_content.split(_think_start)[-1].lstrip('\n') %}
|
| 221 |
+
{%- endif %}
|
| 222 |
+
{%- set content = content.split(_think_end)[-1].lstrip('\n') %}
|
| 223 |
+
{%- endif %}
|
| 224 |
+
{%- endif %}
|
| 225 |
+
{%- set reasoning_content = reasoning_content | trim %}
|
| 226 |
+
{%- if (_preserve_thinking or loop.index0 > ns.last_query_index) and reasoning_content %}
|
| 227 |
+
{{- '<|im_start|>assistant\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 228 |
+
{%- else %}
|
| 229 |
+
{{- '<|im_start|>assistant\n' + content }}
|
| 230 |
+
{%- endif %}
|
| 231 |
+
{%- if message.tool_calls is defined and message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 232 |
+
{%- for tool_call in message.tool_calls %}
|
| 233 |
+
{%- if tool_call.function is defined and tool_call.function is not none %}
|
| 234 |
+
{%- set tc = tool_call.function %}
|
| 235 |
+
{%- else %}
|
| 236 |
+
{%- set tc = tool_call %}
|
| 237 |
+
{%- endif %}
|
| 238 |
+
{%- if _tool_format == 'json' %}
|
| 239 |
+
{%- if not loop.first or content | trim %}
|
| 240 |
+
{{- '\n\n' }}
|
| 241 |
+
{%- endif %}
|
| 242 |
+
{%- set _args = '{}' %}
|
| 243 |
+
{%- if tc.arguments is defined and tc.arguments is not none %}
|
| 244 |
+
{%- if tc.arguments is mapping %}
|
| 245 |
+
{%- set _args = tc.arguments | tojson %}
|
| 246 |
+
{%- elif tc.arguments is string and tc.arguments %}
|
| 247 |
+
{%- set _args = tc.arguments %}
|
| 248 |
+
{%- endif %}
|
| 249 |
+
{%- endif %}
|
| 250 |
+
{{- '<tool_call>\n{"name": ' }}{{- tc.name | tojson }}{{- ', "arguments": ' }}{{- _args }}{{- '}\n</tool_call>' }}
|
| 251 |
+
{%- else %}
|
| 252 |
+
{%- if loop.first %}
|
| 253 |
+
{%- if content | trim %}
|
| 254 |
+
{{- '\n\n<tool_call>\n<function=' + tc.name + '>\n' }}
|
| 255 |
+
{%- else %}
|
| 256 |
+
{{- '<tool_call>\n<function=' + tc.name + '>\n' }}
|
| 257 |
+
{%- endif %}
|
| 258 |
+
{%- else %}
|
| 259 |
+
{{- '\n\n<tool_call>\n<function=' + tc.name + '>\n' }}
|
| 260 |
+
{%- endif %}
|
| 261 |
+
{%- if tc.arguments is defined and tc.arguments is not none %}
|
| 262 |
+
{%- if tc.arguments is mapping %}
|
| 263 |
+
{%- for args_name, args_value in tc.arguments.items() %}
|
| 264 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 265 |
+
{%- if args_value is mapping or (args_value is sequence and args_value is not string) %}
|
| 266 |
+
{%- set _av = args_value | tojson %}
|
| 267 |
+
{%- else %}
|
| 268 |
+
{%- set _av = args_value | string %}
|
| 269 |
+
{%- endif %}
|
| 270 |
+
{%- if max_tool_arg_chars > 0 and _av | length > max_tool_arg_chars %}
|
| 271 |
+
{{- _av[:max_tool_arg_chars] + '\n[TRUNCATED — original length ' ~ (_av | length | string) ~ ' chars]' }}
|
| 272 |
+
{%- else %}
|
| 273 |
+
{{- _av }}
|
| 274 |
+
{%- endif %}
|
| 275 |
+
{{- '\n</parameter>\n' }}
|
| 276 |
+
{%- endfor %}
|
| 277 |
+
{%- elif tc.arguments is string and tc.arguments %}
|
| 278 |
+
{{- tc.arguments }}
|
| 279 |
+
{%- endif %}
|
| 280 |
+
{%- endif %}
|
| 281 |
+
{{- '</function>\n</tool_call>' }}
|
| 282 |
+
{%- endif %}
|
| 283 |
+
{%- endfor %}
|
| 284 |
+
{%- endif %}
|
| 285 |
+
{{- '<|im_end|>\n' }}
|
| 286 |
+
{%- elif message.role == 'tool' %}
|
| 287 |
+
{%- set _content_lower = content | lower %}
|
| 288 |
+
{%- set _content_head = _content_lower[:80] %}
|
| 289 |
+
{%- if content | length < 500 and '$ ' not in content and 'took ' not in _content_lower and ('"error":' in _content_head or 'error:' in _content_head or 'err!' in _content_head or 'fatal:' in _content_head or 'exception:' in _content_head or 'traceback' in _content_head or 'command not found' in _content_head or 'invalid syntax' in _content_head or 'failed to' in _content_head) %}
|
| 290 |
+
{%- set ns2.consecutive_failures = ns2.consecutive_failures + 1 %}
|
| 291 |
+
{%- else %}
|
| 292 |
+
{%- set ns2.consecutive_failures = 0 %}
|
| 293 |
+
{%- endif %}
|
| 294 |
+
{%- if ns2.prev_role != 'tool' %}
|
| 295 |
+
{{- '<|im_start|>user' }}
|
| 296 |
+
{%- endif %}
|
| 297 |
+
{%- if max_tool_response_chars > 0 and content | length > max_tool_response_chars %}
|
| 298 |
+
{%- set content = content[:max_tool_response_chars] + '\n[TRUNCATED — original length ' ~ (content | length | string) ~ ' chars]' %}
|
| 299 |
+
{%- endif %}
|
| 300 |
+
{{- '\n<tool_response>\n' + content }}
|
| 301 |
+
{%- if ns2.consecutive_failures >= 2 %}
|
| 302 |
+
{{- '\n\n⚠️ SYSTEM WARNING: ' ~ ns2.consecutive_failures ~ ' consecutive tool errors detected. Your previous approach is incorrect. You MUST use a fundamentally different approach or corrected arguments.' }}
|
| 303 |
+
{%- elif ns2.consecutive_failures == 1 %}
|
| 304 |
+
{{- '\n\n⚠️ SYSTEM WARNING: The previous tool call returned an error. Diagnose the failure and retry with completely corrected arguments.' }}
|
| 305 |
+
{%- endif %}
|
| 306 |
+
{{- '\n</tool_response>' }}
|
| 307 |
+
{%- if loop.last %}
|
| 308 |
+
{{- '<|im_end|>\n' }}
|
| 309 |
+
{%- else %}
|
| 310 |
+
{%- set _next_role = _msgs[loop.index0 + 1].role %}
|
| 311 |
+
{%- if _next_role != 'tool' %}
|
| 312 |
+
{{- '<|im_end|>\n' }}
|
| 313 |
+
{%- endif %}
|
| 314 |
+
{%- endif %}
|
| 315 |
+
{%- else %}
|
| 316 |
+
{{- '<|im_start|>user\n[' + message.role + ']: ' + content + '<|im_end|>\n' }}
|
| 317 |
+
{%- endif %}
|
| 318 |
+
{%- set ns2.prev_role = message.role %}
|
| 319 |
+
{%- endfor %}
|
| 320 |
+
{%- if add_generation_prompt %}
|
| 321 |
+
{{- '<|im_start|>assistant\n' }}
|
| 322 |
+
{%- if not ns_state.thinking %}
|
| 323 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 324 |
+
{%- elif ns2.consecutive_failures >= 2 %}
|
| 325 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 326 |
+
{%- else %}
|
| 327 |
+
{{- '<think>\n' }}
|
| 328 |
+
{%- endif %}
|
| 329 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,500 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"image_token_id": 248056,
|
| 6 |
+
"model_type": "qwen3_5",
|
| 7 |
+
"pad_token_id": 248055,
|
| 8 |
+
"text_config": {
|
| 9 |
+
"attention_bias": false,
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"attn_output_gate": true,
|
| 12 |
+
"bos_token_id": null,
|
| 13 |
+
"dtype": "bfloat16",
|
| 14 |
+
"eos_token_id": 248044,
|
| 15 |
+
"full_attention_interval": 4,
|
| 16 |
+
"head_dim": 256,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 4096,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 12288,
|
| 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 |
+
"mtp_num_hidden_layers": 0,
|
| 64 |
+
"mtp_use_dedicated_embeddings": false,
|
| 65 |
+
"num_attention_heads": 16,
|
| 66 |
+
"num_hidden_layers": 32,
|
| 67 |
+
"num_key_value_heads": 4,
|
| 68 |
+
"pad_token_id": null,
|
| 69 |
+
"partial_rotary_factor": 0.25,
|
| 70 |
+
"rms_norm_eps": 1e-06,
|
| 71 |
+
"rope_parameters": {
|
| 72 |
+
"mrope_interleaved": true,
|
| 73 |
+
"mrope_section": [
|
| 74 |
+
11,
|
| 75 |
+
11,
|
| 76 |
+
10
|
| 77 |
+
],
|
| 78 |
+
"partial_rotary_factor": 0.25,
|
| 79 |
+
"rope_theta": 10000000,
|
| 80 |
+
"type": "default"
|
| 81 |
+
},
|
| 82 |
+
"tie_word_embeddings": false,
|
| 83 |
+
"use_cache": true,
|
| 84 |
+
"vocab_size": 248320,
|
| 85 |
+
"model_type": "qwen3_5_text"
|
| 86 |
+
},
|
| 87 |
+
"tie_word_embeddings": false,
|
| 88 |
+
"transformers_version": "5.3.0.dev0",
|
| 89 |
+
"unsloth_fixed": true,
|
| 90 |
+
"video_token_id": 248057,
|
| 91 |
+
"vision_config": {
|
| 92 |
+
"deepstack_visual_indexes": [],
|
| 93 |
+
"depth": 27,
|
| 94 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 95 |
+
"hidden_size": 1152,
|
| 96 |
+
"in_channels": 3,
|
| 97 |
+
"initializer_range": 0.02,
|
| 98 |
+
"intermediate_size": 4304,
|
| 99 |
+
"model_type": "qwen3_5",
|
| 100 |
+
"num_heads": 16,
|
| 101 |
+
"num_position_embeddings": 2304,
|
| 102 |
+
"out_hidden_size": 4096,
|
| 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 |
+
"eos_token_id": 248044,
|
| 110 |
+
"quantization": {
|
| 111 |
+
"group_size": 64,
|
| 112 |
+
"bits": 6,
|
| 113 |
+
"mode": "affine",
|
| 114 |
+
"language_model.model.layers.12.linear_attn.in_proj_a": {
|
| 115 |
+
"bits": 8,
|
| 116 |
+
"group_size": 64,
|
| 117 |
+
"mode": "affine"
|
| 118 |
+
},
|
| 119 |
+
"language_model.model.layers.12.linear_attn.in_proj_b": {
|
| 120 |
+
"bits": 8,
|
| 121 |
+
"group_size": 64,
|
| 122 |
+
"mode": "affine"
|
| 123 |
+
},
|
| 124 |
+
"language_model.model.layers.16.linear_attn.in_proj_a": {
|
| 125 |
+
"bits": 8,
|
| 126 |
+
"group_size": 64,
|
| 127 |
+
"mode": "affine"
|
| 128 |
+
},
|
| 129 |
+
"language_model.model.layers.16.linear_attn.in_proj_b": {
|
| 130 |
+
"bits": 8,
|
| 131 |
+
"group_size": 64,
|
| 132 |
+
"mode": "affine"
|
| 133 |
+
},
|
| 134 |
+
"language_model.model.layers.17.linear_attn.in_proj_a": {
|
| 135 |
+
"bits": 8,
|
| 136 |
+
"group_size": 64,
|
| 137 |
+
"mode": "affine"
|
| 138 |
+
},
|
| 139 |
+
"language_model.model.layers.17.linear_attn.in_proj_b": {
|
| 140 |
+
"bits": 8,
|
| 141 |
+
"group_size": 64,
|
| 142 |
+
"mode": "affine"
|
| 143 |
+
},
|
| 144 |
+
"language_model.model.layers.18.linear_attn.in_proj_a": {
|
| 145 |
+
"bits": 8,
|
| 146 |
+
"group_size": 64,
|
| 147 |
+
"mode": "affine"
|
| 148 |
+
},
|
| 149 |
+
"language_model.model.layers.18.linear_attn.in_proj_b": {
|
| 150 |
+
"bits": 8,
|
| 151 |
+
"group_size": 64,
|
| 152 |
+
"mode": "affine"
|
| 153 |
+
},
|
| 154 |
+
"language_model.model.layers.19.mlp.down_proj": {
|
| 155 |
+
"bits": 8,
|
| 156 |
+
"group_size": 64,
|
| 157 |
+
"mode": "affine"
|
| 158 |
+
},
|
| 159 |
+
"language_model.model.layers.19.self_attn.k_proj": {
|
| 160 |
+
"bits": 8,
|
| 161 |
+
"group_size": 64,
|
| 162 |
+
"mode": "affine"
|
| 163 |
+
},
|
| 164 |
+
"language_model.model.layers.19.self_attn.o_proj": {
|
| 165 |
+
"bits": 8,
|
| 166 |
+
"group_size": 64,
|
| 167 |
+
"mode": "affine"
|
| 168 |
+
},
|
| 169 |
+
"language_model.model.layers.19.self_attn.v_proj": {
|
| 170 |
+
"bits": 8,
|
| 171 |
+
"group_size": 64,
|
| 172 |
+
"mode": "affine"
|
| 173 |
+
},
|
| 174 |
+
"language_model.model.layers.2.linear_attn.in_proj_a": {
|
| 175 |
+
"bits": 8,
|
| 176 |
+
"group_size": 64,
|
| 177 |
+
"mode": "affine"
|
| 178 |
+
},
|
| 179 |
+
"language_model.model.layers.2.linear_attn.in_proj_b": {
|
| 180 |
+
"bits": 8,
|
| 181 |
+
"group_size": 64,
|
| 182 |
+
"mode": "affine"
|
| 183 |
+
},
|
| 184 |
+
"language_model.model.layers.20.linear_attn.in_proj_a": {
|
| 185 |
+
"bits": 8,
|
| 186 |
+
"group_size": 64,
|
| 187 |
+
"mode": "affine"
|
| 188 |
+
},
|
| 189 |
+
"language_model.model.layers.20.linear_attn.in_proj_b": {
|
| 190 |
+
"bits": 8,
|
| 191 |
+
"group_size": 64,
|
| 192 |
+
"mode": "affine"
|
| 193 |
+
},
|
| 194 |
+
"language_model.model.layers.21.linear_attn.in_proj_a": {
|
| 195 |
+
"bits": 8,
|
| 196 |
+
"group_size": 64,
|
| 197 |
+
"mode": "affine"
|
| 198 |
+
},
|
| 199 |
+
"language_model.model.layers.21.linear_attn.in_proj_b": {
|
| 200 |
+
"bits": 8,
|
| 201 |
+
"group_size": 64,
|
| 202 |
+
"mode": "affine"
|
| 203 |
+
},
|
| 204 |
+
"language_model.model.layers.22.linear_attn.in_proj_a": {
|
| 205 |
+
"bits": 8,
|
| 206 |
+
"group_size": 64,
|
| 207 |
+
"mode": "affine"
|
| 208 |
+
},
|
| 209 |
+
"language_model.model.layers.22.linear_attn.in_proj_b": {
|
| 210 |
+
"bits": 8,
|
| 211 |
+
"group_size": 64,
|
| 212 |
+
"mode": "affine"
|
| 213 |
+
},
|
| 214 |
+
"language_model.model.layers.30.linear_attn.in_proj_a": {
|
| 215 |
+
"bits": 8,
|
| 216 |
+
"group_size": 64,
|
| 217 |
+
"mode": "affine"
|
| 218 |
+
},
|
| 219 |
+
"language_model.model.layers.30.linear_attn.in_proj_b": {
|
| 220 |
+
"bits": 8,
|
| 221 |
+
"group_size": 64,
|
| 222 |
+
"mode": "affine"
|
| 223 |
+
},
|
| 224 |
+
"language_model.model.layers.31.mlp.down_proj": {
|
| 225 |
+
"bits": 8,
|
| 226 |
+
"group_size": 64,
|
| 227 |
+
"mode": "affine"
|
| 228 |
+
},
|
| 229 |
+
"language_model.model.layers.31.mlp.gate_proj": {
|
| 230 |
+
"bits": 8,
|
| 231 |
+
"group_size": 64,
|
| 232 |
+
"mode": "affine"
|
| 233 |
+
},
|
| 234 |
+
"language_model.model.layers.31.mlp.up_proj": {
|
| 235 |
+
"bits": 8,
|
| 236 |
+
"group_size": 64,
|
| 237 |
+
"mode": "affine"
|
| 238 |
+
},
|
| 239 |
+
"language_model.model.layers.31.self_attn.k_proj": {
|
| 240 |
+
"bits": 8,
|
| 241 |
+
"group_size": 64,
|
| 242 |
+
"mode": "affine"
|
| 243 |
+
},
|
| 244 |
+
"language_model.model.layers.31.self_attn.o_proj": {
|
| 245 |
+
"bits": 8,
|
| 246 |
+
"group_size": 64,
|
| 247 |
+
"mode": "affine"
|
| 248 |
+
},
|
| 249 |
+
"language_model.model.layers.31.self_attn.q_proj": {
|
| 250 |
+
"bits": 8,
|
| 251 |
+
"group_size": 64,
|
| 252 |
+
"mode": "affine"
|
| 253 |
+
},
|
| 254 |
+
"language_model.model.layers.31.self_attn.v_proj": {
|
| 255 |
+
"bits": 8,
|
| 256 |
+
"group_size": 64,
|
| 257 |
+
"mode": "affine"
|
| 258 |
+
},
|
| 259 |
+
"language_model.model.layers.5.linear_attn.in_proj_a": {
|
| 260 |
+
"bits": 8,
|
| 261 |
+
"group_size": 64,
|
| 262 |
+
"mode": "affine"
|
| 263 |
+
},
|
| 264 |
+
"language_model.model.layers.5.linear_attn.in_proj_b": {
|
| 265 |
+
"bits": 8,
|
| 266 |
+
"group_size": 64,
|
| 267 |
+
"mode": "affine"
|
| 268 |
+
},
|
| 269 |
+
"language_model.model.layers.6.linear_attn.in_proj_a": {
|
| 270 |
+
"bits": 8,
|
| 271 |
+
"group_size": 64,
|
| 272 |
+
"mode": "affine"
|
| 273 |
+
},
|
| 274 |
+
"language_model.model.layers.6.linear_attn.in_proj_b": {
|
| 275 |
+
"bits": 8,
|
| 276 |
+
"group_size": 64,
|
| 277 |
+
"mode": "affine"
|
| 278 |
+
},
|
| 279 |
+
"language_model.model.layers.7.self_attn.k_proj": {
|
| 280 |
+
"bits": 8,
|
| 281 |
+
"group_size": 64,
|
| 282 |
+
"mode": "affine"
|
| 283 |
+
},
|
| 284 |
+
"language_model.model.layers.8.linear_attn.in_proj_a": {
|
| 285 |
+
"bits": 8,
|
| 286 |
+
"group_size": 64,
|
| 287 |
+
"mode": "affine"
|
| 288 |
+
},
|
| 289 |
+
"language_model.model.layers.8.linear_attn.in_proj_b": {
|
| 290 |
+
"bits": 8,
|
| 291 |
+
"group_size": 64,
|
| 292 |
+
"mode": "affine"
|
| 293 |
+
},
|
| 294 |
+
"language_model.model.layers.9.linear_attn.in_proj_a": {
|
| 295 |
+
"bits": 8,
|
| 296 |
+
"group_size": 64,
|
| 297 |
+
"mode": "affine"
|
| 298 |
+
},
|
| 299 |
+
"language_model.model.layers.9.linear_attn.in_proj_b": {
|
| 300 |
+
"bits": 8,
|
| 301 |
+
"group_size": 64,
|
| 302 |
+
"mode": "affine"
|
| 303 |
+
}
|
| 304 |
+
},
|
| 305 |
+
"quantization_config": {
|
| 306 |
+
"group_size": 64,
|
| 307 |
+
"bits": 6,
|
| 308 |
+
"mode": "affine",
|
| 309 |
+
"language_model.model.layers.12.linear_attn.in_proj_a": {
|
| 310 |
+
"bits": 8,
|
| 311 |
+
"group_size": 64,
|
| 312 |
+
"mode": "affine"
|
| 313 |
+
},
|
| 314 |
+
"language_model.model.layers.12.linear_attn.in_proj_b": {
|
| 315 |
+
"bits": 8,
|
| 316 |
+
"group_size": 64,
|
| 317 |
+
"mode": "affine"
|
| 318 |
+
},
|
| 319 |
+
"language_model.model.layers.16.linear_attn.in_proj_a": {
|
| 320 |
+
"bits": 8,
|
| 321 |
+
"group_size": 64,
|
| 322 |
+
"mode": "affine"
|
| 323 |
+
},
|
| 324 |
+
"language_model.model.layers.16.linear_attn.in_proj_b": {
|
| 325 |
+
"bits": 8,
|
| 326 |
+
"group_size": 64,
|
| 327 |
+
"mode": "affine"
|
| 328 |
+
},
|
| 329 |
+
"language_model.model.layers.17.linear_attn.in_proj_a": {
|
| 330 |
+
"bits": 8,
|
| 331 |
+
"group_size": 64,
|
| 332 |
+
"mode": "affine"
|
| 333 |
+
},
|
| 334 |
+
"language_model.model.layers.17.linear_attn.in_proj_b": {
|
| 335 |
+
"bits": 8,
|
| 336 |
+
"group_size": 64,
|
| 337 |
+
"mode": "affine"
|
| 338 |
+
},
|
| 339 |
+
"language_model.model.layers.18.linear_attn.in_proj_a": {
|
| 340 |
+
"bits": 8,
|
| 341 |
+
"group_size": 64,
|
| 342 |
+
"mode": "affine"
|
| 343 |
+
},
|
| 344 |
+
"language_model.model.layers.18.linear_attn.in_proj_b": {
|
| 345 |
+
"bits": 8,
|
| 346 |
+
"group_size": 64,
|
| 347 |
+
"mode": "affine"
|
| 348 |
+
},
|
| 349 |
+
"language_model.model.layers.19.mlp.down_proj": {
|
| 350 |
+
"bits": 8,
|
| 351 |
+
"group_size": 64,
|
| 352 |
+
"mode": "affine"
|
| 353 |
+
},
|
| 354 |
+
"language_model.model.layers.19.self_attn.k_proj": {
|
| 355 |
+
"bits": 8,
|
| 356 |
+
"group_size": 64,
|
| 357 |
+
"mode": "affine"
|
| 358 |
+
},
|
| 359 |
+
"language_model.model.layers.19.self_attn.o_proj": {
|
| 360 |
+
"bits": 8,
|
| 361 |
+
"group_size": 64,
|
| 362 |
+
"mode": "affine"
|
| 363 |
+
},
|
| 364 |
+
"language_model.model.layers.19.self_attn.v_proj": {
|
| 365 |
+
"bits": 8,
|
| 366 |
+
"group_size": 64,
|
| 367 |
+
"mode": "affine"
|
| 368 |
+
},
|
| 369 |
+
"language_model.model.layers.2.linear_attn.in_proj_a": {
|
| 370 |
+
"bits": 8,
|
| 371 |
+
"group_size": 64,
|
| 372 |
+
"mode": "affine"
|
| 373 |
+
},
|
| 374 |
+
"language_model.model.layers.2.linear_attn.in_proj_b": {
|
| 375 |
+
"bits": 8,
|
| 376 |
+
"group_size": 64,
|
| 377 |
+
"mode": "affine"
|
| 378 |
+
},
|
| 379 |
+
"language_model.model.layers.20.linear_attn.in_proj_a": {
|
| 380 |
+
"bits": 8,
|
| 381 |
+
"group_size": 64,
|
| 382 |
+
"mode": "affine"
|
| 383 |
+
},
|
| 384 |
+
"language_model.model.layers.20.linear_attn.in_proj_b": {
|
| 385 |
+
"bits": 8,
|
| 386 |
+
"group_size": 64,
|
| 387 |
+
"mode": "affine"
|
| 388 |
+
},
|
| 389 |
+
"language_model.model.layers.21.linear_attn.in_proj_a": {
|
| 390 |
+
"bits": 8,
|
| 391 |
+
"group_size": 64,
|
| 392 |
+
"mode": "affine"
|
| 393 |
+
},
|
| 394 |
+
"language_model.model.layers.21.linear_attn.in_proj_b": {
|
| 395 |
+
"bits": 8,
|
| 396 |
+
"group_size": 64,
|
| 397 |
+
"mode": "affine"
|
| 398 |
+
},
|
| 399 |
+
"language_model.model.layers.22.linear_attn.in_proj_a": {
|
| 400 |
+
"bits": 8,
|
| 401 |
+
"group_size": 64,
|
| 402 |
+
"mode": "affine"
|
| 403 |
+
},
|
| 404 |
+
"language_model.model.layers.22.linear_attn.in_proj_b": {
|
| 405 |
+
"bits": 8,
|
| 406 |
+
"group_size": 64,
|
| 407 |
+
"mode": "affine"
|
| 408 |
+
},
|
| 409 |
+
"language_model.model.layers.30.linear_attn.in_proj_a": {
|
| 410 |
+
"bits": 8,
|
| 411 |
+
"group_size": 64,
|
| 412 |
+
"mode": "affine"
|
| 413 |
+
},
|
| 414 |
+
"language_model.model.layers.30.linear_attn.in_proj_b": {
|
| 415 |
+
"bits": 8,
|
| 416 |
+
"group_size": 64,
|
| 417 |
+
"mode": "affine"
|
| 418 |
+
},
|
| 419 |
+
"language_model.model.layers.31.mlp.down_proj": {
|
| 420 |
+
"bits": 8,
|
| 421 |
+
"group_size": 64,
|
| 422 |
+
"mode": "affine"
|
| 423 |
+
},
|
| 424 |
+
"language_model.model.layers.31.mlp.gate_proj": {
|
| 425 |
+
"bits": 8,
|
| 426 |
+
"group_size": 64,
|
| 427 |
+
"mode": "affine"
|
| 428 |
+
},
|
| 429 |
+
"language_model.model.layers.31.mlp.up_proj": {
|
| 430 |
+
"bits": 8,
|
| 431 |
+
"group_size": 64,
|
| 432 |
+
"mode": "affine"
|
| 433 |
+
},
|
| 434 |
+
"language_model.model.layers.31.self_attn.k_proj": {
|
| 435 |
+
"bits": 8,
|
| 436 |
+
"group_size": 64,
|
| 437 |
+
"mode": "affine"
|
| 438 |
+
},
|
| 439 |
+
"language_model.model.layers.31.self_attn.o_proj": {
|
| 440 |
+
"bits": 8,
|
| 441 |
+
"group_size": 64,
|
| 442 |
+
"mode": "affine"
|
| 443 |
+
},
|
| 444 |
+
"language_model.model.layers.31.self_attn.q_proj": {
|
| 445 |
+
"bits": 8,
|
| 446 |
+
"group_size": 64,
|
| 447 |
+
"mode": "affine"
|
| 448 |
+
},
|
| 449 |
+
"language_model.model.layers.31.self_attn.v_proj": {
|
| 450 |
+
"bits": 8,
|
| 451 |
+
"group_size": 64,
|
| 452 |
+
"mode": "affine"
|
| 453 |
+
},
|
| 454 |
+
"language_model.model.layers.5.linear_attn.in_proj_a": {
|
| 455 |
+
"bits": 8,
|
| 456 |
+
"group_size": 64,
|
| 457 |
+
"mode": "affine"
|
| 458 |
+
},
|
| 459 |
+
"language_model.model.layers.5.linear_attn.in_proj_b": {
|
| 460 |
+
"bits": 8,
|
| 461 |
+
"group_size": 64,
|
| 462 |
+
"mode": "affine"
|
| 463 |
+
},
|
| 464 |
+
"language_model.model.layers.6.linear_attn.in_proj_a": {
|
| 465 |
+
"bits": 8,
|
| 466 |
+
"group_size": 64,
|
| 467 |
+
"mode": "affine"
|
| 468 |
+
},
|
| 469 |
+
"language_model.model.layers.6.linear_attn.in_proj_b": {
|
| 470 |
+
"bits": 8,
|
| 471 |
+
"group_size": 64,
|
| 472 |
+
"mode": "affine"
|
| 473 |
+
},
|
| 474 |
+
"language_model.model.layers.7.self_attn.k_proj": {
|
| 475 |
+
"bits": 8,
|
| 476 |
+
"group_size": 64,
|
| 477 |
+
"mode": "affine"
|
| 478 |
+
},
|
| 479 |
+
"language_model.model.layers.8.linear_attn.in_proj_a": {
|
| 480 |
+
"bits": 8,
|
| 481 |
+
"group_size": 64,
|
| 482 |
+
"mode": "affine"
|
| 483 |
+
},
|
| 484 |
+
"language_model.model.layers.8.linear_attn.in_proj_b": {
|
| 485 |
+
"bits": 8,
|
| 486 |
+
"group_size": 64,
|
| 487 |
+
"mode": "affine"
|
| 488 |
+
},
|
| 489 |
+
"language_model.model.layers.9.linear_attn.in_proj_a": {
|
| 490 |
+
"bits": 8,
|
| 491 |
+
"group_size": 64,
|
| 492 |
+
"mode": "affine"
|
| 493 |
+
},
|
| 494 |
+
"language_model.model.layers.9.linear_attn.in_proj_b": {
|
| 495 |
+
"bits": 8,
|
| 496 |
+
"group_size": 64,
|
| 497 |
+
"mode": "affine"
|
| 498 |
+
}
|
| 499 |
+
}
|
| 500 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": 248044,
|
| 4 |
+
"transformers_version": "5.3.0",
|
| 5 |
+
"use_cache": true
|
| 6 |
+
}
|
model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9be4d59c03840adb9ab0e595f547f6feac86c007ea8d1db35aecc3f21c3419fd
|
| 3 |
+
size 5016494438
|
model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f88aacc5d070e550cb407aef384e3220ba5ea8b057d152ca88220e3964c2bc04
|
| 3 |
+
size 3245113911
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
oq_imatrix_report.json
ADDED
|
@@ -0,0 +1,361 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"enabled": true,
|
| 3 |
+
"cache_path": "/Users/matthew/.omlx/models/.oqe_imatrix/OxCoder-9B-dd258feeab24-s128-l512.npz",
|
| 4 |
+
"cache_reused": false,
|
| 5 |
+
"entry_count": 248,
|
| 6 |
+
"calib_dataset": "oqe_code_multilingual",
|
| 7 |
+
"collection": {
|
| 8 |
+
"dataset": "oqe_code_multilingual",
|
| 9 |
+
"requested_samples": 128,
|
| 10 |
+
"seq_length": 512,
|
| 11 |
+
"adaptive": true,
|
| 12 |
+
"adaptive_step_samples": 128,
|
| 13 |
+
"adaptive_max_samples": 1024,
|
| 14 |
+
"available_samples": 1024,
|
| 15 |
+
"micro_batch_size": 26,
|
| 16 |
+
"micro_batches": 5,
|
| 17 |
+
"batch_plan": {
|
| 18 |
+
"micro_batch_size": 26,
|
| 19 |
+
"estimated_sample_bytes": 8388608,
|
| 20 |
+
"capture_budget_bytes": 219486693,
|
| 21 |
+
"system_available_bytes": 27898888192,
|
| 22 |
+
"metal_available_bytes": 30146330588,
|
| 23 |
+
"live_available_bytes": 27898888192,
|
| 24 |
+
"model_bytes": 5950218862,
|
| 25 |
+
"remaining_available_bytes": 21948669330,
|
| 26 |
+
"fits_one_sample": true,
|
| 27 |
+
"hidden_size": 4096,
|
| 28 |
+
"num_experts": 0,
|
| 29 |
+
"top_k": 1,
|
| 30 |
+
"gemma4_state_bytes": 0,
|
| 31 |
+
"num_hidden_layers": 32,
|
| 32 |
+
"num_kv_shared_layers": 0,
|
| 33 |
+
"per_layer_input_size": 0
|
| 34 |
+
},
|
| 35 |
+
"processed_samples": 128,
|
| 36 |
+
"model_class": "mlx_vlm.models.qwen3_5.qwen3_5.Model",
|
| 37 |
+
"layer_model_class": "mlx_vlm.models.qwen3_5.language.Qwen3_5Model",
|
| 38 |
+
"layer_model_type": "qwen3_5_text",
|
| 39 |
+
"layer_count": 32,
|
| 40 |
+
"layer_state_kind": "generic",
|
| 41 |
+
"successful_layer_forwards": 160,
|
| 42 |
+
"skipped_layer_forwards": 0,
|
| 43 |
+
"mtp_head_forwards": 0,
|
| 44 |
+
"installed_modules": 359,
|
| 45 |
+
"capture_module_classes": {
|
| 46 |
+
"Linear": 110,
|
| 47 |
+
"QuantizedLinear": 249
|
| 48 |
+
},
|
| 49 |
+
"switch_capture_modules": 0,
|
| 50 |
+
"requires_expert_counts": false,
|
| 51 |
+
"coverage_sufficient": true,
|
| 52 |
+
"collection_sufficient": true,
|
| 53 |
+
"coverage": {
|
| 54 |
+
"has_expert_counts": false,
|
| 55 |
+
"expert_modules": 0,
|
| 56 |
+
"total_experts": 0,
|
| 57 |
+
"active_experts": 0,
|
| 58 |
+
"zero_count_experts": 0,
|
| 59 |
+
"active_ratio": 1.0,
|
| 60 |
+
"min_count": 0,
|
| 61 |
+
"p05_count": 0.0,
|
| 62 |
+
"p10_count": 0.0,
|
| 63 |
+
"median_count": 0.0,
|
| 64 |
+
"max_count": 0,
|
| 65 |
+
"min_required_count": 16,
|
| 66 |
+
"required_percentile": 5
|
| 67 |
+
},
|
| 68 |
+
"rounds": [
|
| 69 |
+
{
|
| 70 |
+
"processed_samples": 128,
|
| 71 |
+
"coverage_sufficient": true,
|
| 72 |
+
"collection_sufficient": true,
|
| 73 |
+
"coverage": {
|
| 74 |
+
"has_expert_counts": false,
|
| 75 |
+
"expert_modules": 0,
|
| 76 |
+
"total_experts": 0,
|
| 77 |
+
"active_experts": 0,
|
| 78 |
+
"zero_count_experts": 0,
|
| 79 |
+
"active_ratio": 1.0,
|
| 80 |
+
"min_count": 0,
|
| 81 |
+
"p05_count": 0.0,
|
| 82 |
+
"p10_count": 0.0,
|
| 83 |
+
"median_count": 0.0,
|
| 84 |
+
"max_count": 0,
|
| 85 |
+
"min_required_count": 16,
|
| 86 |
+
"required_percentile": 5
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
},
|
| 91 |
+
"expert_coverage": {
|
| 92 |
+
"has_expert_counts": false,
|
| 93 |
+
"expert_modules": 0,
|
| 94 |
+
"total_experts": 0,
|
| 95 |
+
"active_experts": 0,
|
| 96 |
+
"zero_count_experts": 0,
|
| 97 |
+
"active_ratio": 1.0,
|
| 98 |
+
"min_count": 0,
|
| 99 |
+
"p05_count": 0.0,
|
| 100 |
+
"p10_count": 0.0,
|
| 101 |
+
"median_count": 0.0,
|
| 102 |
+
"max_count": 0,
|
| 103 |
+
"min_required_count": 16,
|
| 104 |
+
"required_percentile": 5
|
| 105 |
+
},
|
| 106 |
+
"applied": [
|
| 107 |
+
"language_model.model.layers.0.linear_attn.in_proj_a",
|
| 108 |
+
"language_model.model.layers.0.linear_attn.in_proj_b",
|
| 109 |
+
"language_model.model.layers.0.linear_attn.in_proj_qkv",
|
| 110 |
+
"language_model.model.layers.0.linear_attn.in_proj_z",
|
| 111 |
+
"language_model.model.layers.0.linear_attn.out_proj",
|
| 112 |
+
"language_model.model.layers.0.mlp.down_proj",
|
| 113 |
+
"language_model.model.layers.0.mlp.gate_proj",
|
| 114 |
+
"language_model.model.layers.0.mlp.up_proj",
|
| 115 |
+
"language_model.model.layers.1.linear_attn.in_proj_a",
|
| 116 |
+
"language_model.model.layers.1.linear_attn.in_proj_b",
|
| 117 |
+
"language_model.model.layers.1.linear_attn.in_proj_qkv",
|
| 118 |
+
"language_model.model.layers.1.linear_attn.in_proj_z",
|
| 119 |
+
"language_model.model.layers.1.linear_attn.out_proj",
|
| 120 |
+
"language_model.model.layers.1.mlp.down_proj",
|
| 121 |
+
"language_model.model.layers.1.mlp.gate_proj",
|
| 122 |
+
"language_model.model.layers.1.mlp.up_proj",
|
| 123 |
+
"language_model.model.layers.10.linear_attn.in_proj_a",
|
| 124 |
+
"language_model.model.layers.10.linear_attn.in_proj_b",
|
| 125 |
+
"language_model.model.layers.10.linear_attn.in_proj_qkv",
|
| 126 |
+
"language_model.model.layers.10.linear_attn.in_proj_z",
|
| 127 |
+
"language_model.model.layers.10.linear_attn.out_proj",
|
| 128 |
+
"language_model.model.layers.10.mlp.down_proj",
|
| 129 |
+
"language_model.model.layers.10.mlp.gate_proj",
|
| 130 |
+
"language_model.model.layers.10.mlp.up_proj",
|
| 131 |
+
"language_model.model.layers.11.mlp.down_proj",
|
| 132 |
+
"language_model.model.layers.11.mlp.gate_proj",
|
| 133 |
+
"language_model.model.layers.11.mlp.up_proj",
|
| 134 |
+
"language_model.model.layers.11.self_attn.k_proj",
|
| 135 |
+
"language_model.model.layers.11.self_attn.o_proj",
|
| 136 |
+
"language_model.model.layers.11.self_attn.q_proj",
|
| 137 |
+
"language_model.model.layers.11.self_attn.v_proj",
|
| 138 |
+
"language_model.model.layers.12.linear_attn.in_proj_a",
|
| 139 |
+
"language_model.model.layers.12.linear_attn.in_proj_b",
|
| 140 |
+
"language_model.model.layers.12.linear_attn.in_proj_qkv",
|
| 141 |
+
"language_model.model.layers.12.linear_attn.in_proj_z",
|
| 142 |
+
"language_model.model.layers.12.linear_attn.out_proj",
|
| 143 |
+
"language_model.model.layers.12.mlp.down_proj",
|
| 144 |
+
"language_model.model.layers.12.mlp.gate_proj",
|
| 145 |
+
"language_model.model.layers.12.mlp.up_proj",
|
| 146 |
+
"language_model.model.layers.13.linear_attn.in_proj_a",
|
| 147 |
+
"language_model.model.layers.13.linear_attn.in_proj_b",
|
| 148 |
+
"language_model.model.layers.13.linear_attn.in_proj_qkv",
|
| 149 |
+
"language_model.model.layers.13.linear_attn.in_proj_z",
|
| 150 |
+
"language_model.model.layers.13.linear_attn.out_proj",
|
| 151 |
+
"language_model.model.layers.13.mlp.down_proj",
|
| 152 |
+
"language_model.model.layers.13.mlp.gate_proj",
|
| 153 |
+
"language_model.model.layers.13.mlp.up_proj",
|
| 154 |
+
"language_model.model.layers.14.linear_attn.in_proj_a",
|
| 155 |
+
"language_model.model.layers.14.linear_attn.in_proj_b",
|
| 156 |
+
"language_model.model.layers.14.linear_attn.in_proj_qkv",
|
| 157 |
+
"language_model.model.layers.14.linear_attn.in_proj_z",
|
| 158 |
+
"language_model.model.layers.14.linear_attn.out_proj",
|
| 159 |
+
"language_model.model.layers.14.mlp.down_proj",
|
| 160 |
+
"language_model.model.layers.14.mlp.gate_proj",
|
| 161 |
+
"language_model.model.layers.14.mlp.up_proj",
|
| 162 |
+
"language_model.model.layers.15.mlp.down_proj",
|
| 163 |
+
"language_model.model.layers.15.mlp.gate_proj",
|
| 164 |
+
"language_model.model.layers.15.mlp.up_proj",
|
| 165 |
+
"language_model.model.layers.15.self_attn.k_proj",
|
| 166 |
+
"language_model.model.layers.15.self_attn.o_proj",
|
| 167 |
+
"language_model.model.layers.15.self_attn.q_proj",
|
| 168 |
+
"language_model.model.layers.15.self_attn.v_proj",
|
| 169 |
+
"language_model.model.layers.16.linear_attn.in_proj_a",
|
| 170 |
+
"language_model.model.layers.16.linear_attn.in_proj_b",
|
| 171 |
+
"language_model.model.layers.16.linear_attn.in_proj_qkv",
|
| 172 |
+
"language_model.model.layers.16.linear_attn.in_proj_z",
|
| 173 |
+
"language_model.model.layers.16.linear_attn.out_proj",
|
| 174 |
+
"language_model.model.layers.16.mlp.down_proj",
|
| 175 |
+
"language_model.model.layers.16.mlp.gate_proj",
|
| 176 |
+
"language_model.model.layers.16.mlp.up_proj",
|
| 177 |
+
"language_model.model.layers.17.linear_attn.in_proj_a",
|
| 178 |
+
"language_model.model.layers.17.linear_attn.in_proj_b",
|
| 179 |
+
"language_model.model.layers.17.linear_attn.in_proj_qkv",
|
| 180 |
+
"language_model.model.layers.17.linear_attn.in_proj_z",
|
| 181 |
+
"language_model.model.layers.17.linear_attn.out_proj",
|
| 182 |
+
"language_model.model.layers.17.mlp.down_proj",
|
| 183 |
+
"language_model.model.layers.17.mlp.gate_proj",
|
| 184 |
+
"language_model.model.layers.17.mlp.up_proj",
|
| 185 |
+
"language_model.model.layers.18.linear_attn.in_proj_a",
|
| 186 |
+
"language_model.model.layers.18.linear_attn.in_proj_b",
|
| 187 |
+
"language_model.model.layers.18.linear_attn.in_proj_qkv",
|
| 188 |
+
"language_model.model.layers.18.linear_attn.in_proj_z",
|
| 189 |
+
"language_model.model.layers.18.linear_attn.out_proj",
|
| 190 |
+
"language_model.model.layers.18.mlp.down_proj",
|
| 191 |
+
"language_model.model.layers.18.mlp.gate_proj",
|
| 192 |
+
"language_model.model.layers.18.mlp.up_proj",
|
| 193 |
+
"language_model.model.layers.19.mlp.down_proj",
|
| 194 |
+
"language_model.model.layers.19.mlp.gate_proj",
|
| 195 |
+
"language_model.model.layers.19.mlp.up_proj",
|
| 196 |
+
"language_model.model.layers.19.self_attn.k_proj",
|
| 197 |
+
"language_model.model.layers.19.self_attn.o_proj",
|
| 198 |
+
"language_model.model.layers.19.self_attn.q_proj",
|
| 199 |
+
"language_model.model.layers.19.self_attn.v_proj",
|
| 200 |
+
"language_model.model.layers.2.linear_attn.in_proj_a",
|
| 201 |
+
"language_model.model.layers.2.linear_attn.in_proj_b",
|
| 202 |
+
"language_model.model.layers.2.linear_attn.in_proj_qkv",
|
| 203 |
+
"language_model.model.layers.2.linear_attn.in_proj_z",
|
| 204 |
+
"language_model.model.layers.2.linear_attn.out_proj",
|
| 205 |
+
"language_model.model.layers.2.mlp.down_proj",
|
| 206 |
+
"language_model.model.layers.2.mlp.gate_proj",
|
| 207 |
+
"language_model.model.layers.2.mlp.up_proj",
|
| 208 |
+
"language_model.model.layers.20.linear_attn.in_proj_a",
|
| 209 |
+
"language_model.model.layers.20.linear_attn.in_proj_b",
|
| 210 |
+
"language_model.model.layers.20.linear_attn.in_proj_qkv",
|
| 211 |
+
"language_model.model.layers.20.linear_attn.in_proj_z",
|
| 212 |
+
"language_model.model.layers.20.linear_attn.out_proj",
|
| 213 |
+
"language_model.model.layers.20.mlp.down_proj",
|
| 214 |
+
"language_model.model.layers.20.mlp.gate_proj",
|
| 215 |
+
"language_model.model.layers.20.mlp.up_proj",
|
| 216 |
+
"language_model.model.layers.21.linear_attn.in_proj_a",
|
| 217 |
+
"language_model.model.layers.21.linear_attn.in_proj_b",
|
| 218 |
+
"language_model.model.layers.21.linear_attn.in_proj_qkv",
|
| 219 |
+
"language_model.model.layers.21.linear_attn.in_proj_z",
|
| 220 |
+
"language_model.model.layers.21.linear_attn.out_proj",
|
| 221 |
+
"language_model.model.layers.21.mlp.down_proj",
|
| 222 |
+
"language_model.model.layers.21.mlp.gate_proj",
|
| 223 |
+
"language_model.model.layers.21.mlp.up_proj",
|
| 224 |
+
"language_model.model.layers.22.linear_attn.in_proj_a",
|
| 225 |
+
"language_model.model.layers.22.linear_attn.in_proj_b",
|
| 226 |
+
"language_model.model.layers.22.linear_attn.in_proj_qkv",
|
| 227 |
+
"language_model.model.layers.22.linear_attn.in_proj_z",
|
| 228 |
+
"language_model.model.layers.22.linear_attn.out_proj",
|
| 229 |
+
"language_model.model.layers.22.mlp.down_proj",
|
| 230 |
+
"language_model.model.layers.22.mlp.gate_proj",
|
| 231 |
+
"language_model.model.layers.22.mlp.up_proj",
|
| 232 |
+
"language_model.model.layers.23.mlp.down_proj",
|
| 233 |
+
"language_model.model.layers.23.mlp.gate_proj",
|
| 234 |
+
"language_model.model.layers.23.mlp.up_proj",
|
| 235 |
+
"language_model.model.layers.23.self_attn.k_proj",
|
| 236 |
+
"language_model.model.layers.23.self_attn.o_proj",
|
| 237 |
+
"language_model.model.layers.23.self_attn.q_proj",
|
| 238 |
+
"language_model.model.layers.23.self_attn.v_proj",
|
| 239 |
+
"language_model.model.layers.24.linear_attn.in_proj_a",
|
| 240 |
+
"language_model.model.layers.24.linear_attn.in_proj_b",
|
| 241 |
+
"language_model.model.layers.24.linear_attn.in_proj_qkv",
|
| 242 |
+
"language_model.model.layers.24.linear_attn.in_proj_z",
|
| 243 |
+
"language_model.model.layers.24.linear_attn.out_proj",
|
| 244 |
+
"language_model.model.layers.24.mlp.down_proj",
|
| 245 |
+
"language_model.model.layers.24.mlp.gate_proj",
|
| 246 |
+
"language_model.model.layers.24.mlp.up_proj",
|
| 247 |
+
"language_model.model.layers.25.linear_attn.in_proj_a",
|
| 248 |
+
"language_model.model.layers.25.linear_attn.in_proj_b",
|
| 249 |
+
"language_model.model.layers.25.linear_attn.in_proj_qkv",
|
| 250 |
+
"language_model.model.layers.25.linear_attn.in_proj_z",
|
| 251 |
+
"language_model.model.layers.25.linear_attn.out_proj",
|
| 252 |
+
"language_model.model.layers.25.mlp.down_proj",
|
| 253 |
+
"language_model.model.layers.25.mlp.gate_proj",
|
| 254 |
+
"language_model.model.layers.25.mlp.up_proj",
|
| 255 |
+
"language_model.model.layers.26.linear_attn.in_proj_a",
|
| 256 |
+
"language_model.model.layers.26.linear_attn.in_proj_b",
|
| 257 |
+
"language_model.model.layers.26.linear_attn.in_proj_qkv",
|
| 258 |
+
"language_model.model.layers.26.linear_attn.in_proj_z",
|
| 259 |
+
"language_model.model.layers.26.linear_attn.out_proj",
|
| 260 |
+
"language_model.model.layers.26.mlp.down_proj",
|
| 261 |
+
"language_model.model.layers.26.mlp.gate_proj",
|
| 262 |
+
"language_model.model.layers.26.mlp.up_proj",
|
| 263 |
+
"language_model.model.layers.27.mlp.down_proj",
|
| 264 |
+
"language_model.model.layers.27.mlp.gate_proj",
|
| 265 |
+
"language_model.model.layers.27.mlp.up_proj",
|
| 266 |
+
"language_model.model.layers.27.self_attn.k_proj",
|
| 267 |
+
"language_model.model.layers.27.self_attn.o_proj",
|
| 268 |
+
"language_model.model.layers.27.self_attn.q_proj",
|
| 269 |
+
"language_model.model.layers.27.self_attn.v_proj",
|
| 270 |
+
"language_model.model.layers.28.linear_attn.in_proj_a",
|
| 271 |
+
"language_model.model.layers.28.linear_attn.in_proj_b",
|
| 272 |
+
"language_model.model.layers.28.linear_attn.in_proj_qkv",
|
| 273 |
+
"language_model.model.layers.28.linear_attn.in_proj_z",
|
| 274 |
+
"language_model.model.layers.28.linear_attn.out_proj",
|
| 275 |
+
"language_model.model.layers.28.mlp.down_proj",
|
| 276 |
+
"language_model.model.layers.28.mlp.gate_proj",
|
| 277 |
+
"language_model.model.layers.28.mlp.up_proj",
|
| 278 |
+
"language_model.model.layers.29.linear_attn.in_proj_a",
|
| 279 |
+
"language_model.model.layers.29.linear_attn.in_proj_b",
|
| 280 |
+
"language_model.model.layers.29.linear_attn.in_proj_qkv",
|
| 281 |
+
"language_model.model.layers.29.linear_attn.in_proj_z",
|
| 282 |
+
"language_model.model.layers.29.linear_attn.out_proj",
|
| 283 |
+
"language_model.model.layers.29.mlp.down_proj",
|
| 284 |
+
"language_model.model.layers.29.mlp.gate_proj",
|
| 285 |
+
"language_model.model.layers.29.mlp.up_proj",
|
| 286 |
+
"language_model.model.layers.3.mlp.down_proj",
|
| 287 |
+
"language_model.model.layers.3.mlp.gate_proj",
|
| 288 |
+
"language_model.model.layers.3.mlp.up_proj",
|
| 289 |
+
"language_model.model.layers.3.self_attn.k_proj",
|
| 290 |
+
"language_model.model.layers.3.self_attn.o_proj",
|
| 291 |
+
"language_model.model.layers.3.self_attn.q_proj",
|
| 292 |
+
"language_model.model.layers.3.self_attn.v_proj",
|
| 293 |
+
"language_model.model.layers.30.linear_attn.in_proj_a",
|
| 294 |
+
"language_model.model.layers.30.linear_attn.in_proj_b",
|
| 295 |
+
"language_model.model.layers.30.linear_attn.in_proj_qkv",
|
| 296 |
+
"language_model.model.layers.30.linear_attn.in_proj_z",
|
| 297 |
+
"language_model.model.layers.30.linear_attn.out_proj",
|
| 298 |
+
"language_model.model.layers.30.mlp.down_proj",
|
| 299 |
+
"language_model.model.layers.30.mlp.gate_proj",
|
| 300 |
+
"language_model.model.layers.30.mlp.up_proj",
|
| 301 |
+
"language_model.model.layers.31.mlp.down_proj",
|
| 302 |
+
"language_model.model.layers.31.mlp.gate_proj",
|
| 303 |
+
"language_model.model.layers.31.mlp.up_proj",
|
| 304 |
+
"language_model.model.layers.31.self_attn.k_proj",
|
| 305 |
+
"language_model.model.layers.31.self_attn.o_proj",
|
| 306 |
+
"language_model.model.layers.31.self_attn.q_proj",
|
| 307 |
+
"language_model.model.layers.31.self_attn.v_proj",
|
| 308 |
+
"language_model.model.layers.4.linear_attn.in_proj_a",
|
| 309 |
+
"language_model.model.layers.4.linear_attn.in_proj_b",
|
| 310 |
+
"language_model.model.layers.4.linear_attn.in_proj_qkv",
|
| 311 |
+
"language_model.model.layers.4.linear_attn.in_proj_z",
|
| 312 |
+
"language_model.model.layers.4.linear_attn.out_proj",
|
| 313 |
+
"language_model.model.layers.4.mlp.down_proj",
|
| 314 |
+
"language_model.model.layers.4.mlp.gate_proj",
|
| 315 |
+
"language_model.model.layers.4.mlp.up_proj",
|
| 316 |
+
"language_model.model.layers.5.linear_attn.in_proj_a",
|
| 317 |
+
"language_model.model.layers.5.linear_attn.in_proj_b",
|
| 318 |
+
"language_model.model.layers.5.linear_attn.in_proj_qkv",
|
| 319 |
+
"language_model.model.layers.5.linear_attn.in_proj_z",
|
| 320 |
+
"language_model.model.layers.5.linear_attn.out_proj",
|
| 321 |
+
"language_model.model.layers.5.mlp.down_proj",
|
| 322 |
+
"language_model.model.layers.5.mlp.gate_proj",
|
| 323 |
+
"language_model.model.layers.5.mlp.up_proj",
|
| 324 |
+
"language_model.model.layers.6.linear_attn.in_proj_a",
|
| 325 |
+
"language_model.model.layers.6.linear_attn.in_proj_b",
|
| 326 |
+
"language_model.model.layers.6.linear_attn.in_proj_qkv",
|
| 327 |
+
"language_model.model.layers.6.linear_attn.in_proj_z",
|
| 328 |
+
"language_model.model.layers.6.linear_attn.out_proj",
|
| 329 |
+
"language_model.model.layers.6.mlp.down_proj",
|
| 330 |
+
"language_model.model.layers.6.mlp.gate_proj",
|
| 331 |
+
"language_model.model.layers.6.mlp.up_proj",
|
| 332 |
+
"language_model.model.layers.7.mlp.down_proj",
|
| 333 |
+
"language_model.model.layers.7.mlp.gate_proj",
|
| 334 |
+
"language_model.model.layers.7.mlp.up_proj",
|
| 335 |
+
"language_model.model.layers.7.self_attn.k_proj",
|
| 336 |
+
"language_model.model.layers.7.self_attn.o_proj",
|
| 337 |
+
"language_model.model.layers.7.self_attn.q_proj",
|
| 338 |
+
"language_model.model.layers.7.self_attn.v_proj",
|
| 339 |
+
"language_model.model.layers.8.linear_attn.in_proj_a",
|
| 340 |
+
"language_model.model.layers.8.linear_attn.in_proj_b",
|
| 341 |
+
"language_model.model.layers.8.linear_attn.in_proj_qkv",
|
| 342 |
+
"language_model.model.layers.8.linear_attn.in_proj_z",
|
| 343 |
+
"language_model.model.layers.8.linear_attn.out_proj",
|
| 344 |
+
"language_model.model.layers.8.mlp.down_proj",
|
| 345 |
+
"language_model.model.layers.8.mlp.gate_proj",
|
| 346 |
+
"language_model.model.layers.8.mlp.up_proj",
|
| 347 |
+
"language_model.model.layers.9.linear_attn.in_proj_a",
|
| 348 |
+
"language_model.model.layers.9.linear_attn.in_proj_b",
|
| 349 |
+
"language_model.model.layers.9.linear_attn.in_proj_qkv",
|
| 350 |
+
"language_model.model.layers.9.linear_attn.in_proj_z",
|
| 351 |
+
"language_model.model.layers.9.linear_attn.out_proj",
|
| 352 |
+
"language_model.model.layers.9.mlp.down_proj",
|
| 353 |
+
"language_model.model.layers.9.mlp.gate_proj",
|
| 354 |
+
"language_model.model.layers.9.mlp.up_proj"
|
| 355 |
+
],
|
| 356 |
+
"missing": [
|
| 357 |
+
"language_model.lm_head"
|
| 358 |
+
],
|
| 359 |
+
"mismatched": [],
|
| 360 |
+
"zero_count_experts": 0
|
| 361 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
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 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
|
| 3 |
+
size 19989343
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"audio_bos_token": "<|audio_start|>",
|
| 4 |
+
"audio_eos_token": "<|audio_end|>",
|
| 5 |
+
"audio_token": "<|audio_pad|>",
|
| 6 |
+
"backend": "tokenizers",
|
| 7 |
+
"bos_token": null,
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"eos_token": "<|im_end|>",
|
| 10 |
+
"errors": "replace",
|
| 11 |
+
"image_token": "<|image_pad|>",
|
| 12 |
+
"is_local": false,
|
| 13 |
+
"model_max_length": 262144,
|
| 14 |
+
"model_specific_special_tokens": {
|
| 15 |
+
"audio_bos_token": "<|audio_start|>",
|
| 16 |
+
"audio_eos_token": "<|audio_end|>",
|
| 17 |
+
"audio_token": "<|audio_pad|>",
|
| 18 |
+
"image_token": "<|image_pad|>",
|
| 19 |
+
"video_token": "<|video_pad|>",
|
| 20 |
+
"vision_bos_token": "<|vision_start|>",
|
| 21 |
+
"vision_eos_token": "<|vision_end|>"
|
| 22 |
+
},
|
| 23 |
+
"pad_token": "<|endoftext|>",
|
| 24 |
+
"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+",
|
| 25 |
+
"split_special_tokens": false,
|
| 26 |
+
"tokenizer_class": "Qwen2TokenizerFast",
|
| 27 |
+
"unk_token": null,
|
| 28 |
+
"video_token": "<|video_pad|>",
|
| 29 |
+
"vision_bos_token": "<|vision_start|>",
|
| 30 |
+
"vision_eos_token": "<|vision_end|>"
|
| 31 |
+
}
|