Launch80 commited on
Commit
9295d4e
·
verified ·
1 Parent(s): 9b9ee52

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,5 +1,45 @@
1
  ---
2
- license: apache-2.0
3
- base_model:
4
- - Qwen/Qwen3.6-27B
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: Qwen/Qwen3.6-27B
3
+ license: other
4
+ license_name: qwen
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - rfp458
8
+ - 4-bit
9
+ - quantized
10
+ - vllm
11
+ - rocm
12
+ - rdna4
13
+ - qwen3.6
14
+ ---
15
+
16
+ # Qwen3.6-27B-RFP458 (4.5 bpw)
17
+
18
+ A 4.5-bit-per-weight RFP458 quantization of [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B), a hybrid vision-language model (Gated-DeltaNet linear-attention + full-attention layers, with a vision tower and MTP head).
19
+
20
+ ## Summary
21
+
22
+ - **Format:** RFP458 (`rfp458-pack-quantized`): iq4_nl non-uniform 4-bit codebook, group size 16, signed-int8 block mantissa + per-channel int8 exponent, with hadamard16 weight rotation.
23
+ - **Size:** ~20.5 GB (vs ~27 GB for the FP8 build); ~9.4 GiB per card on a 2x 32 GB setup.
24
+ - **What is quantized:** the MLP linears, the GDN `in_proj_qkv` / `in_proj_z` / `out_proj`, and the full self-attention q/k/v/o projections. Embeddings, lm_head, the GDN gating projections (`in_proj_a` / `in_proj_b`), conv1d, norms, and the entire vision tower are kept in bf16.
25
+
26
+ ## Quality
27
+
28
+ WikiText-2 perplexity (llama.cpp-compatible, n_ctx 2048, full test set):
29
+
30
+ | Build | Size | PPL |
31
+ |---|---|---|
32
+ | **RFP458 (this model)** | 20.5 GB | **6.936** |
33
+ | FP8 (RedHatAI/Qwen3.6-27B-FP8) | ~27 GB | 7.071 |
34
+
35
+ RFP458 matches or slightly beats the FP8 build at roughly 25 percent smaller weight footprint.
36
+
37
+ ## Serving
38
+
39
+ Built for and validated on a vLLM build with native RFP458 dequant kernels on AMD RDNA4 (gfx1201, Radeon AI PRO R9700), tensor-parallel 2. The smaller weights free enough VRAM to serve the full 262K context with a large KV pool. Note that 4-bit-class formats carry a dequant cost, so single-stream decode runs roughly half the speed of the FP8 build on the same hardware; this is a capacity, footprint, and quality choice rather than a speed one.
40
+
41
+ ## License
42
+
43
+ Inherits the license of the base model, Qwen/Qwen3.6-27B. See the base model card for terms.
44
+
45
+ This is a community quantization and is not affiliated with the original model authors.
chat_template.jinja ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\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>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
101
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
102
+ {%- else %}
103
+ {{- '<|im_start|>' + message.role + '\n' + content }}
104
+ {%- endif %}
105
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
106
+ {%- for tool_call in message.tool_calls %}
107
+ {%- if tool_call.function is defined %}
108
+ {%- set tool_call = tool_call.function %}
109
+ {%- endif %}
110
+ {%- if loop.first %}
111
+ {%- if content|trim %}
112
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
113
+ {%- else %}
114
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- endif %}
116
+ {%- else %}
117
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- if tool_call.arguments is defined %}
120
+ {%- for args_name, args_value in tool_call.arguments|items %}
121
+ {{- '<parameter=' + args_name + '>\n' }}
122
+ {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
123
+ {{- args_value }}
124
+ {{- '\n</parameter>\n' }}
125
+ {%- endfor %}
126
+ {%- endif %}
127
+ {{- '</function>\n</tool_call>' }}
128
+ {%- endfor %}
129
+ {%- endif %}
130
+ {{- '<|im_end|>\n' }}
131
+ {%- elif message.role == "tool" %}
132
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
133
+ {{- '<|im_start|>user' }}
134
+ {%- endif %}
135
+ {{- '\n<tool_response>\n' }}
136
+ {{- content }}
137
+ {{- '\n</tool_response>' }}
138
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
139
+ {{- '<|im_end|>\n' }}
140
+ {%- elif loop.last %}
141
+ {{- '<|im_end|>\n' }}
142
+ {%- endif %}
143
+ {%- else %}
144
+ {{- raise_exception('Unexpected message role.') }}
145
+ {%- endif %}
146
+ {%- endfor %}
147
+ {%- if add_generation_prompt %}
148
+ {{- '<|im_start|>assistant\n' }}
149
+ {%- if enable_thinking is defined and enable_thinking is false %}
150
+ {{- '<think>\n\n</think>\n\n' }}
151
+ {%- else %}
152
+ {{- '<think>\n' }}
153
+ {%- endif %}
154
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,425 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "image_token_id": 248056,
6
+ "language_model_only": false,
7
+ "model_type": "qwen3_5",
8
+ "text_config": {
9
+ "attention_bias": false,
10
+ "attention_dropout": 0.0,
11
+ "attn_output_gate": true,
12
+ "bos_token_id": 248044,
13
+ "dtype": "bfloat16",
14
+ "eos_token_id": 248044,
15
+ "full_attention_interval": 4,
16
+ "head_dim": 256,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 5120,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 17408,
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
+ "linear_attention",
55
+ "linear_attention",
56
+ "linear_attention",
57
+ "full_attention",
58
+ "linear_attention",
59
+ "linear_attention",
60
+ "linear_attention",
61
+ "full_attention",
62
+ "linear_attention",
63
+ "linear_attention",
64
+ "linear_attention",
65
+ "full_attention",
66
+ "linear_attention",
67
+ "linear_attention",
68
+ "linear_attention",
69
+ "full_attention",
70
+ "linear_attention",
71
+ "linear_attention",
72
+ "linear_attention",
73
+ "full_attention",
74
+ "linear_attention",
75
+ "linear_attention",
76
+ "linear_attention",
77
+ "full_attention",
78
+ "linear_attention",
79
+ "linear_attention",
80
+ "linear_attention",
81
+ "full_attention",
82
+ "linear_attention",
83
+ "linear_attention",
84
+ "linear_attention",
85
+ "full_attention"
86
+ ],
87
+ "linear_conv_kernel_dim": 4,
88
+ "linear_key_head_dim": 128,
89
+ "linear_num_key_heads": 16,
90
+ "linear_num_value_heads": 48,
91
+ "linear_value_head_dim": 128,
92
+ "mamba_ssm_dtype": "float32",
93
+ "max_position_embeddings": 262144,
94
+ "model_type": "qwen3_5_text",
95
+ "mtp_num_hidden_layers": 1,
96
+ "mtp_use_dedicated_embeddings": false,
97
+ "num_attention_heads": 24,
98
+ "num_hidden_layers": 64,
99
+ "num_key_value_heads": 4,
100
+ "output_gate_type": "swish",
101
+ "pad_token_id": null,
102
+ "partial_rotary_factor": 0.25,
103
+ "rms_norm_eps": 1e-06,
104
+ "rope_parameters": {
105
+ "mrope_interleaved": true,
106
+ "mrope_section": [
107
+ 11,
108
+ 11,
109
+ 10
110
+ ],
111
+ "partial_rotary_factor": 0.25,
112
+ "rope_theta": 10000000,
113
+ "rope_type": "default"
114
+ },
115
+ "tie_word_embeddings": false,
116
+ "use_cache": true,
117
+ "vocab_size": 248320
118
+ },
119
+ "tie_word_embeddings": false,
120
+ "transformers_version": "4.57.1",
121
+ "video_token_id": 248057,
122
+ "vision_config": {
123
+ "deepstack_visual_indexes": [],
124
+ "depth": 27,
125
+ "hidden_act": "gelu_pytorch_tanh",
126
+ "hidden_size": 1152,
127
+ "in_channels": 3,
128
+ "initializer_range": 0.02,
129
+ "intermediate_size": 4304,
130
+ "model_type": "qwen3_5",
131
+ "num_heads": 16,
132
+ "num_position_embeddings": 2304,
133
+ "out_hidden_size": 5120,
134
+ "patch_size": 16,
135
+ "spatial_merge_size": 2,
136
+ "temporal_patch_size": 2
137
+ },
138
+ "vision_end_token_id": 248054,
139
+ "vision_start_token_id": 248053,
140
+ "quantization_config": {
141
+ "config_groups": {
142
+ "group_0": {
143
+ "format": "rfp458-pack-quantized",
144
+ "input_activations": null,
145
+ "output_activations": null,
146
+ "targets": [
147
+ "Linear"
148
+ ],
149
+ "weights": {
150
+ "num_bits": 4,
151
+ "type": "float",
152
+ "group_size": 16,
153
+ "grid": "iq4_nl",
154
+ "codebook": [
155
+ -127,
156
+ -104,
157
+ -83,
158
+ -65,
159
+ -49,
160
+ -35,
161
+ -22,
162
+ -10,
163
+ 1,
164
+ 13,
165
+ 25,
166
+ 38,
167
+ 53,
168
+ 69,
169
+ 89,
170
+ 113
171
+ ],
172
+ "scale_dtype": "torch.int8",
173
+ "scale_exp_dtype": "torch.int8",
174
+ "scale_encoding": "block_float_i8m_i8e",
175
+ "symmetric": false,
176
+ "rotation": "hadamard16"
177
+ }
178
+ }
179
+ },
180
+ "format": "rfp458-pack-quantized",
181
+ "quant_method": "rfp458",
182
+ "quantization_status": "compressed",
183
+ "version": "rfp458-1.0",
184
+ "ignore": [
185
+ "re:.*\\.visual\\..*",
186
+ "re:^lm_head",
187
+ "re:.*\\.mtp\\..*",
188
+ "re:^model\\.language_model\\.layers\\.0\\.linear_attn\\.conv1d$",
189
+ "re:^model\\.language_model\\.layers\\.0\\.linear_attn\\.in_proj_a$",
190
+ "re:^model\\.language_model\\.layers\\.0\\.linear_attn\\.in_proj_b$",
191
+ "re:^model\\.language_model\\.layers\\.0\\.linear_attn\\.norm$",
192
+ "re:^model\\.language_model\\.layers\\.1\\.linear_attn\\.conv1d$",
193
+ "re:^model\\.language_model\\.layers\\.1\\.linear_attn\\.in_proj_a$",
194
+ "re:^model\\.language_model\\.layers\\.1\\.linear_attn\\.in_proj_b$",
195
+ "re:^model\\.language_model\\.layers\\.1\\.linear_attn\\.norm$",
196
+ "re:^model\\.language_model\\.layers\\.10\\.linear_attn\\.conv1d$",
197
+ "re:^model\\.language_model\\.layers\\.10\\.linear_attn\\.in_proj_a$",
198
+ "re:^model\\.language_model\\.layers\\.10\\.linear_attn\\.in_proj_b$",
199
+ "re:^model\\.language_model\\.layers\\.10\\.linear_attn\\.norm$",
200
+ "re:^model\\.language_model\\.layers\\.11\\.self_attn\\.k_norm$",
201
+ "re:^model\\.language_model\\.layers\\.11\\.self_attn\\.q_norm$",
202
+ "re:^model\\.language_model\\.layers\\.12\\.linear_attn\\.conv1d$",
203
+ "re:^model\\.language_model\\.layers\\.12\\.linear_attn\\.in_proj_a$",
204
+ "re:^model\\.language_model\\.layers\\.12\\.linear_attn\\.in_proj_b$",
205
+ "re:^model\\.language_model\\.layers\\.12\\.linear_attn\\.norm$",
206
+ "re:^model\\.language_model\\.layers\\.13\\.linear_attn\\.conv1d$",
207
+ "re:^model\\.language_model\\.layers\\.13\\.linear_attn\\.in_proj_a$",
208
+ "re:^model\\.language_model\\.layers\\.13\\.linear_attn\\.in_proj_b$",
209
+ "re:^model\\.language_model\\.layers\\.13\\.linear_attn\\.norm$",
210
+ "re:^model\\.language_model\\.layers\\.14\\.linear_attn\\.conv1d$",
211
+ "re:^model\\.language_model\\.layers\\.14\\.linear_attn\\.in_proj_a$",
212
+ "re:^model\\.language_model\\.layers\\.14\\.linear_attn\\.in_proj_b$",
213
+ "re:^model\\.language_model\\.layers\\.14\\.linear_attn\\.norm$",
214
+ "re:^model\\.language_model\\.layers\\.15\\.self_attn\\.k_norm$",
215
+ "re:^model\\.language_model\\.layers\\.15\\.self_attn\\.q_norm$",
216
+ "re:^model\\.language_model\\.layers\\.16\\.linear_attn\\.conv1d$",
217
+ "re:^model\\.language_model\\.layers\\.16\\.linear_attn\\.in_proj_a$",
218
+ "re:^model\\.language_model\\.layers\\.16\\.linear_attn\\.in_proj_b$",
219
+ "re:^model\\.language_model\\.layers\\.16\\.linear_attn\\.norm$",
220
+ "re:^model\\.language_model\\.layers\\.17\\.linear_attn\\.conv1d$",
221
+ "re:^model\\.language_model\\.layers\\.17\\.linear_attn\\.in_proj_a$",
222
+ "re:^model\\.language_model\\.layers\\.17\\.linear_attn\\.in_proj_b$",
223
+ "re:^model\\.language_model\\.layers\\.17\\.linear_attn\\.norm$",
224
+ "re:^model\\.language_model\\.layers\\.18\\.linear_attn\\.conv1d$",
225
+ "re:^model\\.language_model\\.layers\\.18\\.linear_attn\\.in_proj_a$",
226
+ "re:^model\\.language_model\\.layers\\.18\\.linear_attn\\.in_proj_b$",
227
+ "re:^model\\.language_model\\.layers\\.18\\.linear_attn\\.norm$",
228
+ "re:^model\\.language_model\\.layers\\.19\\.self_attn\\.k_norm$",
229
+ "re:^model\\.language_model\\.layers\\.19\\.self_attn\\.q_norm$",
230
+ "re:^model\\.language_model\\.layers\\.2\\.linear_attn\\.conv1d$",
231
+ "re:^model\\.language_model\\.layers\\.2\\.linear_attn\\.in_proj_a$",
232
+ "re:^model\\.language_model\\.layers\\.2\\.linear_attn\\.in_proj_b$",
233
+ "re:^model\\.language_model\\.layers\\.2\\.linear_attn\\.norm$",
234
+ "re:^model\\.language_model\\.layers\\.20\\.linear_attn\\.conv1d$",
235
+ "re:^model\\.language_model\\.layers\\.20\\.linear_attn\\.in_proj_a$",
236
+ "re:^model\\.language_model\\.layers\\.20\\.linear_attn\\.in_proj_b$",
237
+ "re:^model\\.language_model\\.layers\\.20\\.linear_attn\\.norm$",
238
+ "re:^model\\.language_model\\.layers\\.21\\.linear_attn\\.conv1d$",
239
+ "re:^model\\.language_model\\.layers\\.21\\.linear_attn\\.in_proj_a$",
240
+ "re:^model\\.language_model\\.layers\\.21\\.linear_attn\\.in_proj_b$",
241
+ "re:^model\\.language_model\\.layers\\.21\\.linear_attn\\.norm$",
242
+ "re:^model\\.language_model\\.layers\\.22\\.linear_attn\\.conv1d$",
243
+ "re:^model\\.language_model\\.layers\\.22\\.linear_attn\\.in_proj_a$",
244
+ "re:^model\\.language_model\\.layers\\.22\\.linear_attn\\.in_proj_b$",
245
+ "re:^model\\.language_model\\.layers\\.22\\.linear_attn\\.norm$",
246
+ "re:^model\\.language_model\\.layers\\.23\\.self_attn\\.k_norm$",
247
+ "re:^model\\.language_model\\.layers\\.23\\.self_attn\\.q_norm$",
248
+ "re:^model\\.language_model\\.layers\\.24\\.linear_attn\\.conv1d$",
249
+ "re:^model\\.language_model\\.layers\\.24\\.linear_attn\\.in_proj_a$",
250
+ "re:^model\\.language_model\\.layers\\.24\\.linear_attn\\.in_proj_b$",
251
+ "re:^model\\.language_model\\.layers\\.24\\.linear_attn\\.norm$",
252
+ "re:^model\\.language_model\\.layers\\.25\\.linear_attn\\.conv1d$",
253
+ "re:^model\\.language_model\\.layers\\.25\\.linear_attn\\.in_proj_a$",
254
+ "re:^model\\.language_model\\.layers\\.25\\.linear_attn\\.in_proj_b$",
255
+ "re:^model\\.language_model\\.layers\\.25\\.linear_attn\\.norm$",
256
+ "re:^model\\.language_model\\.layers\\.26\\.linear_attn\\.conv1d$",
257
+ "re:^model\\.language_model\\.layers\\.26\\.linear_attn\\.in_proj_a$",
258
+ "re:^model\\.language_model\\.layers\\.26\\.linear_attn\\.in_proj_b$",
259
+ "re:^model\\.language_model\\.layers\\.26\\.linear_attn\\.norm$",
260
+ "re:^model\\.language_model\\.layers\\.27\\.self_attn\\.k_norm$",
261
+ "re:^model\\.language_model\\.layers\\.27\\.self_attn\\.q_norm$",
262
+ "re:^model\\.language_model\\.layers\\.28\\.linear_attn\\.conv1d$",
263
+ "re:^model\\.language_model\\.layers\\.28\\.linear_attn\\.in_proj_a$",
264
+ "re:^model\\.language_model\\.layers\\.28\\.linear_attn\\.in_proj_b$",
265
+ "re:^model\\.language_model\\.layers\\.28\\.linear_attn\\.norm$",
266
+ "re:^model\\.language_model\\.layers\\.29\\.linear_attn\\.conv1d$",
267
+ "re:^model\\.language_model\\.layers\\.29\\.linear_attn\\.in_proj_a$",
268
+ "re:^model\\.language_model\\.layers\\.29\\.linear_attn\\.in_proj_b$",
269
+ "re:^model\\.language_model\\.layers\\.29\\.linear_attn\\.norm$",
270
+ "re:^model\\.language_model\\.layers\\.3\\.self_attn\\.k_norm$",
271
+ "re:^model\\.language_model\\.layers\\.3\\.self_attn\\.q_norm$",
272
+ "re:^model\\.language_model\\.layers\\.30\\.linear_attn\\.conv1d$",
273
+ "re:^model\\.language_model\\.layers\\.30\\.linear_attn\\.in_proj_a$",
274
+ "re:^model\\.language_model\\.layers\\.30\\.linear_attn\\.in_proj_b$",
275
+ "re:^model\\.language_model\\.layers\\.30\\.linear_attn\\.norm$",
276
+ "re:^model\\.language_model\\.layers\\.31\\.self_attn\\.k_norm$",
277
+ "re:^model\\.language_model\\.layers\\.31\\.self_attn\\.q_norm$",
278
+ "re:^model\\.language_model\\.layers\\.32\\.linear_attn\\.conv1d$",
279
+ "re:^model\\.language_model\\.layers\\.32\\.linear_attn\\.in_proj_a$",
280
+ "re:^model\\.language_model\\.layers\\.32\\.linear_attn\\.in_proj_b$",
281
+ "re:^model\\.language_model\\.layers\\.32\\.linear_attn\\.norm$",
282
+ "re:^model\\.language_model\\.layers\\.33\\.linear_attn\\.conv1d$",
283
+ "re:^model\\.language_model\\.layers\\.33\\.linear_attn\\.in_proj_a$",
284
+ "re:^model\\.language_model\\.layers\\.33\\.linear_attn\\.in_proj_b$",
285
+ "re:^model\\.language_model\\.layers\\.33\\.linear_attn\\.norm$",
286
+ "re:^model\\.language_model\\.layers\\.34\\.linear_attn\\.conv1d$",
287
+ "re:^model\\.language_model\\.layers\\.34\\.linear_attn\\.in_proj_a$",
288
+ "re:^model\\.language_model\\.layers\\.34\\.linear_attn\\.in_proj_b$",
289
+ "re:^model\\.language_model\\.layers\\.34\\.linear_attn\\.norm$",
290
+ "re:^model\\.language_model\\.layers\\.35\\.self_attn\\.k_norm$",
291
+ "re:^model\\.language_model\\.layers\\.35\\.self_attn\\.q_norm$",
292
+ "re:^model\\.language_model\\.layers\\.36\\.linear_attn\\.conv1d$",
293
+ "re:^model\\.language_model\\.layers\\.36\\.linear_attn\\.in_proj_a$",
294
+ "re:^model\\.language_model\\.layers\\.36\\.linear_attn\\.in_proj_b$",
295
+ "re:^model\\.language_model\\.layers\\.36\\.linear_attn\\.norm$",
296
+ "re:^model\\.language_model\\.layers\\.37\\.linear_attn\\.conv1d$",
297
+ "re:^model\\.language_model\\.layers\\.37\\.linear_attn\\.in_proj_a$",
298
+ "re:^model\\.language_model\\.layers\\.37\\.linear_attn\\.in_proj_b$",
299
+ "re:^model\\.language_model\\.layers\\.37\\.linear_attn\\.norm$",
300
+ "re:^model\\.language_model\\.layers\\.38\\.linear_attn\\.conv1d$",
301
+ "re:^model\\.language_model\\.layers\\.38\\.linear_attn\\.in_proj_a$",
302
+ "re:^model\\.language_model\\.layers\\.38\\.linear_attn\\.in_proj_b$",
303
+ "re:^model\\.language_model\\.layers\\.38\\.linear_attn\\.norm$",
304
+ "re:^model\\.language_model\\.layers\\.39\\.self_attn\\.k_norm$",
305
+ "re:^model\\.language_model\\.layers\\.39\\.self_attn\\.q_norm$",
306
+ "re:^model\\.language_model\\.layers\\.4\\.linear_attn\\.conv1d$",
307
+ "re:^model\\.language_model\\.layers\\.4\\.linear_attn\\.in_proj_a$",
308
+ "re:^model\\.language_model\\.layers\\.4\\.linear_attn\\.in_proj_b$",
309
+ "re:^model\\.language_model\\.layers\\.4\\.linear_attn\\.norm$",
310
+ "re:^model\\.language_model\\.layers\\.40\\.linear_attn\\.conv1d$",
311
+ "re:^model\\.language_model\\.layers\\.40\\.linear_attn\\.in_proj_a$",
312
+ "re:^model\\.language_model\\.layers\\.40\\.linear_attn\\.in_proj_b$",
313
+ "re:^model\\.language_model\\.layers\\.40\\.linear_attn\\.norm$",
314
+ "re:^model\\.language_model\\.layers\\.41\\.linear_attn\\.conv1d$",
315
+ "re:^model\\.language_model\\.layers\\.41\\.linear_attn\\.in_proj_a$",
316
+ "re:^model\\.language_model\\.layers\\.41\\.linear_attn\\.in_proj_b$",
317
+ "re:^model\\.language_model\\.layers\\.41\\.linear_attn\\.norm$",
318
+ "re:^model\\.language_model\\.layers\\.42\\.linear_attn\\.conv1d$",
319
+ "re:^model\\.language_model\\.layers\\.42\\.linear_attn\\.in_proj_a$",
320
+ "re:^model\\.language_model\\.layers\\.42\\.linear_attn\\.in_proj_b$",
321
+ "re:^model\\.language_model\\.layers\\.42\\.linear_attn\\.norm$",
322
+ "re:^model\\.language_model\\.layers\\.43\\.self_attn\\.k_norm$",
323
+ "re:^model\\.language_model\\.layers\\.43\\.self_attn\\.q_norm$",
324
+ "re:^model\\.language_model\\.layers\\.44\\.linear_attn\\.conv1d$",
325
+ "re:^model\\.language_model\\.layers\\.44\\.linear_attn\\.in_proj_a$",
326
+ "re:^model\\.language_model\\.layers\\.44\\.linear_attn\\.in_proj_b$",
327
+ "re:^model\\.language_model\\.layers\\.44\\.linear_attn\\.norm$",
328
+ "re:^model\\.language_model\\.layers\\.45\\.linear_attn\\.conv1d$",
329
+ "re:^model\\.language_model\\.layers\\.45\\.linear_attn\\.in_proj_a$",
330
+ "re:^model\\.language_model\\.layers\\.45\\.linear_attn\\.in_proj_b$",
331
+ "re:^model\\.language_model\\.layers\\.45\\.linear_attn\\.norm$",
332
+ "re:^model\\.language_model\\.layers\\.46\\.linear_attn\\.conv1d$",
333
+ "re:^model\\.language_model\\.layers\\.46\\.linear_attn\\.in_proj_a$",
334
+ "re:^model\\.language_model\\.layers\\.46\\.linear_attn\\.in_proj_b$",
335
+ "re:^model\\.language_model\\.layers\\.46\\.linear_attn\\.norm$",
336
+ "re:^model\\.language_model\\.layers\\.47\\.self_attn\\.k_norm$",
337
+ "re:^model\\.language_model\\.layers\\.47\\.self_attn\\.q_norm$",
338
+ "re:^model\\.language_model\\.layers\\.48\\.linear_attn\\.conv1d$",
339
+ "re:^model\\.language_model\\.layers\\.48\\.linear_attn\\.in_proj_a$",
340
+ "re:^model\\.language_model\\.layers\\.48\\.linear_attn\\.in_proj_b$",
341
+ "re:^model\\.language_model\\.layers\\.48\\.linear_attn\\.norm$",
342
+ "re:^model\\.language_model\\.layers\\.49\\.linear_attn\\.conv1d$",
343
+ "re:^model\\.language_model\\.layers\\.49\\.linear_attn\\.in_proj_a$",
344
+ "re:^model\\.language_model\\.layers\\.49\\.linear_attn\\.in_proj_b$",
345
+ "re:^model\\.language_model\\.layers\\.49\\.linear_attn\\.norm$",
346
+ "re:^model\\.language_model\\.layers\\.5\\.linear_attn\\.conv1d$",
347
+ "re:^model\\.language_model\\.layers\\.5\\.linear_attn\\.in_proj_a$",
348
+ "re:^model\\.language_model\\.layers\\.5\\.linear_attn\\.in_proj_b$",
349
+ "re:^model\\.language_model\\.layers\\.5\\.linear_attn\\.norm$",
350
+ "re:^model\\.language_model\\.layers\\.50\\.linear_attn\\.conv1d$",
351
+ "re:^model\\.language_model\\.layers\\.50\\.linear_attn\\.in_proj_a$",
352
+ "re:^model\\.language_model\\.layers\\.50\\.linear_attn\\.in_proj_b$",
353
+ "re:^model\\.language_model\\.layers\\.50\\.linear_attn\\.norm$",
354
+ "re:^model\\.language_model\\.layers\\.51\\.self_attn\\.k_norm$",
355
+ "re:^model\\.language_model\\.layers\\.51\\.self_attn\\.q_norm$",
356
+ "re:^model\\.language_model\\.layers\\.52\\.linear_attn\\.conv1d$",
357
+ "re:^model\\.language_model\\.layers\\.52\\.linear_attn\\.in_proj_a$",
358
+ "re:^model\\.language_model\\.layers\\.52\\.linear_attn\\.in_proj_b$",
359
+ "re:^model\\.language_model\\.layers\\.52\\.linear_attn\\.norm$",
360
+ "re:^model\\.language_model\\.layers\\.53\\.linear_attn\\.conv1d$",
361
+ "re:^model\\.language_model\\.layers\\.53\\.linear_attn\\.in_proj_a$",
362
+ "re:^model\\.language_model\\.layers\\.53\\.linear_attn\\.in_proj_b$",
363
+ "re:^model\\.language_model\\.layers\\.53\\.linear_attn\\.norm$",
364
+ "re:^model\\.language_model\\.layers\\.54\\.linear_attn\\.conv1d$",
365
+ "re:^model\\.language_model\\.layers\\.54\\.linear_attn\\.in_proj_a$",
366
+ "re:^model\\.language_model\\.layers\\.54\\.linear_attn\\.in_proj_b$",
367
+ "re:^model\\.language_model\\.layers\\.54\\.linear_attn\\.norm$",
368
+ "re:^model\\.language_model\\.layers\\.55\\.self_attn\\.k_norm$",
369
+ "re:^model\\.language_model\\.layers\\.55\\.self_attn\\.q_norm$",
370
+ "re:^model\\.language_model\\.layers\\.56\\.linear_attn\\.conv1d$",
371
+ "re:^model\\.language_model\\.layers\\.56\\.linear_attn\\.in_proj_a$",
372
+ "re:^model\\.language_model\\.layers\\.56\\.linear_attn\\.in_proj_b$",
373
+ "re:^model\\.language_model\\.layers\\.56\\.linear_attn\\.norm$",
374
+ "re:^model\\.language_model\\.layers\\.57\\.linear_attn\\.conv1d$",
375
+ "re:^model\\.language_model\\.layers\\.57\\.linear_attn\\.in_proj_a$",
376
+ "re:^model\\.language_model\\.layers\\.57\\.linear_attn\\.in_proj_b$",
377
+ "re:^model\\.language_model\\.layers\\.57\\.linear_attn\\.norm$",
378
+ "re:^model\\.language_model\\.layers\\.58\\.linear_attn\\.conv1d$",
379
+ "re:^model\\.language_model\\.layers\\.58\\.linear_attn\\.in_proj_a$",
380
+ "re:^model\\.language_model\\.layers\\.58\\.linear_attn\\.in_proj_b$",
381
+ "re:^model\\.language_model\\.layers\\.58\\.linear_attn\\.norm$",
382
+ "re:^model\\.language_model\\.layers\\.59\\.self_attn\\.k_norm$",
383
+ "re:^model\\.language_model\\.layers\\.59\\.self_attn\\.q_norm$",
384
+ "re:^model\\.language_model\\.layers\\.6\\.linear_attn\\.conv1d$",
385
+ "re:^model\\.language_model\\.layers\\.6\\.linear_attn\\.in_proj_a$",
386
+ "re:^model\\.language_model\\.layers\\.6\\.linear_attn\\.in_proj_b$",
387
+ "re:^model\\.language_model\\.layers\\.6\\.linear_attn\\.norm$",
388
+ "re:^model\\.language_model\\.layers\\.60\\.linear_attn\\.conv1d$",
389
+ "re:^model\\.language_model\\.layers\\.60\\.linear_attn\\.in_proj_a$",
390
+ "re:^model\\.language_model\\.layers\\.60\\.linear_attn\\.in_proj_b$",
391
+ "re:^model\\.language_model\\.layers\\.60\\.linear_attn\\.norm$",
392
+ "re:^model\\.language_model\\.layers\\.61\\.linear_attn\\.conv1d$",
393
+ "re:^model\\.language_model\\.layers\\.61\\.linear_attn\\.in_proj_a$",
394
+ "re:^model\\.language_model\\.layers\\.61\\.linear_attn\\.in_proj_b$",
395
+ "re:^model\\.language_model\\.layers\\.61\\.linear_attn\\.norm$",
396
+ "re:^model\\.language_model\\.layers\\.62\\.linear_attn\\.conv1d$",
397
+ "re:^model\\.language_model\\.layers\\.62\\.linear_attn\\.in_proj_a$",
398
+ "re:^model\\.language_model\\.layers\\.62\\.linear_attn\\.in_proj_b$",
399
+ "re:^model\\.language_model\\.layers\\.62\\.linear_attn\\.norm$",
400
+ "re:^model\\.language_model\\.layers\\.63\\.self_attn\\.k_norm$",
401
+ "re:^model\\.language_model\\.layers\\.63\\.self_attn\\.q_norm$",
402
+ "re:^model\\.language_model\\.layers\\.7\\.self_attn\\.k_norm$",
403
+ "re:^model\\.language_model\\.layers\\.7\\.self_attn\\.q_norm$",
404
+ "re:^model\\.language_model\\.layers\\.8\\.linear_attn\\.conv1d$",
405
+ "re:^model\\.language_model\\.layers\\.8\\.linear_attn\\.in_proj_a$",
406
+ "re:^model\\.language_model\\.layers\\.8\\.linear_attn\\.in_proj_b$",
407
+ "re:^model\\.language_model\\.layers\\.8\\.linear_attn\\.norm$",
408
+ "re:^model\\.language_model\\.layers\\.9\\.linear_attn\\.conv1d$",
409
+ "re:^model\\.language_model\\.layers\\.9\\.linear_attn\\.in_proj_a$",
410
+ "re:^model\\.language_model\\.layers\\.9\\.linear_attn\\.in_proj_b$",
411
+ "re:^model\\.language_model\\.layers\\.9\\.linear_attn\\.norm$",
412
+ "re:^mtp\\.fc$",
413
+ "re:^mtp\\.layers\\.0\\.input_layernorm$",
414
+ "re:^mtp\\.layers\\.0\\.mlp\\.down_proj$",
415
+ "re:^mtp\\.layers\\.0\\.mlp\\.gate_proj$",
416
+ "re:^mtp\\.layers\\.0\\.mlp\\.up_proj$",
417
+ "re:^mtp\\.layers\\.0\\.post_attention_layernorm$",
418
+ "re:^mtp\\.layers\\.0\\.self_attn\\.k_norm$",
419
+ "re:^mtp\\.layers\\.0\\.self_attn\\.q_norm$",
420
+ "re:^mtp\\.norm$",
421
+ "re:^mtp\\.pre_fc_norm_embedding$",
422
+ "re:^mtp\\.pre_fc_norm_hidden$"
423
+ ]
424
+ }
425
+ }
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework":"Pytorch","task":"image-text-to-text"}
eval_metrics.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Qwen3.6-27B-RFP458 ===
2
+ arch: qwen3_5
3
+ codebook: [-127, -104, -83, -65, -49, -35, -22, -10, 1, 13, 25, 38, 53, 69, 89, 113]
4
+ rotation: hadamard16
5
+
6
+ [integrity] shards=4 missing=none
7
+ [integrity] index total_size=20.45GB on-disk safetensors sum=20.45GB
8
+ [integrity] tensors: index=2007 headers=2007 OK
9
+
10
+ [coverage] quantized expert-mods=0 linear-mods=192 fp16-protected=0 copied=1007
11
+ [coverage] missing/bad: 212 e.g. model.language_model.layers.21.linear_attn.in_proj_qkv.weight (copy missing)
12
+
13
+ [bpw] quant-target params=17.11B rfp458 bytes=9.63GB -> 4.501 bits/weight
14
+ [size] total=20.45GB = rfp458 9.63GB + copied(bf16/other) 10.82GB
15
+
16
+ [fidelity] dequant vs source (relFro / SQNR):
17
+ model.language_model.layers.0.mlp.down_proj relFro=6.335% SQNR=24.0 dB
18
+ model.language_model.layers.0.mlp.gate_proj relFro=6.335% SQNR=24.0 dB
19
+ model.language_model.layers.0.mlp.up_proj relFro=6.338% SQNR=24.0 dB
20
+ model.language_model.layers.32.mlp.down_proj relFro=6.336% SQNR=24.0 dB
21
+ model.language_model.layers.32.mlp.gate_proj relFro=6.327% SQNR=24.0 dB
22
+ model.language_model.layers.32.mlp.up_proj relFro=6.325% SQNR=24.0 dB
23
+ model.language_model.layers.63.mlp.down_proj relFro=6.321% SQNR=24.0 dB
24
+ model.language_model.layers.63.mlp.gate_proj relFro=6.334% SQNR=24.0 dB
25
+ model.language_model.layers.63.mlp.up_proj relFro=6.335% SQNR=24.0 dB
26
+
27
+ DONE
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
+ }
model-00000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c42a324d0f392d0f1355638df67203867b9e78068a25de51981bd9f26d26e7a7
3
+ size 5372043320
model-00001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb6e81aef3ec176844f3e86bf00eda185b4cce45b01adac9086a45e9a03978b1
3
+ size 5404162600
model-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22c6cabc709df894d089133ac5d6d014cd42f5c589ba39e5325eeaa8417e7f7a
3
+ size 5389644528
model-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:534b682a19206d68e3cb2226ba10b426b719d78aca74df6a38f56ce91eba87a1
3
+ size 4280444248
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:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
3
+ size 12807982
tokenizer_config.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if 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 {{- '<|im_start|>system\\n' + content + '<|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 {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if (preserve_thinking is defined and 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 %}\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
+ }