Image-Text-to-Text
MLX
Safetensors
English
qwen4_exp
jang
jang-4m
quantized
apple-silicon
vision
video
reasoning
agent
tool-use
Mixture of Experts
ngram-embedding
imatrix
awq
conversational
Instructions to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M") config = load_config("JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "JANGQ-AI/Qwen3.8-Flash-Next-JANG_4M" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- LICENSE +16 -0
- chat_template.jinja +170 -0
- config.json +997 -0
- generation_config.json +12 -0
- merges.txt +0 -0
- model-00001-of-00026.safetensors +3 -0
- model-00002-of-00026.safetensors +3 -0
- model-00003-of-00026.safetensors +3 -0
- model-00004-of-00026.safetensors +3 -0
- model-00005-of-00026.safetensors +3 -0
- model-00006-of-00026.safetensors +3 -0
- model-00007-of-00026.safetensors +3 -0
- model-00008-of-00026.safetensors +3 -0
- model-00009-of-00026.safetensors +3 -0
- model-00010-of-00026.safetensors +3 -0
- model-00011-of-00026.safetensors +3 -0
- model-00012-of-00026.safetensors +3 -0
- model-00013-of-00026.safetensors +3 -0
- model-00014-of-00026.safetensors +3 -0
- model-00015-of-00026.safetensors +3 -0
- model-00016-of-00026.safetensors +3 -0
- model-00017-of-00026.safetensors +3 -0
- model-00018-of-00026.safetensors +3 -0
- model-00019-of-00026.safetensors +3 -0
- model-00020-of-00026.safetensors +3 -0
- model-00021-of-00026.safetensors +3 -0
- model-00022-of-00026.safetensors +3 -0
- model-00023-of-00026.safetensors +3 -0
- model-00024-of-00026.safetensors +3 -0
- model-00025-of-00026.safetensors +3 -0
- model-00026-of-00026.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +21 -0
- tokenizer.json +3 -0
- tokenizer_config.json +305 -0
- video_preprocessor_config.json +21 -0
- vocab.json +0 -0
.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 |
jang_ladder_wide.png 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 |
jang_ladder_wide.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Qwen Community License 1.0
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Qwen
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software, including the model weights, parameters, configuration files, inference code and associated documentation files (collectively, the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, sell, deploy, host, fine-tune, and create derivative works from (collectively, "Use" or "Using") copies of the Software; and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 6 |
+
|
| 7 |
+
1. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. If the Software (or any derivative works thereof) is Used for any of the licensee's commercial products or services that have more than 100,000,000 monthly active users or US$ 20,000,000 (or equivalent in other currencies) monthly revenue, respective model name must be prominently displayed on the user interface of such product or service; and,
|
| 8 |
+
|
| 9 |
+
2. If the licensee or any of its affiliates conducts a Model as a Service or AI Work Assistant business, the licensee shall obtain a separate license from Qwen before Using the Software or its derivative works for any commercial purpose. The foregoing requirement shall not apply to the licensee's internal Use of the Software, provided that such Use does not make the Software, its outputs, or its underlying model capabilities available to any third party.
|
| 10 |
+
|
| 11 |
+
"Model as a Service" means giving a third party access to language model inference or fine-tuning (e.g., via API or a hosted endpoint) in a manner that allows such third parties to exercise meaningful control over the inputs, parameters, or training data. This does not include the mere relaying of requests to models hosted by other third parties.
|
| 12 |
+
“AI Work Assistant” means an independent AI-powered product primarily designed for AI-assisted coding or office productivity (e.g., Qoder and QwenWork). It does not include: (a) a single-purpose AI tool (such as an AI translation tool); (b) an AI assistant primarily designed for a domain other than coding or office productivity (such as Taobao AI Shopping Assistant or AMap AI Chat); or (c) an AI assistant that is a feature of a product whose primary purpose is not AI-assisted coding or office productivity.
|
| 13 |
+
|
| 14 |
+
THE SOFTWARE AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL QWEN, ITS AFFILIATES OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE USE OF THE SOFTWARE MUST COMPLY WITH APPLICABLE LAWS AND REGULATIONS, AND MUST NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY.
|
| 15 |
+
|
| 16 |
+
For any questions regarding this license, please contact model-business@notice.qwencloud.com.
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 reasoning_instructions = '' %}
|
| 46 |
+
{%- if enable_thinking is undefined or enable_thinking is true %}
|
| 47 |
+
{%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
|
| 48 |
+
{%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
|
| 49 |
+
{{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- if resolved_reasoning_effort == 'xhigh' %}
|
| 52 |
+
{%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
|
| 53 |
+
{%- elif resolved_reasoning_effort == 'low' %}
|
| 54 |
+
{%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 58 |
+
{{- '<|im_start|>system\n' }}
|
| 59 |
+
{%- if reasoning_instructions %}
|
| 60 |
+
{{- reasoning_instructions + '\n\n' }}
|
| 61 |
+
{%- endif %}
|
| 62 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 63 |
+
{%- for tool in tools %}
|
| 64 |
+
{{- "\n" }}
|
| 65 |
+
{{- tool | tojson }}
|
| 66 |
+
{%- endfor %}
|
| 67 |
+
{{- "\n</tools>" }}
|
| 68 |
+
{{- '\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>' }}
|
| 69 |
+
{%- if messages[0].role == 'system' %}
|
| 70 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 71 |
+
{%- if content %}
|
| 72 |
+
{{- '\n\n' + content }}
|
| 73 |
+
{%- endif %}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{{- '<|im_end|>\n' }}
|
| 76 |
+
{%- else %}
|
| 77 |
+
{%- if messages[0].role == 'system' %}
|
| 78 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 79 |
+
{%- if content %}
|
| 80 |
+
{{- '<|im_start|>system\n' + (reasoning_instructions + '\n\n' if reasoning_instructions else '') + content + '<|im_end|>\n' }}
|
| 81 |
+
{%- elif reasoning_instructions %}
|
| 82 |
+
{{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
|
| 83 |
+
{%- endif %}
|
| 84 |
+
{%- elif reasoning_instructions %}
|
| 85 |
+
{{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- endif %}
|
| 88 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 89 |
+
{%- for message in messages[::-1] %}
|
| 90 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 91 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 92 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 93 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 94 |
+
{%- set ns.multi_step_tool = false %}
|
| 95 |
+
{%- set ns.last_query_index = index %}
|
| 96 |
+
{%- endif %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endfor %}
|
| 99 |
+
{%- if ns.multi_step_tool %}
|
| 100 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 101 |
+
{%- endif %}
|
| 102 |
+
{%- for message in messages %}
|
| 103 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 104 |
+
{%- if message.role == "system" %}
|
| 105 |
+
{%- if not loop.first %}
|
| 106 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 107 |
+
{%- endif %}
|
| 108 |
+
{%- elif message.role == "user" %}
|
| 109 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 110 |
+
{%- elif message.role == "assistant" %}
|
| 111 |
+
{%- set reasoning_content = '' %}
|
| 112 |
+
{%- if message.reasoning_content is string %}
|
| 113 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 114 |
+
{%- endif %}
|
| 115 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 116 |
+
{%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}
|
| 117 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 118 |
+
{%- else %}
|
| 119 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 120 |
+
{%- endif %}
|
| 121 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 122 |
+
{%- for tool_call in message.tool_calls %}
|
| 123 |
+
{%- if tool_call.function is defined %}
|
| 124 |
+
{%- set tool_call = tool_call.function %}
|
| 125 |
+
{%- endif %}
|
| 126 |
+
{%- if loop.first %}
|
| 127 |
+
{%- if content|trim %}
|
| 128 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 129 |
+
{%- else %}
|
| 130 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 131 |
+
{%- endif %}
|
| 132 |
+
{%- else %}
|
| 133 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{%- if tool_call.arguments is defined and tool_call.arguments != '' %}
|
| 136 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 137 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 138 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 139 |
+
{{- args_value }}
|
| 140 |
+
{{- '\n</parameter>\n' }}
|
| 141 |
+
{%- endfor %}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{{- '</function>\n</tool_call>' }}
|
| 144 |
+
{%- endfor %}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{{- '<|im_end|>\n' }}
|
| 147 |
+
{%- elif message.role == "tool" %}
|
| 148 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 149 |
+
{{- '<|im_start|>user' }}
|
| 150 |
+
{%- endif %}
|
| 151 |
+
{{- '\n<tool_response>\n' }}
|
| 152 |
+
{{- content }}
|
| 153 |
+
{{- '\n</tool_response>' }}
|
| 154 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 155 |
+
{{- '<|im_end|>\n' }}
|
| 156 |
+
{%- elif loop.last %}
|
| 157 |
+
{{- '<|im_end|>\n' }}
|
| 158 |
+
{%- endif %}
|
| 159 |
+
{%- else %}
|
| 160 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 161 |
+
{%- endif %}
|
| 162 |
+
{%- endfor %}
|
| 163 |
+
{%- if add_generation_prompt %}
|
| 164 |
+
{{- '<|im_start|>assistant\n' }}
|
| 165 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 166 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 167 |
+
{%- else %}
|
| 168 |
+
{{- '<think>\n' }}
|
| 169 |
+
{%- endif %}
|
| 170 |
+
{%- endif %}
|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"qwen4_exp",
|
| 8 |
+
"text_config": {
|
| 9 |
+
"attention_bias": false,
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bos_token_id": 248044,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 248044,
|
| 14 |
+
"full_attention_interval": 4,
|
| 15 |
+
"hc_count": 4,
|
| 16 |
+
"hc_lowrank": 320,
|
| 17 |
+
"head_dim": 256,
|
| 18 |
+
"heads_per_ngram": 8,
|
| 19 |
+
"hidden_act": "silu",
|
| 20 |
+
"hidden_size": 2560,
|
| 21 |
+
"indexer_budget": 2048,
|
| 22 |
+
"indexer_compress_ratio": 4,
|
| 23 |
+
"indexer_head_dim": 128,
|
| 24 |
+
"indexer_kv_heads": 1,
|
| 25 |
+
"indexer_n_heads": 4,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"layer_types": [
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"linear_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"linear_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"linear_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"linear_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"linear_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"linear_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"linear_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"linear_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"full_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"linear_attention",
|
| 62 |
+
"linear_attention",
|
| 63 |
+
"full_attention",
|
| 64 |
+
"linear_attention",
|
| 65 |
+
"linear_attention",
|
| 66 |
+
"linear_attention",
|
| 67 |
+
"full_attention",
|
| 68 |
+
"linear_attention",
|
| 69 |
+
"linear_attention",
|
| 70 |
+
"linear_attention",
|
| 71 |
+
"full_attention",
|
| 72 |
+
"linear_attention",
|
| 73 |
+
"linear_attention",
|
| 74 |
+
"linear_attention",
|
| 75 |
+
"full_attention"
|
| 76 |
+
],
|
| 77 |
+
"linear_conv_kernel_dim": 4,
|
| 78 |
+
"linear_key_head_dim": 128,
|
| 79 |
+
"linear_num_key_heads": 16,
|
| 80 |
+
"linear_num_value_heads": 48,
|
| 81 |
+
"linear_value_head_dim": 128,
|
| 82 |
+
"make_ngram_vocab_size_divisible_by": 128,
|
| 83 |
+
"mamba_ssm_dtype": "float32",
|
| 84 |
+
"max_position_embeddings": 262144,
|
| 85 |
+
"model_type": "qwen4_exp_text",
|
| 86 |
+
"moe_intermediate_size": 640,
|
| 87 |
+
"mtp": {
|
| 88 |
+
"hybrid": true,
|
| 89 |
+
"layer_types": [
|
| 90 |
+
"full_attention"
|
| 91 |
+
],
|
| 92 |
+
"mtp_use_hidden_state_from_layer": null,
|
| 93 |
+
"num_hidden_layers": 1,
|
| 94 |
+
"rope_theta": 10000000
|
| 95 |
+
},
|
| 96 |
+
"mtp_num_hidden_layers": 1,
|
| 97 |
+
"mtp_use_dedicated_embeddings": false,
|
| 98 |
+
"ngram_size": 3,
|
| 99 |
+
"ngram_vocab_size_base": 20000000,
|
| 100 |
+
"num_attention_heads": 24,
|
| 101 |
+
"num_experts": 512,
|
| 102 |
+
"num_experts_per_tok": 10,
|
| 103 |
+
"num_hidden_layers": 48,
|
| 104 |
+
"num_key_value_heads": 2,
|
| 105 |
+
"output_gate_type": "sigmoid",
|
| 106 |
+
"output_router_logits": false,
|
| 107 |
+
"pad_token_id": null,
|
| 108 |
+
"partial_rotary_factor": 0.25,
|
| 109 |
+
"ple_conv_kernel_size": 4,
|
| 110 |
+
"ple_embed_dim": 2560,
|
| 111 |
+
"ple_layer_ids": [
|
| 112 |
+
2
|
| 113 |
+
],
|
| 114 |
+
"rms_norm_eps": 1e-06,
|
| 115 |
+
"rope_parameters": {
|
| 116 |
+
"mrope_interleaved": true,
|
| 117 |
+
"mrope_section": [
|
| 118 |
+
11,
|
| 119 |
+
11,
|
| 120 |
+
10
|
| 121 |
+
],
|
| 122 |
+
"partial_rotary_factor": 0.25,
|
| 123 |
+
"rope_theta": 10000000,
|
| 124 |
+
"rope_type": "default"
|
| 125 |
+
},
|
| 126 |
+
"router_aux_loss_coef": 0.001,
|
| 127 |
+
"shared_expert_intermediate_size": 640,
|
| 128 |
+
"split_ngram_parts": 128,
|
| 129 |
+
"tie_word_embeddings": false,
|
| 130 |
+
"use_cache": true,
|
| 131 |
+
"vocab_size": 248320
|
| 132 |
+
},
|
| 133 |
+
"tie_word_embeddings": false,
|
| 134 |
+
"transformers_version": "5.8.0.dev0",
|
| 135 |
+
"video_token_id": 248057,
|
| 136 |
+
"vision_config": {
|
| 137 |
+
"deepstack_visual_indexes": [],
|
| 138 |
+
"depth": 27,
|
| 139 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 140 |
+
"hidden_size": 1152,
|
| 141 |
+
"in_channels": 3,
|
| 142 |
+
"initializer_range": 0.02,
|
| 143 |
+
"intermediate_size": 4304,
|
| 144 |
+
"model_type": "qwen4_exp",
|
| 145 |
+
"num_heads": 16,
|
| 146 |
+
"num_position_embeddings": 2304,
|
| 147 |
+
"out_hidden_size": 2560,
|
| 148 |
+
"patch_size": 16,
|
| 149 |
+
"spatial_merge_size": 2,
|
| 150 |
+
"temporal_patch_size": 2
|
| 151 |
+
},
|
| 152 |
+
"vision_end_token_id": 248054,
|
| 153 |
+
"vision_start_token_id": 248053,
|
| 154 |
+
"jang_config": {
|
| 155 |
+
"format": "jang_v2",
|
| 156 |
+
"family": "qwen4_exp",
|
| 157 |
+
"norm_convention": "runtime_plus1_applied",
|
| 158 |
+
"bit_map": {
|
| 159 |
+
"default": {
|
| 160 |
+
"bits": 8,
|
| 161 |
+
"group_size": 64
|
| 162 |
+
},
|
| 163 |
+
"language_model.layers.0.mlp.switch_mlp": {
|
| 164 |
+
"bits": 4,
|
| 165 |
+
"group_size": 64
|
| 166 |
+
},
|
| 167 |
+
"language_model.layers.1.mlp.switch_mlp": {
|
| 168 |
+
"bits": 4,
|
| 169 |
+
"group_size": 64
|
| 170 |
+
},
|
| 171 |
+
"language_model.layers.2.mlp.switch_mlp": {
|
| 172 |
+
"bits": 4,
|
| 173 |
+
"group_size": 64
|
| 174 |
+
},
|
| 175 |
+
"language_model.layers.3.mlp.switch_mlp": {
|
| 176 |
+
"bits": 4,
|
| 177 |
+
"group_size": 64
|
| 178 |
+
},
|
| 179 |
+
"language_model.layers.4.mlp.switch_mlp": {
|
| 180 |
+
"bits": 4,
|
| 181 |
+
"group_size": 64
|
| 182 |
+
},
|
| 183 |
+
"language_model.layers.5.mlp.switch_mlp": {
|
| 184 |
+
"bits": 4,
|
| 185 |
+
"group_size": 64
|
| 186 |
+
},
|
| 187 |
+
"language_model.layers.6.mlp.switch_mlp": {
|
| 188 |
+
"bits": 4,
|
| 189 |
+
"group_size": 64
|
| 190 |
+
},
|
| 191 |
+
"language_model.layers.7.mlp.switch_mlp": {
|
| 192 |
+
"bits": 4,
|
| 193 |
+
"group_size": 64
|
| 194 |
+
},
|
| 195 |
+
"language_model.layers.8.mlp.switch_mlp": {
|
| 196 |
+
"bits": 4,
|
| 197 |
+
"group_size": 64
|
| 198 |
+
},
|
| 199 |
+
"language_model.layers.9.mlp.switch_mlp": {
|
| 200 |
+
"bits": 4,
|
| 201 |
+
"group_size": 64
|
| 202 |
+
},
|
| 203 |
+
"language_model.layers.10.mlp.switch_mlp": {
|
| 204 |
+
"bits": 4,
|
| 205 |
+
"group_size": 64
|
| 206 |
+
},
|
| 207 |
+
"language_model.layers.11.mlp.switch_mlp": {
|
| 208 |
+
"bits": 4,
|
| 209 |
+
"group_size": 64
|
| 210 |
+
},
|
| 211 |
+
"language_model.layers.12.mlp.switch_mlp": {
|
| 212 |
+
"bits": 4,
|
| 213 |
+
"group_size": 64
|
| 214 |
+
},
|
| 215 |
+
"language_model.layers.13.mlp.switch_mlp": {
|
| 216 |
+
"bits": 4,
|
| 217 |
+
"group_size": 64
|
| 218 |
+
},
|
| 219 |
+
"language_model.layers.14.mlp.switch_mlp": {
|
| 220 |
+
"bits": 4,
|
| 221 |
+
"group_size": 64
|
| 222 |
+
},
|
| 223 |
+
"language_model.layers.15.mlp.switch_mlp": {
|
| 224 |
+
"bits": 4,
|
| 225 |
+
"group_size": 64
|
| 226 |
+
},
|
| 227 |
+
"language_model.layers.16.mlp.switch_mlp": {
|
| 228 |
+
"bits": 4,
|
| 229 |
+
"group_size": 64
|
| 230 |
+
},
|
| 231 |
+
"language_model.layers.17.mlp.switch_mlp": {
|
| 232 |
+
"bits": 4,
|
| 233 |
+
"group_size": 64
|
| 234 |
+
},
|
| 235 |
+
"language_model.layers.18.mlp.switch_mlp": {
|
| 236 |
+
"bits": 4,
|
| 237 |
+
"group_size": 64
|
| 238 |
+
},
|
| 239 |
+
"language_model.layers.19.mlp.switch_mlp": {
|
| 240 |
+
"bits": 4,
|
| 241 |
+
"group_size": 64
|
| 242 |
+
},
|
| 243 |
+
"language_model.layers.20.mlp.switch_mlp": {
|
| 244 |
+
"bits": 4,
|
| 245 |
+
"group_size": 64
|
| 246 |
+
},
|
| 247 |
+
"language_model.layers.21.mlp.switch_mlp": {
|
| 248 |
+
"bits": 4,
|
| 249 |
+
"group_size": 64
|
| 250 |
+
},
|
| 251 |
+
"language_model.layers.22.mlp.switch_mlp": {
|
| 252 |
+
"bits": 4,
|
| 253 |
+
"group_size": 64
|
| 254 |
+
},
|
| 255 |
+
"language_model.layers.23.mlp.switch_mlp": {
|
| 256 |
+
"bits": 4,
|
| 257 |
+
"group_size": 64
|
| 258 |
+
},
|
| 259 |
+
"language_model.layers.24.mlp.switch_mlp": {
|
| 260 |
+
"bits": 4,
|
| 261 |
+
"group_size": 64
|
| 262 |
+
},
|
| 263 |
+
"language_model.layers.25.mlp.switch_mlp": {
|
| 264 |
+
"bits": 4,
|
| 265 |
+
"group_size": 64
|
| 266 |
+
},
|
| 267 |
+
"language_model.layers.26.mlp.switch_mlp": {
|
| 268 |
+
"bits": 4,
|
| 269 |
+
"group_size": 64
|
| 270 |
+
},
|
| 271 |
+
"language_model.layers.27.mlp.switch_mlp": {
|
| 272 |
+
"bits": 4,
|
| 273 |
+
"group_size": 64
|
| 274 |
+
},
|
| 275 |
+
"language_model.layers.28.mlp.switch_mlp": {
|
| 276 |
+
"bits": 4,
|
| 277 |
+
"group_size": 64
|
| 278 |
+
},
|
| 279 |
+
"language_model.layers.29.mlp.switch_mlp": {
|
| 280 |
+
"bits": 4,
|
| 281 |
+
"group_size": 64
|
| 282 |
+
},
|
| 283 |
+
"language_model.layers.30.mlp.switch_mlp": {
|
| 284 |
+
"bits": 4,
|
| 285 |
+
"group_size": 64
|
| 286 |
+
},
|
| 287 |
+
"language_model.layers.31.mlp.switch_mlp": {
|
| 288 |
+
"bits": 4,
|
| 289 |
+
"group_size": 64
|
| 290 |
+
},
|
| 291 |
+
"language_model.layers.32.mlp.switch_mlp": {
|
| 292 |
+
"bits": 4,
|
| 293 |
+
"group_size": 64
|
| 294 |
+
},
|
| 295 |
+
"language_model.layers.33.mlp.switch_mlp": {
|
| 296 |
+
"bits": 4,
|
| 297 |
+
"group_size": 64
|
| 298 |
+
},
|
| 299 |
+
"language_model.layers.34.mlp.switch_mlp": {
|
| 300 |
+
"bits": 4,
|
| 301 |
+
"group_size": 64
|
| 302 |
+
},
|
| 303 |
+
"language_model.layers.35.mlp.switch_mlp": {
|
| 304 |
+
"bits": 4,
|
| 305 |
+
"group_size": 64
|
| 306 |
+
},
|
| 307 |
+
"language_model.layers.36.mlp.switch_mlp": {
|
| 308 |
+
"bits": 4,
|
| 309 |
+
"group_size": 64
|
| 310 |
+
},
|
| 311 |
+
"language_model.layers.37.mlp.switch_mlp": {
|
| 312 |
+
"bits": 4,
|
| 313 |
+
"group_size": 64
|
| 314 |
+
},
|
| 315 |
+
"language_model.layers.38.mlp.switch_mlp": {
|
| 316 |
+
"bits": 4,
|
| 317 |
+
"group_size": 64
|
| 318 |
+
},
|
| 319 |
+
"language_model.layers.39.mlp.switch_mlp": {
|
| 320 |
+
"bits": 4,
|
| 321 |
+
"group_size": 64
|
| 322 |
+
},
|
| 323 |
+
"language_model.layers.40.mlp.switch_mlp": {
|
| 324 |
+
"bits": 4,
|
| 325 |
+
"group_size": 64
|
| 326 |
+
},
|
| 327 |
+
"language_model.layers.41.mlp.switch_mlp": {
|
| 328 |
+
"bits": 4,
|
| 329 |
+
"group_size": 64
|
| 330 |
+
},
|
| 331 |
+
"language_model.layers.42.mlp.switch_mlp": {
|
| 332 |
+
"bits": 4,
|
| 333 |
+
"group_size": 64
|
| 334 |
+
},
|
| 335 |
+
"language_model.layers.43.mlp.switch_mlp": {
|
| 336 |
+
"bits": 4,
|
| 337 |
+
"group_size": 64
|
| 338 |
+
},
|
| 339 |
+
"language_model.layers.44.mlp.switch_mlp": {
|
| 340 |
+
"bits": 4,
|
| 341 |
+
"group_size": 64
|
| 342 |
+
},
|
| 343 |
+
"language_model.layers.45.mlp.switch_mlp": {
|
| 344 |
+
"bits": 4,
|
| 345 |
+
"group_size": 64
|
| 346 |
+
},
|
| 347 |
+
"language_model.layers.46.mlp.switch_mlp": {
|
| 348 |
+
"bits": 4,
|
| 349 |
+
"group_size": 64
|
| 350 |
+
},
|
| 351 |
+
"language_model.layers.47.mlp.switch_mlp": {
|
| 352 |
+
"bits": 4,
|
| 353 |
+
"group_size": 64
|
| 354 |
+
},
|
| 355 |
+
"language_model.layers.*.ple.ngram_embedding.shards.0.weight": {
|
| 356 |
+
"bits": 3,
|
| 357 |
+
"group_size": 32
|
| 358 |
+
},
|
| 359 |
+
"language_model.layers.*.ple.ngram_embedding.shards.1.weight": {
|
| 360 |
+
"bits": 3,
|
| 361 |
+
"group_size": 32
|
| 362 |
+
},
|
| 363 |
+
"language_model.layers.*.ple.ngram_embedding.shards.2.weight": {
|
| 364 |
+
"bits": 4,
|
| 365 |
+
"group_size": 32
|
| 366 |
+
},
|
| 367 |
+
"language_model.layers.*.ple.ngram_embedding.shards.3.weight": {
|
| 368 |
+
"bits": 3,
|
| 369 |
+
"group_size": 32
|
| 370 |
+
},
|
| 371 |
+
"language_model.layers.*.ple.ngram_embedding.shards.4.weight": {
|
| 372 |
+
"bits": 3,
|
| 373 |
+
"group_size": 32
|
| 374 |
+
},
|
| 375 |
+
"language_model.layers.*.ple.ngram_embedding.shards.5.weight": {
|
| 376 |
+
"bits": 3,
|
| 377 |
+
"group_size": 32
|
| 378 |
+
},
|
| 379 |
+
"language_model.layers.*.ple.ngram_embedding.shards.6.weight": {
|
| 380 |
+
"bits": 4,
|
| 381 |
+
"group_size": 32
|
| 382 |
+
},
|
| 383 |
+
"language_model.layers.*.ple.ngram_embedding.shards.7.weight": {
|
| 384 |
+
"bits": 3,
|
| 385 |
+
"group_size": 32
|
| 386 |
+
},
|
| 387 |
+
"language_model.layers.*.ple.ngram_embedding.shards.8.weight": {
|
| 388 |
+
"bits": 3,
|
| 389 |
+
"group_size": 32
|
| 390 |
+
},
|
| 391 |
+
"language_model.layers.*.ple.ngram_embedding.shards.9.weight": {
|
| 392 |
+
"bits": 4,
|
| 393 |
+
"group_size": 32
|
| 394 |
+
},
|
| 395 |
+
"language_model.layers.*.ple.ngram_embedding.shards.10.weight": {
|
| 396 |
+
"bits": 3,
|
| 397 |
+
"group_size": 32
|
| 398 |
+
},
|
| 399 |
+
"language_model.layers.*.ple.ngram_embedding.shards.11.weight": {
|
| 400 |
+
"bits": 4,
|
| 401 |
+
"group_size": 32
|
| 402 |
+
},
|
| 403 |
+
"language_model.layers.*.ple.ngram_embedding.shards.12.weight": {
|
| 404 |
+
"bits": 4,
|
| 405 |
+
"group_size": 32
|
| 406 |
+
},
|
| 407 |
+
"language_model.layers.*.ple.ngram_embedding.shards.13.weight": {
|
| 408 |
+
"bits": 3,
|
| 409 |
+
"group_size": 32
|
| 410 |
+
},
|
| 411 |
+
"language_model.layers.*.ple.ngram_embedding.shards.14.weight": {
|
| 412 |
+
"bits": 4,
|
| 413 |
+
"group_size": 32
|
| 414 |
+
},
|
| 415 |
+
"language_model.layers.*.ple.ngram_embedding.shards.15.weight": {
|
| 416 |
+
"bits": 3,
|
| 417 |
+
"group_size": 32
|
| 418 |
+
},
|
| 419 |
+
"language_model.layers.*.ple.ngram_embedding.shards.16.weight": {
|
| 420 |
+
"bits": 3,
|
| 421 |
+
"group_size": 32
|
| 422 |
+
},
|
| 423 |
+
"language_model.layers.*.ple.ngram_embedding.shards.17.weight": {
|
| 424 |
+
"bits": 4,
|
| 425 |
+
"group_size": 32
|
| 426 |
+
},
|
| 427 |
+
"language_model.layers.*.ple.ngram_embedding.shards.18.weight": {
|
| 428 |
+
"bits": 3,
|
| 429 |
+
"group_size": 32
|
| 430 |
+
},
|
| 431 |
+
"language_model.layers.*.ple.ngram_embedding.shards.19.weight": {
|
| 432 |
+
"bits": 3,
|
| 433 |
+
"group_size": 32
|
| 434 |
+
},
|
| 435 |
+
"language_model.layers.*.ple.ngram_embedding.shards.20.weight": {
|
| 436 |
+
"bits": 4,
|
| 437 |
+
"group_size": 32
|
| 438 |
+
},
|
| 439 |
+
"language_model.layers.*.ple.ngram_embedding.shards.21.weight": {
|
| 440 |
+
"bits": 3,
|
| 441 |
+
"group_size": 32
|
| 442 |
+
},
|
| 443 |
+
"language_model.layers.*.ple.ngram_embedding.shards.22.weight": {
|
| 444 |
+
"bits": 4,
|
| 445 |
+
"group_size": 32
|
| 446 |
+
},
|
| 447 |
+
"language_model.layers.*.ple.ngram_embedding.shards.23.weight": {
|
| 448 |
+
"bits": 3,
|
| 449 |
+
"group_size": 32
|
| 450 |
+
},
|
| 451 |
+
"language_model.layers.*.ple.ngram_embedding.shards.24.weight": {
|
| 452 |
+
"bits": 3,
|
| 453 |
+
"group_size": 32
|
| 454 |
+
},
|
| 455 |
+
"language_model.layers.*.ple.ngram_embedding.shards.25.weight": {
|
| 456 |
+
"bits": 3,
|
| 457 |
+
"group_size": 32
|
| 458 |
+
},
|
| 459 |
+
"language_model.layers.*.ple.ngram_embedding.shards.26.weight": {
|
| 460 |
+
"bits": 3,
|
| 461 |
+
"group_size": 32
|
| 462 |
+
},
|
| 463 |
+
"language_model.layers.*.ple.ngram_embedding.shards.27.weight": {
|
| 464 |
+
"bits": 4,
|
| 465 |
+
"group_size": 32
|
| 466 |
+
},
|
| 467 |
+
"language_model.layers.*.ple.ngram_embedding.shards.28.weight": {
|
| 468 |
+
"bits": 3,
|
| 469 |
+
"group_size": 32
|
| 470 |
+
},
|
| 471 |
+
"language_model.layers.*.ple.ngram_embedding.shards.29.weight": {
|
| 472 |
+
"bits": 3,
|
| 473 |
+
"group_size": 32
|
| 474 |
+
},
|
| 475 |
+
"language_model.layers.*.ple.ngram_embedding.shards.30.weight": {
|
| 476 |
+
"bits": 3,
|
| 477 |
+
"group_size": 32
|
| 478 |
+
},
|
| 479 |
+
"language_model.layers.*.ple.ngram_embedding.shards.31.weight": {
|
| 480 |
+
"bits": 4,
|
| 481 |
+
"group_size": 32
|
| 482 |
+
},
|
| 483 |
+
"language_model.layers.*.ple.ngram_embedding.shards.32.weight": {
|
| 484 |
+
"bits": 3,
|
| 485 |
+
"group_size": 32
|
| 486 |
+
},
|
| 487 |
+
"language_model.layers.*.ple.ngram_embedding.shards.33.weight": {
|
| 488 |
+
"bits": 4,
|
| 489 |
+
"group_size": 32
|
| 490 |
+
},
|
| 491 |
+
"language_model.layers.*.ple.ngram_embedding.shards.34.weight": {
|
| 492 |
+
"bits": 3,
|
| 493 |
+
"group_size": 32
|
| 494 |
+
},
|
| 495 |
+
"language_model.layers.*.ple.ngram_embedding.shards.35.weight": {
|
| 496 |
+
"bits": 4,
|
| 497 |
+
"group_size": 32
|
| 498 |
+
},
|
| 499 |
+
"language_model.layers.*.ple.ngram_embedding.shards.36.weight": {
|
| 500 |
+
"bits": 3,
|
| 501 |
+
"group_size": 32
|
| 502 |
+
},
|
| 503 |
+
"language_model.layers.*.ple.ngram_embedding.shards.37.weight": {
|
| 504 |
+
"bits": 4,
|
| 505 |
+
"group_size": 32
|
| 506 |
+
},
|
| 507 |
+
"language_model.layers.*.ple.ngram_embedding.shards.38.weight": {
|
| 508 |
+
"bits": 4,
|
| 509 |
+
"group_size": 32
|
| 510 |
+
},
|
| 511 |
+
"language_model.layers.*.ple.ngram_embedding.shards.39.weight": {
|
| 512 |
+
"bits": 3,
|
| 513 |
+
"group_size": 32
|
| 514 |
+
},
|
| 515 |
+
"language_model.layers.*.ple.ngram_embedding.shards.40.weight": {
|
| 516 |
+
"bits": 4,
|
| 517 |
+
"group_size": 32
|
| 518 |
+
},
|
| 519 |
+
"language_model.layers.*.ple.ngram_embedding.shards.41.weight": {
|
| 520 |
+
"bits": 3,
|
| 521 |
+
"group_size": 32
|
| 522 |
+
},
|
| 523 |
+
"language_model.layers.*.ple.ngram_embedding.shards.42.weight": {
|
| 524 |
+
"bits": 4,
|
| 525 |
+
"group_size": 32
|
| 526 |
+
},
|
| 527 |
+
"language_model.layers.*.ple.ngram_embedding.shards.43.weight": {
|
| 528 |
+
"bits": 3,
|
| 529 |
+
"group_size": 32
|
| 530 |
+
},
|
| 531 |
+
"language_model.layers.*.ple.ngram_embedding.shards.44.weight": {
|
| 532 |
+
"bits": 3,
|
| 533 |
+
"group_size": 32
|
| 534 |
+
},
|
| 535 |
+
"language_model.layers.*.ple.ngram_embedding.shards.45.weight": {
|
| 536 |
+
"bits": 4,
|
| 537 |
+
"group_size": 32
|
| 538 |
+
},
|
| 539 |
+
"language_model.layers.*.ple.ngram_embedding.shards.46.weight": {
|
| 540 |
+
"bits": 3,
|
| 541 |
+
"group_size": 32
|
| 542 |
+
},
|
| 543 |
+
"language_model.layers.*.ple.ngram_embedding.shards.47.weight": {
|
| 544 |
+
"bits": 4,
|
| 545 |
+
"group_size": 32
|
| 546 |
+
},
|
| 547 |
+
"language_model.layers.*.ple.ngram_embedding.shards.48.weight": {
|
| 548 |
+
"bits": 3,
|
| 549 |
+
"group_size": 32
|
| 550 |
+
},
|
| 551 |
+
"language_model.layers.*.ple.ngram_embedding.shards.49.weight": {
|
| 552 |
+
"bits": 3,
|
| 553 |
+
"group_size": 32
|
| 554 |
+
},
|
| 555 |
+
"language_model.layers.*.ple.ngram_embedding.shards.50.weight": {
|
| 556 |
+
"bits": 3,
|
| 557 |
+
"group_size": 32
|
| 558 |
+
},
|
| 559 |
+
"language_model.layers.*.ple.ngram_embedding.shards.51.weight": {
|
| 560 |
+
"bits": 3,
|
| 561 |
+
"group_size": 32
|
| 562 |
+
},
|
| 563 |
+
"language_model.layers.*.ple.ngram_embedding.shards.52.weight": {
|
| 564 |
+
"bits": 4,
|
| 565 |
+
"group_size": 32
|
| 566 |
+
},
|
| 567 |
+
"language_model.layers.*.ple.ngram_embedding.shards.53.weight": {
|
| 568 |
+
"bits": 3,
|
| 569 |
+
"group_size": 32
|
| 570 |
+
},
|
| 571 |
+
"language_model.layers.*.ple.ngram_embedding.shards.54.weight": {
|
| 572 |
+
"bits": 3,
|
| 573 |
+
"group_size": 32
|
| 574 |
+
},
|
| 575 |
+
"language_model.layers.*.ple.ngram_embedding.shards.55.weight": {
|
| 576 |
+
"bits": 4,
|
| 577 |
+
"group_size": 32
|
| 578 |
+
},
|
| 579 |
+
"language_model.layers.*.ple.ngram_embedding.shards.56.weight": {
|
| 580 |
+
"bits": 3,
|
| 581 |
+
"group_size": 32
|
| 582 |
+
},
|
| 583 |
+
"language_model.layers.*.ple.ngram_embedding.shards.57.weight": {
|
| 584 |
+
"bits": 4,
|
| 585 |
+
"group_size": 32
|
| 586 |
+
},
|
| 587 |
+
"language_model.layers.*.ple.ngram_embedding.shards.58.weight": {
|
| 588 |
+
"bits": 4,
|
| 589 |
+
"group_size": 32
|
| 590 |
+
},
|
| 591 |
+
"language_model.layers.*.ple.ngram_embedding.shards.59.weight": {
|
| 592 |
+
"bits": 4,
|
| 593 |
+
"group_size": 32
|
| 594 |
+
},
|
| 595 |
+
"language_model.layers.*.ple.ngram_embedding.shards.60.weight": {
|
| 596 |
+
"bits": 3,
|
| 597 |
+
"group_size": 32
|
| 598 |
+
},
|
| 599 |
+
"language_model.layers.*.ple.ngram_embedding.shards.61.weight": {
|
| 600 |
+
"bits": 3,
|
| 601 |
+
"group_size": 32
|
| 602 |
+
},
|
| 603 |
+
"language_model.layers.*.ple.ngram_embedding.shards.62.weight": {
|
| 604 |
+
"bits": 3,
|
| 605 |
+
"group_size": 32
|
| 606 |
+
},
|
| 607 |
+
"language_model.layers.*.ple.ngram_embedding.shards.63.weight": {
|
| 608 |
+
"bits": 3,
|
| 609 |
+
"group_size": 32
|
| 610 |
+
},
|
| 611 |
+
"language_model.layers.*.ple.ngram_embedding.shards.64.weight": {
|
| 612 |
+
"bits": 3,
|
| 613 |
+
"group_size": 32
|
| 614 |
+
},
|
| 615 |
+
"language_model.layers.*.ple.ngram_embedding.shards.65.weight": {
|
| 616 |
+
"bits": 3,
|
| 617 |
+
"group_size": 32
|
| 618 |
+
},
|
| 619 |
+
"language_model.layers.*.ple.ngram_embedding.shards.66.weight": {
|
| 620 |
+
"bits": 4,
|
| 621 |
+
"group_size": 32
|
| 622 |
+
},
|
| 623 |
+
"language_model.layers.*.ple.ngram_embedding.shards.67.weight": {
|
| 624 |
+
"bits": 3,
|
| 625 |
+
"group_size": 32
|
| 626 |
+
},
|
| 627 |
+
"language_model.layers.*.ple.ngram_embedding.shards.68.weight": {
|
| 628 |
+
"bits": 4,
|
| 629 |
+
"group_size": 32
|
| 630 |
+
},
|
| 631 |
+
"language_model.layers.*.ple.ngram_embedding.shards.69.weight": {
|
| 632 |
+
"bits": 3,
|
| 633 |
+
"group_size": 32
|
| 634 |
+
},
|
| 635 |
+
"language_model.layers.*.ple.ngram_embedding.shards.70.weight": {
|
| 636 |
+
"bits": 3,
|
| 637 |
+
"group_size": 32
|
| 638 |
+
},
|
| 639 |
+
"language_model.layers.*.ple.ngram_embedding.shards.71.weight": {
|
| 640 |
+
"bits": 3,
|
| 641 |
+
"group_size": 32
|
| 642 |
+
},
|
| 643 |
+
"language_model.layers.*.ple.ngram_embedding.shards.72.weight": {
|
| 644 |
+
"bits": 4,
|
| 645 |
+
"group_size": 32
|
| 646 |
+
},
|
| 647 |
+
"language_model.layers.*.ple.ngram_embedding.shards.73.weight": {
|
| 648 |
+
"bits": 3,
|
| 649 |
+
"group_size": 32
|
| 650 |
+
},
|
| 651 |
+
"language_model.layers.*.ple.ngram_embedding.shards.74.weight": {
|
| 652 |
+
"bits": 3,
|
| 653 |
+
"group_size": 32
|
| 654 |
+
},
|
| 655 |
+
"language_model.layers.*.ple.ngram_embedding.shards.75.weight": {
|
| 656 |
+
"bits": 3,
|
| 657 |
+
"group_size": 32
|
| 658 |
+
},
|
| 659 |
+
"language_model.layers.*.ple.ngram_embedding.shards.76.weight": {
|
| 660 |
+
"bits": 3,
|
| 661 |
+
"group_size": 32
|
| 662 |
+
},
|
| 663 |
+
"language_model.layers.*.ple.ngram_embedding.shards.77.weight": {
|
| 664 |
+
"bits": 3,
|
| 665 |
+
"group_size": 32
|
| 666 |
+
},
|
| 667 |
+
"language_model.layers.*.ple.ngram_embedding.shards.78.weight": {
|
| 668 |
+
"bits": 3,
|
| 669 |
+
"group_size": 32
|
| 670 |
+
},
|
| 671 |
+
"language_model.layers.*.ple.ngram_embedding.shards.79.weight": {
|
| 672 |
+
"bits": 3,
|
| 673 |
+
"group_size": 32
|
| 674 |
+
},
|
| 675 |
+
"language_model.layers.*.ple.ngram_embedding.shards.80.weight": {
|
| 676 |
+
"bits": 3,
|
| 677 |
+
"group_size": 32
|
| 678 |
+
},
|
| 679 |
+
"language_model.layers.*.ple.ngram_embedding.shards.81.weight": {
|
| 680 |
+
"bits": 3,
|
| 681 |
+
"group_size": 32
|
| 682 |
+
},
|
| 683 |
+
"language_model.layers.*.ple.ngram_embedding.shards.82.weight": {
|
| 684 |
+
"bits": 4,
|
| 685 |
+
"group_size": 32
|
| 686 |
+
},
|
| 687 |
+
"language_model.layers.*.ple.ngram_embedding.shards.83.weight": {
|
| 688 |
+
"bits": 3,
|
| 689 |
+
"group_size": 32
|
| 690 |
+
},
|
| 691 |
+
"language_model.layers.*.ple.ngram_embedding.shards.84.weight": {
|
| 692 |
+
"bits": 3,
|
| 693 |
+
"group_size": 32
|
| 694 |
+
},
|
| 695 |
+
"language_model.layers.*.ple.ngram_embedding.shards.85.weight": {
|
| 696 |
+
"bits": 3,
|
| 697 |
+
"group_size": 32
|
| 698 |
+
},
|
| 699 |
+
"language_model.layers.*.ple.ngram_embedding.shards.86.weight": {
|
| 700 |
+
"bits": 3,
|
| 701 |
+
"group_size": 32
|
| 702 |
+
},
|
| 703 |
+
"language_model.layers.*.ple.ngram_embedding.shards.87.weight": {
|
| 704 |
+
"bits": 3,
|
| 705 |
+
"group_size": 32
|
| 706 |
+
},
|
| 707 |
+
"language_model.layers.*.ple.ngram_embedding.shards.88.weight": {
|
| 708 |
+
"bits": 3,
|
| 709 |
+
"group_size": 32
|
| 710 |
+
},
|
| 711 |
+
"language_model.layers.*.ple.ngram_embedding.shards.89.weight": {
|
| 712 |
+
"bits": 3,
|
| 713 |
+
"group_size": 32
|
| 714 |
+
},
|
| 715 |
+
"language_model.layers.*.ple.ngram_embedding.shards.90.weight": {
|
| 716 |
+
"bits": 3,
|
| 717 |
+
"group_size": 32
|
| 718 |
+
},
|
| 719 |
+
"language_model.layers.*.ple.ngram_embedding.shards.91.weight": {
|
| 720 |
+
"bits": 3,
|
| 721 |
+
"group_size": 32
|
| 722 |
+
},
|
| 723 |
+
"language_model.layers.*.ple.ngram_embedding.shards.92.weight": {
|
| 724 |
+
"bits": 3,
|
| 725 |
+
"group_size": 32
|
| 726 |
+
},
|
| 727 |
+
"language_model.layers.*.ple.ngram_embedding.shards.93.weight": {
|
| 728 |
+
"bits": 3,
|
| 729 |
+
"group_size": 32
|
| 730 |
+
},
|
| 731 |
+
"language_model.layers.*.ple.ngram_embedding.shards.94.weight": {
|
| 732 |
+
"bits": 3,
|
| 733 |
+
"group_size": 32
|
| 734 |
+
},
|
| 735 |
+
"language_model.layers.*.ple.ngram_embedding.shards.95.weight": {
|
| 736 |
+
"bits": 3,
|
| 737 |
+
"group_size": 32
|
| 738 |
+
},
|
| 739 |
+
"language_model.layers.*.ple.ngram_embedding.shards.96.weight": {
|
| 740 |
+
"bits": 3,
|
| 741 |
+
"group_size": 32
|
| 742 |
+
},
|
| 743 |
+
"language_model.layers.*.ple.ngram_embedding.shards.97.weight": {
|
| 744 |
+
"bits": 3,
|
| 745 |
+
"group_size": 32
|
| 746 |
+
},
|
| 747 |
+
"language_model.layers.*.ple.ngram_embedding.shards.98.weight": {
|
| 748 |
+
"bits": 3,
|
| 749 |
+
"group_size": 32
|
| 750 |
+
},
|
| 751 |
+
"language_model.layers.*.ple.ngram_embedding.shards.99.weight": {
|
| 752 |
+
"bits": 3,
|
| 753 |
+
"group_size": 32
|
| 754 |
+
},
|
| 755 |
+
"language_model.layers.*.ple.ngram_embedding.shards.100.weight": {
|
| 756 |
+
"bits": 3,
|
| 757 |
+
"group_size": 32
|
| 758 |
+
},
|
| 759 |
+
"language_model.layers.*.ple.ngram_embedding.shards.101.weight": {
|
| 760 |
+
"bits": 3,
|
| 761 |
+
"group_size": 32
|
| 762 |
+
},
|
| 763 |
+
"language_model.layers.*.ple.ngram_embedding.shards.102.weight": {
|
| 764 |
+
"bits": 3,
|
| 765 |
+
"group_size": 32
|
| 766 |
+
},
|
| 767 |
+
"language_model.layers.*.ple.ngram_embedding.shards.103.weight": {
|
| 768 |
+
"bits": 3,
|
| 769 |
+
"group_size": 32
|
| 770 |
+
},
|
| 771 |
+
"language_model.layers.*.ple.ngram_embedding.shards.104.weight": {
|
| 772 |
+
"bits": 3,
|
| 773 |
+
"group_size": 32
|
| 774 |
+
},
|
| 775 |
+
"language_model.layers.*.ple.ngram_embedding.shards.105.weight": {
|
| 776 |
+
"bits": 3,
|
| 777 |
+
"group_size": 32
|
| 778 |
+
},
|
| 779 |
+
"language_model.layers.*.ple.ngram_embedding.shards.106.weight": {
|
| 780 |
+
"bits": 3,
|
| 781 |
+
"group_size": 32
|
| 782 |
+
},
|
| 783 |
+
"language_model.layers.*.ple.ngram_embedding.shards.107.weight": {
|
| 784 |
+
"bits": 3,
|
| 785 |
+
"group_size": 32
|
| 786 |
+
},
|
| 787 |
+
"language_model.layers.*.ple.ngram_embedding.shards.108.weight": {
|
| 788 |
+
"bits": 3,
|
| 789 |
+
"group_size": 32
|
| 790 |
+
},
|
| 791 |
+
"language_model.layers.*.ple.ngram_embedding.shards.109.weight": {
|
| 792 |
+
"bits": 3,
|
| 793 |
+
"group_size": 32
|
| 794 |
+
},
|
| 795 |
+
"language_model.layers.*.ple.ngram_embedding.shards.110.weight": {
|
| 796 |
+
"bits": 3,
|
| 797 |
+
"group_size": 32
|
| 798 |
+
},
|
| 799 |
+
"language_model.layers.*.ple.ngram_embedding.shards.111.weight": {
|
| 800 |
+
"bits": 4,
|
| 801 |
+
"group_size": 32
|
| 802 |
+
},
|
| 803 |
+
"language_model.layers.*.ple.ngram_embedding.shards.112.weight": {
|
| 804 |
+
"bits": 3,
|
| 805 |
+
"group_size": 32
|
| 806 |
+
},
|
| 807 |
+
"language_model.layers.*.ple.ngram_embedding.shards.113.weight": {
|
| 808 |
+
"bits": 3,
|
| 809 |
+
"group_size": 32
|
| 810 |
+
},
|
| 811 |
+
"language_model.layers.*.ple.ngram_embedding.shards.114.weight": {
|
| 812 |
+
"bits": 3,
|
| 813 |
+
"group_size": 32
|
| 814 |
+
},
|
| 815 |
+
"language_model.layers.*.ple.ngram_embedding.shards.115.weight": {
|
| 816 |
+
"bits": 4,
|
| 817 |
+
"group_size": 32
|
| 818 |
+
},
|
| 819 |
+
"language_model.layers.*.ple.ngram_embedding.shards.116.weight": {
|
| 820 |
+
"bits": 4,
|
| 821 |
+
"group_size": 32
|
| 822 |
+
},
|
| 823 |
+
"language_model.layers.*.ple.ngram_embedding.shards.117.weight": {
|
| 824 |
+
"bits": 3,
|
| 825 |
+
"group_size": 32
|
| 826 |
+
},
|
| 827 |
+
"language_model.layers.*.ple.ngram_embedding.shards.118.weight": {
|
| 828 |
+
"bits": 3,
|
| 829 |
+
"group_size": 32
|
| 830 |
+
},
|
| 831 |
+
"language_model.layers.*.ple.ngram_embedding.shards.119.weight": {
|
| 832 |
+
"bits": 3,
|
| 833 |
+
"group_size": 32
|
| 834 |
+
},
|
| 835 |
+
"language_model.layers.*.ple.ngram_embedding.shards.120.weight": {
|
| 836 |
+
"bits": 3,
|
| 837 |
+
"group_size": 32
|
| 838 |
+
},
|
| 839 |
+
"language_model.layers.*.ple.ngram_embedding.shards.121.weight": {
|
| 840 |
+
"bits": 3,
|
| 841 |
+
"group_size": 32
|
| 842 |
+
},
|
| 843 |
+
"language_model.layers.*.ple.ngram_embedding.shards.122.weight": {
|
| 844 |
+
"bits": 4,
|
| 845 |
+
"group_size": 32
|
| 846 |
+
},
|
| 847 |
+
"language_model.layers.*.ple.ngram_embedding.shards.123.weight": {
|
| 848 |
+
"bits": 3,
|
| 849 |
+
"group_size": 32
|
| 850 |
+
},
|
| 851 |
+
"language_model.layers.*.ple.ngram_embedding.shards.124.weight": {
|
| 852 |
+
"bits": 3,
|
| 853 |
+
"group_size": 32
|
| 854 |
+
},
|
| 855 |
+
"language_model.layers.*.ple.ngram_embedding.shards.125.weight": {
|
| 856 |
+
"bits": 3,
|
| 857 |
+
"group_size": 32
|
| 858 |
+
},
|
| 859 |
+
"language_model.layers.*.ple.ngram_embedding.shards.126.weight": {
|
| 860 |
+
"bits": 3,
|
| 861 |
+
"group_size": 32
|
| 862 |
+
},
|
| 863 |
+
"language_model.layers.*.ple.ngram_embedding.shards.127.weight": {
|
| 864 |
+
"bits": 3,
|
| 865 |
+
"group_size": 32
|
| 866 |
+
},
|
| 867 |
+
"language_model.embed_tokens": {
|
| 868 |
+
"bits": 8,
|
| 869 |
+
"group_size": 64
|
| 870 |
+
},
|
| 871 |
+
"lm_head": {
|
| 872 |
+
"bits": 8,
|
| 873 |
+
"group_size": 64
|
| 874 |
+
},
|
| 875 |
+
"visual": {
|
| 876 |
+
"bits": 8,
|
| 877 |
+
"group_size": 64
|
| 878 |
+
},
|
| 879 |
+
"language_model.layers.*.mlp.gate.weight": {
|
| 880 |
+
"bits": 8,
|
| 881 |
+
"group_size": 64
|
| 882 |
+
},
|
| 883 |
+
"language_model.layers.*.self_attn": {
|
| 884 |
+
"bits": 8,
|
| 885 |
+
"group_size": 64
|
| 886 |
+
},
|
| 887 |
+
"language_model.layers.*.mlp.shared_expert.": {
|
| 888 |
+
"bits": 8,
|
| 889 |
+
"group_size": 64
|
| 890 |
+
},
|
| 891 |
+
"language_model.layers.*.linear_attn": {
|
| 892 |
+
"bits": 8,
|
| 893 |
+
"group_size": 64
|
| 894 |
+
},
|
| 895 |
+
"language_model.layers.*.ple.key_proj": {
|
| 896 |
+
"bits": 8,
|
| 897 |
+
"group_size": 64
|
| 898 |
+
},
|
| 899 |
+
"language_model.layers.*.ple.value_proj": {
|
| 900 |
+
"bits": 8,
|
| 901 |
+
"group_size": 64
|
| 902 |
+
},
|
| 903 |
+
"mtp.": {
|
| 904 |
+
"bits": 4,
|
| 905 |
+
"group_size": 64
|
| 906 |
+
}
|
| 907 |
+
},
|
| 908 |
+
"created": "2026-08-26",
|
| 909 |
+
"quantization": {
|
| 910 |
+
"calibrated": true,
|
| 911 |
+
"imatrix": "diag.safetensors",
|
| 912 |
+
"imatrix_refit": true,
|
| 913 |
+
"awq_folded": true,
|
| 914 |
+
"awq_scales": "awq_scales.safetensors",
|
| 915 |
+
"hessian_allocation": "jang_4m.json",
|
| 916 |
+
"gptq": false
|
| 917 |
+
},
|
| 918 |
+
"chat": {
|
| 919 |
+
"sampling_defaults": {
|
| 920 |
+
"temperature": 1.0,
|
| 921 |
+
"top_p": 0.95,
|
| 922 |
+
"top_k": 20,
|
| 923 |
+
"min_p": 0.0,
|
| 924 |
+
"presence_penalty": 0.0,
|
| 925 |
+
"repetition_penalty": 1.0
|
| 926 |
+
},
|
| 927 |
+
"sampling_modes": {
|
| 928 |
+
"thinking": {
|
| 929 |
+
"temperature": 1.0,
|
| 930 |
+
"top_p": 0.95,
|
| 931 |
+
"top_k": 20,
|
| 932 |
+
"min_p": 0.0,
|
| 933 |
+
"presence_penalty": 0.0,
|
| 934 |
+
"repetition_penalty": 1.0
|
| 935 |
+
},
|
| 936 |
+
"instruct": {
|
| 937 |
+
"temperature": 0.7,
|
| 938 |
+
"top_p": 0.8,
|
| 939 |
+
"top_k": 20,
|
| 940 |
+
"min_p": 0.0,
|
| 941 |
+
"presence_penalty": 1.5,
|
| 942 |
+
"repetition_penalty": 1.0
|
| 943 |
+
}
|
| 944 |
+
},
|
| 945 |
+
"default_sampling_mode": "thinking",
|
| 946 |
+
"recommended_max_tokens": {
|
| 947 |
+
"reasoning": 262144,
|
| 948 |
+
"final_response": 131072
|
| 949 |
+
}
|
| 950 |
+
},
|
| 951 |
+
"reasoning": {
|
| 952 |
+
"supported": true,
|
| 953 |
+
"default": "on",
|
| 954 |
+
"supported_reasoning_efforts": [
|
| 955 |
+
"low",
|
| 956 |
+
"medium",
|
| 957 |
+
"xhigh"
|
| 958 |
+
],
|
| 959 |
+
"default_reasoning_effort": "xhigh",
|
| 960 |
+
"reasoning_effort_transport": "chat_template_kwarg",
|
| 961 |
+
"preserve_thinking_supported": true,
|
| 962 |
+
"preserve_thinking_default": true,
|
| 963 |
+
"preserve_thinking_transport": "chat_template_kwarg",
|
| 964 |
+
"notes": "Thinking ON by default (<think> block). enable_thinking=False prefills a closed think block. Efforts verified 2026-08-26: low/medium inject system directives, xhigh==default render."
|
| 965 |
+
},
|
| 966 |
+
"capabilities": {
|
| 967 |
+
"has_vision": true,
|
| 968 |
+
"has_video": true,
|
| 969 |
+
"has_audio": false,
|
| 970 |
+
"supports_thinking": true,
|
| 971 |
+
"default_reasoning": "on",
|
| 972 |
+
"think_in_template": true,
|
| 973 |
+
"reasoning_parser": "qwen3",
|
| 974 |
+
"tool_parser": "hermes"
|
| 975 |
+
},
|
| 976 |
+
"mtp": {
|
| 977 |
+
"mtp_mode": "preserved_enabled",
|
| 978 |
+
"num_layers": 1,
|
| 979 |
+
"trained_multi_step": true,
|
| 980 |
+
"notes": "MTP head preserved (4-bit gs64 class). best_depth requires a measured acceptance+wall-clock sweep on the target runtime before any recommendation (unvalidated until then)."
|
| 981 |
+
},
|
| 982 |
+
"context": {
|
| 983 |
+
"native": 262144,
|
| 984 |
+
"extensible_yarn": 1000000
|
| 985 |
+
}
|
| 986 |
+
},
|
| 987 |
+
"capabilities": {
|
| 988 |
+
"has_vision": true,
|
| 989 |
+
"has_video": true,
|
| 990 |
+
"has_audio": false,
|
| 991 |
+
"supports_thinking": true,
|
| 992 |
+
"default_reasoning": "on",
|
| 993 |
+
"think_in_template": true,
|
| 994 |
+
"reasoning_parser": "qwen3",
|
| 995 |
+
"tool_parser": "hermes"
|
| 996 |
+
}
|
| 997 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 248044,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
248046,
|
| 6 |
+
248044
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 248044,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95
|
| 12 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5873d1199ad31349130c74260a365eb447dccb5a89ebda921511ea2f04f4d39b
|
| 3 |
+
size 5336991211
|
model-00002-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdc4d9becc72d9a7f3fd3c8f271fc3aeb5c1c7076dcb331afb8201420bc352ae
|
| 3 |
+
size 5450036745
|
model-00003-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecc11c3379b9382c83048bd6d5d18fc9bef66c405261ebccaca1961fc6589fce
|
| 3 |
+
size 5450036521
|
model-00004-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17c21c525b05099e0a2d7ef65989c2addbd8ecdc0b1abc3112369da918de62b4
|
| 3 |
+
size 5550037003
|
model-00005-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a21a63c657c7c7779145ebce640be1d1b8e67c6a4b9a2e0999266178fb91c334
|
| 3 |
+
size 5450036927
|
model-00006-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45fdb0baa834908960b1f106cea459c69a208a69e6357ea4f25547e8ca9af275
|
| 3 |
+
size 3720605883
|
model-00007-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:573de78dd7dd219c1bf8b4ac902cf091fe34ac545e5d59d1c9e91dff977fe9e9
|
| 3 |
+
size 5482961885
|
model-00008-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d7c50c667679a0b4efc7a0c6082084c06993f97f57ce96989cb971c262ce335
|
| 3 |
+
size 5562155652
|
model-00009-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3121c82348ac6e64c3ede95958a24164897c64045022cb04946367c0484b5186
|
| 3 |
+
size 1022912957
|
model-00010-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea1dca23921028c8fb051b6001dc8b30abdbb65c1a2e5f563c569756b92c121d
|
| 3 |
+
size 5482961908
|
model-00011-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f15bb8bcf7adb5887d8c54959a3f8e5aa15c6baadd7dfe82ab7c5ca577b658fb
|
| 3 |
+
size 5562155678
|
model-00012-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cebe46b2891114db643a06ee226dc11c3052f8dd4ac2e41c597646d13bfb48ca
|
| 3 |
+
size 1022912983
|
model-00013-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9fe1529f68f2ff24506daae6ccfb43e99a4fb4750cfd1b53a4ed7f9ff888496
|
| 3 |
+
size 5482961919
|
model-00014-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d0621077fdf939f4ff519649735948def1ff434be8681c4e719410cfb86faa3
|
| 3 |
+
size 5500533638
|
model-00015-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:463dc120e4086d267e3b97d7cfe23cb3aac566e23a3bf39879b26946dc1e4cd9
|
| 3 |
+
size 1077578064
|
model-00016-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df968ef20337e7876670ed92289bf21cd67c38b03b056712f7b38151490c25e1
|
| 3 |
+
size 5428296828
|
model-00017-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2678258f2062b4d219a9dd4525d6e864707ef2494ba31864f2d21cf1e0df52e
|
| 3 |
+
size 5562155742
|
model-00018-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e20617ddee54ede164334bad7a7a43f5c7255a2ce1a96c088169d86bfc2f1a79
|
| 3 |
+
size 1077578051
|
model-00019-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e633438a4af89bef6eb0c4e921bc5e124cba8136f00e8f87247452df32deb24
|
| 3 |
+
size 5489918857
|
model-00020-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81f102b932f5b22a9f15e1f537c85246726954e31fda214916c7afd390cf4e11
|
| 3 |
+
size 5562155780
|
model-00021-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f21a5691a6cfa9bcd27ed92fae7cff41694096ffe1dca2a16853cd10a94b93a3
|
| 3 |
+
size 1029190454
|
model-00022-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8f6fe0a62da688563cbfa243a69fccae437c469345f4c279068375a744b375e
|
| 3 |
+
size 5415062228
|
model-00023-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5850923a309a6c9a2dee89598134741ea6f893e216b2ab29b95c2b334951d9ea
|
| 3 |
+
size 5632512673
|
model-00024-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:534f9570b8808faae6c22aded5fa408b80e8f5fde618335551f4287ce92287c4
|
| 3 |
+
size 193675899
|
model-00025-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:440002cc3ec4464c2122bc36db227a26643fe449b17ae2ed0f02199b8f08c06f
|
| 3 |
+
size 353128967
|
model-00026-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fed4c3cd148c3529a04e33e6812d06635dc3a48d55fd5668344dd217a5e5fc3d
|
| 3 |
+
size 210814334
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
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 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0997f410c57a1f4e53b09e4be8f4a172d90edd9564368fb0847030937229b9f3
|
| 3 |
+
size 12809320
|
tokenizer_config.json
ADDED
|
@@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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"additional_special_tokens": [
|
| 270 |
+
"<|im_start|>",
|
| 271 |
+
"<|im_end|>",
|
| 272 |
+
"<|object_ref_start|>",
|
| 273 |
+
"<|object_ref_end|>",
|
| 274 |
+
"<|box_start|>",
|
| 275 |
+
"<|box_end|>",
|
| 276 |
+
"<|quad_start|>",
|
| 277 |
+
"<|quad_end|>",
|
| 278 |
+
"<|vision_start|>",
|
| 279 |
+
"<|vision_end|>",
|
| 280 |
+
"<|vision_pad|>",
|
| 281 |
+
"<|image_pad|>",
|
| 282 |
+
"<|video_pad|>"
|
| 283 |
+
],
|
| 284 |
+
"bos_token": null,
|
| 285 |
+
"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 reasoning_instructions = '' %}\n{%- if enable_thinking is undefined or enable_thinking is true %}\n {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}\n {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}\n {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}\n {%- endif %}\n {%- if resolved_reasoning_effort == 'xhigh' %}\n {%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}\n {%- elif resolved_reasoning_effort == 'low' %}\n {%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}\n {%- endif %}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {%- if reasoning_instructions %}\n {{- reasoning_instructions + '\\n\\n' }}\n {%- endif %}\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 messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '<|im_start|>system\\n' + (reasoning_instructions + '\\n\\n' if reasoning_instructions else '') + content + '<|im_end|>\\n' }}\n {%- elif reasoning_instructions %}\n {{- '<|im_start|>system\\n' + reasoning_instructions + '<|im_end|>\\n' }}\n {%- endif %}\n {%- elif reasoning_instructions %}\n {{- '<|im_start|>system\\n' + reasoning_instructions + '<|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{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif 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 {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if preserve_thinking is undefined or preserve_thinking is true or 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 defined and tool_call.arguments != '' %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}\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 {%- else %}\n {{- raise_exception('Unexpected message role.') }}\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 %}",
|
| 286 |
+
"clean_up_tokenization_spaces": false,
|
| 287 |
+
"eos_token": "<|im_end|>",
|
| 288 |
+
"errors": "replace",
|
| 289 |
+
"model_max_length": 262144,
|
| 290 |
+
"pad_token": "<|endoftext|>",
|
| 291 |
+
"split_special_tokens": false,
|
| 292 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 293 |
+
"unk_token": null,
|
| 294 |
+
"add_bos_token": false,
|
| 295 |
+
"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+",
|
| 296 |
+
"extra_special_tokens": {
|
| 297 |
+
"audio_bos_token": "<|audio_start|>",
|
| 298 |
+
"audio_eos_token": "<|audio_end|>",
|
| 299 |
+
"audio_token": "<|audio_pad|>",
|
| 300 |
+
"image_token": "<|image_pad|>",
|
| 301 |
+
"video_token": "<|video_pad|>",
|
| 302 |
+
"vision_bos_token": "<|vision_start|>",
|
| 303 |
+
"vision_eos_token": "<|vision_end|>"
|
| 304 |
+
}
|
| 305 |
+
}
|
video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 25165824,
|
| 4 |
+
"shortest_edge": 4096
|
| 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 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 21 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|