Instructions to use tcclaviger/Qwen3.8-27B-RFI8-AA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tcclaviger/Qwen3.8-27B-RFI8-AA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="tcclaviger/Qwen3.8-27B-RFI8-AA") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("tcclaviger/Qwen3.8-27B-RFI8-AA") model = AutoModelForMultimodalLM.from_pretrained("tcclaviger/Qwen3.8-27B-RFI8-AA", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tcclaviger/Qwen3.8-27B-RFI8-AA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tcclaviger/Qwen3.8-27B-RFI8-AA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tcclaviger/Qwen3.8-27B-RFI8-AA", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/tcclaviger/Qwen3.8-27B-RFI8-AA
- SGLang
How to use tcclaviger/Qwen3.8-27B-RFI8-AA with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tcclaviger/Qwen3.8-27B-RFI8-AA" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tcclaviger/Qwen3.8-27B-RFI8-AA", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tcclaviger/Qwen3.8-27B-RFI8-AA" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tcclaviger/Qwen3.8-27B-RFI8-AA", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use tcclaviger/Qwen3.8-27B-RFI8-AA with Docker Model Runner:
docker model run hf.co/tcclaviger/Qwen3.8-27B-RFI8-AA
Qwen3.8-27B RFI8 AA quant with calibrated KV scales (target + MTP draft)
Browse files- .gitattributes +1 -0
- LICENSE +202 -0
- README.md +641 -0
- chat_template.jinja +170 -0
- config.json +2359 -0
- generation_config.json +12 -0
- merges.txt +0 -0
- model-00000.safetensors +3 -0
- model-00001.safetensors +3 -0
- model-00002.safetensors +3 -0
- model-00003.safetensors +3 -0
- model-00004.safetensors +3 -0
- model-00005.safetensors +3 -0
- model-00006.safetensors +3 -0
- model-00007.safetensors +3 -0
- model-kvscales.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
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright 2026 Alibaba Cloud
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
pipeline_tag: image-text-to-text
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
<div style="background: linear-gradient(135deg, #6a1b9a, #8e24aa); border: 2px solid #4a148c; border-radius: 12px; padding: 20px; color: #ffffff; margin-bottom: 24px;">
|
| 8 |
+
|
| 9 |
+
## RFI8 Activation-Aware Quant — read this first
|
| 10 |
+
|
| 11 |
+
This is an **RFI8 activation-aware quantization** of Qwen3.8-27B (8-bit weights,
|
| 12 |
+
Hadamard-32 rotation, group-32 block-float scales).
|
| 13 |
+
|
| 14 |
+
This checkpoint includes **calibrated KV-cache scales for both the main model and
|
| 15 |
+
the MTP speculative-decoding draft model**. Serving with `--kv-cache-dtype fp8`
|
| 16 |
+
is nearly lossless for quality, and brings long-context speed uplifts and KV
|
| 17 |
+
cache space savings (roughly double the context in the same VRAM).
|
| 18 |
+
|
| 19 |
+
### This is an RDNA4-Optimized checkpoint
|
| 20 |
+
|
| 21 |
+
**Serving requires the [tcclaviger/vllm](https://hub.docker.com/repository/docker/tcclaviger/vllm)
|
| 22 |
+
docker image.** The RFI quant method, its HIP kernels, and the MTP KV-scale
|
| 23 |
+
loading are implemented there and are not part of upstream vLLM. Full performance
|
| 24 |
+
is only achieved on **AMD RDNA4 (gfx1201)** GPUs, where the hand-written HIP
|
| 25 |
+
kernels (attention, GDN, RFI GEMMs) are enabled; on other hardware the model
|
| 26 |
+
falls back to Triton reference kernels and runs substantially slower.
|
| 27 |
+
|
| 28 |
+
### Measured quality (WikiText-2 perplexity, n_ctx 2048)
|
| 29 |
+
|
| 30 |
+
| checkpoint | PPL |
|
| 31 |
+
|---|---|
|
| 32 |
+
| BF16 original | 6.9224 |
|
| 33 |
+
| **this quant, W8A16 mode** (fp16 activations, `--kv-cache-dtype fp8`, MTP spec decode) | **6.9369** |
|
| 34 |
+
| **this quant, W8A8 mode** (as shipped: int8 activations, `--kv-cache-dtype fp8`, MTP spec decode) | **6.9392** |
|
| 35 |
+
|
| 36 |
+
Both quant rows were measured on the served model with fp8 KV cache and MTP
|
| 37 |
+
speculative decoding active — the as-shipped serving configuration, not an
|
| 38 |
+
idealized one.
|
| 39 |
+
|
| 40 |
+
### W8A8 vs W8A16
|
| 41 |
+
|
| 42 |
+
The checkpoint ships in **W8A8** mode (int8 activations). A8 vs A16 is a
|
| 43 |
+
quality/throughput tradeoff: **W8A16 (fp16 activations) is nearly
|
| 44 |
+
indistinguishable from the BF16 checkpoint** in quality, at lower throughput
|
| 45 |
+
than A8. To switch to W8A16, edit `config.json` and change the activation dtype
|
| 46 |
+
from `int8` to `fp16`:
|
| 47 |
+
|
| 48 |
+
```json
|
| 49 |
+
"quantization_config": {
|
| 50 |
+
"config_groups": {
|
| 51 |
+
"group_0": {
|
| 52 |
+
"weights": {
|
| 53 |
+
"act_dtype": "fp16"
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
(That is the single `"act_dtype": "int8"` value under
|
| 61 |
+
`quantization_config.config_groups.group_0.weights` — nothing else changes.)
|
| 62 |
+
|
| 63 |
+
</div>
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
# Qwen3.8-27B
|
| 67 |
+
|
| 68 |
+
> [!Note]
|
| 69 |
+
> This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format.
|
| 70 |
+
>
|
| 71 |
+
> These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, TokenSpeed, etc.
|
| 72 |
+
|
| 73 |
+
> [!Tip]
|
| 74 |
+
> For users seeking managed, scalable inference without infrastructure maintenance, the official Qwen API service is provided by [Qwen Cloud](https://www.qwencloud.com).
|
| 75 |
+
> In particular, **Qwen3.8-27B** will be available as a hosted version with more production features, e.g., 1M context length by default, official built-in tools. For more information, please refer to the [Qwen3.8-27B Overview](https://www.qwencloud.com/models/qwen3.8-27b). The service is coming soon. Stay tuned for updates.
|
| 76 |
+
|
| 77 |
+
Following the widespread community adoption of the Qwen3.5 and Qwen3.6 series, we are pleased to introduce Qwen3.8, the most capable generation in the Qwen open-model family to date.
|
| 78 |
+
|
| 79 |
+
Built on the architectural foundation of Qwen3.5, Qwen3.8 delivers substantial gains across coding, professional work, research, and long-horizon agentic tasks. Qwen3.8-27B brings these advances to a compact, deployment-friendly dense model: a native vision-language model that understands images and videos, with flexible thinking control, designed to carry complex, multi-step tasks through to completion with greater reliability.
|
| 80 |
+
|
| 81 |
+
## Qwen3.8 Highlights
|
| 82 |
+
|
| 83 |
+
Qwen3.8-27B features the following enhancements:
|
| 84 |
+
- **Core Capabilities**: Comprehensive improvements across coding, professional work, research, and long-horizon agentic tasks.
|
| 85 |
+
- **Agent Execution**: Stronger autonomous planning and better handling of environment feedback, leading to more reliable end-to-end task completion.
|
| 86 |
+
- **Downstream Compatibility**: Broader support for popular harnesses and development tools, making it easier to integrate into your existing stack.
|
| 87 |
+
- **Flexible Thinking Control**: Thinking mode is on by default and can be disabled per request; reasoning depth can be tuned with `reasoning_effort`, and reasoning context from historical messages is retained via `preserve_thinking`.
|
| 88 |
+
- **Vision-Language Understanding**: Native support for image and video understanding, from STEM diagrams and documents to hour-scale videos.
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
## Model Overview
|
| 92 |
+
|
| 93 |
+
- Type: Causal Language Model with Vision Encoder
|
| 94 |
+
- Training Stage: Pre-training & Post-training
|
| 95 |
+
- Language Model
|
| 96 |
+
- Number of Parameters: 27B
|
| 97 |
+
- Hidden Dimension: 5120
|
| 98 |
+
- Token Embedding: 248,320 (Padded)
|
| 99 |
+
- Number of Layers: 64
|
| 100 |
+
- Hidden Layout: 16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN))
|
| 101 |
+
- Gated DeltaNet:
|
| 102 |
+
- Number of Linear Attention Heads: 48 for V and 16 for QK
|
| 103 |
+
- Head Dimension: 128
|
| 104 |
+
- Gated Attention:
|
| 105 |
+
- Number of Attention Heads: 24 for Q and 4 for KV
|
| 106 |
+
- Head Dimension: 256
|
| 107 |
+
- Rotary Position Embedding Dimension: 64
|
| 108 |
+
- Feed Forward Network:
|
| 109 |
+
- Intermediate Dimension: 17,408
|
| 110 |
+
- LM Output: 248,320 (Padded)
|
| 111 |
+
- MTP (Multi-Token Prediction): trained with multiple steps
|
| 112 |
+
- Context Length: 262,144 natively and extensible up to 1,000,000 tokens.
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
## Benchmark Results
|
| 116 |
+
|
| 117 |
+
### Text Performance
|
| 118 |
+
<style>
|
| 119 |
+
.vl-table th{font-size:15px!important;line-height:1.2}
|
| 120 |
+
.vl-table td:not(.benchmark-cell):not([colspan]){font-size:15px;line-height:1.2;vertical-align:middle}
|
| 121 |
+
.vl-table .benchmark-cell{padding:12px 10px 12px 18px!important;vertical-align:middle}
|
| 122 |
+
.vl-table .benchmark-capability{font-size:15px;font-weight:600;line-height:1.22;color:#171717}
|
| 123 |
+
.vl-table .benchmark-name{margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B}
|
| 124 |
+
.vl-table .metric-stack{display:flex;flex-direction:column;gap:7px;padding:3px 0}
|
| 125 |
+
.vl-table .metric-label{font-size:10px;font-weight:400;line-height:1.1;color:#777}
|
| 126 |
+
.vl-table .metric-value{margin-top:2px;font-size:15px;line-height:1.15;color:#171717}
|
| 127 |
+
</style>
|
| 128 |
+
<div style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;max-width:1200px;margin:0 auto;padding:16px 0">
|
| 129 |
+
<table class="vl-table" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px">
|
| 130 |
+
<thead><tr>
|
| 131 |
+
<th style="padding:10px 7px;text-align:left;font-weight:600;border-bottom:2px solid #0A2EFE;color:#0A2EFE"></th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;background:rgba(10, 46, 254, 0.08);">Qwen3.8-27B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Qwen3.6-27B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Qwen3.7-Plus</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Muse Glimmer-30B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Opus4.6 Max</th></tr></thead>
|
| 132 |
+
<tbody>
|
| 133 |
+
<tr><td colspan="6" style="padding:8px 12px;font-weight:600;color:#0A2EFE;border-bottom:1px solid rgba(10, 46, 254, 0.2);background:#D6DAFC">Coding</td></tr>
|
| 134 |
+
<tr>
|
| 135 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Agentic terminal coding</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">Terminal Bench 2.1 (Terminus)</div></td>
|
| 136 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">73.0</td>
|
| 137 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">63.4</td>
|
| 138 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">64.0</td>
|
| 139 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">51.7</td>
|
| 140 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>78.2</strong></td>
|
| 141 |
+
</tr>
|
| 142 |
+
<tr>
|
| 143 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Agentic coding</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">SWE-bench Pro</div></td>
|
| 144 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>61.7</strong></td>
|
| 145 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">53.5</td>
|
| 146 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">57.6</td>
|
| 147 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">51.2</td>
|
| 148 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">53.4</td>
|
| 149 |
+
</tr>
|
| 150 |
+
<tr>
|
| 151 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Repo-level code generation</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">NL2Repo-Bench</div></td>
|
| 152 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">42.3</td>
|
| 153 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">36.2</td>
|
| 154 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">41.1</td>
|
| 155 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 156 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>47.6</strong></td>
|
| 157 |
+
</tr>
|
| 158 |
+
<tr>
|
| 159 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Agentic coding</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">DeepSWE 1.1</div></td>
|
| 160 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>42.2</strong></td>
|
| 161 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">13.3</td>
|
| 162 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">14.2</td>
|
| 163 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 164 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 165 |
+
</tr>
|
| 166 |
+
<tr>
|
| 167 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Software engineering</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">QwenSWEBench</div></td>
|
| 168 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>79.0</strong></td>
|
| 169 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">49.3</td>
|
| 170 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">59.2</td>
|
| 171 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 172 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">63.8</td>
|
| 173 |
+
</tr>
|
| 174 |
+
<tr><td colspan="6" style="padding:8px 12px;font-weight:600;color:#0A2EFE;border-bottom:1px solid rgba(10, 46, 254, 0.2);background:#D6DAFC">Agent</td></tr>
|
| 175 |
+
<tr>
|
| 176 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Long-horizon office work</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">CoWorkBench</div></td>
|
| 177 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>70.7</strong></td>
|
| 178 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">61.0</td>
|
| 179 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">65.1</td>
|
| 180 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 181 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">68.2</td>
|
| 182 |
+
</tr>
|
| 183 |
+
<tr>
|
| 184 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Professional job tasks</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">JobBench</div></td>
|
| 185 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>33.4</strong></td>
|
| 186 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">21.8</td>
|
| 187 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">27.6</td>
|
| 188 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 189 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 190 |
+
</tr>
|
| 191 |
+
<tr>
|
| 192 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Frontier agentic tasks</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">Agents' Last Exam</div></td>
|
| 193 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@1</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>20.4</strong></div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Score</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>42.9</strong></div></div></div></td>
|
| 194 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@1</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">10.6</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Score</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">27.3</div></div></div></td>
|
| 195 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@1</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">13.2</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Score</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">33.6</div></div></div></td>
|
| 196 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 197 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 198 |
+
</tr>
|
| 199 |
+
<tr><td colspan="6" style="padding:8px 12px;font-weight:600;color:#0A2EFE;border-bottom:1px solid rgba(10, 46, 254, 0.2);background:#D6DAFC">General</td></tr>
|
| 200 |
+
<tr>
|
| 201 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Instruction following</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">IFBench</div></td>
|
| 202 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>79.5</strong></td>
|
| 203 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">69.1</td>
|
| 204 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">79.1</td>
|
| 205 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">77.0</td>
|
| 206 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">62.5</td>
|
| 207 |
+
</tr>
|
| 208 |
+
<tr>
|
| 209 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Scientific reasoning</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">GPQA Diamond</div></td>
|
| 210 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">89.2</td>
|
| 211 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">87.8</td>
|
| 212 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">90.3</td>
|
| 213 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">83.5</td>
|
| 214 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>91.3</strong></td>
|
| 215 |
+
</tr>
|
| 216 |
+
<tr>
|
| 217 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Multidisciplinary reasoning</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">HLE</div></td>
|
| 218 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">30.8</td>
|
| 219 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">24.0</td>
|
| 220 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">34.7</td>
|
| 221 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">22.0</td>
|
| 222 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>40.0</strong></td>
|
| 223 |
+
</tr>
|
| 224 |
+
<tr>
|
| 225 |
+
<td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Competitive coding</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">LiveCodeBench v6</div></td>
|
| 226 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>90.3</strong></td>
|
| 227 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">83.9</td>
|
| 228 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">89.6</td>
|
| 229 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td>
|
| 230 |
+
<td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">88.8</td>
|
| 231 |
+
</tr>
|
| 232 |
+
</tbody>
|
| 233 |
+
</table>
|
| 234 |
+
<div style="margin-top:12px;font-size:11px;line-height:1.5;color:rgba(0,0,0,0.72)">
|
| 235 |
+
<ol style="margin:0;padding-left:20px">
|
| 236 |
+
<li>SWE-bench Pro: Except for Opus4.6 Max, which uses the officially reported score, all models are evaluated with the Claude Code harness at temp=1.0, top_p=0.95, and a 256K context window. Problematic tasks were corrected, and all baseline models were re-evaluated on the refined benchmark.</li>
|
| 237 |
+
<li>NL2Repo-Bench: Evaluated with the Claude Code harness. To prevent reward hacking, we disable Bash commands that attempt to access the specific repository, such as pip download, pip install, and git clone.</li>
|
| 238 |
+
<li>DeepSWE 1.1: Evaluated with the Claude Code harness at temp=1.0, top_p=0.95, and a 256K context window.</li>
|
| 239 |
+
<li>QwenSWEBench: In-house coding benchmark for evaluating models' software engineering capabilities. Evaluated with the Claude Code harness. Reporting avg@3 with an 8-hour timeout, max_tokens=32,768, temperature=1.0, and a 256K context window.</li>
|
| 240 |
+
<li>CoWorkBench: In-house cowork benchmark for evaluating long-horizon tasks across computer science, finance, law, medical, and other productivity domains.</li>
|
| 241 |
+
<li>HLE: Judged by GPT-4o.</li>
|
| 242 |
+
<li>The best result in each row is shown in bold.</li>
|
| 243 |
+
<li>Empty cells (--) indicate that results are not yet available or not applicable.</li>
|
| 244 |
+
</ol>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
|
| 248 |
+
### VL Performance
|
| 249 |
+
<div style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;max-width:1200px;margin:0 auto;padding:16px 0">
|
| 250 |
+
<table class="vl-table" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px">
|
| 251 |
+
<thead><tr><th style="padding:10px 7px;text-align:left;font-weight:600;border-bottom:2px solid #0A2EFE;color:#0A2EFE"></th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;background:rgba(10, 46, 254, 0.08);">Qwen3.8-27B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Qwen3.6-27B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Qwen3.7-Plus</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Muse Glimmer-30B</th><th style="padding:10px 7px;text-align:center;font-weight:500;border-bottom:2px solid #0A2EFE;color:#0A2EFE;font-size: 14px;width:14.00%;">Opus4.6 Max</th></tr></thead>
|
| 252 |
+
<tbody>
|
| 253 |
+
<tr><td colspan="6" style="padding:8px 12px;font-weight:600;color:#0A2EFE;border-bottom:1px solid rgba(10, 46, 254, 0.2);background:#D6DAFC">Agentic Multimodal Intelligence</td></tr>
|
| 254 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Computer use</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">OSWorld-Verified</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>84.3</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">63.9</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">73.3</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">65.9</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">72.7</td></tr>
|
| 255 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Browser use</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">WebArena-Verified</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>64.8</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">48.8</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">55.3</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td></tr>
|
| 256 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Mobile use</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">AndroidWorld</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>81.9</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">70.3</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">81.0</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">62.0</td></tr>
|
| 257 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Application recreation</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">RecreationBench</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>47.1</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">29.8</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">30.2</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td></tr>
|
| 258 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Multimodal tool use</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">ClawEval-MM</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@3</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>57.4</strong></div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Average</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">56.9</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@3</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">42.6</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Average</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">50.4</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@3</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>57.4</strong></div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Average</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>60.1</strong></div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Pass@3</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">52.5</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Average</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">54.7</div></div></div></td></tr>
|
| 259 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Multimodal software engineering</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">SWE-MM</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>38.6</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">25.7</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">30.0</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">27.1</td></tr>
|
| 260 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Visual web development</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">Vision2Web</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>62.9</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">45.0</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">42.1</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td></tr>
|
| 261 |
+
<tr><td colspan="6" style="padding:8px 12px;font-weight:600;color:#0A2EFE;border-bottom:1px solid rgba(10, 46, 254, 0.2);background:#D6DAFC">General Multimodal Intelligence</td></tr>
|
| 262 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Visual math problem solving</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">MathVision</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">90.0</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">With CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>94.6</strong></div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">85.1</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>90.3</strong></div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">65.5</div></div></div></td></tr>
|
| 263 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">General visual reasoning</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">BabyVision</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>65.7</strong></div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">With CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>85.6</strong></div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">28.9</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">64.7</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">With CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">70.4</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">12.6</div></div></div></td></tr>
|
| 264 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Scientific chart analysis</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">CharXiv (RQ)</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">83.7</div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">With CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>90.2</strong></div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">78.4</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717"><strong>85.8</strong></div></div><div style="margin-top:7px"><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">With CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">85.9</div></div></div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">78.8</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><div class="metric-stack" style="padding:3px 0"><div><div class="metric-label" style="font-size:10px;font-weight:400;line-height:1.1;color:#777">Without CI</div><div class="metric-value" style="margin-top:2px;font-size:15px;line-height:1.15;color:#171717">66.0</div></div></div></td></tr>
|
| 265 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Document intelligence</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">OmniDocBench 1.5</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">91.1</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">89.4</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>91.4</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">75.8</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">86.6</td></tr>
|
| 266 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Real-world perception</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">RealWorldQA</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">85.9</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">84.1</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>86.9</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">73.9</td></tr>
|
| 267 |
+
<tr><td class="benchmark-cell" style="padding:7px 7px;padding-left:20px;border-bottom:1px solid rgba(128, 128, 128, 0.15);"><div class="benchmark-capability" style="font-size:15px;font-weight:600;line-height:1.22;color:#171717">Embodied intelligence</div><div class="benchmark-name" style="margin-top:4px;font-size:11px;font-weight:400;line-height:1.2;color:#6B6B6B">ERQA</div></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);background:rgba(10, 46, 254, 0.08);vertical-align:middle;font-size:15px;line-height:1.2;">65.5</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">62.5</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;"><strong>69.8</strong></td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">--</td><td style="padding:7px 7px;text-align:center;border-bottom:1px solid rgba(128, 128, 128, 0.15);vertical-align:middle;font-size:15px;line-height:1.2;">40.8</td></tr>
|
| 268 |
+
</tbody>
|
| 269 |
+
</table>
|
| 270 |
+
<div style="margin-top:12px;font-size:11px;line-height:1.5;color:rgba(0,0,0,0.72)">
|
| 271 |
+
<ol style="margin:0;padding-left:20px">
|
| 272 |
+
<li>MathVision, BabyVision, and CharXiv (RQ): Where both settings are available, cells report “Without CI” and “With CI” separately; otherwise, only the available setting is shown. A small number of incorrect ground-truth annotations in MathVision and CharXiv (RQ) were corrected following manual verification, and all reported scores on those benchmarks were computed using the corrected annotations.</li>
|
| 273 |
+
<li>MathVision: Qwen3.8-27B is evaluated using the fixed prompt: “Please reason step by step, and put your final answer within <code>\boxed{}</code>.” For the remaining models, we report the higher score from two prompt variants—one with and one without the <code>\boxed{}</code> formatting requirement.</li>
|
| 274 |
+
<li>WebArena-Verified: Scores are computed with the official WebArena-Verified grader under the OSWorld scaffold.</li>
|
| 275 |
+
<li>RecreationBench: An in-house, long-horizon application-recreation benchmark designed to evaluate hybrid-agent capabilities across five platforms: desktop (Ubuntu, macOS, and Windows), mobile (Android), and the web.</li>
|
| 276 |
+
<li>ClawEval-MM: Scores are reported as “Pass@3 / average score.” Pass@3 is the percentage of tasks passed in at least one of three trials; the average score is the mean benchmark score across the three trials.</li>
|
| 277 |
+
<li>Vision2Web: Scores are averaged across the frontend, webpage, and website categories. Evaluations use the Claude Code harness and are judged by <code>gpt-5.4-2026-03-05</code>.</li>
|
| 278 |
+
<li>SWE-MM: Scores are evaluated on the Claude Code harness using the public dev split of SWE-bench Multimodal, with the modifications described in Appendix 8.3 of the Claude Opus 4.7 system card.</li>
|
| 279 |
+
<li>Empty cells (--) indicate that results are not yet available or not applicable.</li>
|
| 280 |
+
</ol></div>
|
| 281 |
+
</div>
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
## Quickstart
|
| 285 |
+
|
| 286 |
+
For streamlined integration, we recommend using Qwen3.8 via APIs.
|
| 287 |
+
|
| 288 |
+
### Serving Qwen3.8
|
| 289 |
+
|
| 290 |
+
> [!Important]
|
| 291 |
+
> Inference efficiency and throughput vary significantly across frameworks.
|
| 292 |
+
> We recommend using the latest framework versions to ensure optimal performance and compatibility.
|
| 293 |
+
> For production workloads or high-throughput scenarios, dedicated serving engines such as SGLang, vLLM, or TokenSpeed are recommended.
|
| 294 |
+
|
| 295 |
+
Qwen3.8 can be deployed with popular inference frameworks, e.g.:
|
| 296 |
+
|
| 297 |
+
- [SGLang](https://www.sglang.io/): [Qwen3.8 Cookbook](https://docs.sglang.io/cookbook/autoregressive/Qwen/Qwen3.8-27B)
|
| 298 |
+
- [vLLM](https://vllm.ai/): [Qwen3.8 Recipe](https://recipes.vllm.ai/Qwen/Qwen3.8-27B)
|
| 299 |
+
- [TokenSpeed](https://lightseek.org/tokenspeed/): [Qwen3.8 Recipe](https://lightseek.org/tokenspeed/recipes/models#qwen3-8)
|
| 300 |
+
|
| 301 |
+
|
| 302 |
+
### API Usage
|
| 303 |
+
|
| 304 |
+
> [!Important]
|
| 305 |
+
> Qwen3.8 models operate in thinking mode by default, generating thinking content signified by `<think>\n...</think>\n\n` before producing the final response.
|
| 306 |
+
> To disable thinking content and obtain a direct response, refer to the examples [here](#instruct-or-non-thinking-mode).
|
| 307 |
+
|
| 308 |
+
|
| 309 |
+
> [!Tip]
|
| 310 |
+
> We recommend using the following sets of sampling parameters for generation:
|
| 311 |
+
> - Thinking Mode: `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
|
| 312 |
+
> - Instruct (or non-thinking) mode: `temperature=0.7`, `top_p=0.80`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
|
| 313 |
+
>
|
| 314 |
+
> Please note that the support for sampling parameters varies according to inference frameworks.
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
Qwen3.8 comes with official support for `reasoning_effort`, which can be used to adjust reasoning depth and control cost:
|
| 318 |
+
- `xhigh` (default): for complex tasks demanding thorough analysis
|
| 319 |
+
- `medium`: balancing accuracy and speed
|
| 320 |
+
- `low`: efficient reasoning optimizing for speed and cost
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
In addition, `preserve_thinking` is enabled by default for all workloads for the best out-of-the-box experience. To disable preserved thinking, refer to the examples [here](#disable-preserved-thinking).
|
| 324 |
+
|
| 325 |
+
> [!Tip]
|
| 326 |
+
> In multi-turn agentic tasks, lower reasoning effort does not always reduce overall task completion time. Although it may produce faster per-turn responses, it can also lead to insufficient analysis, more failures, and repeated retries, which may increase total latency and token consumption.
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
#### Chat Completions API
|
| 330 |
+
|
| 331 |
+
The Chat Completions API can be used with most inference frameworks, as well as [Qwen Cloud](https://www.qwencloud.com/).
|
| 332 |
+
Before starting, make sure the OpenAI Python SDK is installed and the API key and the API base URL are configured, e.g.:
|
| 333 |
+
```shell
|
| 334 |
+
pip install -U openai
|
| 335 |
+
|
| 336 |
+
# Set the following accordingly
|
| 337 |
+
export OPENAI_BASE_URL='your-base-url'
|
| 338 |
+
export OPENAI_API_KEY='your-api-key'
|
| 339 |
+
```
|
| 340 |
+
|
| 341 |
+
##### Text-Only Input
|
| 342 |
+
|
| 343 |
+
```python
|
| 344 |
+
from openai import OpenAI
|
| 345 |
+
# Configured by environment variables
|
| 346 |
+
client = OpenAI()
|
| 347 |
+
|
| 348 |
+
messages = [{"role": "user", "content": "Write a Python function to merge two sorted linked lists."}]
|
| 349 |
+
|
| 350 |
+
completion = client.chat.completions.create(
|
| 351 |
+
model="Qwen/Qwen3.8-27B",
|
| 352 |
+
messages=messages,
|
| 353 |
+
extra_body={
|
| 354 |
+
"chat_template_kwargs": {
|
| 355 |
+
"enable_thinking": True, # on by default
|
| 356 |
+
"preserve_thinking": True, # on by default
|
| 357 |
+
},
|
| 358 |
+
},
|
| 359 |
+
reasoning_effort="xhigh", # xhigh by default; supported levels are xhigh, medium, and low
|
| 360 |
+
stream=True,
|
| 361 |
+
stream_options={"include_usage": True},
|
| 362 |
+
)
|
| 363 |
+
|
| 364 |
+
reasoning_content = ""
|
| 365 |
+
answer_content = ""
|
| 366 |
+
is_answering = False
|
| 367 |
+
print("\n" + "=" * 20 + "Reasoning" + "=" * 20 + "\n")
|
| 368 |
+
|
| 369 |
+
for chunk in completion:
|
| 370 |
+
if not chunk.choices:
|
| 371 |
+
print("\nUsage:")
|
| 372 |
+
print(chunk.usage)
|
| 373 |
+
continue
|
| 374 |
+
|
| 375 |
+
delta = chunk.choices[0].delta
|
| 376 |
+
|
| 377 |
+
if hasattr(delta, "reasoning_content") and delta.reasoning_content is not None:
|
| 378 |
+
if not is_answering:
|
| 379 |
+
print(delta.reasoning_content, end="", flush=True)
|
| 380 |
+
reasoning_content += delta.reasoning_content
|
| 381 |
+
elif hasattr(delta, "reasoning") and delta.reasoning is not None:
|
| 382 |
+
if not is_answering:
|
| 383 |
+
print(delta.reasoning, end="", flush=True)
|
| 384 |
+
reasoning_content += delta.reasoning
|
| 385 |
+
|
| 386 |
+
if hasattr(delta, "content") and delta.content:
|
| 387 |
+
if not is_answering:
|
| 388 |
+
print("\n" + "=" * 20 + "Answer" + "=" * 20 + "\n")
|
| 389 |
+
is_answering = True
|
| 390 |
+
print(delta.content, end="", flush=True)
|
| 391 |
+
answer_content += delta.content
|
| 392 |
+
|
| 393 |
+
messages.append({
|
| 394 |
+
"role": "assistant",
|
| 395 |
+
"content": answer_content,
|
| 396 |
+
"reasoning_content": reasoning_content,
|
| 397 |
+
"reasoning": reasoning_content,
|
| 398 |
+
})
|
| 399 |
+
```
|
| 400 |
+
|
| 401 |
+
|
| 402 |
+
##### Image Input
|
| 403 |
+
|
| 404 |
+
```python
|
| 405 |
+
from openai import OpenAI
|
| 406 |
+
# Configured by environment variables
|
| 407 |
+
client = OpenAI()
|
| 408 |
+
|
| 409 |
+
messages = [
|
| 410 |
+
{
|
| 411 |
+
"role": "user",
|
| 412 |
+
"content": [
|
| 413 |
+
{
|
| 414 |
+
"type": "image_url",
|
| 415 |
+
"image_url": {
|
| 416 |
+
"url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/CI_Demo/mathv-1327.jpg"
|
| 417 |
+
}
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "The centres of the four illustrated circles are in the corners of the square. The two big circles touch each other and also the two little circles. With which factor do you have to multiply the radii of the little circles to obtain the radius of the big circles?\nChoices:\n(A) $\\frac{2}{9}$\n(B) $\\sqrt{5}$\n(C) $0.8 \\cdot \\pi$\n(D) 2.5\n(E) $1+\\sqrt{2}$"
|
| 422 |
+
}
|
| 423 |
+
]
|
| 424 |
+
}
|
| 425 |
+
]
|
| 426 |
+
|
| 427 |
+
chat_response = client.chat.completions.create(
|
| 428 |
+
model="Qwen/Qwen3.8-27B",
|
| 429 |
+
messages=messages,
|
| 430 |
+
)
|
| 431 |
+
print("Chat response:", chat_response)
|
| 432 |
+
```
|
| 433 |
+
|
| 434 |
+
##### Video Input
|
| 435 |
+
|
| 436 |
+
```python
|
| 437 |
+
from openai import OpenAI
|
| 438 |
+
# Configured by environment variables
|
| 439 |
+
client = OpenAI()
|
| 440 |
+
|
| 441 |
+
messages = [
|
| 442 |
+
{
|
| 443 |
+
"role": "user",
|
| 444 |
+
"content": [
|
| 445 |
+
{
|
| 446 |
+
"type": "video_url",
|
| 447 |
+
"video_url": {
|
| 448 |
+
"url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/video/N1cdUjctpG8.mp4"
|
| 449 |
+
}
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "How many porcelain jars were discovered in the niches located in the primary chamber of the tomb?"
|
| 454 |
+
}
|
| 455 |
+
]
|
| 456 |
+
}
|
| 457 |
+
]
|
| 458 |
+
|
| 459 |
+
chat_response = client.chat.completions.create(
|
| 460 |
+
model="Qwen/Qwen3.8-27B",
|
| 461 |
+
messages=messages,
|
| 462 |
+
)
|
| 463 |
+
|
| 464 |
+
# When vLLM is launched with `--media-io-kwargs '{"video": {"num_frames": -1}}'`,
|
| 465 |
+
# video frame sampling can be configured via `extra_body` (e.g., by setting `fps`).
|
| 466 |
+
# This feature is currently supported only in vLLM.
|
| 467 |
+
#
|
| 468 |
+
# By default, `fps=2` and `do_sample_frames=True`.
|
| 469 |
+
# With `do_sample_frames=True`, you can customize the `fps` value to set your desired video sampling rate.
|
| 470 |
+
# chat_response = client.chat.completions.create(
|
| 471 |
+
# model="Qwen/Qwen3.8-27B",
|
| 472 |
+
# messages=messages,
|
| 473 |
+
# extra_body={
|
| 474 |
+
# "mm_processor_kwargs": {"fps": 2, "do_sample_frames": True},
|
| 475 |
+
# },
|
| 476 |
+
# )
|
| 477 |
+
|
| 478 |
+
print("Chat response:", chat_response)
|
| 479 |
+
```
|
| 480 |
+
|
| 481 |
+
|
| 482 |
+
##### Instruct (or Non-Thinking) Mode
|
| 483 |
+
|
| 484 |
+
Qwen3.8-27B will think by default before responding.
|
| 485 |
+
You can obtain a direct response from the model without thinking by configuring the API parameters.
|
| 486 |
+
For example,
|
| 487 |
+
```python
|
| 488 |
+
from openai import OpenAI
|
| 489 |
+
# Configured by environment variables
|
| 490 |
+
client = OpenAI()
|
| 491 |
+
|
| 492 |
+
messages = [
|
| 493 |
+
{
|
| 494 |
+
"role": "user",
|
| 495 |
+
"content": [
|
| 496 |
+
{
|
| 497 |
+
"type": "image_url",
|
| 498 |
+
"image_url": {
|
| 499 |
+
"url": "https://qianwen-res.oss-accelerate.aliyuncs.com/Qwen3.5/demo/RealWorld/RealWorld-04.png"
|
| 500 |
+
}
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Where is this?"
|
| 505 |
+
}
|
| 506 |
+
]
|
| 507 |
+
}
|
| 508 |
+
]
|
| 509 |
+
|
| 510 |
+
chat_response = client.chat.completions.create(
|
| 511 |
+
model="Qwen/Qwen3.8-27B",
|
| 512 |
+
messages=messages,
|
| 513 |
+
temperature=0.7,
|
| 514 |
+
top_p=0.8,
|
| 515 |
+
presence_penalty=1.5,
|
| 516 |
+
extra_body={
|
| 517 |
+
"top_k": 20,
|
| 518 |
+
"chat_template_kwargs": {"enable_thinking": False},
|
| 519 |
+
},
|
| 520 |
+
)
|
| 521 |
+
print("Chat response:", chat_response)
|
| 522 |
+
```
|
| 523 |
+
|
| 524 |
+
> [!Note]
|
| 525 |
+
> If you are using APIs from Qwen Cloud, in addition to changing `model`, please use `"enable_thinking": False` instead of `"chat_template_kwargs": {"enable_thinking": False}`.
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
##### Disable Preserved Thinking
|
| 529 |
+
|
| 530 |
+
|
| 531 |
+
By default, Qwen3.8 retains thinking blocks from all historical messages, maintaining a complete reasoning trace across the conversation. This behavior, known as preserved thinking, ensures full context continuity and is especially beneficial for agent scenarios where decision consistency and reduced redundant reasoning are critical. It also improves KV cache utilization, optimizing inference efficiency in both thinking and non-thinking modes.
|
| 532 |
+
|
| 533 |
+
If you prefer to retain only the thinking blocks from the latest user message, you can disable this behavior by setting `preserve_thinking` to `False`:
|
| 534 |
+
|
| 535 |
+
```python
|
| 536 |
+
from openai import OpenAI
|
| 537 |
+
|
| 538 |
+
# Configured by environment variables
|
| 539 |
+
client = OpenAI()
|
| 540 |
+
messages = [...]
|
| 541 |
+
chat_response = client.chat.completions.create(
|
| 542 |
+
model="Qwen/Qwen3.8-27B",
|
| 543 |
+
messages=messages,
|
| 544 |
+
extra_body={
|
| 545 |
+
"chat_template_kwargs": {"preserve_thinking": False},
|
| 546 |
+
},
|
| 547 |
+
)
|
| 548 |
+
print("Chat response:", chat_response)
|
| 549 |
+
```
|
| 550 |
+
|
| 551 |
+
> [!Note]
|
| 552 |
+
> If you are using APIs from Qwen Cloud, in addition to changing `model`, please use `"preserve_thinking": False` directly instead of wrapping it in `chat_template_kwargs`.
|
| 553 |
+
|
| 554 |
+
|
| 555 |
+
## Best Practices
|
| 556 |
+
|
| 557 |
+
To achieve optimal performance, we recommend the following settings:
|
| 558 |
+
|
| 559 |
+
1. **Sampling Parameters**: We suggest using the following sets of sampling parameters:
|
| 560 |
+
|
| 561 |
+
- Thinking Mode: `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
|
| 562 |
+
- Instruct (or non-thinking) mode: `temperature=0.7`, `top_p=0.80`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`
|
| 563 |
+
|
| 564 |
+
For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetition. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
|
| 565 |
+
|
| 566 |
+
2. **Adequate Output Length**: To optimize performance on agentic tasks, we recommend allocating sufficient output length to allow the model to generate detailed and comprehensive responses. For frameworks that support separate token limits for internal reasoning and final outputs, we suggest the following configuration within the 1M context length:
|
| 567 |
+
|
| 568 |
+
- Reasoning Content: Set the maximum output length to 262,144 tokens.
|
| 569 |
+
- Final Response: Set the maximum output length to 131,072 tokens.
|
| 570 |
+
|
| 571 |
+
These settings provide the necessary capacity for complex reasoning while ensuring ample space for high-quality final deliverables.
|
| 572 |
+
|
| 573 |
+
3. **Processing Ultra-Long Texts**: Qwen3.8-27B natively supports context lengths of up to 262,144 tokens. For long-horizon tasks where the total length (including both input and output) exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively, e.g., YaRN.
|
| 574 |
+
|
| 575 |
+
YaRN is currently supported by several inference frameworks, e.g., vLLM, SGLang, and TokenSpeed.
|
| 576 |
+
In general, there are two approaches to enabling YaRN for supported frameworks:
|
| 577 |
+
|
| 578 |
+
- Modifying the model configuration file:
|
| 579 |
+
|
| 580 |
+
In the `config.json` file, change the `rope_parameters` fields in `text_config` to:
|
| 581 |
+
```json
|
| 582 |
+
{
|
| 583 |
+
"mrope_interleaved": true,
|
| 584 |
+
"mrope_section": [
|
| 585 |
+
11,
|
| 586 |
+
11,
|
| 587 |
+
10
|
| 588 |
+
],
|
| 589 |
+
"rope_type": "yarn",
|
| 590 |
+
"rope_theta": 10000000,
|
| 591 |
+
"partial_rotary_factor": 0.25,
|
| 592 |
+
"factor": 4.0,
|
| 593 |
+
"original_max_position_embeddings": 262144,
|
| 594 |
+
}
|
| 595 |
+
```
|
| 596 |
+
|
| 597 |
+
- Passing command line arguments:
|
| 598 |
+
|
| 599 |
+
For vLLM, you can use
|
| 600 |
+
```shell
|
| 601 |
+
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 vllm serve ... --hf-overrides '{"text_config": {"rope_parameters": {"mrope_interleaved": true, "mrope_section": [11, 11, 10], "rope_type": "yarn", "rope_theta": 10000000, "partial_rotary_factor": 0.25, "factor": 4.0, "original_max_position_embeddings": 262144}}}' --max-model-len 1000000
|
| 602 |
+
```
|
| 603 |
+
|
| 604 |
+
For SGLang, you can use
|
| 605 |
+
```shell
|
| 606 |
+
SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1 python -m sglang.launch_server ... --json-model-override-args '{"text_config": {"rope_parameters": {"mrope_interleaved": true, "mrope_section": [11, 11, 10], "rope_type": "yarn", "rope_theta": 10000000, "partial_rotary_factor": 0.25, "factor": 4.0, "original_max_position_embeddings": 262144}}}' --context-length 1000000
|
| 607 |
+
```
|
| 608 |
+
|
| 609 |
+
For TokenSpeed, you can use
|
| 610 |
+
```shell
|
| 611 |
+
TOKENSPEED_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN=1 tokenspeed serve ... --hf-overrides '{"text_config": {"rope_parameters": {"mrope_interleaved": true, "mrope_section": [11, 11, 10], "rope_type": "yarn", "rope_theta": 10000000, "partial_rotary_factor": 0.25, "factor": 4.0, "original_max_position_embeddings": 262144}}}' --max-model-len 1000000
|
| 612 |
+
```
|
| 613 |
+
|
| 614 |
+
> [!NOTE]
|
| 615 |
+
> All the notable open-source frameworks implement static YaRN, which means the scaling factor remains constant regardless of input length, **potentially impacting performance on shorter texts.**
|
| 616 |
+
> We advise modifying the `rope_parameters` configuration only when processing long contexts is required.
|
| 617 |
+
> It is also recommended to modify the `factor` as needed. For example, if the typical context length for your application is 524,288 tokens, it would be better to set `factor` as 2.0.
|
| 618 |
+
|
| 619 |
+
|
| 620 |
+
4. **Long Video Understanding**: To optimize inference efficiency for plain text and images, the `size` parameter in the released `video_preprocessor_config.json` is conservatively configured. It is recommended to set the `longest_edge` parameter in the video_preprocessor_config file to 469,762,048 (corresponding to 224k video tokens) to enable higher frame-rate sampling for hour-scale videos and thereby achieve superior performance. For example,
|
| 621 |
+
```json
|
| 622 |
+
{"longest_edge": 469762048, "shortest_edge": 4096}
|
| 623 |
+
```
|
| 624 |
+
|
| 625 |
+
Alternatively, override the default values via engine startup parameters. For implementation details, refer to: [vLLM](https://github.com/vllm-project/vllm/pull/34330) / [SGLang](https://github.com/sgl-project/sglang/pull/18467).
|
| 626 |
+
|
| 627 |
+
|
| 628 |
+
## Citation
|
| 629 |
+
|
| 630 |
+
If you find our work helpful, feel free to give us a cite.
|
| 631 |
+
|
| 632 |
+
|
| 633 |
+
```bibtex
|
| 634 |
+
@misc{qwen38,
|
| 635 |
+
title = {{Qwen3.8-Max}: A New Bar for Coding and Cowork},
|
| 636 |
+
url = {https://qwen.ai/blog?id=qwen3.8},
|
| 637 |
+
author = {{Qwen Team}},
|
| 638 |
+
month = {August},
|
| 639 |
+
year = {2026}
|
| 640 |
+
}
|
| 641 |
+
```
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 %}
|
config.json
ADDED
|
@@ -0,0 +1,2359 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "5.8.0.dev0",
|
| 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": "rfi-quantized",
|
| 144 |
+
"input_activations": null,
|
| 145 |
+
"output_activations": null,
|
| 146 |
+
"targets": [
|
| 147 |
+
"Linear"
|
| 148 |
+
],
|
| 149 |
+
"weights": {
|
| 150 |
+
"num_bits": 8,
|
| 151 |
+
"type": "int",
|
| 152 |
+
"group_size": 32,
|
| 153 |
+
"scale_dtype": "torch.int8",
|
| 154 |
+
"scale_exp_dtype": "torch.int8",
|
| 155 |
+
"scale_encoding": "block_float_i8m_i8e",
|
| 156 |
+
"symmetric": true,
|
| 157 |
+
"act_dtype": "fp16",
|
| 158 |
+
"rotation": "hadamard32"
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
+
},
|
| 162 |
+
"format": "rfi-quantized",
|
| 163 |
+
"quant_method": "rfi",
|
| 164 |
+
"quantization_status": "compressed",
|
| 165 |
+
"version": "rfi-1.0",
|
| 166 |
+
"modules": {
|
| 167 |
+
"lm_head": {
|
| 168 |
+
"scheme": "dense"
|
| 169 |
+
},
|
| 170 |
+
"model.language_model.embed_tokens": {
|
| 171 |
+
"scheme": "dense"
|
| 172 |
+
},
|
| 173 |
+
"model.language_model.layers.0.linear_attn.conv1d": {
|
| 174 |
+
"scheme": "dense"
|
| 175 |
+
},
|
| 176 |
+
"model.language_model.layers.0.linear_attn.in_proj_a": {
|
| 177 |
+
"scheme": "dense"
|
| 178 |
+
},
|
| 179 |
+
"model.language_model.layers.0.linear_attn.in_proj_b": {
|
| 180 |
+
"scheme": "dense"
|
| 181 |
+
},
|
| 182 |
+
"model.language_model.layers.0.linear_attn.in_proj_qkv": {
|
| 183 |
+
"scheme": "dense"
|
| 184 |
+
},
|
| 185 |
+
"model.language_model.layers.0.linear_attn.in_proj_z": {
|
| 186 |
+
"scheme": "dense"
|
| 187 |
+
},
|
| 188 |
+
"model.language_model.layers.0.linear_attn.out_proj": {
|
| 189 |
+
"scheme": "dense"
|
| 190 |
+
},
|
| 191 |
+
"model.language_model.layers.0.mlp.down_proj": {
|
| 192 |
+
"scheme": "rfi",
|
| 193 |
+
"bits": 8
|
| 194 |
+
},
|
| 195 |
+
"model.language_model.layers.0.mlp.gate_proj": {
|
| 196 |
+
"scheme": "rfi",
|
| 197 |
+
"bits": 8
|
| 198 |
+
},
|
| 199 |
+
"model.language_model.layers.0.mlp.up_proj": {
|
| 200 |
+
"scheme": "rfi",
|
| 201 |
+
"bits": 8
|
| 202 |
+
},
|
| 203 |
+
"model.language_model.layers.1.linear_attn.conv1d": {
|
| 204 |
+
"scheme": "dense"
|
| 205 |
+
},
|
| 206 |
+
"model.language_model.layers.1.linear_attn.in_proj_a": {
|
| 207 |
+
"scheme": "dense"
|
| 208 |
+
},
|
| 209 |
+
"model.language_model.layers.1.linear_attn.in_proj_b": {
|
| 210 |
+
"scheme": "dense"
|
| 211 |
+
},
|
| 212 |
+
"model.language_model.layers.1.linear_attn.in_proj_qkv": {
|
| 213 |
+
"scheme": "dense"
|
| 214 |
+
},
|
| 215 |
+
"model.language_model.layers.1.linear_attn.in_proj_z": {
|
| 216 |
+
"scheme": "dense"
|
| 217 |
+
},
|
| 218 |
+
"model.language_model.layers.1.linear_attn.out_proj": {
|
| 219 |
+
"scheme": "dense"
|
| 220 |
+
},
|
| 221 |
+
"model.language_model.layers.1.mlp.down_proj": {
|
| 222 |
+
"scheme": "rfi",
|
| 223 |
+
"bits": 8
|
| 224 |
+
},
|
| 225 |
+
"model.language_model.layers.1.mlp.gate_proj": {
|
| 226 |
+
"scheme": "rfi",
|
| 227 |
+
"bits": 8
|
| 228 |
+
},
|
| 229 |
+
"model.language_model.layers.1.mlp.up_proj": {
|
| 230 |
+
"scheme": "rfi",
|
| 231 |
+
"bits": 8
|
| 232 |
+
},
|
| 233 |
+
"model.language_model.layers.10.linear_attn.conv1d": {
|
| 234 |
+
"scheme": "dense"
|
| 235 |
+
},
|
| 236 |
+
"model.language_model.layers.10.linear_attn.in_proj_a": {
|
| 237 |
+
"scheme": "dense"
|
| 238 |
+
},
|
| 239 |
+
"model.language_model.layers.10.linear_attn.in_proj_b": {
|
| 240 |
+
"scheme": "dense"
|
| 241 |
+
},
|
| 242 |
+
"model.language_model.layers.10.linear_attn.in_proj_qkv": {
|
| 243 |
+
"scheme": "dense"
|
| 244 |
+
},
|
| 245 |
+
"model.language_model.layers.10.linear_attn.in_proj_z": {
|
| 246 |
+
"scheme": "dense"
|
| 247 |
+
},
|
| 248 |
+
"model.language_model.layers.10.linear_attn.out_proj": {
|
| 249 |
+
"scheme": "dense"
|
| 250 |
+
},
|
| 251 |
+
"model.language_model.layers.10.mlp.down_proj": {
|
| 252 |
+
"scheme": "rfi",
|
| 253 |
+
"bits": 8
|
| 254 |
+
},
|
| 255 |
+
"model.language_model.layers.10.mlp.gate_proj": {
|
| 256 |
+
"scheme": "rfi",
|
| 257 |
+
"bits": 8
|
| 258 |
+
},
|
| 259 |
+
"model.language_model.layers.10.mlp.up_proj": {
|
| 260 |
+
"scheme": "rfi",
|
| 261 |
+
"bits": 8
|
| 262 |
+
},
|
| 263 |
+
"model.language_model.layers.11.mlp.down_proj": {
|
| 264 |
+
"scheme": "rfi",
|
| 265 |
+
"bits": 8
|
| 266 |
+
},
|
| 267 |
+
"model.language_model.layers.11.mlp.gate_proj": {
|
| 268 |
+
"scheme": "rfi",
|
| 269 |
+
"bits": 8
|
| 270 |
+
},
|
| 271 |
+
"model.language_model.layers.11.mlp.up_proj": {
|
| 272 |
+
"scheme": "rfi",
|
| 273 |
+
"bits": 8
|
| 274 |
+
},
|
| 275 |
+
"model.language_model.layers.11.self_attn.k_proj": {
|
| 276 |
+
"scheme": "dense"
|
| 277 |
+
},
|
| 278 |
+
"model.language_model.layers.11.self_attn.o_proj": {
|
| 279 |
+
"scheme": "dense"
|
| 280 |
+
},
|
| 281 |
+
"model.language_model.layers.11.self_attn.q_proj": {
|
| 282 |
+
"scheme": "dense"
|
| 283 |
+
},
|
| 284 |
+
"model.language_model.layers.11.self_attn.v_proj": {
|
| 285 |
+
"scheme": "dense"
|
| 286 |
+
},
|
| 287 |
+
"model.language_model.layers.12.linear_attn.conv1d": {
|
| 288 |
+
"scheme": "dense"
|
| 289 |
+
},
|
| 290 |
+
"model.language_model.layers.12.linear_attn.in_proj_a": {
|
| 291 |
+
"scheme": "dense"
|
| 292 |
+
},
|
| 293 |
+
"model.language_model.layers.12.linear_attn.in_proj_b": {
|
| 294 |
+
"scheme": "dense"
|
| 295 |
+
},
|
| 296 |
+
"model.language_model.layers.12.linear_attn.in_proj_qkv": {
|
| 297 |
+
"scheme": "dense"
|
| 298 |
+
},
|
| 299 |
+
"model.language_model.layers.12.linear_attn.in_proj_z": {
|
| 300 |
+
"scheme": "dense"
|
| 301 |
+
},
|
| 302 |
+
"model.language_model.layers.12.linear_attn.out_proj": {
|
| 303 |
+
"scheme": "dense"
|
| 304 |
+
},
|
| 305 |
+
"model.language_model.layers.12.mlp.down_proj": {
|
| 306 |
+
"scheme": "rfi",
|
| 307 |
+
"bits": 8
|
| 308 |
+
},
|
| 309 |
+
"model.language_model.layers.12.mlp.gate_proj": {
|
| 310 |
+
"scheme": "rfi",
|
| 311 |
+
"bits": 8
|
| 312 |
+
},
|
| 313 |
+
"model.language_model.layers.12.mlp.up_proj": {
|
| 314 |
+
"scheme": "rfi",
|
| 315 |
+
"bits": 8
|
| 316 |
+
},
|
| 317 |
+
"model.language_model.layers.13.linear_attn.conv1d": {
|
| 318 |
+
"scheme": "dense"
|
| 319 |
+
},
|
| 320 |
+
"model.language_model.layers.13.linear_attn.in_proj_a": {
|
| 321 |
+
"scheme": "dense"
|
| 322 |
+
},
|
| 323 |
+
"model.language_model.layers.13.linear_attn.in_proj_b": {
|
| 324 |
+
"scheme": "dense"
|
| 325 |
+
},
|
| 326 |
+
"model.language_model.layers.13.linear_attn.in_proj_qkv": {
|
| 327 |
+
"scheme": "dense"
|
| 328 |
+
},
|
| 329 |
+
"model.language_model.layers.13.linear_attn.in_proj_z": {
|
| 330 |
+
"scheme": "dense"
|
| 331 |
+
},
|
| 332 |
+
"model.language_model.layers.13.linear_attn.out_proj": {
|
| 333 |
+
"scheme": "dense"
|
| 334 |
+
},
|
| 335 |
+
"model.language_model.layers.13.mlp.down_proj": {
|
| 336 |
+
"scheme": "rfi",
|
| 337 |
+
"bits": 8
|
| 338 |
+
},
|
| 339 |
+
"model.language_model.layers.13.mlp.gate_proj": {
|
| 340 |
+
"scheme": "rfi",
|
| 341 |
+
"bits": 8
|
| 342 |
+
},
|
| 343 |
+
"model.language_model.layers.13.mlp.up_proj": {
|
| 344 |
+
"scheme": "rfi",
|
| 345 |
+
"bits": 8
|
| 346 |
+
},
|
| 347 |
+
"model.language_model.layers.14.linear_attn.conv1d": {
|
| 348 |
+
"scheme": "dense"
|
| 349 |
+
},
|
| 350 |
+
"model.language_model.layers.14.linear_attn.in_proj_a": {
|
| 351 |
+
"scheme": "dense"
|
| 352 |
+
},
|
| 353 |
+
"model.language_model.layers.14.linear_attn.in_proj_b": {
|
| 354 |
+
"scheme": "dense"
|
| 355 |
+
},
|
| 356 |
+
"model.language_model.layers.14.linear_attn.in_proj_qkv": {
|
| 357 |
+
"scheme": "dense"
|
| 358 |
+
},
|
| 359 |
+
"model.language_model.layers.14.linear_attn.in_proj_z": {
|
| 360 |
+
"scheme": "dense"
|
| 361 |
+
},
|
| 362 |
+
"model.language_model.layers.14.linear_attn.out_proj": {
|
| 363 |
+
"scheme": "dense"
|
| 364 |
+
},
|
| 365 |
+
"model.language_model.layers.14.mlp.down_proj": {
|
| 366 |
+
"scheme": "rfi",
|
| 367 |
+
"bits": 8
|
| 368 |
+
},
|
| 369 |
+
"model.language_model.layers.14.mlp.gate_proj": {
|
| 370 |
+
"scheme": "rfi",
|
| 371 |
+
"bits": 8
|
| 372 |
+
},
|
| 373 |
+
"model.language_model.layers.14.mlp.up_proj": {
|
| 374 |
+
"scheme": "rfi",
|
| 375 |
+
"bits": 8
|
| 376 |
+
},
|
| 377 |
+
"model.language_model.layers.15.mlp.down_proj": {
|
| 378 |
+
"scheme": "rfi",
|
| 379 |
+
"bits": 8
|
| 380 |
+
},
|
| 381 |
+
"model.language_model.layers.15.mlp.gate_proj": {
|
| 382 |
+
"scheme": "rfi",
|
| 383 |
+
"bits": 8
|
| 384 |
+
},
|
| 385 |
+
"model.language_model.layers.15.mlp.up_proj": {
|
| 386 |
+
"scheme": "rfi",
|
| 387 |
+
"bits": 8
|
| 388 |
+
},
|
| 389 |
+
"model.language_model.layers.15.self_attn.k_proj": {
|
| 390 |
+
"scheme": "dense"
|
| 391 |
+
},
|
| 392 |
+
"model.language_model.layers.15.self_attn.o_proj": {
|
| 393 |
+
"scheme": "dense"
|
| 394 |
+
},
|
| 395 |
+
"model.language_model.layers.15.self_attn.q_proj": {
|
| 396 |
+
"scheme": "dense"
|
| 397 |
+
},
|
| 398 |
+
"model.language_model.layers.15.self_attn.v_proj": {
|
| 399 |
+
"scheme": "dense"
|
| 400 |
+
},
|
| 401 |
+
"model.language_model.layers.16.linear_attn.conv1d": {
|
| 402 |
+
"scheme": "dense"
|
| 403 |
+
},
|
| 404 |
+
"model.language_model.layers.16.linear_attn.in_proj_a": {
|
| 405 |
+
"scheme": "dense"
|
| 406 |
+
},
|
| 407 |
+
"model.language_model.layers.16.linear_attn.in_proj_b": {
|
| 408 |
+
"scheme": "dense"
|
| 409 |
+
},
|
| 410 |
+
"model.language_model.layers.16.linear_attn.in_proj_qkv": {
|
| 411 |
+
"scheme": "dense"
|
| 412 |
+
},
|
| 413 |
+
"model.language_model.layers.16.linear_attn.in_proj_z": {
|
| 414 |
+
"scheme": "dense"
|
| 415 |
+
},
|
| 416 |
+
"model.language_model.layers.16.linear_attn.out_proj": {
|
| 417 |
+
"scheme": "dense"
|
| 418 |
+
},
|
| 419 |
+
"model.language_model.layers.16.mlp.down_proj": {
|
| 420 |
+
"scheme": "rfi",
|
| 421 |
+
"bits": 8
|
| 422 |
+
},
|
| 423 |
+
"model.language_model.layers.16.mlp.gate_proj": {
|
| 424 |
+
"scheme": "rfi",
|
| 425 |
+
"bits": 8
|
| 426 |
+
},
|
| 427 |
+
"model.language_model.layers.16.mlp.up_proj": {
|
| 428 |
+
"scheme": "rfi",
|
| 429 |
+
"bits": 8
|
| 430 |
+
},
|
| 431 |
+
"model.language_model.layers.17.linear_attn.conv1d": {
|
| 432 |
+
"scheme": "dense"
|
| 433 |
+
},
|
| 434 |
+
"model.language_model.layers.17.linear_attn.in_proj_a": {
|
| 435 |
+
"scheme": "dense"
|
| 436 |
+
},
|
| 437 |
+
"model.language_model.layers.17.linear_attn.in_proj_b": {
|
| 438 |
+
"scheme": "dense"
|
| 439 |
+
},
|
| 440 |
+
"model.language_model.layers.17.linear_attn.in_proj_qkv": {
|
| 441 |
+
"scheme": "dense"
|
| 442 |
+
},
|
| 443 |
+
"model.language_model.layers.17.linear_attn.in_proj_z": {
|
| 444 |
+
"scheme": "dense"
|
| 445 |
+
},
|
| 446 |
+
"model.language_model.layers.17.linear_attn.out_proj": {
|
| 447 |
+
"scheme": "dense"
|
| 448 |
+
},
|
| 449 |
+
"model.language_model.layers.17.mlp.down_proj": {
|
| 450 |
+
"scheme": "rfi",
|
| 451 |
+
"bits": 8
|
| 452 |
+
},
|
| 453 |
+
"model.language_model.layers.17.mlp.gate_proj": {
|
| 454 |
+
"scheme": "rfi",
|
| 455 |
+
"bits": 8
|
| 456 |
+
},
|
| 457 |
+
"model.language_model.layers.17.mlp.up_proj": {
|
| 458 |
+
"scheme": "rfi",
|
| 459 |
+
"bits": 8
|
| 460 |
+
},
|
| 461 |
+
"model.language_model.layers.18.linear_attn.conv1d": {
|
| 462 |
+
"scheme": "dense"
|
| 463 |
+
},
|
| 464 |
+
"model.language_model.layers.18.linear_attn.in_proj_a": {
|
| 465 |
+
"scheme": "dense"
|
| 466 |
+
},
|
| 467 |
+
"model.language_model.layers.18.linear_attn.in_proj_b": {
|
| 468 |
+
"scheme": "dense"
|
| 469 |
+
},
|
| 470 |
+
"model.language_model.layers.18.linear_attn.in_proj_qkv": {
|
| 471 |
+
"scheme": "dense"
|
| 472 |
+
},
|
| 473 |
+
"model.language_model.layers.18.linear_attn.in_proj_z": {
|
| 474 |
+
"scheme": "dense"
|
| 475 |
+
},
|
| 476 |
+
"model.language_model.layers.18.linear_attn.out_proj": {
|
| 477 |
+
"scheme": "dense"
|
| 478 |
+
},
|
| 479 |
+
"model.language_model.layers.18.mlp.down_proj": {
|
| 480 |
+
"scheme": "rfi",
|
| 481 |
+
"bits": 8
|
| 482 |
+
},
|
| 483 |
+
"model.language_model.layers.18.mlp.gate_proj": {
|
| 484 |
+
"scheme": "rfi",
|
| 485 |
+
"bits": 8
|
| 486 |
+
},
|
| 487 |
+
"model.language_model.layers.18.mlp.up_proj": {
|
| 488 |
+
"scheme": "rfi",
|
| 489 |
+
"bits": 8
|
| 490 |
+
},
|
| 491 |
+
"model.language_model.layers.19.mlp.down_proj": {
|
| 492 |
+
"scheme": "rfi",
|
| 493 |
+
"bits": 8
|
| 494 |
+
},
|
| 495 |
+
"model.language_model.layers.19.mlp.gate_proj": {
|
| 496 |
+
"scheme": "rfi",
|
| 497 |
+
"bits": 8
|
| 498 |
+
},
|
| 499 |
+
"model.language_model.layers.19.mlp.up_proj": {
|
| 500 |
+
"scheme": "rfi",
|
| 501 |
+
"bits": 8
|
| 502 |
+
},
|
| 503 |
+
"model.language_model.layers.19.self_attn.k_proj": {
|
| 504 |
+
"scheme": "dense"
|
| 505 |
+
},
|
| 506 |
+
"model.language_model.layers.19.self_attn.o_proj": {
|
| 507 |
+
"scheme": "dense"
|
| 508 |
+
},
|
| 509 |
+
"model.language_model.layers.19.self_attn.q_proj": {
|
| 510 |
+
"scheme": "dense"
|
| 511 |
+
},
|
| 512 |
+
"model.language_model.layers.19.self_attn.v_proj": {
|
| 513 |
+
"scheme": "dense"
|
| 514 |
+
},
|
| 515 |
+
"model.language_model.layers.2.linear_attn.conv1d": {
|
| 516 |
+
"scheme": "dense"
|
| 517 |
+
},
|
| 518 |
+
"model.language_model.layers.2.linear_attn.in_proj_a": {
|
| 519 |
+
"scheme": "dense"
|
| 520 |
+
},
|
| 521 |
+
"model.language_model.layers.2.linear_attn.in_proj_b": {
|
| 522 |
+
"scheme": "dense"
|
| 523 |
+
},
|
| 524 |
+
"model.language_model.layers.2.linear_attn.in_proj_qkv": {
|
| 525 |
+
"scheme": "dense"
|
| 526 |
+
},
|
| 527 |
+
"model.language_model.layers.2.linear_attn.in_proj_z": {
|
| 528 |
+
"scheme": "dense"
|
| 529 |
+
},
|
| 530 |
+
"model.language_model.layers.2.linear_attn.out_proj": {
|
| 531 |
+
"scheme": "dense"
|
| 532 |
+
},
|
| 533 |
+
"model.language_model.layers.2.mlp.down_proj": {
|
| 534 |
+
"scheme": "rfi",
|
| 535 |
+
"bits": 8
|
| 536 |
+
},
|
| 537 |
+
"model.language_model.layers.2.mlp.gate_proj": {
|
| 538 |
+
"scheme": "rfi",
|
| 539 |
+
"bits": 8
|
| 540 |
+
},
|
| 541 |
+
"model.language_model.layers.2.mlp.up_proj": {
|
| 542 |
+
"scheme": "rfi",
|
| 543 |
+
"bits": 8
|
| 544 |
+
},
|
| 545 |
+
"model.language_model.layers.20.linear_attn.conv1d": {
|
| 546 |
+
"scheme": "dense"
|
| 547 |
+
},
|
| 548 |
+
"model.language_model.layers.20.linear_attn.in_proj_a": {
|
| 549 |
+
"scheme": "dense"
|
| 550 |
+
},
|
| 551 |
+
"model.language_model.layers.20.linear_attn.in_proj_b": {
|
| 552 |
+
"scheme": "dense"
|
| 553 |
+
},
|
| 554 |
+
"model.language_model.layers.20.linear_attn.in_proj_qkv": {
|
| 555 |
+
"scheme": "dense"
|
| 556 |
+
},
|
| 557 |
+
"model.language_model.layers.20.linear_attn.in_proj_z": {
|
| 558 |
+
"scheme": "dense"
|
| 559 |
+
},
|
| 560 |
+
"model.language_model.layers.20.linear_attn.out_proj": {
|
| 561 |
+
"scheme": "dense"
|
| 562 |
+
},
|
| 563 |
+
"model.language_model.layers.20.mlp.down_proj": {
|
| 564 |
+
"scheme": "rfi",
|
| 565 |
+
"bits": 8
|
| 566 |
+
},
|
| 567 |
+
"model.language_model.layers.20.mlp.gate_proj": {
|
| 568 |
+
"scheme": "rfi",
|
| 569 |
+
"bits": 8
|
| 570 |
+
},
|
| 571 |
+
"model.language_model.layers.20.mlp.up_proj": {
|
| 572 |
+
"scheme": "rfi",
|
| 573 |
+
"bits": 8
|
| 574 |
+
},
|
| 575 |
+
"model.language_model.layers.21.linear_attn.conv1d": {
|
| 576 |
+
"scheme": "dense"
|
| 577 |
+
},
|
| 578 |
+
"model.language_model.layers.21.linear_attn.in_proj_a": {
|
| 579 |
+
"scheme": "dense"
|
| 580 |
+
},
|
| 581 |
+
"model.language_model.layers.21.linear_attn.in_proj_b": {
|
| 582 |
+
"scheme": "dense"
|
| 583 |
+
},
|
| 584 |
+
"model.language_model.layers.21.linear_attn.in_proj_qkv": {
|
| 585 |
+
"scheme": "dense"
|
| 586 |
+
},
|
| 587 |
+
"model.language_model.layers.21.linear_attn.in_proj_z": {
|
| 588 |
+
"scheme": "dense"
|
| 589 |
+
},
|
| 590 |
+
"model.language_model.layers.21.linear_attn.out_proj": {
|
| 591 |
+
"scheme": "dense"
|
| 592 |
+
},
|
| 593 |
+
"model.language_model.layers.21.mlp.down_proj": {
|
| 594 |
+
"scheme": "rfi",
|
| 595 |
+
"bits": 8
|
| 596 |
+
},
|
| 597 |
+
"model.language_model.layers.21.mlp.gate_proj": {
|
| 598 |
+
"scheme": "rfi",
|
| 599 |
+
"bits": 8
|
| 600 |
+
},
|
| 601 |
+
"model.language_model.layers.21.mlp.up_proj": {
|
| 602 |
+
"scheme": "rfi",
|
| 603 |
+
"bits": 8
|
| 604 |
+
},
|
| 605 |
+
"model.language_model.layers.22.linear_attn.conv1d": {
|
| 606 |
+
"scheme": "dense"
|
| 607 |
+
},
|
| 608 |
+
"model.language_model.layers.22.linear_attn.in_proj_a": {
|
| 609 |
+
"scheme": "dense"
|
| 610 |
+
},
|
| 611 |
+
"model.language_model.layers.22.linear_attn.in_proj_b": {
|
| 612 |
+
"scheme": "dense"
|
| 613 |
+
},
|
| 614 |
+
"model.language_model.layers.22.linear_attn.in_proj_qkv": {
|
| 615 |
+
"scheme": "dense"
|
| 616 |
+
},
|
| 617 |
+
"model.language_model.layers.22.linear_attn.in_proj_z": {
|
| 618 |
+
"scheme": "dense"
|
| 619 |
+
},
|
| 620 |
+
"model.language_model.layers.22.linear_attn.out_proj": {
|
| 621 |
+
"scheme": "dense"
|
| 622 |
+
},
|
| 623 |
+
"model.language_model.layers.22.mlp.down_proj": {
|
| 624 |
+
"scheme": "rfi",
|
| 625 |
+
"bits": 8
|
| 626 |
+
},
|
| 627 |
+
"model.language_model.layers.22.mlp.gate_proj": {
|
| 628 |
+
"scheme": "rfi",
|
| 629 |
+
"bits": 8
|
| 630 |
+
},
|
| 631 |
+
"model.language_model.layers.22.mlp.up_proj": {
|
| 632 |
+
"scheme": "rfi",
|
| 633 |
+
"bits": 8
|
| 634 |
+
},
|
| 635 |
+
"model.language_model.layers.23.mlp.down_proj": {
|
| 636 |
+
"scheme": "rfi",
|
| 637 |
+
"bits": 8
|
| 638 |
+
},
|
| 639 |
+
"model.language_model.layers.23.mlp.gate_proj": {
|
| 640 |
+
"scheme": "rfi",
|
| 641 |
+
"bits": 8
|
| 642 |
+
},
|
| 643 |
+
"model.language_model.layers.23.mlp.up_proj": {
|
| 644 |
+
"scheme": "rfi",
|
| 645 |
+
"bits": 8
|
| 646 |
+
},
|
| 647 |
+
"model.language_model.layers.23.self_attn.k_proj": {
|
| 648 |
+
"scheme": "dense"
|
| 649 |
+
},
|
| 650 |
+
"model.language_model.layers.23.self_attn.o_proj": {
|
| 651 |
+
"scheme": "dense"
|
| 652 |
+
},
|
| 653 |
+
"model.language_model.layers.23.self_attn.q_proj": {
|
| 654 |
+
"scheme": "dense"
|
| 655 |
+
},
|
| 656 |
+
"model.language_model.layers.23.self_attn.v_proj": {
|
| 657 |
+
"scheme": "dense"
|
| 658 |
+
},
|
| 659 |
+
"model.language_model.layers.24.linear_attn.conv1d": {
|
| 660 |
+
"scheme": "dense"
|
| 661 |
+
},
|
| 662 |
+
"model.language_model.layers.24.linear_attn.in_proj_a": {
|
| 663 |
+
"scheme": "dense"
|
| 664 |
+
},
|
| 665 |
+
"model.language_model.layers.24.linear_attn.in_proj_b": {
|
| 666 |
+
"scheme": "dense"
|
| 667 |
+
},
|
| 668 |
+
"model.language_model.layers.24.linear_attn.in_proj_qkv": {
|
| 669 |
+
"scheme": "dense"
|
| 670 |
+
},
|
| 671 |
+
"model.language_model.layers.24.linear_attn.in_proj_z": {
|
| 672 |
+
"scheme": "dense"
|
| 673 |
+
},
|
| 674 |
+
"model.language_model.layers.24.linear_attn.out_proj": {
|
| 675 |
+
"scheme": "dense"
|
| 676 |
+
},
|
| 677 |
+
"model.language_model.layers.24.mlp.down_proj": {
|
| 678 |
+
"scheme": "rfi",
|
| 679 |
+
"bits": 8
|
| 680 |
+
},
|
| 681 |
+
"model.language_model.layers.24.mlp.gate_proj": {
|
| 682 |
+
"scheme": "rfi",
|
| 683 |
+
"bits": 8
|
| 684 |
+
},
|
| 685 |
+
"model.language_model.layers.24.mlp.up_proj": {
|
| 686 |
+
"scheme": "rfi",
|
| 687 |
+
"bits": 8
|
| 688 |
+
},
|
| 689 |
+
"model.language_model.layers.25.linear_attn.conv1d": {
|
| 690 |
+
"scheme": "dense"
|
| 691 |
+
},
|
| 692 |
+
"model.language_model.layers.25.linear_attn.in_proj_a": {
|
| 693 |
+
"scheme": "dense"
|
| 694 |
+
},
|
| 695 |
+
"model.language_model.layers.25.linear_attn.in_proj_b": {
|
| 696 |
+
"scheme": "dense"
|
| 697 |
+
},
|
| 698 |
+
"model.language_model.layers.25.linear_attn.in_proj_qkv": {
|
| 699 |
+
"scheme": "dense"
|
| 700 |
+
},
|
| 701 |
+
"model.language_model.layers.25.linear_attn.in_proj_z": {
|
| 702 |
+
"scheme": "dense"
|
| 703 |
+
},
|
| 704 |
+
"model.language_model.layers.25.linear_attn.out_proj": {
|
| 705 |
+
"scheme": "dense"
|
| 706 |
+
},
|
| 707 |
+
"model.language_model.layers.25.mlp.down_proj": {
|
| 708 |
+
"scheme": "rfi",
|
| 709 |
+
"bits": 8
|
| 710 |
+
},
|
| 711 |
+
"model.language_model.layers.25.mlp.gate_proj": {
|
| 712 |
+
"scheme": "rfi",
|
| 713 |
+
"bits": 8
|
| 714 |
+
},
|
| 715 |
+
"model.language_model.layers.25.mlp.up_proj": {
|
| 716 |
+
"scheme": "rfi",
|
| 717 |
+
"bits": 8
|
| 718 |
+
},
|
| 719 |
+
"model.language_model.layers.26.linear_attn.conv1d": {
|
| 720 |
+
"scheme": "dense"
|
| 721 |
+
},
|
| 722 |
+
"model.language_model.layers.26.linear_attn.in_proj_a": {
|
| 723 |
+
"scheme": "dense"
|
| 724 |
+
},
|
| 725 |
+
"model.language_model.layers.26.linear_attn.in_proj_b": {
|
| 726 |
+
"scheme": "dense"
|
| 727 |
+
},
|
| 728 |
+
"model.language_model.layers.26.linear_attn.in_proj_qkv": {
|
| 729 |
+
"scheme": "dense"
|
| 730 |
+
},
|
| 731 |
+
"model.language_model.layers.26.linear_attn.in_proj_z": {
|
| 732 |
+
"scheme": "dense"
|
| 733 |
+
},
|
| 734 |
+
"model.language_model.layers.26.linear_attn.out_proj": {
|
| 735 |
+
"scheme": "dense"
|
| 736 |
+
},
|
| 737 |
+
"model.language_model.layers.26.mlp.down_proj": {
|
| 738 |
+
"scheme": "rfi",
|
| 739 |
+
"bits": 8
|
| 740 |
+
},
|
| 741 |
+
"model.language_model.layers.26.mlp.gate_proj": {
|
| 742 |
+
"scheme": "rfi",
|
| 743 |
+
"bits": 8
|
| 744 |
+
},
|
| 745 |
+
"model.language_model.layers.26.mlp.up_proj": {
|
| 746 |
+
"scheme": "rfi",
|
| 747 |
+
"bits": 8
|
| 748 |
+
},
|
| 749 |
+
"model.language_model.layers.27.mlp.down_proj": {
|
| 750 |
+
"scheme": "rfi",
|
| 751 |
+
"bits": 8
|
| 752 |
+
},
|
| 753 |
+
"model.language_model.layers.27.mlp.gate_proj": {
|
| 754 |
+
"scheme": "rfi",
|
| 755 |
+
"bits": 8
|
| 756 |
+
},
|
| 757 |
+
"model.language_model.layers.27.mlp.up_proj": {
|
| 758 |
+
"scheme": "rfi",
|
| 759 |
+
"bits": 8
|
| 760 |
+
},
|
| 761 |
+
"model.language_model.layers.27.self_attn.k_proj": {
|
| 762 |
+
"scheme": "dense"
|
| 763 |
+
},
|
| 764 |
+
"model.language_model.layers.27.self_attn.o_proj": {
|
| 765 |
+
"scheme": "dense"
|
| 766 |
+
},
|
| 767 |
+
"model.language_model.layers.27.self_attn.q_proj": {
|
| 768 |
+
"scheme": "dense"
|
| 769 |
+
},
|
| 770 |
+
"model.language_model.layers.27.self_attn.v_proj": {
|
| 771 |
+
"scheme": "dense"
|
| 772 |
+
},
|
| 773 |
+
"model.language_model.layers.28.linear_attn.conv1d": {
|
| 774 |
+
"scheme": "dense"
|
| 775 |
+
},
|
| 776 |
+
"model.language_model.layers.28.linear_attn.in_proj_a": {
|
| 777 |
+
"scheme": "dense"
|
| 778 |
+
},
|
| 779 |
+
"model.language_model.layers.28.linear_attn.in_proj_b": {
|
| 780 |
+
"scheme": "dense"
|
| 781 |
+
},
|
| 782 |
+
"model.language_model.layers.28.linear_attn.in_proj_qkv": {
|
| 783 |
+
"scheme": "dense"
|
| 784 |
+
},
|
| 785 |
+
"model.language_model.layers.28.linear_attn.in_proj_z": {
|
| 786 |
+
"scheme": "dense"
|
| 787 |
+
},
|
| 788 |
+
"model.language_model.layers.28.linear_attn.out_proj": {
|
| 789 |
+
"scheme": "dense"
|
| 790 |
+
},
|
| 791 |
+
"model.language_model.layers.28.mlp.down_proj": {
|
| 792 |
+
"scheme": "rfi",
|
| 793 |
+
"bits": 8
|
| 794 |
+
},
|
| 795 |
+
"model.language_model.layers.28.mlp.gate_proj": {
|
| 796 |
+
"scheme": "rfi",
|
| 797 |
+
"bits": 8
|
| 798 |
+
},
|
| 799 |
+
"model.language_model.layers.28.mlp.up_proj": {
|
| 800 |
+
"scheme": "rfi",
|
| 801 |
+
"bits": 8
|
| 802 |
+
},
|
| 803 |
+
"model.language_model.layers.29.linear_attn.conv1d": {
|
| 804 |
+
"scheme": "dense"
|
| 805 |
+
},
|
| 806 |
+
"model.language_model.layers.29.linear_attn.in_proj_a": {
|
| 807 |
+
"scheme": "dense"
|
| 808 |
+
},
|
| 809 |
+
"model.language_model.layers.29.linear_attn.in_proj_b": {
|
| 810 |
+
"scheme": "dense"
|
| 811 |
+
},
|
| 812 |
+
"model.language_model.layers.29.linear_attn.in_proj_qkv": {
|
| 813 |
+
"scheme": "dense"
|
| 814 |
+
},
|
| 815 |
+
"model.language_model.layers.29.linear_attn.in_proj_z": {
|
| 816 |
+
"scheme": "dense"
|
| 817 |
+
},
|
| 818 |
+
"model.language_model.layers.29.linear_attn.out_proj": {
|
| 819 |
+
"scheme": "dense"
|
| 820 |
+
},
|
| 821 |
+
"model.language_model.layers.29.mlp.down_proj": {
|
| 822 |
+
"scheme": "rfi",
|
| 823 |
+
"bits": 8
|
| 824 |
+
},
|
| 825 |
+
"model.language_model.layers.29.mlp.gate_proj": {
|
| 826 |
+
"scheme": "rfi",
|
| 827 |
+
"bits": 8
|
| 828 |
+
},
|
| 829 |
+
"model.language_model.layers.29.mlp.up_proj": {
|
| 830 |
+
"scheme": "rfi",
|
| 831 |
+
"bits": 8
|
| 832 |
+
},
|
| 833 |
+
"model.language_model.layers.3.mlp.down_proj": {
|
| 834 |
+
"scheme": "rfi",
|
| 835 |
+
"bits": 8
|
| 836 |
+
},
|
| 837 |
+
"model.language_model.layers.3.mlp.gate_proj": {
|
| 838 |
+
"scheme": "rfi",
|
| 839 |
+
"bits": 8
|
| 840 |
+
},
|
| 841 |
+
"model.language_model.layers.3.mlp.up_proj": {
|
| 842 |
+
"scheme": "rfi",
|
| 843 |
+
"bits": 8
|
| 844 |
+
},
|
| 845 |
+
"model.language_model.layers.3.self_attn.k_proj": {
|
| 846 |
+
"scheme": "dense"
|
| 847 |
+
},
|
| 848 |
+
"model.language_model.layers.3.self_attn.o_proj": {
|
| 849 |
+
"scheme": "dense"
|
| 850 |
+
},
|
| 851 |
+
"model.language_model.layers.3.self_attn.q_proj": {
|
| 852 |
+
"scheme": "dense"
|
| 853 |
+
},
|
| 854 |
+
"model.language_model.layers.3.self_attn.v_proj": {
|
| 855 |
+
"scheme": "dense"
|
| 856 |
+
},
|
| 857 |
+
"model.language_model.layers.30.linear_attn.conv1d": {
|
| 858 |
+
"scheme": "dense"
|
| 859 |
+
},
|
| 860 |
+
"model.language_model.layers.30.linear_attn.in_proj_a": {
|
| 861 |
+
"scheme": "dense"
|
| 862 |
+
},
|
| 863 |
+
"model.language_model.layers.30.linear_attn.in_proj_b": {
|
| 864 |
+
"scheme": "dense"
|
| 865 |
+
},
|
| 866 |
+
"model.language_model.layers.30.linear_attn.in_proj_qkv": {
|
| 867 |
+
"scheme": "dense"
|
| 868 |
+
},
|
| 869 |
+
"model.language_model.layers.30.linear_attn.in_proj_z": {
|
| 870 |
+
"scheme": "dense"
|
| 871 |
+
},
|
| 872 |
+
"model.language_model.layers.30.linear_attn.out_proj": {
|
| 873 |
+
"scheme": "dense"
|
| 874 |
+
},
|
| 875 |
+
"model.language_model.layers.30.mlp.down_proj": {
|
| 876 |
+
"scheme": "rfi",
|
| 877 |
+
"bits": 8
|
| 878 |
+
},
|
| 879 |
+
"model.language_model.layers.30.mlp.gate_proj": {
|
| 880 |
+
"scheme": "rfi",
|
| 881 |
+
"bits": 8
|
| 882 |
+
},
|
| 883 |
+
"model.language_model.layers.30.mlp.up_proj": {
|
| 884 |
+
"scheme": "rfi",
|
| 885 |
+
"bits": 8
|
| 886 |
+
},
|
| 887 |
+
"model.language_model.layers.31.mlp.down_proj": {
|
| 888 |
+
"scheme": "rfi",
|
| 889 |
+
"bits": 8
|
| 890 |
+
},
|
| 891 |
+
"model.language_model.layers.31.mlp.gate_proj": {
|
| 892 |
+
"scheme": "rfi",
|
| 893 |
+
"bits": 8
|
| 894 |
+
},
|
| 895 |
+
"model.language_model.layers.31.mlp.up_proj": {
|
| 896 |
+
"scheme": "rfi",
|
| 897 |
+
"bits": 8
|
| 898 |
+
},
|
| 899 |
+
"model.language_model.layers.31.self_attn.k_proj": {
|
| 900 |
+
"scheme": "dense"
|
| 901 |
+
},
|
| 902 |
+
"model.language_model.layers.31.self_attn.o_proj": {
|
| 903 |
+
"scheme": "dense"
|
| 904 |
+
},
|
| 905 |
+
"model.language_model.layers.31.self_attn.q_proj": {
|
| 906 |
+
"scheme": "dense"
|
| 907 |
+
},
|
| 908 |
+
"model.language_model.layers.31.self_attn.v_proj": {
|
| 909 |
+
"scheme": "dense"
|
| 910 |
+
},
|
| 911 |
+
"model.language_model.layers.32.linear_attn.conv1d": {
|
| 912 |
+
"scheme": "dense"
|
| 913 |
+
},
|
| 914 |
+
"model.language_model.layers.32.linear_attn.in_proj_a": {
|
| 915 |
+
"scheme": "dense"
|
| 916 |
+
},
|
| 917 |
+
"model.language_model.layers.32.linear_attn.in_proj_b": {
|
| 918 |
+
"scheme": "dense"
|
| 919 |
+
},
|
| 920 |
+
"model.language_model.layers.32.linear_attn.in_proj_qkv": {
|
| 921 |
+
"scheme": "dense"
|
| 922 |
+
},
|
| 923 |
+
"model.language_model.layers.32.linear_attn.in_proj_z": {
|
| 924 |
+
"scheme": "dense"
|
| 925 |
+
},
|
| 926 |
+
"model.language_model.layers.32.linear_attn.out_proj": {
|
| 927 |
+
"scheme": "dense"
|
| 928 |
+
},
|
| 929 |
+
"model.language_model.layers.32.mlp.down_proj": {
|
| 930 |
+
"scheme": "rfi",
|
| 931 |
+
"bits": 8
|
| 932 |
+
},
|
| 933 |
+
"model.language_model.layers.32.mlp.gate_proj": {
|
| 934 |
+
"scheme": "rfi",
|
| 935 |
+
"bits": 8
|
| 936 |
+
},
|
| 937 |
+
"model.language_model.layers.32.mlp.up_proj": {
|
| 938 |
+
"scheme": "rfi",
|
| 939 |
+
"bits": 8
|
| 940 |
+
},
|
| 941 |
+
"model.language_model.layers.33.linear_attn.conv1d": {
|
| 942 |
+
"scheme": "dense"
|
| 943 |
+
},
|
| 944 |
+
"model.language_model.layers.33.linear_attn.in_proj_a": {
|
| 945 |
+
"scheme": "dense"
|
| 946 |
+
},
|
| 947 |
+
"model.language_model.layers.33.linear_attn.in_proj_b": {
|
| 948 |
+
"scheme": "dense"
|
| 949 |
+
},
|
| 950 |
+
"model.language_model.layers.33.linear_attn.in_proj_qkv": {
|
| 951 |
+
"scheme": "dense"
|
| 952 |
+
},
|
| 953 |
+
"model.language_model.layers.33.linear_attn.in_proj_z": {
|
| 954 |
+
"scheme": "dense"
|
| 955 |
+
},
|
| 956 |
+
"model.language_model.layers.33.linear_attn.out_proj": {
|
| 957 |
+
"scheme": "dense"
|
| 958 |
+
},
|
| 959 |
+
"model.language_model.layers.33.mlp.down_proj": {
|
| 960 |
+
"scheme": "rfi",
|
| 961 |
+
"bits": 8
|
| 962 |
+
},
|
| 963 |
+
"model.language_model.layers.33.mlp.gate_proj": {
|
| 964 |
+
"scheme": "rfi",
|
| 965 |
+
"bits": 8
|
| 966 |
+
},
|
| 967 |
+
"model.language_model.layers.33.mlp.up_proj": {
|
| 968 |
+
"scheme": "rfi",
|
| 969 |
+
"bits": 8
|
| 970 |
+
},
|
| 971 |
+
"model.language_model.layers.34.linear_attn.conv1d": {
|
| 972 |
+
"scheme": "dense"
|
| 973 |
+
},
|
| 974 |
+
"model.language_model.layers.34.linear_attn.in_proj_a": {
|
| 975 |
+
"scheme": "dense"
|
| 976 |
+
},
|
| 977 |
+
"model.language_model.layers.34.linear_attn.in_proj_b": {
|
| 978 |
+
"scheme": "dense"
|
| 979 |
+
},
|
| 980 |
+
"model.language_model.layers.34.linear_attn.in_proj_qkv": {
|
| 981 |
+
"scheme": "dense"
|
| 982 |
+
},
|
| 983 |
+
"model.language_model.layers.34.linear_attn.in_proj_z": {
|
| 984 |
+
"scheme": "dense"
|
| 985 |
+
},
|
| 986 |
+
"model.language_model.layers.34.linear_attn.out_proj": {
|
| 987 |
+
"scheme": "dense"
|
| 988 |
+
},
|
| 989 |
+
"model.language_model.layers.34.mlp.down_proj": {
|
| 990 |
+
"scheme": "rfi",
|
| 991 |
+
"bits": 8
|
| 992 |
+
},
|
| 993 |
+
"model.language_model.layers.34.mlp.gate_proj": {
|
| 994 |
+
"scheme": "rfi",
|
| 995 |
+
"bits": 8
|
| 996 |
+
},
|
| 997 |
+
"model.language_model.layers.34.mlp.up_proj": {
|
| 998 |
+
"scheme": "rfi",
|
| 999 |
+
"bits": 8
|
| 1000 |
+
},
|
| 1001 |
+
"model.language_model.layers.35.mlp.down_proj": {
|
| 1002 |
+
"scheme": "rfi",
|
| 1003 |
+
"bits": 8
|
| 1004 |
+
},
|
| 1005 |
+
"model.language_model.layers.35.mlp.gate_proj": {
|
| 1006 |
+
"scheme": "rfi",
|
| 1007 |
+
"bits": 8
|
| 1008 |
+
},
|
| 1009 |
+
"model.language_model.layers.35.mlp.up_proj": {
|
| 1010 |
+
"scheme": "rfi",
|
| 1011 |
+
"bits": 8
|
| 1012 |
+
},
|
| 1013 |
+
"model.language_model.layers.35.self_attn.k_proj": {
|
| 1014 |
+
"scheme": "dense"
|
| 1015 |
+
},
|
| 1016 |
+
"model.language_model.layers.35.self_attn.o_proj": {
|
| 1017 |
+
"scheme": "dense"
|
| 1018 |
+
},
|
| 1019 |
+
"model.language_model.layers.35.self_attn.q_proj": {
|
| 1020 |
+
"scheme": "dense"
|
| 1021 |
+
},
|
| 1022 |
+
"model.language_model.layers.35.self_attn.v_proj": {
|
| 1023 |
+
"scheme": "dense"
|
| 1024 |
+
},
|
| 1025 |
+
"model.language_model.layers.36.linear_attn.conv1d": {
|
| 1026 |
+
"scheme": "dense"
|
| 1027 |
+
},
|
| 1028 |
+
"model.language_model.layers.36.linear_attn.in_proj_a": {
|
| 1029 |
+
"scheme": "dense"
|
| 1030 |
+
},
|
| 1031 |
+
"model.language_model.layers.36.linear_attn.in_proj_b": {
|
| 1032 |
+
"scheme": "dense"
|
| 1033 |
+
},
|
| 1034 |
+
"model.language_model.layers.36.linear_attn.in_proj_qkv": {
|
| 1035 |
+
"scheme": "dense"
|
| 1036 |
+
},
|
| 1037 |
+
"model.language_model.layers.36.linear_attn.in_proj_z": {
|
| 1038 |
+
"scheme": "dense"
|
| 1039 |
+
},
|
| 1040 |
+
"model.language_model.layers.36.linear_attn.out_proj": {
|
| 1041 |
+
"scheme": "dense"
|
| 1042 |
+
},
|
| 1043 |
+
"model.language_model.layers.36.mlp.down_proj": {
|
| 1044 |
+
"scheme": "rfi",
|
| 1045 |
+
"bits": 8
|
| 1046 |
+
},
|
| 1047 |
+
"model.language_model.layers.36.mlp.gate_proj": {
|
| 1048 |
+
"scheme": "rfi",
|
| 1049 |
+
"bits": 8
|
| 1050 |
+
},
|
| 1051 |
+
"model.language_model.layers.36.mlp.up_proj": {
|
| 1052 |
+
"scheme": "rfi",
|
| 1053 |
+
"bits": 8
|
| 1054 |
+
},
|
| 1055 |
+
"model.language_model.layers.37.linear_attn.conv1d": {
|
| 1056 |
+
"scheme": "dense"
|
| 1057 |
+
},
|
| 1058 |
+
"model.language_model.layers.37.linear_attn.in_proj_a": {
|
| 1059 |
+
"scheme": "dense"
|
| 1060 |
+
},
|
| 1061 |
+
"model.language_model.layers.37.linear_attn.in_proj_b": {
|
| 1062 |
+
"scheme": "dense"
|
| 1063 |
+
},
|
| 1064 |
+
"model.language_model.layers.37.linear_attn.in_proj_qkv": {
|
| 1065 |
+
"scheme": "dense"
|
| 1066 |
+
},
|
| 1067 |
+
"model.language_model.layers.37.linear_attn.in_proj_z": {
|
| 1068 |
+
"scheme": "dense"
|
| 1069 |
+
},
|
| 1070 |
+
"model.language_model.layers.37.linear_attn.out_proj": {
|
| 1071 |
+
"scheme": "dense"
|
| 1072 |
+
},
|
| 1073 |
+
"model.language_model.layers.37.mlp.down_proj": {
|
| 1074 |
+
"scheme": "rfi",
|
| 1075 |
+
"bits": 8
|
| 1076 |
+
},
|
| 1077 |
+
"model.language_model.layers.37.mlp.gate_proj": {
|
| 1078 |
+
"scheme": "rfi",
|
| 1079 |
+
"bits": 8
|
| 1080 |
+
},
|
| 1081 |
+
"model.language_model.layers.37.mlp.up_proj": {
|
| 1082 |
+
"scheme": "rfi",
|
| 1083 |
+
"bits": 8
|
| 1084 |
+
},
|
| 1085 |
+
"model.language_model.layers.38.linear_attn.conv1d": {
|
| 1086 |
+
"scheme": "dense"
|
| 1087 |
+
},
|
| 1088 |
+
"model.language_model.layers.38.linear_attn.in_proj_a": {
|
| 1089 |
+
"scheme": "dense"
|
| 1090 |
+
},
|
| 1091 |
+
"model.language_model.layers.38.linear_attn.in_proj_b": {
|
| 1092 |
+
"scheme": "dense"
|
| 1093 |
+
},
|
| 1094 |
+
"model.language_model.layers.38.linear_attn.in_proj_qkv": {
|
| 1095 |
+
"scheme": "dense"
|
| 1096 |
+
},
|
| 1097 |
+
"model.language_model.layers.38.linear_attn.in_proj_z": {
|
| 1098 |
+
"scheme": "dense"
|
| 1099 |
+
},
|
| 1100 |
+
"model.language_model.layers.38.linear_attn.out_proj": {
|
| 1101 |
+
"scheme": "dense"
|
| 1102 |
+
},
|
| 1103 |
+
"model.language_model.layers.38.mlp.down_proj": {
|
| 1104 |
+
"scheme": "rfi",
|
| 1105 |
+
"bits": 8
|
| 1106 |
+
},
|
| 1107 |
+
"model.language_model.layers.38.mlp.gate_proj": {
|
| 1108 |
+
"scheme": "rfi",
|
| 1109 |
+
"bits": 8
|
| 1110 |
+
},
|
| 1111 |
+
"model.language_model.layers.38.mlp.up_proj": {
|
| 1112 |
+
"scheme": "rfi",
|
| 1113 |
+
"bits": 8
|
| 1114 |
+
},
|
| 1115 |
+
"model.language_model.layers.39.mlp.down_proj": {
|
| 1116 |
+
"scheme": "rfi",
|
| 1117 |
+
"bits": 8
|
| 1118 |
+
},
|
| 1119 |
+
"model.language_model.layers.39.mlp.gate_proj": {
|
| 1120 |
+
"scheme": "rfi",
|
| 1121 |
+
"bits": 8
|
| 1122 |
+
},
|
| 1123 |
+
"model.language_model.layers.39.mlp.up_proj": {
|
| 1124 |
+
"scheme": "rfi",
|
| 1125 |
+
"bits": 8
|
| 1126 |
+
},
|
| 1127 |
+
"model.language_model.layers.39.self_attn.k_proj": {
|
| 1128 |
+
"scheme": "dense"
|
| 1129 |
+
},
|
| 1130 |
+
"model.language_model.layers.39.self_attn.o_proj": {
|
| 1131 |
+
"scheme": "dense"
|
| 1132 |
+
},
|
| 1133 |
+
"model.language_model.layers.39.self_attn.q_proj": {
|
| 1134 |
+
"scheme": "dense"
|
| 1135 |
+
},
|
| 1136 |
+
"model.language_model.layers.39.self_attn.v_proj": {
|
| 1137 |
+
"scheme": "dense"
|
| 1138 |
+
},
|
| 1139 |
+
"model.language_model.layers.4.linear_attn.conv1d": {
|
| 1140 |
+
"scheme": "dense"
|
| 1141 |
+
},
|
| 1142 |
+
"model.language_model.layers.4.linear_attn.in_proj_a": {
|
| 1143 |
+
"scheme": "dense"
|
| 1144 |
+
},
|
| 1145 |
+
"model.language_model.layers.4.linear_attn.in_proj_b": {
|
| 1146 |
+
"scheme": "dense"
|
| 1147 |
+
},
|
| 1148 |
+
"model.language_model.layers.4.linear_attn.in_proj_qkv": {
|
| 1149 |
+
"scheme": "dense"
|
| 1150 |
+
},
|
| 1151 |
+
"model.language_model.layers.4.linear_attn.in_proj_z": {
|
| 1152 |
+
"scheme": "dense"
|
| 1153 |
+
},
|
| 1154 |
+
"model.language_model.layers.4.linear_attn.out_proj": {
|
| 1155 |
+
"scheme": "dense"
|
| 1156 |
+
},
|
| 1157 |
+
"model.language_model.layers.4.mlp.down_proj": {
|
| 1158 |
+
"scheme": "rfi",
|
| 1159 |
+
"bits": 8
|
| 1160 |
+
},
|
| 1161 |
+
"model.language_model.layers.4.mlp.gate_proj": {
|
| 1162 |
+
"scheme": "rfi",
|
| 1163 |
+
"bits": 8
|
| 1164 |
+
},
|
| 1165 |
+
"model.language_model.layers.4.mlp.up_proj": {
|
| 1166 |
+
"scheme": "rfi",
|
| 1167 |
+
"bits": 8
|
| 1168 |
+
},
|
| 1169 |
+
"model.language_model.layers.40.linear_attn.conv1d": {
|
| 1170 |
+
"scheme": "dense"
|
| 1171 |
+
},
|
| 1172 |
+
"model.language_model.layers.40.linear_attn.in_proj_a": {
|
| 1173 |
+
"scheme": "dense"
|
| 1174 |
+
},
|
| 1175 |
+
"model.language_model.layers.40.linear_attn.in_proj_b": {
|
| 1176 |
+
"scheme": "dense"
|
| 1177 |
+
},
|
| 1178 |
+
"model.language_model.layers.40.linear_attn.in_proj_qkv": {
|
| 1179 |
+
"scheme": "dense"
|
| 1180 |
+
},
|
| 1181 |
+
"model.language_model.layers.40.linear_attn.in_proj_z": {
|
| 1182 |
+
"scheme": "dense"
|
| 1183 |
+
},
|
| 1184 |
+
"model.language_model.layers.40.linear_attn.out_proj": {
|
| 1185 |
+
"scheme": "dense"
|
| 1186 |
+
},
|
| 1187 |
+
"model.language_model.layers.40.mlp.down_proj": {
|
| 1188 |
+
"scheme": "rfi",
|
| 1189 |
+
"bits": 8
|
| 1190 |
+
},
|
| 1191 |
+
"model.language_model.layers.40.mlp.gate_proj": {
|
| 1192 |
+
"scheme": "rfi",
|
| 1193 |
+
"bits": 8
|
| 1194 |
+
},
|
| 1195 |
+
"model.language_model.layers.40.mlp.up_proj": {
|
| 1196 |
+
"scheme": "rfi",
|
| 1197 |
+
"bits": 8
|
| 1198 |
+
},
|
| 1199 |
+
"model.language_model.layers.41.linear_attn.conv1d": {
|
| 1200 |
+
"scheme": "dense"
|
| 1201 |
+
},
|
| 1202 |
+
"model.language_model.layers.41.linear_attn.in_proj_a": {
|
| 1203 |
+
"scheme": "dense"
|
| 1204 |
+
},
|
| 1205 |
+
"model.language_model.layers.41.linear_attn.in_proj_b": {
|
| 1206 |
+
"scheme": "dense"
|
| 1207 |
+
},
|
| 1208 |
+
"model.language_model.layers.41.linear_attn.in_proj_qkv": {
|
| 1209 |
+
"scheme": "dense"
|
| 1210 |
+
},
|
| 1211 |
+
"model.language_model.layers.41.linear_attn.in_proj_z": {
|
| 1212 |
+
"scheme": "dense"
|
| 1213 |
+
},
|
| 1214 |
+
"model.language_model.layers.41.linear_attn.out_proj": {
|
| 1215 |
+
"scheme": "dense"
|
| 1216 |
+
},
|
| 1217 |
+
"model.language_model.layers.41.mlp.down_proj": {
|
| 1218 |
+
"scheme": "rfi",
|
| 1219 |
+
"bits": 8
|
| 1220 |
+
},
|
| 1221 |
+
"model.language_model.layers.41.mlp.gate_proj": {
|
| 1222 |
+
"scheme": "rfi",
|
| 1223 |
+
"bits": 8
|
| 1224 |
+
},
|
| 1225 |
+
"model.language_model.layers.41.mlp.up_proj": {
|
| 1226 |
+
"scheme": "rfi",
|
| 1227 |
+
"bits": 8
|
| 1228 |
+
},
|
| 1229 |
+
"model.language_model.layers.42.linear_attn.conv1d": {
|
| 1230 |
+
"scheme": "dense"
|
| 1231 |
+
},
|
| 1232 |
+
"model.language_model.layers.42.linear_attn.in_proj_a": {
|
| 1233 |
+
"scheme": "dense"
|
| 1234 |
+
},
|
| 1235 |
+
"model.language_model.layers.42.linear_attn.in_proj_b": {
|
| 1236 |
+
"scheme": "dense"
|
| 1237 |
+
},
|
| 1238 |
+
"model.language_model.layers.42.linear_attn.in_proj_qkv": {
|
| 1239 |
+
"scheme": "dense"
|
| 1240 |
+
},
|
| 1241 |
+
"model.language_model.layers.42.linear_attn.in_proj_z": {
|
| 1242 |
+
"scheme": "dense"
|
| 1243 |
+
},
|
| 1244 |
+
"model.language_model.layers.42.linear_attn.out_proj": {
|
| 1245 |
+
"scheme": "dense"
|
| 1246 |
+
},
|
| 1247 |
+
"model.language_model.layers.42.mlp.down_proj": {
|
| 1248 |
+
"scheme": "rfi",
|
| 1249 |
+
"bits": 8
|
| 1250 |
+
},
|
| 1251 |
+
"model.language_model.layers.42.mlp.gate_proj": {
|
| 1252 |
+
"scheme": "rfi",
|
| 1253 |
+
"bits": 8
|
| 1254 |
+
},
|
| 1255 |
+
"model.language_model.layers.42.mlp.up_proj": {
|
| 1256 |
+
"scheme": "rfi",
|
| 1257 |
+
"bits": 8
|
| 1258 |
+
},
|
| 1259 |
+
"model.language_model.layers.43.mlp.down_proj": {
|
| 1260 |
+
"scheme": "rfi",
|
| 1261 |
+
"bits": 8
|
| 1262 |
+
},
|
| 1263 |
+
"model.language_model.layers.43.mlp.gate_proj": {
|
| 1264 |
+
"scheme": "rfi",
|
| 1265 |
+
"bits": 8
|
| 1266 |
+
},
|
| 1267 |
+
"model.language_model.layers.43.mlp.up_proj": {
|
| 1268 |
+
"scheme": "rfi",
|
| 1269 |
+
"bits": 8
|
| 1270 |
+
},
|
| 1271 |
+
"model.language_model.layers.43.self_attn.k_proj": {
|
| 1272 |
+
"scheme": "dense"
|
| 1273 |
+
},
|
| 1274 |
+
"model.language_model.layers.43.self_attn.o_proj": {
|
| 1275 |
+
"scheme": "dense"
|
| 1276 |
+
},
|
| 1277 |
+
"model.language_model.layers.43.self_attn.q_proj": {
|
| 1278 |
+
"scheme": "dense"
|
| 1279 |
+
},
|
| 1280 |
+
"model.language_model.layers.43.self_attn.v_proj": {
|
| 1281 |
+
"scheme": "dense"
|
| 1282 |
+
},
|
| 1283 |
+
"model.language_model.layers.44.linear_attn.conv1d": {
|
| 1284 |
+
"scheme": "dense"
|
| 1285 |
+
},
|
| 1286 |
+
"model.language_model.layers.44.linear_attn.in_proj_a": {
|
| 1287 |
+
"scheme": "dense"
|
| 1288 |
+
},
|
| 1289 |
+
"model.language_model.layers.44.linear_attn.in_proj_b": {
|
| 1290 |
+
"scheme": "dense"
|
| 1291 |
+
},
|
| 1292 |
+
"model.language_model.layers.44.linear_attn.in_proj_qkv": {
|
| 1293 |
+
"scheme": "dense"
|
| 1294 |
+
},
|
| 1295 |
+
"model.language_model.layers.44.linear_attn.in_proj_z": {
|
| 1296 |
+
"scheme": "dense"
|
| 1297 |
+
},
|
| 1298 |
+
"model.language_model.layers.44.linear_attn.out_proj": {
|
| 1299 |
+
"scheme": "dense"
|
| 1300 |
+
},
|
| 1301 |
+
"model.language_model.layers.44.mlp.down_proj": {
|
| 1302 |
+
"scheme": "rfi",
|
| 1303 |
+
"bits": 8
|
| 1304 |
+
},
|
| 1305 |
+
"model.language_model.layers.44.mlp.gate_proj": {
|
| 1306 |
+
"scheme": "rfi",
|
| 1307 |
+
"bits": 8
|
| 1308 |
+
},
|
| 1309 |
+
"model.language_model.layers.44.mlp.up_proj": {
|
| 1310 |
+
"scheme": "rfi",
|
| 1311 |
+
"bits": 8
|
| 1312 |
+
},
|
| 1313 |
+
"model.language_model.layers.45.linear_attn.conv1d": {
|
| 1314 |
+
"scheme": "dense"
|
| 1315 |
+
},
|
| 1316 |
+
"model.language_model.layers.45.linear_attn.in_proj_a": {
|
| 1317 |
+
"scheme": "dense"
|
| 1318 |
+
},
|
| 1319 |
+
"model.language_model.layers.45.linear_attn.in_proj_b": {
|
| 1320 |
+
"scheme": "dense"
|
| 1321 |
+
},
|
| 1322 |
+
"model.language_model.layers.45.linear_attn.in_proj_qkv": {
|
| 1323 |
+
"scheme": "dense"
|
| 1324 |
+
},
|
| 1325 |
+
"model.language_model.layers.45.linear_attn.in_proj_z": {
|
| 1326 |
+
"scheme": "dense"
|
| 1327 |
+
},
|
| 1328 |
+
"model.language_model.layers.45.linear_attn.out_proj": {
|
| 1329 |
+
"scheme": "dense"
|
| 1330 |
+
},
|
| 1331 |
+
"model.language_model.layers.45.mlp.down_proj": {
|
| 1332 |
+
"scheme": "rfi",
|
| 1333 |
+
"bits": 8
|
| 1334 |
+
},
|
| 1335 |
+
"model.language_model.layers.45.mlp.gate_proj": {
|
| 1336 |
+
"scheme": "rfi",
|
| 1337 |
+
"bits": 8
|
| 1338 |
+
},
|
| 1339 |
+
"model.language_model.layers.45.mlp.up_proj": {
|
| 1340 |
+
"scheme": "rfi",
|
| 1341 |
+
"bits": 8
|
| 1342 |
+
},
|
| 1343 |
+
"model.language_model.layers.46.linear_attn.conv1d": {
|
| 1344 |
+
"scheme": "dense"
|
| 1345 |
+
},
|
| 1346 |
+
"model.language_model.layers.46.linear_attn.in_proj_a": {
|
| 1347 |
+
"scheme": "dense"
|
| 1348 |
+
},
|
| 1349 |
+
"model.language_model.layers.46.linear_attn.in_proj_b": {
|
| 1350 |
+
"scheme": "dense"
|
| 1351 |
+
},
|
| 1352 |
+
"model.language_model.layers.46.linear_attn.in_proj_qkv": {
|
| 1353 |
+
"scheme": "dense"
|
| 1354 |
+
},
|
| 1355 |
+
"model.language_model.layers.46.linear_attn.in_proj_z": {
|
| 1356 |
+
"scheme": "dense"
|
| 1357 |
+
},
|
| 1358 |
+
"model.language_model.layers.46.linear_attn.out_proj": {
|
| 1359 |
+
"scheme": "dense"
|
| 1360 |
+
},
|
| 1361 |
+
"model.language_model.layers.46.mlp.down_proj": {
|
| 1362 |
+
"scheme": "rfi",
|
| 1363 |
+
"bits": 8
|
| 1364 |
+
},
|
| 1365 |
+
"model.language_model.layers.46.mlp.gate_proj": {
|
| 1366 |
+
"scheme": "rfi",
|
| 1367 |
+
"bits": 8
|
| 1368 |
+
},
|
| 1369 |
+
"model.language_model.layers.46.mlp.up_proj": {
|
| 1370 |
+
"scheme": "rfi",
|
| 1371 |
+
"bits": 8
|
| 1372 |
+
},
|
| 1373 |
+
"model.language_model.layers.47.mlp.down_proj": {
|
| 1374 |
+
"scheme": "rfi",
|
| 1375 |
+
"bits": 8
|
| 1376 |
+
},
|
| 1377 |
+
"model.language_model.layers.47.mlp.gate_proj": {
|
| 1378 |
+
"scheme": "rfi",
|
| 1379 |
+
"bits": 8
|
| 1380 |
+
},
|
| 1381 |
+
"model.language_model.layers.47.mlp.up_proj": {
|
| 1382 |
+
"scheme": "rfi",
|
| 1383 |
+
"bits": 8
|
| 1384 |
+
},
|
| 1385 |
+
"model.language_model.layers.47.self_attn.k_proj": {
|
| 1386 |
+
"scheme": "dense"
|
| 1387 |
+
},
|
| 1388 |
+
"model.language_model.layers.47.self_attn.o_proj": {
|
| 1389 |
+
"scheme": "dense"
|
| 1390 |
+
},
|
| 1391 |
+
"model.language_model.layers.47.self_attn.q_proj": {
|
| 1392 |
+
"scheme": "dense"
|
| 1393 |
+
},
|
| 1394 |
+
"model.language_model.layers.47.self_attn.v_proj": {
|
| 1395 |
+
"scheme": "dense"
|
| 1396 |
+
},
|
| 1397 |
+
"model.language_model.layers.48.linear_attn.conv1d": {
|
| 1398 |
+
"scheme": "dense"
|
| 1399 |
+
},
|
| 1400 |
+
"model.language_model.layers.48.linear_attn.in_proj_a": {
|
| 1401 |
+
"scheme": "dense"
|
| 1402 |
+
},
|
| 1403 |
+
"model.language_model.layers.48.linear_attn.in_proj_b": {
|
| 1404 |
+
"scheme": "dense"
|
| 1405 |
+
},
|
| 1406 |
+
"model.language_model.layers.48.linear_attn.in_proj_qkv": {
|
| 1407 |
+
"scheme": "dense"
|
| 1408 |
+
},
|
| 1409 |
+
"model.language_model.layers.48.linear_attn.in_proj_z": {
|
| 1410 |
+
"scheme": "dense"
|
| 1411 |
+
},
|
| 1412 |
+
"model.language_model.layers.48.linear_attn.out_proj": {
|
| 1413 |
+
"scheme": "dense"
|
| 1414 |
+
},
|
| 1415 |
+
"model.language_model.layers.48.mlp.down_proj": {
|
| 1416 |
+
"scheme": "rfi",
|
| 1417 |
+
"bits": 8
|
| 1418 |
+
},
|
| 1419 |
+
"model.language_model.layers.48.mlp.gate_proj": {
|
| 1420 |
+
"scheme": "rfi",
|
| 1421 |
+
"bits": 8
|
| 1422 |
+
},
|
| 1423 |
+
"model.language_model.layers.48.mlp.up_proj": {
|
| 1424 |
+
"scheme": "rfi",
|
| 1425 |
+
"bits": 8
|
| 1426 |
+
},
|
| 1427 |
+
"model.language_model.layers.49.linear_attn.conv1d": {
|
| 1428 |
+
"scheme": "dense"
|
| 1429 |
+
},
|
| 1430 |
+
"model.language_model.layers.49.linear_attn.in_proj_a": {
|
| 1431 |
+
"scheme": "dense"
|
| 1432 |
+
},
|
| 1433 |
+
"model.language_model.layers.49.linear_attn.in_proj_b": {
|
| 1434 |
+
"scheme": "dense"
|
| 1435 |
+
},
|
| 1436 |
+
"model.language_model.layers.49.linear_attn.in_proj_qkv": {
|
| 1437 |
+
"scheme": "dense"
|
| 1438 |
+
},
|
| 1439 |
+
"model.language_model.layers.49.linear_attn.in_proj_z": {
|
| 1440 |
+
"scheme": "dense"
|
| 1441 |
+
},
|
| 1442 |
+
"model.language_model.layers.49.linear_attn.out_proj": {
|
| 1443 |
+
"scheme": "dense"
|
| 1444 |
+
},
|
| 1445 |
+
"model.language_model.layers.49.mlp.down_proj": {
|
| 1446 |
+
"scheme": "rfi",
|
| 1447 |
+
"bits": 8
|
| 1448 |
+
},
|
| 1449 |
+
"model.language_model.layers.49.mlp.gate_proj": {
|
| 1450 |
+
"scheme": "rfi",
|
| 1451 |
+
"bits": 8
|
| 1452 |
+
},
|
| 1453 |
+
"model.language_model.layers.49.mlp.up_proj": {
|
| 1454 |
+
"scheme": "rfi",
|
| 1455 |
+
"bits": 8
|
| 1456 |
+
},
|
| 1457 |
+
"model.language_model.layers.5.linear_attn.conv1d": {
|
| 1458 |
+
"scheme": "dense"
|
| 1459 |
+
},
|
| 1460 |
+
"model.language_model.layers.5.linear_attn.in_proj_a": {
|
| 1461 |
+
"scheme": "dense"
|
| 1462 |
+
},
|
| 1463 |
+
"model.language_model.layers.5.linear_attn.in_proj_b": {
|
| 1464 |
+
"scheme": "dense"
|
| 1465 |
+
},
|
| 1466 |
+
"model.language_model.layers.5.linear_attn.in_proj_qkv": {
|
| 1467 |
+
"scheme": "dense"
|
| 1468 |
+
},
|
| 1469 |
+
"model.language_model.layers.5.linear_attn.in_proj_z": {
|
| 1470 |
+
"scheme": "dense"
|
| 1471 |
+
},
|
| 1472 |
+
"model.language_model.layers.5.linear_attn.out_proj": {
|
| 1473 |
+
"scheme": "dense"
|
| 1474 |
+
},
|
| 1475 |
+
"model.language_model.layers.5.mlp.down_proj": {
|
| 1476 |
+
"scheme": "rfi",
|
| 1477 |
+
"bits": 8
|
| 1478 |
+
},
|
| 1479 |
+
"model.language_model.layers.5.mlp.gate_proj": {
|
| 1480 |
+
"scheme": "rfi",
|
| 1481 |
+
"bits": 8
|
| 1482 |
+
},
|
| 1483 |
+
"model.language_model.layers.5.mlp.up_proj": {
|
| 1484 |
+
"scheme": "rfi",
|
| 1485 |
+
"bits": 8
|
| 1486 |
+
},
|
| 1487 |
+
"model.language_model.layers.50.linear_attn.conv1d": {
|
| 1488 |
+
"scheme": "dense"
|
| 1489 |
+
},
|
| 1490 |
+
"model.language_model.layers.50.linear_attn.in_proj_a": {
|
| 1491 |
+
"scheme": "dense"
|
| 1492 |
+
},
|
| 1493 |
+
"model.language_model.layers.50.linear_attn.in_proj_b": {
|
| 1494 |
+
"scheme": "dense"
|
| 1495 |
+
},
|
| 1496 |
+
"model.language_model.layers.50.linear_attn.in_proj_qkv": {
|
| 1497 |
+
"scheme": "dense"
|
| 1498 |
+
},
|
| 1499 |
+
"model.language_model.layers.50.linear_attn.in_proj_z": {
|
| 1500 |
+
"scheme": "dense"
|
| 1501 |
+
},
|
| 1502 |
+
"model.language_model.layers.50.linear_attn.out_proj": {
|
| 1503 |
+
"scheme": "dense"
|
| 1504 |
+
},
|
| 1505 |
+
"model.language_model.layers.50.mlp.down_proj": {
|
| 1506 |
+
"scheme": "rfi",
|
| 1507 |
+
"bits": 8
|
| 1508 |
+
},
|
| 1509 |
+
"model.language_model.layers.50.mlp.gate_proj": {
|
| 1510 |
+
"scheme": "rfi",
|
| 1511 |
+
"bits": 8
|
| 1512 |
+
},
|
| 1513 |
+
"model.language_model.layers.50.mlp.up_proj": {
|
| 1514 |
+
"scheme": "rfi",
|
| 1515 |
+
"bits": 8
|
| 1516 |
+
},
|
| 1517 |
+
"model.language_model.layers.51.mlp.down_proj": {
|
| 1518 |
+
"scheme": "rfi",
|
| 1519 |
+
"bits": 8
|
| 1520 |
+
},
|
| 1521 |
+
"model.language_model.layers.51.mlp.gate_proj": {
|
| 1522 |
+
"scheme": "rfi",
|
| 1523 |
+
"bits": 8
|
| 1524 |
+
},
|
| 1525 |
+
"model.language_model.layers.51.mlp.up_proj": {
|
| 1526 |
+
"scheme": "rfi",
|
| 1527 |
+
"bits": 8
|
| 1528 |
+
},
|
| 1529 |
+
"model.language_model.layers.51.self_attn.k_proj": {
|
| 1530 |
+
"scheme": "dense"
|
| 1531 |
+
},
|
| 1532 |
+
"model.language_model.layers.51.self_attn.o_proj": {
|
| 1533 |
+
"scheme": "dense"
|
| 1534 |
+
},
|
| 1535 |
+
"model.language_model.layers.51.self_attn.q_proj": {
|
| 1536 |
+
"scheme": "dense"
|
| 1537 |
+
},
|
| 1538 |
+
"model.language_model.layers.51.self_attn.v_proj": {
|
| 1539 |
+
"scheme": "dense"
|
| 1540 |
+
},
|
| 1541 |
+
"model.language_model.layers.52.linear_attn.conv1d": {
|
| 1542 |
+
"scheme": "dense"
|
| 1543 |
+
},
|
| 1544 |
+
"model.language_model.layers.52.linear_attn.in_proj_a": {
|
| 1545 |
+
"scheme": "dense"
|
| 1546 |
+
},
|
| 1547 |
+
"model.language_model.layers.52.linear_attn.in_proj_b": {
|
| 1548 |
+
"scheme": "dense"
|
| 1549 |
+
},
|
| 1550 |
+
"model.language_model.layers.52.linear_attn.in_proj_qkv": {
|
| 1551 |
+
"scheme": "dense"
|
| 1552 |
+
},
|
| 1553 |
+
"model.language_model.layers.52.linear_attn.in_proj_z": {
|
| 1554 |
+
"scheme": "dense"
|
| 1555 |
+
},
|
| 1556 |
+
"model.language_model.layers.52.linear_attn.out_proj": {
|
| 1557 |
+
"scheme": "dense"
|
| 1558 |
+
},
|
| 1559 |
+
"model.language_model.layers.52.mlp.down_proj": {
|
| 1560 |
+
"scheme": "rfi",
|
| 1561 |
+
"bits": 8
|
| 1562 |
+
},
|
| 1563 |
+
"model.language_model.layers.52.mlp.gate_proj": {
|
| 1564 |
+
"scheme": "rfi",
|
| 1565 |
+
"bits": 8
|
| 1566 |
+
},
|
| 1567 |
+
"model.language_model.layers.52.mlp.up_proj": {
|
| 1568 |
+
"scheme": "rfi",
|
| 1569 |
+
"bits": 8
|
| 1570 |
+
},
|
| 1571 |
+
"model.language_model.layers.53.linear_attn.conv1d": {
|
| 1572 |
+
"scheme": "dense"
|
| 1573 |
+
},
|
| 1574 |
+
"model.language_model.layers.53.linear_attn.in_proj_a": {
|
| 1575 |
+
"scheme": "dense"
|
| 1576 |
+
},
|
| 1577 |
+
"model.language_model.layers.53.linear_attn.in_proj_b": {
|
| 1578 |
+
"scheme": "dense"
|
| 1579 |
+
},
|
| 1580 |
+
"model.language_model.layers.53.linear_attn.in_proj_qkv": {
|
| 1581 |
+
"scheme": "dense"
|
| 1582 |
+
},
|
| 1583 |
+
"model.language_model.layers.53.linear_attn.in_proj_z": {
|
| 1584 |
+
"scheme": "dense"
|
| 1585 |
+
},
|
| 1586 |
+
"model.language_model.layers.53.linear_attn.out_proj": {
|
| 1587 |
+
"scheme": "dense"
|
| 1588 |
+
},
|
| 1589 |
+
"model.language_model.layers.53.mlp.down_proj": {
|
| 1590 |
+
"scheme": "rfi",
|
| 1591 |
+
"bits": 8
|
| 1592 |
+
},
|
| 1593 |
+
"model.language_model.layers.53.mlp.gate_proj": {
|
| 1594 |
+
"scheme": "rfi",
|
| 1595 |
+
"bits": 8
|
| 1596 |
+
},
|
| 1597 |
+
"model.language_model.layers.53.mlp.up_proj": {
|
| 1598 |
+
"scheme": "rfi",
|
| 1599 |
+
"bits": 8
|
| 1600 |
+
},
|
| 1601 |
+
"model.language_model.layers.54.linear_attn.conv1d": {
|
| 1602 |
+
"scheme": "dense"
|
| 1603 |
+
},
|
| 1604 |
+
"model.language_model.layers.54.linear_attn.in_proj_a": {
|
| 1605 |
+
"scheme": "dense"
|
| 1606 |
+
},
|
| 1607 |
+
"model.language_model.layers.54.linear_attn.in_proj_b": {
|
| 1608 |
+
"scheme": "dense"
|
| 1609 |
+
},
|
| 1610 |
+
"model.language_model.layers.54.linear_attn.in_proj_qkv": {
|
| 1611 |
+
"scheme": "dense"
|
| 1612 |
+
},
|
| 1613 |
+
"model.language_model.layers.54.linear_attn.in_proj_z": {
|
| 1614 |
+
"scheme": "dense"
|
| 1615 |
+
},
|
| 1616 |
+
"model.language_model.layers.54.linear_attn.out_proj": {
|
| 1617 |
+
"scheme": "dense"
|
| 1618 |
+
},
|
| 1619 |
+
"model.language_model.layers.54.mlp.down_proj": {
|
| 1620 |
+
"scheme": "rfi",
|
| 1621 |
+
"bits": 8
|
| 1622 |
+
},
|
| 1623 |
+
"model.language_model.layers.54.mlp.gate_proj": {
|
| 1624 |
+
"scheme": "rfi",
|
| 1625 |
+
"bits": 8
|
| 1626 |
+
},
|
| 1627 |
+
"model.language_model.layers.54.mlp.up_proj": {
|
| 1628 |
+
"scheme": "rfi",
|
| 1629 |
+
"bits": 8
|
| 1630 |
+
},
|
| 1631 |
+
"model.language_model.layers.55.mlp.down_proj": {
|
| 1632 |
+
"scheme": "rfi",
|
| 1633 |
+
"bits": 8
|
| 1634 |
+
},
|
| 1635 |
+
"model.language_model.layers.55.mlp.gate_proj": {
|
| 1636 |
+
"scheme": "rfi",
|
| 1637 |
+
"bits": 8
|
| 1638 |
+
},
|
| 1639 |
+
"model.language_model.layers.55.mlp.up_proj": {
|
| 1640 |
+
"scheme": "rfi",
|
| 1641 |
+
"bits": 8
|
| 1642 |
+
},
|
| 1643 |
+
"model.language_model.layers.55.self_attn.k_proj": {
|
| 1644 |
+
"scheme": "dense"
|
| 1645 |
+
},
|
| 1646 |
+
"model.language_model.layers.55.self_attn.o_proj": {
|
| 1647 |
+
"scheme": "dense"
|
| 1648 |
+
},
|
| 1649 |
+
"model.language_model.layers.55.self_attn.q_proj": {
|
| 1650 |
+
"scheme": "dense"
|
| 1651 |
+
},
|
| 1652 |
+
"model.language_model.layers.55.self_attn.v_proj": {
|
| 1653 |
+
"scheme": "dense"
|
| 1654 |
+
},
|
| 1655 |
+
"model.language_model.layers.56.linear_attn.conv1d": {
|
| 1656 |
+
"scheme": "dense"
|
| 1657 |
+
},
|
| 1658 |
+
"model.language_model.layers.56.linear_attn.in_proj_a": {
|
| 1659 |
+
"scheme": "dense"
|
| 1660 |
+
},
|
| 1661 |
+
"model.language_model.layers.56.linear_attn.in_proj_b": {
|
| 1662 |
+
"scheme": "dense"
|
| 1663 |
+
},
|
| 1664 |
+
"model.language_model.layers.56.linear_attn.in_proj_qkv": {
|
| 1665 |
+
"scheme": "dense"
|
| 1666 |
+
},
|
| 1667 |
+
"model.language_model.layers.56.linear_attn.in_proj_z": {
|
| 1668 |
+
"scheme": "dense"
|
| 1669 |
+
},
|
| 1670 |
+
"model.language_model.layers.56.linear_attn.out_proj": {
|
| 1671 |
+
"scheme": "dense"
|
| 1672 |
+
},
|
| 1673 |
+
"model.language_model.layers.56.mlp.down_proj": {
|
| 1674 |
+
"scheme": "rfi",
|
| 1675 |
+
"bits": 8
|
| 1676 |
+
},
|
| 1677 |
+
"model.language_model.layers.56.mlp.gate_proj": {
|
| 1678 |
+
"scheme": "rfi",
|
| 1679 |
+
"bits": 8
|
| 1680 |
+
},
|
| 1681 |
+
"model.language_model.layers.56.mlp.up_proj": {
|
| 1682 |
+
"scheme": "rfi",
|
| 1683 |
+
"bits": 8
|
| 1684 |
+
},
|
| 1685 |
+
"model.language_model.layers.57.linear_attn.conv1d": {
|
| 1686 |
+
"scheme": "dense"
|
| 1687 |
+
},
|
| 1688 |
+
"model.language_model.layers.57.linear_attn.in_proj_a": {
|
| 1689 |
+
"scheme": "dense"
|
| 1690 |
+
},
|
| 1691 |
+
"model.language_model.layers.57.linear_attn.in_proj_b": {
|
| 1692 |
+
"scheme": "dense"
|
| 1693 |
+
},
|
| 1694 |
+
"model.language_model.layers.57.linear_attn.in_proj_qkv": {
|
| 1695 |
+
"scheme": "dense"
|
| 1696 |
+
},
|
| 1697 |
+
"model.language_model.layers.57.linear_attn.in_proj_z": {
|
| 1698 |
+
"scheme": "dense"
|
| 1699 |
+
},
|
| 1700 |
+
"model.language_model.layers.57.linear_attn.out_proj": {
|
| 1701 |
+
"scheme": "dense"
|
| 1702 |
+
},
|
| 1703 |
+
"model.language_model.layers.57.mlp.down_proj": {
|
| 1704 |
+
"scheme": "rfi",
|
| 1705 |
+
"bits": 8
|
| 1706 |
+
},
|
| 1707 |
+
"model.language_model.layers.57.mlp.gate_proj": {
|
| 1708 |
+
"scheme": "rfi",
|
| 1709 |
+
"bits": 8
|
| 1710 |
+
},
|
| 1711 |
+
"model.language_model.layers.57.mlp.up_proj": {
|
| 1712 |
+
"scheme": "rfi",
|
| 1713 |
+
"bits": 8
|
| 1714 |
+
},
|
| 1715 |
+
"model.language_model.layers.58.linear_attn.conv1d": {
|
| 1716 |
+
"scheme": "dense"
|
| 1717 |
+
},
|
| 1718 |
+
"model.language_model.layers.58.linear_attn.in_proj_a": {
|
| 1719 |
+
"scheme": "dense"
|
| 1720 |
+
},
|
| 1721 |
+
"model.language_model.layers.58.linear_attn.in_proj_b": {
|
| 1722 |
+
"scheme": "dense"
|
| 1723 |
+
},
|
| 1724 |
+
"model.language_model.layers.58.linear_attn.in_proj_qkv": {
|
| 1725 |
+
"scheme": "dense"
|
| 1726 |
+
},
|
| 1727 |
+
"model.language_model.layers.58.linear_attn.in_proj_z": {
|
| 1728 |
+
"scheme": "dense"
|
| 1729 |
+
},
|
| 1730 |
+
"model.language_model.layers.58.linear_attn.out_proj": {
|
| 1731 |
+
"scheme": "dense"
|
| 1732 |
+
},
|
| 1733 |
+
"model.language_model.layers.58.mlp.down_proj": {
|
| 1734 |
+
"scheme": "rfi",
|
| 1735 |
+
"bits": 8
|
| 1736 |
+
},
|
| 1737 |
+
"model.language_model.layers.58.mlp.gate_proj": {
|
| 1738 |
+
"scheme": "rfi",
|
| 1739 |
+
"bits": 8
|
| 1740 |
+
},
|
| 1741 |
+
"model.language_model.layers.58.mlp.up_proj": {
|
| 1742 |
+
"scheme": "rfi",
|
| 1743 |
+
"bits": 8
|
| 1744 |
+
},
|
| 1745 |
+
"model.language_model.layers.59.mlp.down_proj": {
|
| 1746 |
+
"scheme": "rfi",
|
| 1747 |
+
"bits": 8
|
| 1748 |
+
},
|
| 1749 |
+
"model.language_model.layers.59.mlp.gate_proj": {
|
| 1750 |
+
"scheme": "rfi",
|
| 1751 |
+
"bits": 8
|
| 1752 |
+
},
|
| 1753 |
+
"model.language_model.layers.59.mlp.up_proj": {
|
| 1754 |
+
"scheme": "rfi",
|
| 1755 |
+
"bits": 8
|
| 1756 |
+
},
|
| 1757 |
+
"model.language_model.layers.59.self_attn.k_proj": {
|
| 1758 |
+
"scheme": "dense"
|
| 1759 |
+
},
|
| 1760 |
+
"model.language_model.layers.59.self_attn.o_proj": {
|
| 1761 |
+
"scheme": "dense"
|
| 1762 |
+
},
|
| 1763 |
+
"model.language_model.layers.59.self_attn.q_proj": {
|
| 1764 |
+
"scheme": "dense"
|
| 1765 |
+
},
|
| 1766 |
+
"model.language_model.layers.59.self_attn.v_proj": {
|
| 1767 |
+
"scheme": "dense"
|
| 1768 |
+
},
|
| 1769 |
+
"model.language_model.layers.6.linear_attn.conv1d": {
|
| 1770 |
+
"scheme": "dense"
|
| 1771 |
+
},
|
| 1772 |
+
"model.language_model.layers.6.linear_attn.in_proj_a": {
|
| 1773 |
+
"scheme": "dense"
|
| 1774 |
+
},
|
| 1775 |
+
"model.language_model.layers.6.linear_attn.in_proj_b": {
|
| 1776 |
+
"scheme": "dense"
|
| 1777 |
+
},
|
| 1778 |
+
"model.language_model.layers.6.linear_attn.in_proj_qkv": {
|
| 1779 |
+
"scheme": "dense"
|
| 1780 |
+
},
|
| 1781 |
+
"model.language_model.layers.6.linear_attn.in_proj_z": {
|
| 1782 |
+
"scheme": "dense"
|
| 1783 |
+
},
|
| 1784 |
+
"model.language_model.layers.6.linear_attn.out_proj": {
|
| 1785 |
+
"scheme": "dense"
|
| 1786 |
+
},
|
| 1787 |
+
"model.language_model.layers.6.mlp.down_proj": {
|
| 1788 |
+
"scheme": "rfi",
|
| 1789 |
+
"bits": 8
|
| 1790 |
+
},
|
| 1791 |
+
"model.language_model.layers.6.mlp.gate_proj": {
|
| 1792 |
+
"scheme": "rfi",
|
| 1793 |
+
"bits": 8
|
| 1794 |
+
},
|
| 1795 |
+
"model.language_model.layers.6.mlp.up_proj": {
|
| 1796 |
+
"scheme": "rfi",
|
| 1797 |
+
"bits": 8
|
| 1798 |
+
},
|
| 1799 |
+
"model.language_model.layers.60.linear_attn.conv1d": {
|
| 1800 |
+
"scheme": "dense"
|
| 1801 |
+
},
|
| 1802 |
+
"model.language_model.layers.60.linear_attn.in_proj_a": {
|
| 1803 |
+
"scheme": "dense"
|
| 1804 |
+
},
|
| 1805 |
+
"model.language_model.layers.60.linear_attn.in_proj_b": {
|
| 1806 |
+
"scheme": "dense"
|
| 1807 |
+
},
|
| 1808 |
+
"model.language_model.layers.60.linear_attn.in_proj_qkv": {
|
| 1809 |
+
"scheme": "dense"
|
| 1810 |
+
},
|
| 1811 |
+
"model.language_model.layers.60.linear_attn.in_proj_z": {
|
| 1812 |
+
"scheme": "dense"
|
| 1813 |
+
},
|
| 1814 |
+
"model.language_model.layers.60.linear_attn.out_proj": {
|
| 1815 |
+
"scheme": "dense"
|
| 1816 |
+
},
|
| 1817 |
+
"model.language_model.layers.60.mlp.down_proj": {
|
| 1818 |
+
"scheme": "rfi",
|
| 1819 |
+
"bits": 8
|
| 1820 |
+
},
|
| 1821 |
+
"model.language_model.layers.60.mlp.gate_proj": {
|
| 1822 |
+
"scheme": "rfi",
|
| 1823 |
+
"bits": 8
|
| 1824 |
+
},
|
| 1825 |
+
"model.language_model.layers.60.mlp.up_proj": {
|
| 1826 |
+
"scheme": "rfi",
|
| 1827 |
+
"bits": 8
|
| 1828 |
+
},
|
| 1829 |
+
"model.language_model.layers.61.linear_attn.conv1d": {
|
| 1830 |
+
"scheme": "dense"
|
| 1831 |
+
},
|
| 1832 |
+
"model.language_model.layers.61.linear_attn.in_proj_a": {
|
| 1833 |
+
"scheme": "dense"
|
| 1834 |
+
},
|
| 1835 |
+
"model.language_model.layers.61.linear_attn.in_proj_b": {
|
| 1836 |
+
"scheme": "dense"
|
| 1837 |
+
},
|
| 1838 |
+
"model.language_model.layers.61.linear_attn.in_proj_qkv": {
|
| 1839 |
+
"scheme": "dense"
|
| 1840 |
+
},
|
| 1841 |
+
"model.language_model.layers.61.linear_attn.in_proj_z": {
|
| 1842 |
+
"scheme": "dense"
|
| 1843 |
+
},
|
| 1844 |
+
"model.language_model.layers.61.linear_attn.out_proj": {
|
| 1845 |
+
"scheme": "dense"
|
| 1846 |
+
},
|
| 1847 |
+
"model.language_model.layers.61.mlp.down_proj": {
|
| 1848 |
+
"scheme": "rfi",
|
| 1849 |
+
"bits": 8
|
| 1850 |
+
},
|
| 1851 |
+
"model.language_model.layers.61.mlp.gate_proj": {
|
| 1852 |
+
"scheme": "rfi",
|
| 1853 |
+
"bits": 8
|
| 1854 |
+
},
|
| 1855 |
+
"model.language_model.layers.61.mlp.up_proj": {
|
| 1856 |
+
"scheme": "rfi",
|
| 1857 |
+
"bits": 8
|
| 1858 |
+
},
|
| 1859 |
+
"model.language_model.layers.62.linear_attn.conv1d": {
|
| 1860 |
+
"scheme": "dense"
|
| 1861 |
+
},
|
| 1862 |
+
"model.language_model.layers.62.linear_attn.in_proj_a": {
|
| 1863 |
+
"scheme": "dense"
|
| 1864 |
+
},
|
| 1865 |
+
"model.language_model.layers.62.linear_attn.in_proj_b": {
|
| 1866 |
+
"scheme": "dense"
|
| 1867 |
+
},
|
| 1868 |
+
"model.language_model.layers.62.linear_attn.in_proj_qkv": {
|
| 1869 |
+
"scheme": "dense"
|
| 1870 |
+
},
|
| 1871 |
+
"model.language_model.layers.62.linear_attn.in_proj_z": {
|
| 1872 |
+
"scheme": "dense"
|
| 1873 |
+
},
|
| 1874 |
+
"model.language_model.layers.62.linear_attn.out_proj": {
|
| 1875 |
+
"scheme": "dense"
|
| 1876 |
+
},
|
| 1877 |
+
"model.language_model.layers.62.mlp.down_proj": {
|
| 1878 |
+
"scheme": "rfi",
|
| 1879 |
+
"bits": 8
|
| 1880 |
+
},
|
| 1881 |
+
"model.language_model.layers.62.mlp.gate_proj": {
|
| 1882 |
+
"scheme": "rfi",
|
| 1883 |
+
"bits": 8
|
| 1884 |
+
},
|
| 1885 |
+
"model.language_model.layers.62.mlp.up_proj": {
|
| 1886 |
+
"scheme": "rfi",
|
| 1887 |
+
"bits": 8
|
| 1888 |
+
},
|
| 1889 |
+
"model.language_model.layers.63.mlp.down_proj": {
|
| 1890 |
+
"scheme": "rfi",
|
| 1891 |
+
"bits": 8
|
| 1892 |
+
},
|
| 1893 |
+
"model.language_model.layers.63.mlp.gate_proj": {
|
| 1894 |
+
"scheme": "rfi",
|
| 1895 |
+
"bits": 8
|
| 1896 |
+
},
|
| 1897 |
+
"model.language_model.layers.63.mlp.up_proj": {
|
| 1898 |
+
"scheme": "rfi",
|
| 1899 |
+
"bits": 8
|
| 1900 |
+
},
|
| 1901 |
+
"model.language_model.layers.63.self_attn.k_proj": {
|
| 1902 |
+
"scheme": "dense"
|
| 1903 |
+
},
|
| 1904 |
+
"model.language_model.layers.63.self_attn.o_proj": {
|
| 1905 |
+
"scheme": "dense"
|
| 1906 |
+
},
|
| 1907 |
+
"model.language_model.layers.63.self_attn.q_proj": {
|
| 1908 |
+
"scheme": "dense"
|
| 1909 |
+
},
|
| 1910 |
+
"model.language_model.layers.63.self_attn.v_proj": {
|
| 1911 |
+
"scheme": "dense"
|
| 1912 |
+
},
|
| 1913 |
+
"model.language_model.layers.7.mlp.down_proj": {
|
| 1914 |
+
"scheme": "rfi",
|
| 1915 |
+
"bits": 8
|
| 1916 |
+
},
|
| 1917 |
+
"model.language_model.layers.7.mlp.gate_proj": {
|
| 1918 |
+
"scheme": "rfi",
|
| 1919 |
+
"bits": 8
|
| 1920 |
+
},
|
| 1921 |
+
"model.language_model.layers.7.mlp.up_proj": {
|
| 1922 |
+
"scheme": "rfi",
|
| 1923 |
+
"bits": 8
|
| 1924 |
+
},
|
| 1925 |
+
"model.language_model.layers.7.self_attn.k_proj": {
|
| 1926 |
+
"scheme": "dense"
|
| 1927 |
+
},
|
| 1928 |
+
"model.language_model.layers.7.self_attn.o_proj": {
|
| 1929 |
+
"scheme": "dense"
|
| 1930 |
+
},
|
| 1931 |
+
"model.language_model.layers.7.self_attn.q_proj": {
|
| 1932 |
+
"scheme": "dense"
|
| 1933 |
+
},
|
| 1934 |
+
"model.language_model.layers.7.self_attn.v_proj": {
|
| 1935 |
+
"scheme": "dense"
|
| 1936 |
+
},
|
| 1937 |
+
"model.language_model.layers.8.linear_attn.conv1d": {
|
| 1938 |
+
"scheme": "dense"
|
| 1939 |
+
},
|
| 1940 |
+
"model.language_model.layers.8.linear_attn.in_proj_a": {
|
| 1941 |
+
"scheme": "dense"
|
| 1942 |
+
},
|
| 1943 |
+
"model.language_model.layers.8.linear_attn.in_proj_b": {
|
| 1944 |
+
"scheme": "dense"
|
| 1945 |
+
},
|
| 1946 |
+
"model.language_model.layers.8.linear_attn.in_proj_qkv": {
|
| 1947 |
+
"scheme": "dense"
|
| 1948 |
+
},
|
| 1949 |
+
"model.language_model.layers.8.linear_attn.in_proj_z": {
|
| 1950 |
+
"scheme": "dense"
|
| 1951 |
+
},
|
| 1952 |
+
"model.language_model.layers.8.linear_attn.out_proj": {
|
| 1953 |
+
"scheme": "dense"
|
| 1954 |
+
},
|
| 1955 |
+
"model.language_model.layers.8.mlp.down_proj": {
|
| 1956 |
+
"scheme": "rfi",
|
| 1957 |
+
"bits": 8
|
| 1958 |
+
},
|
| 1959 |
+
"model.language_model.layers.8.mlp.gate_proj": {
|
| 1960 |
+
"scheme": "rfi",
|
| 1961 |
+
"bits": 8
|
| 1962 |
+
},
|
| 1963 |
+
"model.language_model.layers.8.mlp.up_proj": {
|
| 1964 |
+
"scheme": "rfi",
|
| 1965 |
+
"bits": 8
|
| 1966 |
+
},
|
| 1967 |
+
"model.language_model.layers.9.linear_attn.conv1d": {
|
| 1968 |
+
"scheme": "dense"
|
| 1969 |
+
},
|
| 1970 |
+
"model.language_model.layers.9.linear_attn.in_proj_a": {
|
| 1971 |
+
"scheme": "dense"
|
| 1972 |
+
},
|
| 1973 |
+
"model.language_model.layers.9.linear_attn.in_proj_b": {
|
| 1974 |
+
"scheme": "dense"
|
| 1975 |
+
},
|
| 1976 |
+
"model.language_model.layers.9.linear_attn.in_proj_qkv": {
|
| 1977 |
+
"scheme": "dense"
|
| 1978 |
+
},
|
| 1979 |
+
"model.language_model.layers.9.linear_attn.in_proj_z": {
|
| 1980 |
+
"scheme": "dense"
|
| 1981 |
+
},
|
| 1982 |
+
"model.language_model.layers.9.linear_attn.out_proj": {
|
| 1983 |
+
"scheme": "dense"
|
| 1984 |
+
},
|
| 1985 |
+
"model.language_model.layers.9.mlp.down_proj": {
|
| 1986 |
+
"scheme": "rfi",
|
| 1987 |
+
"bits": 8
|
| 1988 |
+
},
|
| 1989 |
+
"model.language_model.layers.9.mlp.gate_proj": {
|
| 1990 |
+
"scheme": "rfi",
|
| 1991 |
+
"bits": 8
|
| 1992 |
+
},
|
| 1993 |
+
"model.language_model.layers.9.mlp.up_proj": {
|
| 1994 |
+
"scheme": "rfi",
|
| 1995 |
+
"bits": 8
|
| 1996 |
+
},
|
| 1997 |
+
"model.visual.blocks.0.attn.proj": {
|
| 1998 |
+
"scheme": "dense"
|
| 1999 |
+
},
|
| 2000 |
+
"model.visual.blocks.0.attn.qkv": {
|
| 2001 |
+
"scheme": "dense"
|
| 2002 |
+
},
|
| 2003 |
+
"model.visual.blocks.0.mlp.linear_fc1": {
|
| 2004 |
+
"scheme": "dense"
|
| 2005 |
+
},
|
| 2006 |
+
"model.visual.blocks.0.mlp.linear_fc2": {
|
| 2007 |
+
"scheme": "dense"
|
| 2008 |
+
},
|
| 2009 |
+
"model.visual.blocks.1.attn.proj": {
|
| 2010 |
+
"scheme": "dense"
|
| 2011 |
+
},
|
| 2012 |
+
"model.visual.blocks.1.attn.qkv": {
|
| 2013 |
+
"scheme": "dense"
|
| 2014 |
+
},
|
| 2015 |
+
"model.visual.blocks.1.mlp.linear_fc1": {
|
| 2016 |
+
"scheme": "dense"
|
| 2017 |
+
},
|
| 2018 |
+
"model.visual.blocks.1.mlp.linear_fc2": {
|
| 2019 |
+
"scheme": "dense"
|
| 2020 |
+
},
|
| 2021 |
+
"model.visual.blocks.10.attn.proj": {
|
| 2022 |
+
"scheme": "dense"
|
| 2023 |
+
},
|
| 2024 |
+
"model.visual.blocks.10.attn.qkv": {
|
| 2025 |
+
"scheme": "dense"
|
| 2026 |
+
},
|
| 2027 |
+
"model.visual.blocks.10.mlp.linear_fc1": {
|
| 2028 |
+
"scheme": "dense"
|
| 2029 |
+
},
|
| 2030 |
+
"model.visual.blocks.10.mlp.linear_fc2": {
|
| 2031 |
+
"scheme": "dense"
|
| 2032 |
+
},
|
| 2033 |
+
"model.visual.blocks.11.attn.proj": {
|
| 2034 |
+
"scheme": "dense"
|
| 2035 |
+
},
|
| 2036 |
+
"model.visual.blocks.11.attn.qkv": {
|
| 2037 |
+
"scheme": "dense"
|
| 2038 |
+
},
|
| 2039 |
+
"model.visual.blocks.11.mlp.linear_fc1": {
|
| 2040 |
+
"scheme": "dense"
|
| 2041 |
+
},
|
| 2042 |
+
"model.visual.blocks.11.mlp.linear_fc2": {
|
| 2043 |
+
"scheme": "dense"
|
| 2044 |
+
},
|
| 2045 |
+
"model.visual.blocks.12.attn.proj": {
|
| 2046 |
+
"scheme": "dense"
|
| 2047 |
+
},
|
| 2048 |
+
"model.visual.blocks.12.attn.qkv": {
|
| 2049 |
+
"scheme": "dense"
|
| 2050 |
+
},
|
| 2051 |
+
"model.visual.blocks.12.mlp.linear_fc1": {
|
| 2052 |
+
"scheme": "dense"
|
| 2053 |
+
},
|
| 2054 |
+
"model.visual.blocks.12.mlp.linear_fc2": {
|
| 2055 |
+
"scheme": "dense"
|
| 2056 |
+
},
|
| 2057 |
+
"model.visual.blocks.13.attn.proj": {
|
| 2058 |
+
"scheme": "dense"
|
| 2059 |
+
},
|
| 2060 |
+
"model.visual.blocks.13.attn.qkv": {
|
| 2061 |
+
"scheme": "dense"
|
| 2062 |
+
},
|
| 2063 |
+
"model.visual.blocks.13.mlp.linear_fc1": {
|
| 2064 |
+
"scheme": "dense"
|
| 2065 |
+
},
|
| 2066 |
+
"model.visual.blocks.13.mlp.linear_fc2": {
|
| 2067 |
+
"scheme": "dense"
|
| 2068 |
+
},
|
| 2069 |
+
"model.visual.blocks.14.attn.proj": {
|
| 2070 |
+
"scheme": "dense"
|
| 2071 |
+
},
|
| 2072 |
+
"model.visual.blocks.14.attn.qkv": {
|
| 2073 |
+
"scheme": "dense"
|
| 2074 |
+
},
|
| 2075 |
+
"model.visual.blocks.14.mlp.linear_fc1": {
|
| 2076 |
+
"scheme": "dense"
|
| 2077 |
+
},
|
| 2078 |
+
"model.visual.blocks.14.mlp.linear_fc2": {
|
| 2079 |
+
"scheme": "dense"
|
| 2080 |
+
},
|
| 2081 |
+
"model.visual.blocks.15.attn.proj": {
|
| 2082 |
+
"scheme": "dense"
|
| 2083 |
+
},
|
| 2084 |
+
"model.visual.blocks.15.attn.qkv": {
|
| 2085 |
+
"scheme": "dense"
|
| 2086 |
+
},
|
| 2087 |
+
"model.visual.blocks.15.mlp.linear_fc1": {
|
| 2088 |
+
"scheme": "dense"
|
| 2089 |
+
},
|
| 2090 |
+
"model.visual.blocks.15.mlp.linear_fc2": {
|
| 2091 |
+
"scheme": "dense"
|
| 2092 |
+
},
|
| 2093 |
+
"model.visual.blocks.16.attn.proj": {
|
| 2094 |
+
"scheme": "dense"
|
| 2095 |
+
},
|
| 2096 |
+
"model.visual.blocks.16.attn.qkv": {
|
| 2097 |
+
"scheme": "dense"
|
| 2098 |
+
},
|
| 2099 |
+
"model.visual.blocks.16.mlp.linear_fc1": {
|
| 2100 |
+
"scheme": "dense"
|
| 2101 |
+
},
|
| 2102 |
+
"model.visual.blocks.16.mlp.linear_fc2": {
|
| 2103 |
+
"scheme": "dense"
|
| 2104 |
+
},
|
| 2105 |
+
"model.visual.blocks.17.attn.proj": {
|
| 2106 |
+
"scheme": "dense"
|
| 2107 |
+
},
|
| 2108 |
+
"model.visual.blocks.17.attn.qkv": {
|
| 2109 |
+
"scheme": "dense"
|
| 2110 |
+
},
|
| 2111 |
+
"model.visual.blocks.17.mlp.linear_fc1": {
|
| 2112 |
+
"scheme": "dense"
|
| 2113 |
+
},
|
| 2114 |
+
"model.visual.blocks.17.mlp.linear_fc2": {
|
| 2115 |
+
"scheme": "dense"
|
| 2116 |
+
},
|
| 2117 |
+
"model.visual.blocks.18.attn.proj": {
|
| 2118 |
+
"scheme": "dense"
|
| 2119 |
+
},
|
| 2120 |
+
"model.visual.blocks.18.attn.qkv": {
|
| 2121 |
+
"scheme": "dense"
|
| 2122 |
+
},
|
| 2123 |
+
"model.visual.blocks.18.mlp.linear_fc1": {
|
| 2124 |
+
"scheme": "dense"
|
| 2125 |
+
},
|
| 2126 |
+
"model.visual.blocks.18.mlp.linear_fc2": {
|
| 2127 |
+
"scheme": "dense"
|
| 2128 |
+
},
|
| 2129 |
+
"model.visual.blocks.19.attn.proj": {
|
| 2130 |
+
"scheme": "dense"
|
| 2131 |
+
},
|
| 2132 |
+
"model.visual.blocks.19.attn.qkv": {
|
| 2133 |
+
"scheme": "dense"
|
| 2134 |
+
},
|
| 2135 |
+
"model.visual.blocks.19.mlp.linear_fc1": {
|
| 2136 |
+
"scheme": "dense"
|
| 2137 |
+
},
|
| 2138 |
+
"model.visual.blocks.19.mlp.linear_fc2": {
|
| 2139 |
+
"scheme": "dense"
|
| 2140 |
+
},
|
| 2141 |
+
"model.visual.blocks.2.attn.proj": {
|
| 2142 |
+
"scheme": "dense"
|
| 2143 |
+
},
|
| 2144 |
+
"model.visual.blocks.2.attn.qkv": {
|
| 2145 |
+
"scheme": "dense"
|
| 2146 |
+
},
|
| 2147 |
+
"model.visual.blocks.2.mlp.linear_fc1": {
|
| 2148 |
+
"scheme": "dense"
|
| 2149 |
+
},
|
| 2150 |
+
"model.visual.blocks.2.mlp.linear_fc2": {
|
| 2151 |
+
"scheme": "dense"
|
| 2152 |
+
},
|
| 2153 |
+
"model.visual.blocks.20.attn.proj": {
|
| 2154 |
+
"scheme": "dense"
|
| 2155 |
+
},
|
| 2156 |
+
"model.visual.blocks.20.attn.qkv": {
|
| 2157 |
+
"scheme": "dense"
|
| 2158 |
+
},
|
| 2159 |
+
"model.visual.blocks.20.mlp.linear_fc1": {
|
| 2160 |
+
"scheme": "dense"
|
| 2161 |
+
},
|
| 2162 |
+
"model.visual.blocks.20.mlp.linear_fc2": {
|
| 2163 |
+
"scheme": "dense"
|
| 2164 |
+
},
|
| 2165 |
+
"model.visual.blocks.21.attn.proj": {
|
| 2166 |
+
"scheme": "dense"
|
| 2167 |
+
},
|
| 2168 |
+
"model.visual.blocks.21.attn.qkv": {
|
| 2169 |
+
"scheme": "dense"
|
| 2170 |
+
},
|
| 2171 |
+
"model.visual.blocks.21.mlp.linear_fc1": {
|
| 2172 |
+
"scheme": "dense"
|
| 2173 |
+
},
|
| 2174 |
+
"model.visual.blocks.21.mlp.linear_fc2": {
|
| 2175 |
+
"scheme": "dense"
|
| 2176 |
+
},
|
| 2177 |
+
"model.visual.blocks.22.attn.proj": {
|
| 2178 |
+
"scheme": "dense"
|
| 2179 |
+
},
|
| 2180 |
+
"model.visual.blocks.22.attn.qkv": {
|
| 2181 |
+
"scheme": "dense"
|
| 2182 |
+
},
|
| 2183 |
+
"model.visual.blocks.22.mlp.linear_fc1": {
|
| 2184 |
+
"scheme": "dense"
|
| 2185 |
+
},
|
| 2186 |
+
"model.visual.blocks.22.mlp.linear_fc2": {
|
| 2187 |
+
"scheme": "dense"
|
| 2188 |
+
},
|
| 2189 |
+
"model.visual.blocks.23.attn.proj": {
|
| 2190 |
+
"scheme": "dense"
|
| 2191 |
+
},
|
| 2192 |
+
"model.visual.blocks.23.attn.qkv": {
|
| 2193 |
+
"scheme": "dense"
|
| 2194 |
+
},
|
| 2195 |
+
"model.visual.blocks.23.mlp.linear_fc1": {
|
| 2196 |
+
"scheme": "dense"
|
| 2197 |
+
},
|
| 2198 |
+
"model.visual.blocks.23.mlp.linear_fc2": {
|
| 2199 |
+
"scheme": "dense"
|
| 2200 |
+
},
|
| 2201 |
+
"model.visual.blocks.24.attn.proj": {
|
| 2202 |
+
"scheme": "dense"
|
| 2203 |
+
},
|
| 2204 |
+
"model.visual.blocks.24.attn.qkv": {
|
| 2205 |
+
"scheme": "dense"
|
| 2206 |
+
},
|
| 2207 |
+
"model.visual.blocks.24.mlp.linear_fc1": {
|
| 2208 |
+
"scheme": "dense"
|
| 2209 |
+
},
|
| 2210 |
+
"model.visual.blocks.24.mlp.linear_fc2": {
|
| 2211 |
+
"scheme": "dense"
|
| 2212 |
+
},
|
| 2213 |
+
"model.visual.blocks.25.attn.proj": {
|
| 2214 |
+
"scheme": "dense"
|
| 2215 |
+
},
|
| 2216 |
+
"model.visual.blocks.25.attn.qkv": {
|
| 2217 |
+
"scheme": "dense"
|
| 2218 |
+
},
|
| 2219 |
+
"model.visual.blocks.25.mlp.linear_fc1": {
|
| 2220 |
+
"scheme": "dense"
|
| 2221 |
+
},
|
| 2222 |
+
"model.visual.blocks.25.mlp.linear_fc2": {
|
| 2223 |
+
"scheme": "dense"
|
| 2224 |
+
},
|
| 2225 |
+
"model.visual.blocks.26.attn.proj": {
|
| 2226 |
+
"scheme": "dense"
|
| 2227 |
+
},
|
| 2228 |
+
"model.visual.blocks.26.attn.qkv": {
|
| 2229 |
+
"scheme": "dense"
|
| 2230 |
+
},
|
| 2231 |
+
"model.visual.blocks.26.mlp.linear_fc1": {
|
| 2232 |
+
"scheme": "dense"
|
| 2233 |
+
},
|
| 2234 |
+
"model.visual.blocks.26.mlp.linear_fc2": {
|
| 2235 |
+
"scheme": "dense"
|
| 2236 |
+
},
|
| 2237 |
+
"model.visual.blocks.3.attn.proj": {
|
| 2238 |
+
"scheme": "dense"
|
| 2239 |
+
},
|
| 2240 |
+
"model.visual.blocks.3.attn.qkv": {
|
| 2241 |
+
"scheme": "dense"
|
| 2242 |
+
},
|
| 2243 |
+
"model.visual.blocks.3.mlp.linear_fc1": {
|
| 2244 |
+
"scheme": "dense"
|
| 2245 |
+
},
|
| 2246 |
+
"model.visual.blocks.3.mlp.linear_fc2": {
|
| 2247 |
+
"scheme": "dense"
|
| 2248 |
+
},
|
| 2249 |
+
"model.visual.blocks.4.attn.proj": {
|
| 2250 |
+
"scheme": "dense"
|
| 2251 |
+
},
|
| 2252 |
+
"model.visual.blocks.4.attn.qkv": {
|
| 2253 |
+
"scheme": "dense"
|
| 2254 |
+
},
|
| 2255 |
+
"model.visual.blocks.4.mlp.linear_fc1": {
|
| 2256 |
+
"scheme": "dense"
|
| 2257 |
+
},
|
| 2258 |
+
"model.visual.blocks.4.mlp.linear_fc2": {
|
| 2259 |
+
"scheme": "dense"
|
| 2260 |
+
},
|
| 2261 |
+
"model.visual.blocks.5.attn.proj": {
|
| 2262 |
+
"scheme": "dense"
|
| 2263 |
+
},
|
| 2264 |
+
"model.visual.blocks.5.attn.qkv": {
|
| 2265 |
+
"scheme": "dense"
|
| 2266 |
+
},
|
| 2267 |
+
"model.visual.blocks.5.mlp.linear_fc1": {
|
| 2268 |
+
"scheme": "dense"
|
| 2269 |
+
},
|
| 2270 |
+
"model.visual.blocks.5.mlp.linear_fc2": {
|
| 2271 |
+
"scheme": "dense"
|
| 2272 |
+
},
|
| 2273 |
+
"model.visual.blocks.6.attn.proj": {
|
| 2274 |
+
"scheme": "dense"
|
| 2275 |
+
},
|
| 2276 |
+
"model.visual.blocks.6.attn.qkv": {
|
| 2277 |
+
"scheme": "dense"
|
| 2278 |
+
},
|
| 2279 |
+
"model.visual.blocks.6.mlp.linear_fc1": {
|
| 2280 |
+
"scheme": "dense"
|
| 2281 |
+
},
|
| 2282 |
+
"model.visual.blocks.6.mlp.linear_fc2": {
|
| 2283 |
+
"scheme": "dense"
|
| 2284 |
+
},
|
| 2285 |
+
"model.visual.blocks.7.attn.proj": {
|
| 2286 |
+
"scheme": "dense"
|
| 2287 |
+
},
|
| 2288 |
+
"model.visual.blocks.7.attn.qkv": {
|
| 2289 |
+
"scheme": "dense"
|
| 2290 |
+
},
|
| 2291 |
+
"model.visual.blocks.7.mlp.linear_fc1": {
|
| 2292 |
+
"scheme": "dense"
|
| 2293 |
+
},
|
| 2294 |
+
"model.visual.blocks.7.mlp.linear_fc2": {
|
| 2295 |
+
"scheme": "dense"
|
| 2296 |
+
},
|
| 2297 |
+
"model.visual.blocks.8.attn.proj": {
|
| 2298 |
+
"scheme": "dense"
|
| 2299 |
+
},
|
| 2300 |
+
"model.visual.blocks.8.attn.qkv": {
|
| 2301 |
+
"scheme": "dense"
|
| 2302 |
+
},
|
| 2303 |
+
"model.visual.blocks.8.mlp.linear_fc1": {
|
| 2304 |
+
"scheme": "dense"
|
| 2305 |
+
},
|
| 2306 |
+
"model.visual.blocks.8.mlp.linear_fc2": {
|
| 2307 |
+
"scheme": "dense"
|
| 2308 |
+
},
|
| 2309 |
+
"model.visual.blocks.9.attn.proj": {
|
| 2310 |
+
"scheme": "dense"
|
| 2311 |
+
},
|
| 2312 |
+
"model.visual.blocks.9.attn.qkv": {
|
| 2313 |
+
"scheme": "dense"
|
| 2314 |
+
},
|
| 2315 |
+
"model.visual.blocks.9.mlp.linear_fc1": {
|
| 2316 |
+
"scheme": "dense"
|
| 2317 |
+
},
|
| 2318 |
+
"model.visual.blocks.9.mlp.linear_fc2": {
|
| 2319 |
+
"scheme": "dense"
|
| 2320 |
+
},
|
| 2321 |
+
"model.visual.merger.linear_fc1": {
|
| 2322 |
+
"scheme": "dense"
|
| 2323 |
+
},
|
| 2324 |
+
"model.visual.merger.linear_fc2": {
|
| 2325 |
+
"scheme": "dense"
|
| 2326 |
+
},
|
| 2327 |
+
"model.visual.patch_embed.proj": {
|
| 2328 |
+
"scheme": "dense"
|
| 2329 |
+
},
|
| 2330 |
+
"model.visual.pos_embed": {
|
| 2331 |
+
"scheme": "dense"
|
| 2332 |
+
},
|
| 2333 |
+
"mtp.fc": {
|
| 2334 |
+
"scheme": "dense"
|
| 2335 |
+
},
|
| 2336 |
+
"mtp.layers.0.mlp.down_proj": {
|
| 2337 |
+
"scheme": "dense"
|
| 2338 |
+
},
|
| 2339 |
+
"mtp.layers.0.mlp.gate_proj": {
|
| 2340 |
+
"scheme": "dense"
|
| 2341 |
+
},
|
| 2342 |
+
"mtp.layers.0.mlp.up_proj": {
|
| 2343 |
+
"scheme": "dense"
|
| 2344 |
+
},
|
| 2345 |
+
"mtp.layers.0.self_attn.k_proj": {
|
| 2346 |
+
"scheme": "dense"
|
| 2347 |
+
},
|
| 2348 |
+
"mtp.layers.0.self_attn.o_proj": {
|
| 2349 |
+
"scheme": "dense"
|
| 2350 |
+
},
|
| 2351 |
+
"mtp.layers.0.self_attn.q_proj": {
|
| 2352 |
+
"scheme": "dense"
|
| 2353 |
+
},
|
| 2354 |
+
"mtp.layers.0.self_attn.v_proj": {
|
| 2355 |
+
"scheme": "dense"
|
| 2356 |
+
}
|
| 2357 |
+
}
|
| 2358 |
+
}
|
| 2359 |
+
}
|
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-00000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:484375c6aba5f862e10a4a728b4de34bc27dedee4581a4c9981c4f907531a6a4
|
| 3 |
+
size 5423301808
|
model-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:028ff40abd49954c1a50c493f9601268ca4622e78d0177a12735e019c81b74ad
|
| 3 |
+
size 5397847640
|
model-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9d05bb81e78c23bd646f65a79926a090d7aceb58d9828a0473701e3da0f8e4b
|
| 3 |
+
size 5462871512
|
model-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4c6a4ec14df09b0b426938f36877b9bb955f6155293e66c34b9f510098de495
|
| 3 |
+
size 5583012248
|
model-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0903ca682ea8c94ec29cfa03c1b6cbdfc1ba5bac22fede50f63176ad2beaafd
|
| 3 |
+
size 5515677240
|
model-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f126031c0c1a00cf381b1691b2a480cd2d3b5ed5656b832015e416780ffb11bd
|
| 3 |
+
size 5515677288
|
model-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36ea3a4dadbd602d8b4bf82705d2c21e79e6d5202910f2f9024c14d95fab4cff
|
| 3 |
+
size 5239893424
|
model-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd4aa1e7119c63b2e52156a9da8bb8bc20e1f3b1e1be22c91ee744e3a76b6fae
|
| 3 |
+
size 849347440
|
model-kvscales.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18e43cf738931a285d0fd8b7d50cf16390fa8db88066f7a26bc64cd523756a5f
|
| 3 |
+
size 5676
|
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
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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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
|
|
|