Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5_moe
conversational
8-bit precision
quark
Instructions to use amd/Qwen3.5-397B-A17B-MXFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amd/Qwen3.5-397B-A17B-MXFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="amd/Qwen3.5-397B-A17B-MXFP4") 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, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("amd/Qwen3.5-397B-A17B-MXFP4") model = AutoModelForImageTextToText.from_pretrained("amd/Qwen3.5-397B-A17B-MXFP4") 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
- vLLM
How to use amd/Qwen3.5-397B-A17B-MXFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "amd/Qwen3.5-397B-A17B-MXFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "amd/Qwen3.5-397B-A17B-MXFP4", "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/amd/Qwen3.5-397B-A17B-MXFP4
- SGLang
How to use amd/Qwen3.5-397B-A17B-MXFP4 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 "amd/Qwen3.5-397B-A17B-MXFP4" \ --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": "amd/Qwen3.5-397B-A17B-MXFP4", "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 "amd/Qwen3.5-397B-A17B-MXFP4" \ --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": "amd/Qwen3.5-397B-A17B-MXFP4", "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 amd/Qwen3.5-397B-A17B-MXFP4 with Docker Model Runner:
docker model run hf.co/amd/Qwen3.5-397B-A17B-MXFP4
Upload-1 (#1)
Browse files- upload MXFP4 model (adf871adcc981442570728344f652fac3cb6fcd7)
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- LICENSE +202 -0
- chat_template.jinja +154 -0
- config.json +995 -0
- generation_config.json +13 -0
- merges.txt +0 -0
- model.safetensors-00001-of-00094.safetensors +3 -0
- model.safetensors-00002-of-00094.safetensors +3 -0
- model.safetensors-00003-of-00094.safetensors +3 -0
- model.safetensors-00004-of-00094.safetensors +3 -0
- model.safetensors-00005-of-00094.safetensors +3 -0
- model.safetensors-00006-of-00094.safetensors +3 -0
- model.safetensors-00007-of-00094.safetensors +3 -0
- model.safetensors-00008-of-00094.safetensors +3 -0
- model.safetensors-00009-of-00094.safetensors +3 -0
- model.safetensors-00010-of-00094.safetensors +3 -0
- model.safetensors-00011-of-00094.safetensors +3 -0
- model.safetensors-00012-of-00094.safetensors +3 -0
- model.safetensors-00013-of-00094.safetensors +3 -0
- model.safetensors-00014-of-00094.safetensors +3 -0
- model.safetensors-00015-of-00094.safetensors +3 -0
- model.safetensors-00016-of-00094.safetensors +3 -0
- model.safetensors-00017-of-00094.safetensors +3 -0
- model.safetensors-00018-of-00094.safetensors +3 -0
- model.safetensors-00019-of-00094.safetensors +3 -0
- model.safetensors-00020-of-00094.safetensors +3 -0
- model.safetensors-00021-of-00094.safetensors +3 -0
- model.safetensors-00022-of-00094.safetensors +3 -0
- model.safetensors-00023-of-00094.safetensors +3 -0
- model.safetensors-00024-of-00094.safetensors +3 -0
- model.safetensors-00025-of-00094.safetensors +3 -0
- model.safetensors-00026-of-00094.safetensors +3 -0
- model.safetensors-00027-of-00094.safetensors +3 -0
- model.safetensors-00028-of-00094.safetensors +3 -0
- model.safetensors-00029-of-00094.safetensors +3 -0
- model.safetensors-00030-of-00094.safetensors +3 -0
- model.safetensors-00031-of-00094.safetensors +3 -0
- model.safetensors-00032-of-00094.safetensors +3 -0
- model.safetensors-00033-of-00094.safetensors +3 -0
- model.safetensors-00034-of-00094.safetensors +3 -0
- model.safetensors-00035-of-00094.safetensors +3 -0
- model.safetensors-00036-of-00094.safetensors +3 -0
- model.safetensors-00037-of-00094.safetensors +3 -0
- model.safetensors-00038-of-00094.safetensors +3 -0
- model.safetensors-00039-of-00094.safetensors +3 -0
- model.safetensors-00040-of-00094.safetensors +3 -0
- model.safetensors-00041-of-00094.safetensors +3 -0
- model.safetensors-00042-of-00094.safetensors +3 -0
- model.safetensors-00043-of-00094.safetensors +3 -0
- model.safetensors-00044-of-00094.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ 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 |
+
model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
CHANGED
|
@@ -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.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,995 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5MoeForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"image_token_id": 248056,
|
| 6 |
+
"model_type": "qwen3_5_moe",
|
| 7 |
+
"text_config": {
|
| 8 |
+
"attention_bias": false,
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"attn_output_gate": true,
|
| 11 |
+
"dtype": "bfloat16",
|
| 12 |
+
"eos_token_id": 248044,
|
| 13 |
+
"full_attention_interval": 4,
|
| 14 |
+
"head_dim": 256,
|
| 15 |
+
"hidden_act": "silu",
|
| 16 |
+
"hidden_size": 4096,
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"layer_types": [
|
| 19 |
+
"linear_attention",
|
| 20 |
+
"linear_attention",
|
| 21 |
+
"linear_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"linear_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"linear_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"linear_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"linear_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"linear_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"linear_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"linear_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"linear_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"linear_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"linear_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"linear_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"linear_attention",
|
| 50 |
+
"full_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"linear_attention",
|
| 54 |
+
"full_attention",
|
| 55 |
+
"linear_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"linear_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"linear_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"linear_attention",
|
| 62 |
+
"full_attention",
|
| 63 |
+
"linear_attention",
|
| 64 |
+
"linear_attention",
|
| 65 |
+
"linear_attention",
|
| 66 |
+
"full_attention",
|
| 67 |
+
"linear_attention",
|
| 68 |
+
"linear_attention",
|
| 69 |
+
"linear_attention",
|
| 70 |
+
"full_attention",
|
| 71 |
+
"linear_attention",
|
| 72 |
+
"linear_attention",
|
| 73 |
+
"linear_attention",
|
| 74 |
+
"full_attention",
|
| 75 |
+
"linear_attention",
|
| 76 |
+
"linear_attention",
|
| 77 |
+
"linear_attention",
|
| 78 |
+
"full_attention"
|
| 79 |
+
],
|
| 80 |
+
"linear_conv_kernel_dim": 4,
|
| 81 |
+
"linear_key_head_dim": 128,
|
| 82 |
+
"linear_num_key_heads": 16,
|
| 83 |
+
"linear_num_value_heads": 64,
|
| 84 |
+
"linear_value_head_dim": 128,
|
| 85 |
+
"max_position_embeddings": 262144,
|
| 86 |
+
"mlp_only_layers": [],
|
| 87 |
+
"model_type": "qwen3_5_moe_text",
|
| 88 |
+
"moe_intermediate_size": 1024,
|
| 89 |
+
"mtp_num_hidden_layers": 1,
|
| 90 |
+
"mtp_use_dedicated_embeddings": false,
|
| 91 |
+
"num_attention_heads": 32,
|
| 92 |
+
"num_experts": 512,
|
| 93 |
+
"num_experts_per_tok": 10,
|
| 94 |
+
"num_hidden_layers": 60,
|
| 95 |
+
"num_key_value_heads": 2,
|
| 96 |
+
"rms_norm_eps": 1e-06,
|
| 97 |
+
"router_aux_loss_coef": 0.001,
|
| 98 |
+
"shared_expert_intermediate_size": 1024,
|
| 99 |
+
"use_cache": true,
|
| 100 |
+
"vocab_size": 248320,
|
| 101 |
+
"mamba_ssm_dtype": "float32",
|
| 102 |
+
"rope_parameters": {
|
| 103 |
+
"mrope_interleaved": true,
|
| 104 |
+
"mrope_section": [
|
| 105 |
+
11,
|
| 106 |
+
11,
|
| 107 |
+
10
|
| 108 |
+
],
|
| 109 |
+
"rope_type": "default",
|
| 110 |
+
"rope_theta": 10000000,
|
| 111 |
+
"partial_rotary_factor": 0.25
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"tie_word_embeddings": false,
|
| 115 |
+
"transformers_version": "4.57.0.dev0",
|
| 116 |
+
"video_token_id": 248057,
|
| 117 |
+
"vision_config": {
|
| 118 |
+
"deepstack_visual_indexes": [],
|
| 119 |
+
"depth": 27,
|
| 120 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 121 |
+
"hidden_size": 1152,
|
| 122 |
+
"in_channels": 3,
|
| 123 |
+
"initializer_range": 0.02,
|
| 124 |
+
"intermediate_size": 4304,
|
| 125 |
+
"model_type": "qwen3_5_moe",
|
| 126 |
+
"num_heads": 16,
|
| 127 |
+
"num_position_embeddings": 2304,
|
| 128 |
+
"out_hidden_size": 4096,
|
| 129 |
+
"patch_size": 16,
|
| 130 |
+
"spatial_merge_size": 2,
|
| 131 |
+
"temporal_patch_size": 2
|
| 132 |
+
},
|
| 133 |
+
"vision_end_token_id": 248054,
|
| 134 |
+
"vision_start_token_id": 248053,
|
| 135 |
+
"quantization_config": {
|
| 136 |
+
"global_quant_config": {
|
| 137 |
+
"input_tensors": {
|
| 138 |
+
"dtype": "fp4",
|
| 139 |
+
"is_dynamic": true,
|
| 140 |
+
"qscheme": "per_group",
|
| 141 |
+
"ch_axis": -1,
|
| 142 |
+
"group_size": 32,
|
| 143 |
+
"symmetric": null,
|
| 144 |
+
"round_method": "half_even",
|
| 145 |
+
"scale_type": "float",
|
| 146 |
+
"scale_format": "e8m0",
|
| 147 |
+
"scale_calculation_mode": "even",
|
| 148 |
+
"mx_element_dtype": null,
|
| 149 |
+
"observer_cls": "PerBlockMXObserver",
|
| 150 |
+
"is_scale_quant": false
|
| 151 |
+
},
|
| 152 |
+
"output_tensors": null,
|
| 153 |
+
"weight": {
|
| 154 |
+
"dtype": "fp4",
|
| 155 |
+
"is_dynamic": false,
|
| 156 |
+
"qscheme": "per_group",
|
| 157 |
+
"ch_axis": -1,
|
| 158 |
+
"group_size": 32,
|
| 159 |
+
"symmetric": null,
|
| 160 |
+
"round_method": "half_even",
|
| 161 |
+
"scale_type": "float",
|
| 162 |
+
"scale_format": "e8m0",
|
| 163 |
+
"scale_calculation_mode": "even",
|
| 164 |
+
"mx_element_dtype": null,
|
| 165 |
+
"observer_cls": "PerBlockMXObserver",
|
| 166 |
+
"is_scale_quant": false
|
| 167 |
+
},
|
| 168 |
+
"bias": null,
|
| 169 |
+
"target_device": null
|
| 170 |
+
},
|
| 171 |
+
"exclude": [
|
| 172 |
+
"lm_head",
|
| 173 |
+
"model.language_model.layers.0.linear_attn.conv1d",
|
| 174 |
+
"model.language_model.layers.0.linear_attn.in_proj_a",
|
| 175 |
+
"model.language_model.layers.0.linear_attn.in_proj_b",
|
| 176 |
+
"model.language_model.layers.0.linear_attn.in_proj_qkv",
|
| 177 |
+
"model.language_model.layers.0.linear_attn.in_proj_z",
|
| 178 |
+
"model.language_model.layers.0.linear_attn.out_proj",
|
| 179 |
+
"model.language_model.layers.0.mlp.gate",
|
| 180 |
+
"model.language_model.layers.0.mlp.shared_expert.down_proj",
|
| 181 |
+
"model.language_model.layers.0.mlp.shared_expert.gate_proj",
|
| 182 |
+
"model.language_model.layers.0.mlp.shared_expert.up_proj",
|
| 183 |
+
"model.language_model.layers.0.mlp.shared_expert_gate",
|
| 184 |
+
"model.language_model.layers.1.linear_attn.conv1d",
|
| 185 |
+
"model.language_model.layers.1.linear_attn.in_proj_a",
|
| 186 |
+
"model.language_model.layers.1.linear_attn.in_proj_b",
|
| 187 |
+
"model.language_model.layers.1.linear_attn.in_proj_qkv",
|
| 188 |
+
"model.language_model.layers.1.linear_attn.in_proj_z",
|
| 189 |
+
"model.language_model.layers.1.linear_attn.out_proj",
|
| 190 |
+
"model.language_model.layers.1.mlp.gate",
|
| 191 |
+
"model.language_model.layers.1.mlp.shared_expert.down_proj",
|
| 192 |
+
"model.language_model.layers.1.mlp.shared_expert.gate_proj",
|
| 193 |
+
"model.language_model.layers.1.mlp.shared_expert.up_proj",
|
| 194 |
+
"model.language_model.layers.1.mlp.shared_expert_gate",
|
| 195 |
+
"model.language_model.layers.10.linear_attn.conv1d",
|
| 196 |
+
"model.language_model.layers.10.linear_attn.in_proj_a",
|
| 197 |
+
"model.language_model.layers.10.linear_attn.in_proj_b",
|
| 198 |
+
"model.language_model.layers.10.linear_attn.in_proj_qkv",
|
| 199 |
+
"model.language_model.layers.10.linear_attn.in_proj_z",
|
| 200 |
+
"model.language_model.layers.10.linear_attn.out_proj",
|
| 201 |
+
"model.language_model.layers.10.mlp.gate",
|
| 202 |
+
"model.language_model.layers.10.mlp.shared_expert.down_proj",
|
| 203 |
+
"model.language_model.layers.10.mlp.shared_expert.gate_proj",
|
| 204 |
+
"model.language_model.layers.10.mlp.shared_expert.up_proj",
|
| 205 |
+
"model.language_model.layers.10.mlp.shared_expert_gate",
|
| 206 |
+
"model.language_model.layers.11.mlp.gate",
|
| 207 |
+
"model.language_model.layers.11.mlp.shared_expert.down_proj",
|
| 208 |
+
"model.language_model.layers.11.mlp.shared_expert.gate_proj",
|
| 209 |
+
"model.language_model.layers.11.mlp.shared_expert.up_proj",
|
| 210 |
+
"model.language_model.layers.11.mlp.shared_expert_gate",
|
| 211 |
+
"model.language_model.layers.11.self_attn.k_proj",
|
| 212 |
+
"model.language_model.layers.11.self_attn.o_proj",
|
| 213 |
+
"model.language_model.layers.11.self_attn.q_proj",
|
| 214 |
+
"model.language_model.layers.11.self_attn.v_proj",
|
| 215 |
+
"model.language_model.layers.12.linear_attn.conv1d",
|
| 216 |
+
"model.language_model.layers.12.linear_attn.in_proj_a",
|
| 217 |
+
"model.language_model.layers.12.linear_attn.in_proj_b",
|
| 218 |
+
"model.language_model.layers.12.linear_attn.in_proj_qkv",
|
| 219 |
+
"model.language_model.layers.12.linear_attn.in_proj_z",
|
| 220 |
+
"model.language_model.layers.12.linear_attn.out_proj",
|
| 221 |
+
"model.language_model.layers.12.mlp.gate",
|
| 222 |
+
"model.language_model.layers.12.mlp.shared_expert.down_proj",
|
| 223 |
+
"model.language_model.layers.12.mlp.shared_expert.gate_proj",
|
| 224 |
+
"model.language_model.layers.12.mlp.shared_expert.up_proj",
|
| 225 |
+
"model.language_model.layers.12.mlp.shared_expert_gate",
|
| 226 |
+
"model.language_model.layers.13.linear_attn.conv1d",
|
| 227 |
+
"model.language_model.layers.13.linear_attn.in_proj_a",
|
| 228 |
+
"model.language_model.layers.13.linear_attn.in_proj_b",
|
| 229 |
+
"model.language_model.layers.13.linear_attn.in_proj_qkv",
|
| 230 |
+
"model.language_model.layers.13.linear_attn.in_proj_z",
|
| 231 |
+
"model.language_model.layers.13.linear_attn.out_proj",
|
| 232 |
+
"model.language_model.layers.13.mlp.gate",
|
| 233 |
+
"model.language_model.layers.13.mlp.shared_expert.down_proj",
|
| 234 |
+
"model.language_model.layers.13.mlp.shared_expert.gate_proj",
|
| 235 |
+
"model.language_model.layers.13.mlp.shared_expert.up_proj",
|
| 236 |
+
"model.language_model.layers.13.mlp.shared_expert_gate",
|
| 237 |
+
"model.language_model.layers.14.linear_attn.conv1d",
|
| 238 |
+
"model.language_model.layers.14.linear_attn.in_proj_a",
|
| 239 |
+
"model.language_model.layers.14.linear_attn.in_proj_b",
|
| 240 |
+
"model.language_model.layers.14.linear_attn.in_proj_qkv",
|
| 241 |
+
"model.language_model.layers.14.linear_attn.in_proj_z",
|
| 242 |
+
"model.language_model.layers.14.linear_attn.out_proj",
|
| 243 |
+
"model.language_model.layers.14.mlp.gate",
|
| 244 |
+
"model.language_model.layers.14.mlp.shared_expert.down_proj",
|
| 245 |
+
"model.language_model.layers.14.mlp.shared_expert.gate_proj",
|
| 246 |
+
"model.language_model.layers.14.mlp.shared_expert.up_proj",
|
| 247 |
+
"model.language_model.layers.14.mlp.shared_expert_gate",
|
| 248 |
+
"model.language_model.layers.15.mlp.gate",
|
| 249 |
+
"model.language_model.layers.15.mlp.shared_expert.down_proj",
|
| 250 |
+
"model.language_model.layers.15.mlp.shared_expert.gate_proj",
|
| 251 |
+
"model.language_model.layers.15.mlp.shared_expert.up_proj",
|
| 252 |
+
"model.language_model.layers.15.mlp.shared_expert_gate",
|
| 253 |
+
"model.language_model.layers.15.self_attn.k_proj",
|
| 254 |
+
"model.language_model.layers.15.self_attn.o_proj",
|
| 255 |
+
"model.language_model.layers.15.self_attn.q_proj",
|
| 256 |
+
"model.language_model.layers.15.self_attn.v_proj",
|
| 257 |
+
"model.language_model.layers.16.linear_attn.conv1d",
|
| 258 |
+
"model.language_model.layers.16.linear_attn.in_proj_a",
|
| 259 |
+
"model.language_model.layers.16.linear_attn.in_proj_b",
|
| 260 |
+
"model.language_model.layers.16.linear_attn.in_proj_qkv",
|
| 261 |
+
"model.language_model.layers.16.linear_attn.in_proj_z",
|
| 262 |
+
"model.language_model.layers.16.linear_attn.out_proj",
|
| 263 |
+
"model.language_model.layers.16.mlp.gate",
|
| 264 |
+
"model.language_model.layers.16.mlp.shared_expert.down_proj",
|
| 265 |
+
"model.language_model.layers.16.mlp.shared_expert.gate_proj",
|
| 266 |
+
"model.language_model.layers.16.mlp.shared_expert.up_proj",
|
| 267 |
+
"model.language_model.layers.16.mlp.shared_expert_gate",
|
| 268 |
+
"model.language_model.layers.17.linear_attn.conv1d",
|
| 269 |
+
"model.language_model.layers.17.linear_attn.in_proj_a",
|
| 270 |
+
"model.language_model.layers.17.linear_attn.in_proj_b",
|
| 271 |
+
"model.language_model.layers.17.linear_attn.in_proj_qkv",
|
| 272 |
+
"model.language_model.layers.17.linear_attn.in_proj_z",
|
| 273 |
+
"model.language_model.layers.17.linear_attn.out_proj",
|
| 274 |
+
"model.language_model.layers.17.mlp.gate",
|
| 275 |
+
"model.language_model.layers.17.mlp.shared_expert.down_proj",
|
| 276 |
+
"model.language_model.layers.17.mlp.shared_expert.gate_proj",
|
| 277 |
+
"model.language_model.layers.17.mlp.shared_expert.up_proj",
|
| 278 |
+
"model.language_model.layers.17.mlp.shared_expert_gate",
|
| 279 |
+
"model.language_model.layers.18.linear_attn.conv1d",
|
| 280 |
+
"model.language_model.layers.18.linear_attn.in_proj_a",
|
| 281 |
+
"model.language_model.layers.18.linear_attn.in_proj_b",
|
| 282 |
+
"model.language_model.layers.18.linear_attn.in_proj_qkv",
|
| 283 |
+
"model.language_model.layers.18.linear_attn.in_proj_z",
|
| 284 |
+
"model.language_model.layers.18.linear_attn.out_proj",
|
| 285 |
+
"model.language_model.layers.18.mlp.gate",
|
| 286 |
+
"model.language_model.layers.18.mlp.shared_expert.down_proj",
|
| 287 |
+
"model.language_model.layers.18.mlp.shared_expert.gate_proj",
|
| 288 |
+
"model.language_model.layers.18.mlp.shared_expert.up_proj",
|
| 289 |
+
"model.language_model.layers.18.mlp.shared_expert_gate",
|
| 290 |
+
"model.language_model.layers.19.mlp.gate",
|
| 291 |
+
"model.language_model.layers.19.mlp.shared_expert.down_proj",
|
| 292 |
+
"model.language_model.layers.19.mlp.shared_expert.gate_proj",
|
| 293 |
+
"model.language_model.layers.19.mlp.shared_expert.up_proj",
|
| 294 |
+
"model.language_model.layers.19.mlp.shared_expert_gate",
|
| 295 |
+
"model.language_model.layers.19.self_attn.k_proj",
|
| 296 |
+
"model.language_model.layers.19.self_attn.o_proj",
|
| 297 |
+
"model.language_model.layers.19.self_attn.q_proj",
|
| 298 |
+
"model.language_model.layers.19.self_attn.v_proj",
|
| 299 |
+
"model.language_model.layers.2.linear_attn.conv1d",
|
| 300 |
+
"model.language_model.layers.2.linear_attn.in_proj_a",
|
| 301 |
+
"model.language_model.layers.2.linear_attn.in_proj_b",
|
| 302 |
+
"model.language_model.layers.2.linear_attn.in_proj_qkv",
|
| 303 |
+
"model.language_model.layers.2.linear_attn.in_proj_z",
|
| 304 |
+
"model.language_model.layers.2.linear_attn.out_proj",
|
| 305 |
+
"model.language_model.layers.2.mlp.gate",
|
| 306 |
+
"model.language_model.layers.2.mlp.shared_expert.down_proj",
|
| 307 |
+
"model.language_model.layers.2.mlp.shared_expert.gate_proj",
|
| 308 |
+
"model.language_model.layers.2.mlp.shared_expert.up_proj",
|
| 309 |
+
"model.language_model.layers.2.mlp.shared_expert_gate",
|
| 310 |
+
"model.language_model.layers.20.linear_attn.conv1d",
|
| 311 |
+
"model.language_model.layers.20.linear_attn.in_proj_a",
|
| 312 |
+
"model.language_model.layers.20.linear_attn.in_proj_b",
|
| 313 |
+
"model.language_model.layers.20.linear_attn.in_proj_qkv",
|
| 314 |
+
"model.language_model.layers.20.linear_attn.in_proj_z",
|
| 315 |
+
"model.language_model.layers.20.linear_attn.out_proj",
|
| 316 |
+
"model.language_model.layers.20.mlp.gate",
|
| 317 |
+
"model.language_model.layers.20.mlp.shared_expert.down_proj",
|
| 318 |
+
"model.language_model.layers.20.mlp.shared_expert.gate_proj",
|
| 319 |
+
"model.language_model.layers.20.mlp.shared_expert.up_proj",
|
| 320 |
+
"model.language_model.layers.20.mlp.shared_expert_gate",
|
| 321 |
+
"model.language_model.layers.21.linear_attn.conv1d",
|
| 322 |
+
"model.language_model.layers.21.linear_attn.in_proj_a",
|
| 323 |
+
"model.language_model.layers.21.linear_attn.in_proj_b",
|
| 324 |
+
"model.language_model.layers.21.linear_attn.in_proj_qkv",
|
| 325 |
+
"model.language_model.layers.21.linear_attn.in_proj_z",
|
| 326 |
+
"model.language_model.layers.21.linear_attn.out_proj",
|
| 327 |
+
"model.language_model.layers.21.mlp.gate",
|
| 328 |
+
"model.language_model.layers.21.mlp.shared_expert.down_proj",
|
| 329 |
+
"model.language_model.layers.21.mlp.shared_expert.gate_proj",
|
| 330 |
+
"model.language_model.layers.21.mlp.shared_expert.up_proj",
|
| 331 |
+
"model.language_model.layers.21.mlp.shared_expert_gate",
|
| 332 |
+
"model.language_model.layers.22.linear_attn.conv1d",
|
| 333 |
+
"model.language_model.layers.22.linear_attn.in_proj_a",
|
| 334 |
+
"model.language_model.layers.22.linear_attn.in_proj_b",
|
| 335 |
+
"model.language_model.layers.22.linear_attn.in_proj_qkv",
|
| 336 |
+
"model.language_model.layers.22.linear_attn.in_proj_z",
|
| 337 |
+
"model.language_model.layers.22.linear_attn.out_proj",
|
| 338 |
+
"model.language_model.layers.22.mlp.gate",
|
| 339 |
+
"model.language_model.layers.22.mlp.shared_expert.down_proj",
|
| 340 |
+
"model.language_model.layers.22.mlp.shared_expert.gate_proj",
|
| 341 |
+
"model.language_model.layers.22.mlp.shared_expert.up_proj",
|
| 342 |
+
"model.language_model.layers.22.mlp.shared_expert_gate",
|
| 343 |
+
"model.language_model.layers.23.mlp.gate",
|
| 344 |
+
"model.language_model.layers.23.mlp.shared_expert.down_proj",
|
| 345 |
+
"model.language_model.layers.23.mlp.shared_expert.gate_proj",
|
| 346 |
+
"model.language_model.layers.23.mlp.shared_expert.up_proj",
|
| 347 |
+
"model.language_model.layers.23.mlp.shared_expert_gate",
|
| 348 |
+
"model.language_model.layers.23.self_attn.k_proj",
|
| 349 |
+
"model.language_model.layers.23.self_attn.o_proj",
|
| 350 |
+
"model.language_model.layers.23.self_attn.q_proj",
|
| 351 |
+
"model.language_model.layers.23.self_attn.v_proj",
|
| 352 |
+
"model.language_model.layers.24.linear_attn.conv1d",
|
| 353 |
+
"model.language_model.layers.24.linear_attn.in_proj_a",
|
| 354 |
+
"model.language_model.layers.24.linear_attn.in_proj_b",
|
| 355 |
+
"model.language_model.layers.24.linear_attn.in_proj_qkv",
|
| 356 |
+
"model.language_model.layers.24.linear_attn.in_proj_z",
|
| 357 |
+
"model.language_model.layers.24.linear_attn.out_proj",
|
| 358 |
+
"model.language_model.layers.24.mlp.gate",
|
| 359 |
+
"model.language_model.layers.24.mlp.shared_expert.down_proj",
|
| 360 |
+
"model.language_model.layers.24.mlp.shared_expert.gate_proj",
|
| 361 |
+
"model.language_model.layers.24.mlp.shared_expert.up_proj",
|
| 362 |
+
"model.language_model.layers.24.mlp.shared_expert_gate",
|
| 363 |
+
"model.language_model.layers.25.linear_attn.conv1d",
|
| 364 |
+
"model.language_model.layers.25.linear_attn.in_proj_a",
|
| 365 |
+
"model.language_model.layers.25.linear_attn.in_proj_b",
|
| 366 |
+
"model.language_model.layers.25.linear_attn.in_proj_qkv",
|
| 367 |
+
"model.language_model.layers.25.linear_attn.in_proj_z",
|
| 368 |
+
"model.language_model.layers.25.linear_attn.out_proj",
|
| 369 |
+
"model.language_model.layers.25.mlp.gate",
|
| 370 |
+
"model.language_model.layers.25.mlp.shared_expert.down_proj",
|
| 371 |
+
"model.language_model.layers.25.mlp.shared_expert.gate_proj",
|
| 372 |
+
"model.language_model.layers.25.mlp.shared_expert.up_proj",
|
| 373 |
+
"model.language_model.layers.25.mlp.shared_expert_gate",
|
| 374 |
+
"model.language_model.layers.26.linear_attn.conv1d",
|
| 375 |
+
"model.language_model.layers.26.linear_attn.in_proj_a",
|
| 376 |
+
"model.language_model.layers.26.linear_attn.in_proj_b",
|
| 377 |
+
"model.language_model.layers.26.linear_attn.in_proj_qkv",
|
| 378 |
+
"model.language_model.layers.26.linear_attn.in_proj_z",
|
| 379 |
+
"model.language_model.layers.26.linear_attn.out_proj",
|
| 380 |
+
"model.language_model.layers.26.mlp.gate",
|
| 381 |
+
"model.language_model.layers.26.mlp.shared_expert.down_proj",
|
| 382 |
+
"model.language_model.layers.26.mlp.shared_expert.gate_proj",
|
| 383 |
+
"model.language_model.layers.26.mlp.shared_expert.up_proj",
|
| 384 |
+
"model.language_model.layers.26.mlp.shared_expert_gate",
|
| 385 |
+
"model.language_model.layers.27.mlp.gate",
|
| 386 |
+
"model.language_model.layers.27.mlp.shared_expert.down_proj",
|
| 387 |
+
"model.language_model.layers.27.mlp.shared_expert.gate_proj",
|
| 388 |
+
"model.language_model.layers.27.mlp.shared_expert.up_proj",
|
| 389 |
+
"model.language_model.layers.27.mlp.shared_expert_gate",
|
| 390 |
+
"model.language_model.layers.27.self_attn.k_proj",
|
| 391 |
+
"model.language_model.layers.27.self_attn.o_proj",
|
| 392 |
+
"model.language_model.layers.27.self_attn.q_proj",
|
| 393 |
+
"model.language_model.layers.27.self_attn.v_proj",
|
| 394 |
+
"model.language_model.layers.28.linear_attn.conv1d",
|
| 395 |
+
"model.language_model.layers.28.linear_attn.in_proj_a",
|
| 396 |
+
"model.language_model.layers.28.linear_attn.in_proj_b",
|
| 397 |
+
"model.language_model.layers.28.linear_attn.in_proj_qkv",
|
| 398 |
+
"model.language_model.layers.28.linear_attn.in_proj_z",
|
| 399 |
+
"model.language_model.layers.28.linear_attn.out_proj",
|
| 400 |
+
"model.language_model.layers.28.mlp.gate",
|
| 401 |
+
"model.language_model.layers.28.mlp.shared_expert.down_proj",
|
| 402 |
+
"model.language_model.layers.28.mlp.shared_expert.gate_proj",
|
| 403 |
+
"model.language_model.layers.28.mlp.shared_expert.up_proj",
|
| 404 |
+
"model.language_model.layers.28.mlp.shared_expert_gate",
|
| 405 |
+
"model.language_model.layers.29.linear_attn.conv1d",
|
| 406 |
+
"model.language_model.layers.29.linear_attn.in_proj_a",
|
| 407 |
+
"model.language_model.layers.29.linear_attn.in_proj_b",
|
| 408 |
+
"model.language_model.layers.29.linear_attn.in_proj_qkv",
|
| 409 |
+
"model.language_model.layers.29.linear_attn.in_proj_z",
|
| 410 |
+
"model.language_model.layers.29.linear_attn.out_proj",
|
| 411 |
+
"model.language_model.layers.29.mlp.gate",
|
| 412 |
+
"model.language_model.layers.29.mlp.shared_expert.down_proj",
|
| 413 |
+
"model.language_model.layers.29.mlp.shared_expert.gate_proj",
|
| 414 |
+
"model.language_model.layers.29.mlp.shared_expert.up_proj",
|
| 415 |
+
"model.language_model.layers.29.mlp.shared_expert_gate",
|
| 416 |
+
"model.language_model.layers.3.mlp.gate",
|
| 417 |
+
"model.language_model.layers.3.mlp.shared_expert.down_proj",
|
| 418 |
+
"model.language_model.layers.3.mlp.shared_expert.gate_proj",
|
| 419 |
+
"model.language_model.layers.3.mlp.shared_expert.up_proj",
|
| 420 |
+
"model.language_model.layers.3.mlp.shared_expert_gate",
|
| 421 |
+
"model.language_model.layers.3.self_attn.k_proj",
|
| 422 |
+
"model.language_model.layers.3.self_attn.o_proj",
|
| 423 |
+
"model.language_model.layers.3.self_attn.q_proj",
|
| 424 |
+
"model.language_model.layers.3.self_attn.v_proj",
|
| 425 |
+
"model.language_model.layers.30.linear_attn.conv1d",
|
| 426 |
+
"model.language_model.layers.30.linear_attn.in_proj_a",
|
| 427 |
+
"model.language_model.layers.30.linear_attn.in_proj_b",
|
| 428 |
+
"model.language_model.layers.30.linear_attn.in_proj_qkv",
|
| 429 |
+
"model.language_model.layers.30.linear_attn.in_proj_z",
|
| 430 |
+
"model.language_model.layers.30.linear_attn.out_proj",
|
| 431 |
+
"model.language_model.layers.30.mlp.gate",
|
| 432 |
+
"model.language_model.layers.30.mlp.shared_expert.down_proj",
|
| 433 |
+
"model.language_model.layers.30.mlp.shared_expert.gate_proj",
|
| 434 |
+
"model.language_model.layers.30.mlp.shared_expert.up_proj",
|
| 435 |
+
"model.language_model.layers.30.mlp.shared_expert_gate",
|
| 436 |
+
"model.language_model.layers.31.mlp.gate",
|
| 437 |
+
"model.language_model.layers.31.mlp.shared_expert.down_proj",
|
| 438 |
+
"model.language_model.layers.31.mlp.shared_expert.gate_proj",
|
| 439 |
+
"model.language_model.layers.31.mlp.shared_expert.up_proj",
|
| 440 |
+
"model.language_model.layers.31.mlp.shared_expert_gate",
|
| 441 |
+
"model.language_model.layers.31.self_attn.k_proj",
|
| 442 |
+
"model.language_model.layers.31.self_attn.o_proj",
|
| 443 |
+
"model.language_model.layers.31.self_attn.q_proj",
|
| 444 |
+
"model.language_model.layers.31.self_attn.v_proj",
|
| 445 |
+
"model.language_model.layers.32.linear_attn.conv1d",
|
| 446 |
+
"model.language_model.layers.32.linear_attn.in_proj_a",
|
| 447 |
+
"model.language_model.layers.32.linear_attn.in_proj_b",
|
| 448 |
+
"model.language_model.layers.32.linear_attn.in_proj_qkv",
|
| 449 |
+
"model.language_model.layers.32.linear_attn.in_proj_z",
|
| 450 |
+
"model.language_model.layers.32.linear_attn.out_proj",
|
| 451 |
+
"model.language_model.layers.32.mlp.gate",
|
| 452 |
+
"model.language_model.layers.32.mlp.shared_expert.down_proj",
|
| 453 |
+
"model.language_model.layers.32.mlp.shared_expert.gate_proj",
|
| 454 |
+
"model.language_model.layers.32.mlp.shared_expert.up_proj",
|
| 455 |
+
"model.language_model.layers.32.mlp.shared_expert_gate",
|
| 456 |
+
"model.language_model.layers.33.linear_attn.conv1d",
|
| 457 |
+
"model.language_model.layers.33.linear_attn.in_proj_a",
|
| 458 |
+
"model.language_model.layers.33.linear_attn.in_proj_b",
|
| 459 |
+
"model.language_model.layers.33.linear_attn.in_proj_qkv",
|
| 460 |
+
"model.language_model.layers.33.linear_attn.in_proj_z",
|
| 461 |
+
"model.language_model.layers.33.linear_attn.out_proj",
|
| 462 |
+
"model.language_model.layers.33.mlp.gate",
|
| 463 |
+
"model.language_model.layers.33.mlp.shared_expert.down_proj",
|
| 464 |
+
"model.language_model.layers.33.mlp.shared_expert.gate_proj",
|
| 465 |
+
"model.language_model.layers.33.mlp.shared_expert.up_proj",
|
| 466 |
+
"model.language_model.layers.33.mlp.shared_expert_gate",
|
| 467 |
+
"model.language_model.layers.34.linear_attn.conv1d",
|
| 468 |
+
"model.language_model.layers.34.linear_attn.in_proj_a",
|
| 469 |
+
"model.language_model.layers.34.linear_attn.in_proj_b",
|
| 470 |
+
"model.language_model.layers.34.linear_attn.in_proj_qkv",
|
| 471 |
+
"model.language_model.layers.34.linear_attn.in_proj_z",
|
| 472 |
+
"model.language_model.layers.34.linear_attn.out_proj",
|
| 473 |
+
"model.language_model.layers.34.mlp.gate",
|
| 474 |
+
"model.language_model.layers.34.mlp.shared_expert.down_proj",
|
| 475 |
+
"model.language_model.layers.34.mlp.shared_expert.gate_proj",
|
| 476 |
+
"model.language_model.layers.34.mlp.shared_expert.up_proj",
|
| 477 |
+
"model.language_model.layers.34.mlp.shared_expert_gate",
|
| 478 |
+
"model.language_model.layers.35.mlp.gate",
|
| 479 |
+
"model.language_model.layers.35.mlp.shared_expert.down_proj",
|
| 480 |
+
"model.language_model.layers.35.mlp.shared_expert.gate_proj",
|
| 481 |
+
"model.language_model.layers.35.mlp.shared_expert.up_proj",
|
| 482 |
+
"model.language_model.layers.35.mlp.shared_expert_gate",
|
| 483 |
+
"model.language_model.layers.35.self_attn.k_proj",
|
| 484 |
+
"model.language_model.layers.35.self_attn.o_proj",
|
| 485 |
+
"model.language_model.layers.35.self_attn.q_proj",
|
| 486 |
+
"model.language_model.layers.35.self_attn.v_proj",
|
| 487 |
+
"model.language_model.layers.36.linear_attn.conv1d",
|
| 488 |
+
"model.language_model.layers.36.linear_attn.in_proj_a",
|
| 489 |
+
"model.language_model.layers.36.linear_attn.in_proj_b",
|
| 490 |
+
"model.language_model.layers.36.linear_attn.in_proj_qkv",
|
| 491 |
+
"model.language_model.layers.36.linear_attn.in_proj_z",
|
| 492 |
+
"model.language_model.layers.36.linear_attn.out_proj",
|
| 493 |
+
"model.language_model.layers.36.mlp.gate",
|
| 494 |
+
"model.language_model.layers.36.mlp.shared_expert.down_proj",
|
| 495 |
+
"model.language_model.layers.36.mlp.shared_expert.gate_proj",
|
| 496 |
+
"model.language_model.layers.36.mlp.shared_expert.up_proj",
|
| 497 |
+
"model.language_model.layers.36.mlp.shared_expert_gate",
|
| 498 |
+
"model.language_model.layers.37.linear_attn.conv1d",
|
| 499 |
+
"model.language_model.layers.37.linear_attn.in_proj_a",
|
| 500 |
+
"model.language_model.layers.37.linear_attn.in_proj_b",
|
| 501 |
+
"model.language_model.layers.37.linear_attn.in_proj_qkv",
|
| 502 |
+
"model.language_model.layers.37.linear_attn.in_proj_z",
|
| 503 |
+
"model.language_model.layers.37.linear_attn.out_proj",
|
| 504 |
+
"model.language_model.layers.37.mlp.gate",
|
| 505 |
+
"model.language_model.layers.37.mlp.shared_expert.down_proj",
|
| 506 |
+
"model.language_model.layers.37.mlp.shared_expert.gate_proj",
|
| 507 |
+
"model.language_model.layers.37.mlp.shared_expert.up_proj",
|
| 508 |
+
"model.language_model.layers.37.mlp.shared_expert_gate",
|
| 509 |
+
"model.language_model.layers.38.linear_attn.conv1d",
|
| 510 |
+
"model.language_model.layers.38.linear_attn.in_proj_a",
|
| 511 |
+
"model.language_model.layers.38.linear_attn.in_proj_b",
|
| 512 |
+
"model.language_model.layers.38.linear_attn.in_proj_qkv",
|
| 513 |
+
"model.language_model.layers.38.linear_attn.in_proj_z",
|
| 514 |
+
"model.language_model.layers.38.linear_attn.out_proj",
|
| 515 |
+
"model.language_model.layers.38.mlp.gate",
|
| 516 |
+
"model.language_model.layers.38.mlp.shared_expert.down_proj",
|
| 517 |
+
"model.language_model.layers.38.mlp.shared_expert.gate_proj",
|
| 518 |
+
"model.language_model.layers.38.mlp.shared_expert.up_proj",
|
| 519 |
+
"model.language_model.layers.38.mlp.shared_expert_gate",
|
| 520 |
+
"model.language_model.layers.39.mlp.gate",
|
| 521 |
+
"model.language_model.layers.39.mlp.shared_expert.down_proj",
|
| 522 |
+
"model.language_model.layers.39.mlp.shared_expert.gate_proj",
|
| 523 |
+
"model.language_model.layers.39.mlp.shared_expert.up_proj",
|
| 524 |
+
"model.language_model.layers.39.mlp.shared_expert_gate",
|
| 525 |
+
"model.language_model.layers.39.self_attn.k_proj",
|
| 526 |
+
"model.language_model.layers.39.self_attn.o_proj",
|
| 527 |
+
"model.language_model.layers.39.self_attn.q_proj",
|
| 528 |
+
"model.language_model.layers.39.self_attn.v_proj",
|
| 529 |
+
"model.language_model.layers.4.linear_attn.conv1d",
|
| 530 |
+
"model.language_model.layers.4.linear_attn.in_proj_a",
|
| 531 |
+
"model.language_model.layers.4.linear_attn.in_proj_b",
|
| 532 |
+
"model.language_model.layers.4.linear_attn.in_proj_qkv",
|
| 533 |
+
"model.language_model.layers.4.linear_attn.in_proj_z",
|
| 534 |
+
"model.language_model.layers.4.linear_attn.out_proj",
|
| 535 |
+
"model.language_model.layers.4.mlp.gate",
|
| 536 |
+
"model.language_model.layers.4.mlp.shared_expert.down_proj",
|
| 537 |
+
"model.language_model.layers.4.mlp.shared_expert.gate_proj",
|
| 538 |
+
"model.language_model.layers.4.mlp.shared_expert.up_proj",
|
| 539 |
+
"model.language_model.layers.4.mlp.shared_expert_gate",
|
| 540 |
+
"model.language_model.layers.40.linear_attn.conv1d",
|
| 541 |
+
"model.language_model.layers.40.linear_attn.in_proj_a",
|
| 542 |
+
"model.language_model.layers.40.linear_attn.in_proj_b",
|
| 543 |
+
"model.language_model.layers.40.linear_attn.in_proj_qkv",
|
| 544 |
+
"model.language_model.layers.40.linear_attn.in_proj_z",
|
| 545 |
+
"model.language_model.layers.40.linear_attn.out_proj",
|
| 546 |
+
"model.language_model.layers.40.mlp.gate",
|
| 547 |
+
"model.language_model.layers.40.mlp.shared_expert.down_proj",
|
| 548 |
+
"model.language_model.layers.40.mlp.shared_expert.gate_proj",
|
| 549 |
+
"model.language_model.layers.40.mlp.shared_expert.up_proj",
|
| 550 |
+
"model.language_model.layers.40.mlp.shared_expert_gate",
|
| 551 |
+
"model.language_model.layers.41.linear_attn.conv1d",
|
| 552 |
+
"model.language_model.layers.41.linear_attn.in_proj_a",
|
| 553 |
+
"model.language_model.layers.41.linear_attn.in_proj_b",
|
| 554 |
+
"model.language_model.layers.41.linear_attn.in_proj_qkv",
|
| 555 |
+
"model.language_model.layers.41.linear_attn.in_proj_z",
|
| 556 |
+
"model.language_model.layers.41.linear_attn.out_proj",
|
| 557 |
+
"model.language_model.layers.41.mlp.gate",
|
| 558 |
+
"model.language_model.layers.41.mlp.shared_expert.down_proj",
|
| 559 |
+
"model.language_model.layers.41.mlp.shared_expert.gate_proj",
|
| 560 |
+
"model.language_model.layers.41.mlp.shared_expert.up_proj",
|
| 561 |
+
"model.language_model.layers.41.mlp.shared_expert_gate",
|
| 562 |
+
"model.language_model.layers.42.linear_attn.conv1d",
|
| 563 |
+
"model.language_model.layers.42.linear_attn.in_proj_a",
|
| 564 |
+
"model.language_model.layers.42.linear_attn.in_proj_b",
|
| 565 |
+
"model.language_model.layers.42.linear_attn.in_proj_qkv",
|
| 566 |
+
"model.language_model.layers.42.linear_attn.in_proj_z",
|
| 567 |
+
"model.language_model.layers.42.linear_attn.out_proj",
|
| 568 |
+
"model.language_model.layers.42.mlp.gate",
|
| 569 |
+
"model.language_model.layers.42.mlp.shared_expert.down_proj",
|
| 570 |
+
"model.language_model.layers.42.mlp.shared_expert.gate_proj",
|
| 571 |
+
"model.language_model.layers.42.mlp.shared_expert.up_proj",
|
| 572 |
+
"model.language_model.layers.42.mlp.shared_expert_gate",
|
| 573 |
+
"model.language_model.layers.43.mlp.gate",
|
| 574 |
+
"model.language_model.layers.43.mlp.shared_expert.down_proj",
|
| 575 |
+
"model.language_model.layers.43.mlp.shared_expert.gate_proj",
|
| 576 |
+
"model.language_model.layers.43.mlp.shared_expert.up_proj",
|
| 577 |
+
"model.language_model.layers.43.mlp.shared_expert_gate",
|
| 578 |
+
"model.language_model.layers.43.self_attn.k_proj",
|
| 579 |
+
"model.language_model.layers.43.self_attn.o_proj",
|
| 580 |
+
"model.language_model.layers.43.self_attn.q_proj",
|
| 581 |
+
"model.language_model.layers.43.self_attn.v_proj",
|
| 582 |
+
"model.language_model.layers.44.linear_attn.conv1d",
|
| 583 |
+
"model.language_model.layers.44.linear_attn.in_proj_a",
|
| 584 |
+
"model.language_model.layers.44.linear_attn.in_proj_b",
|
| 585 |
+
"model.language_model.layers.44.linear_attn.in_proj_qkv",
|
| 586 |
+
"model.language_model.layers.44.linear_attn.in_proj_z",
|
| 587 |
+
"model.language_model.layers.44.linear_attn.out_proj",
|
| 588 |
+
"model.language_model.layers.44.mlp.gate",
|
| 589 |
+
"model.language_model.layers.44.mlp.shared_expert.down_proj",
|
| 590 |
+
"model.language_model.layers.44.mlp.shared_expert.gate_proj",
|
| 591 |
+
"model.language_model.layers.44.mlp.shared_expert.up_proj",
|
| 592 |
+
"model.language_model.layers.44.mlp.shared_expert_gate",
|
| 593 |
+
"model.language_model.layers.45.linear_attn.conv1d",
|
| 594 |
+
"model.language_model.layers.45.linear_attn.in_proj_a",
|
| 595 |
+
"model.language_model.layers.45.linear_attn.in_proj_b",
|
| 596 |
+
"model.language_model.layers.45.linear_attn.in_proj_qkv",
|
| 597 |
+
"model.language_model.layers.45.linear_attn.in_proj_z",
|
| 598 |
+
"model.language_model.layers.45.linear_attn.out_proj",
|
| 599 |
+
"model.language_model.layers.45.mlp.gate",
|
| 600 |
+
"model.language_model.layers.45.mlp.shared_expert.down_proj",
|
| 601 |
+
"model.language_model.layers.45.mlp.shared_expert.gate_proj",
|
| 602 |
+
"model.language_model.layers.45.mlp.shared_expert.up_proj",
|
| 603 |
+
"model.language_model.layers.45.mlp.shared_expert_gate",
|
| 604 |
+
"model.language_model.layers.46.linear_attn.conv1d",
|
| 605 |
+
"model.language_model.layers.46.linear_attn.in_proj_a",
|
| 606 |
+
"model.language_model.layers.46.linear_attn.in_proj_b",
|
| 607 |
+
"model.language_model.layers.46.linear_attn.in_proj_qkv",
|
| 608 |
+
"model.language_model.layers.46.linear_attn.in_proj_z",
|
| 609 |
+
"model.language_model.layers.46.linear_attn.out_proj",
|
| 610 |
+
"model.language_model.layers.46.mlp.gate",
|
| 611 |
+
"model.language_model.layers.46.mlp.shared_expert.down_proj",
|
| 612 |
+
"model.language_model.layers.46.mlp.shared_expert.gate_proj",
|
| 613 |
+
"model.language_model.layers.46.mlp.shared_expert.up_proj",
|
| 614 |
+
"model.language_model.layers.46.mlp.shared_expert_gate",
|
| 615 |
+
"model.language_model.layers.47.mlp.gate",
|
| 616 |
+
"model.language_model.layers.47.mlp.shared_expert.down_proj",
|
| 617 |
+
"model.language_model.layers.47.mlp.shared_expert.gate_proj",
|
| 618 |
+
"model.language_model.layers.47.mlp.shared_expert.up_proj",
|
| 619 |
+
"model.language_model.layers.47.mlp.shared_expert_gate",
|
| 620 |
+
"model.language_model.layers.47.self_attn.k_proj",
|
| 621 |
+
"model.language_model.layers.47.self_attn.o_proj",
|
| 622 |
+
"model.language_model.layers.47.self_attn.q_proj",
|
| 623 |
+
"model.language_model.layers.47.self_attn.v_proj",
|
| 624 |
+
"model.language_model.layers.48.linear_attn.conv1d",
|
| 625 |
+
"model.language_model.layers.48.linear_attn.in_proj_a",
|
| 626 |
+
"model.language_model.layers.48.linear_attn.in_proj_b",
|
| 627 |
+
"model.language_model.layers.48.linear_attn.in_proj_qkv",
|
| 628 |
+
"model.language_model.layers.48.linear_attn.in_proj_z",
|
| 629 |
+
"model.language_model.layers.48.linear_attn.out_proj",
|
| 630 |
+
"model.language_model.layers.48.mlp.gate",
|
| 631 |
+
"model.language_model.layers.48.mlp.shared_expert.down_proj",
|
| 632 |
+
"model.language_model.layers.48.mlp.shared_expert.gate_proj",
|
| 633 |
+
"model.language_model.layers.48.mlp.shared_expert.up_proj",
|
| 634 |
+
"model.language_model.layers.48.mlp.shared_expert_gate",
|
| 635 |
+
"model.language_model.layers.49.linear_attn.conv1d",
|
| 636 |
+
"model.language_model.layers.49.linear_attn.in_proj_a",
|
| 637 |
+
"model.language_model.layers.49.linear_attn.in_proj_b",
|
| 638 |
+
"model.language_model.layers.49.linear_attn.in_proj_qkv",
|
| 639 |
+
"model.language_model.layers.49.linear_attn.in_proj_z",
|
| 640 |
+
"model.language_model.layers.49.linear_attn.out_proj",
|
| 641 |
+
"model.language_model.layers.49.mlp.gate",
|
| 642 |
+
"model.language_model.layers.49.mlp.shared_expert.down_proj",
|
| 643 |
+
"model.language_model.layers.49.mlp.shared_expert.gate_proj",
|
| 644 |
+
"model.language_model.layers.49.mlp.shared_expert.up_proj",
|
| 645 |
+
"model.language_model.layers.49.mlp.shared_expert_gate",
|
| 646 |
+
"model.language_model.layers.5.linear_attn.conv1d",
|
| 647 |
+
"model.language_model.layers.5.linear_attn.in_proj_a",
|
| 648 |
+
"model.language_model.layers.5.linear_attn.in_proj_b",
|
| 649 |
+
"model.language_model.layers.5.linear_attn.in_proj_qkv",
|
| 650 |
+
"model.language_model.layers.5.linear_attn.in_proj_z",
|
| 651 |
+
"model.language_model.layers.5.linear_attn.out_proj",
|
| 652 |
+
"model.language_model.layers.5.mlp.gate",
|
| 653 |
+
"model.language_model.layers.5.mlp.shared_expert.down_proj",
|
| 654 |
+
"model.language_model.layers.5.mlp.shared_expert.gate_proj",
|
| 655 |
+
"model.language_model.layers.5.mlp.shared_expert.up_proj",
|
| 656 |
+
"model.language_model.layers.5.mlp.shared_expert_gate",
|
| 657 |
+
"model.language_model.layers.50.linear_attn.conv1d",
|
| 658 |
+
"model.language_model.layers.50.linear_attn.in_proj_a",
|
| 659 |
+
"model.language_model.layers.50.linear_attn.in_proj_b",
|
| 660 |
+
"model.language_model.layers.50.linear_attn.in_proj_qkv",
|
| 661 |
+
"model.language_model.layers.50.linear_attn.in_proj_z",
|
| 662 |
+
"model.language_model.layers.50.linear_attn.out_proj",
|
| 663 |
+
"model.language_model.layers.50.mlp.gate",
|
| 664 |
+
"model.language_model.layers.50.mlp.shared_expert.down_proj",
|
| 665 |
+
"model.language_model.layers.50.mlp.shared_expert.gate_proj",
|
| 666 |
+
"model.language_model.layers.50.mlp.shared_expert.up_proj",
|
| 667 |
+
"model.language_model.layers.50.mlp.shared_expert_gate",
|
| 668 |
+
"model.language_model.layers.51.mlp.gate",
|
| 669 |
+
"model.language_model.layers.51.mlp.shared_expert.down_proj",
|
| 670 |
+
"model.language_model.layers.51.mlp.shared_expert.gate_proj",
|
| 671 |
+
"model.language_model.layers.51.mlp.shared_expert.up_proj",
|
| 672 |
+
"model.language_model.layers.51.mlp.shared_expert_gate",
|
| 673 |
+
"model.language_model.layers.51.self_attn.k_proj",
|
| 674 |
+
"model.language_model.layers.51.self_attn.o_proj",
|
| 675 |
+
"model.language_model.layers.51.self_attn.q_proj",
|
| 676 |
+
"model.language_model.layers.51.self_attn.v_proj",
|
| 677 |
+
"model.language_model.layers.52.linear_attn.conv1d",
|
| 678 |
+
"model.language_model.layers.52.linear_attn.in_proj_a",
|
| 679 |
+
"model.language_model.layers.52.linear_attn.in_proj_b",
|
| 680 |
+
"model.language_model.layers.52.linear_attn.in_proj_qkv",
|
| 681 |
+
"model.language_model.layers.52.linear_attn.in_proj_z",
|
| 682 |
+
"model.language_model.layers.52.linear_attn.out_proj",
|
| 683 |
+
"model.language_model.layers.52.mlp.gate",
|
| 684 |
+
"model.language_model.layers.52.mlp.shared_expert.down_proj",
|
| 685 |
+
"model.language_model.layers.52.mlp.shared_expert.gate_proj",
|
| 686 |
+
"model.language_model.layers.52.mlp.shared_expert.up_proj",
|
| 687 |
+
"model.language_model.layers.52.mlp.shared_expert_gate",
|
| 688 |
+
"model.language_model.layers.53.linear_attn.conv1d",
|
| 689 |
+
"model.language_model.layers.53.linear_attn.in_proj_a",
|
| 690 |
+
"model.language_model.layers.53.linear_attn.in_proj_b",
|
| 691 |
+
"model.language_model.layers.53.linear_attn.in_proj_qkv",
|
| 692 |
+
"model.language_model.layers.53.linear_attn.in_proj_z",
|
| 693 |
+
"model.language_model.layers.53.linear_attn.out_proj",
|
| 694 |
+
"model.language_model.layers.53.mlp.gate",
|
| 695 |
+
"model.language_model.layers.53.mlp.shared_expert.down_proj",
|
| 696 |
+
"model.language_model.layers.53.mlp.shared_expert.gate_proj",
|
| 697 |
+
"model.language_model.layers.53.mlp.shared_expert.up_proj",
|
| 698 |
+
"model.language_model.layers.53.mlp.shared_expert_gate",
|
| 699 |
+
"model.language_model.layers.54.linear_attn.conv1d",
|
| 700 |
+
"model.language_model.layers.54.linear_attn.in_proj_a",
|
| 701 |
+
"model.language_model.layers.54.linear_attn.in_proj_b",
|
| 702 |
+
"model.language_model.layers.54.linear_attn.in_proj_qkv",
|
| 703 |
+
"model.language_model.layers.54.linear_attn.in_proj_z",
|
| 704 |
+
"model.language_model.layers.54.linear_attn.out_proj",
|
| 705 |
+
"model.language_model.layers.54.mlp.gate",
|
| 706 |
+
"model.language_model.layers.54.mlp.shared_expert.down_proj",
|
| 707 |
+
"model.language_model.layers.54.mlp.shared_expert.gate_proj",
|
| 708 |
+
"model.language_model.layers.54.mlp.shared_expert.up_proj",
|
| 709 |
+
"model.language_model.layers.54.mlp.shared_expert_gate",
|
| 710 |
+
"model.language_model.layers.55.mlp.gate",
|
| 711 |
+
"model.language_model.layers.55.mlp.shared_expert.down_proj",
|
| 712 |
+
"model.language_model.layers.55.mlp.shared_expert.gate_proj",
|
| 713 |
+
"model.language_model.layers.55.mlp.shared_expert.up_proj",
|
| 714 |
+
"model.language_model.layers.55.mlp.shared_expert_gate",
|
| 715 |
+
"model.language_model.layers.55.self_attn.k_proj",
|
| 716 |
+
"model.language_model.layers.55.self_attn.o_proj",
|
| 717 |
+
"model.language_model.layers.55.self_attn.q_proj",
|
| 718 |
+
"model.language_model.layers.55.self_attn.v_proj",
|
| 719 |
+
"model.language_model.layers.56.linear_attn.conv1d",
|
| 720 |
+
"model.language_model.layers.56.linear_attn.in_proj_a",
|
| 721 |
+
"model.language_model.layers.56.linear_attn.in_proj_b",
|
| 722 |
+
"model.language_model.layers.56.linear_attn.in_proj_qkv",
|
| 723 |
+
"model.language_model.layers.56.linear_attn.in_proj_z",
|
| 724 |
+
"model.language_model.layers.56.linear_attn.out_proj",
|
| 725 |
+
"model.language_model.layers.56.mlp.gate",
|
| 726 |
+
"model.language_model.layers.56.mlp.shared_expert.down_proj",
|
| 727 |
+
"model.language_model.layers.56.mlp.shared_expert.gate_proj",
|
| 728 |
+
"model.language_model.layers.56.mlp.shared_expert.up_proj",
|
| 729 |
+
"model.language_model.layers.56.mlp.shared_expert_gate",
|
| 730 |
+
"model.language_model.layers.57.linear_attn.conv1d",
|
| 731 |
+
"model.language_model.layers.57.linear_attn.in_proj_a",
|
| 732 |
+
"model.language_model.layers.57.linear_attn.in_proj_b",
|
| 733 |
+
"model.language_model.layers.57.linear_attn.in_proj_qkv",
|
| 734 |
+
"model.language_model.layers.57.linear_attn.in_proj_z",
|
| 735 |
+
"model.language_model.layers.57.linear_attn.out_proj",
|
| 736 |
+
"model.language_model.layers.57.mlp.gate",
|
| 737 |
+
"model.language_model.layers.57.mlp.shared_expert.down_proj",
|
| 738 |
+
"model.language_model.layers.57.mlp.shared_expert.gate_proj",
|
| 739 |
+
"model.language_model.layers.57.mlp.shared_expert.up_proj",
|
| 740 |
+
"model.language_model.layers.57.mlp.shared_expert_gate",
|
| 741 |
+
"model.language_model.layers.58.linear_attn.conv1d",
|
| 742 |
+
"model.language_model.layers.58.linear_attn.in_proj_a",
|
| 743 |
+
"model.language_model.layers.58.linear_attn.in_proj_b",
|
| 744 |
+
"model.language_model.layers.58.linear_attn.in_proj_qkv",
|
| 745 |
+
"model.language_model.layers.58.linear_attn.in_proj_z",
|
| 746 |
+
"model.language_model.layers.58.linear_attn.out_proj",
|
| 747 |
+
"model.language_model.layers.58.mlp.gate",
|
| 748 |
+
"model.language_model.layers.58.mlp.shared_expert.down_proj",
|
| 749 |
+
"model.language_model.layers.58.mlp.shared_expert.gate_proj",
|
| 750 |
+
"model.language_model.layers.58.mlp.shared_expert.up_proj",
|
| 751 |
+
"model.language_model.layers.58.mlp.shared_expert_gate",
|
| 752 |
+
"model.language_model.layers.59.mlp.gate",
|
| 753 |
+
"model.language_model.layers.59.mlp.shared_expert.down_proj",
|
| 754 |
+
"model.language_model.layers.59.mlp.shared_expert.gate_proj",
|
| 755 |
+
"model.language_model.layers.59.mlp.shared_expert.up_proj",
|
| 756 |
+
"model.language_model.layers.59.mlp.shared_expert_gate",
|
| 757 |
+
"model.language_model.layers.59.self_attn.k_proj",
|
| 758 |
+
"model.language_model.layers.59.self_attn.o_proj",
|
| 759 |
+
"model.language_model.layers.59.self_attn.q_proj",
|
| 760 |
+
"model.language_model.layers.59.self_attn.v_proj",
|
| 761 |
+
"model.language_model.layers.6.linear_attn.conv1d",
|
| 762 |
+
"model.language_model.layers.6.linear_attn.in_proj_a",
|
| 763 |
+
"model.language_model.layers.6.linear_attn.in_proj_b",
|
| 764 |
+
"model.language_model.layers.6.linear_attn.in_proj_qkv",
|
| 765 |
+
"model.language_model.layers.6.linear_attn.in_proj_z",
|
| 766 |
+
"model.language_model.layers.6.linear_attn.out_proj",
|
| 767 |
+
"model.language_model.layers.6.mlp.gate",
|
| 768 |
+
"model.language_model.layers.6.mlp.shared_expert.down_proj",
|
| 769 |
+
"model.language_model.layers.6.mlp.shared_expert.gate_proj",
|
| 770 |
+
"model.language_model.layers.6.mlp.shared_expert.up_proj",
|
| 771 |
+
"model.language_model.layers.6.mlp.shared_expert_gate",
|
| 772 |
+
"model.language_model.layers.7.mlp.gate",
|
| 773 |
+
"model.language_model.layers.7.mlp.shared_expert.down_proj",
|
| 774 |
+
"model.language_model.layers.7.mlp.shared_expert.gate_proj",
|
| 775 |
+
"model.language_model.layers.7.mlp.shared_expert.up_proj",
|
| 776 |
+
"model.language_model.layers.7.mlp.shared_expert_gate",
|
| 777 |
+
"model.language_model.layers.7.self_attn.k_proj",
|
| 778 |
+
"model.language_model.layers.7.self_attn.o_proj",
|
| 779 |
+
"model.language_model.layers.7.self_attn.q_proj",
|
| 780 |
+
"model.language_model.layers.7.self_attn.v_proj",
|
| 781 |
+
"model.language_model.layers.8.linear_attn.conv1d",
|
| 782 |
+
"model.language_model.layers.8.linear_attn.in_proj_a",
|
| 783 |
+
"model.language_model.layers.8.linear_attn.in_proj_b",
|
| 784 |
+
"model.language_model.layers.8.linear_attn.in_proj_qkv",
|
| 785 |
+
"model.language_model.layers.8.linear_attn.in_proj_z",
|
| 786 |
+
"model.language_model.layers.8.linear_attn.out_proj",
|
| 787 |
+
"model.language_model.layers.8.mlp.gate",
|
| 788 |
+
"model.language_model.layers.8.mlp.shared_expert.down_proj",
|
| 789 |
+
"model.language_model.layers.8.mlp.shared_expert.gate_proj",
|
| 790 |
+
"model.language_model.layers.8.mlp.shared_expert.up_proj",
|
| 791 |
+
"model.language_model.layers.8.mlp.shared_expert_gate",
|
| 792 |
+
"model.language_model.layers.9.linear_attn.conv1d",
|
| 793 |
+
"model.language_model.layers.9.linear_attn.in_proj_a",
|
| 794 |
+
"model.language_model.layers.9.linear_attn.in_proj_b",
|
| 795 |
+
"model.language_model.layers.9.linear_attn.in_proj_qkv",
|
| 796 |
+
"model.language_model.layers.9.linear_attn.in_proj_z",
|
| 797 |
+
"model.language_model.layers.9.linear_attn.out_proj",
|
| 798 |
+
"model.language_model.layers.9.mlp.gate",
|
| 799 |
+
"model.language_model.layers.9.mlp.shared_expert.down_proj",
|
| 800 |
+
"model.language_model.layers.9.mlp.shared_expert.gate_proj",
|
| 801 |
+
"model.language_model.layers.9.mlp.shared_expert.up_proj",
|
| 802 |
+
"model.language_model.layers.9.mlp.shared_expert_gate",
|
| 803 |
+
"model.visual.blocks.0.attn.proj",
|
| 804 |
+
"model.visual.blocks.0.attn.qkv",
|
| 805 |
+
"model.visual.blocks.0.mlp.linear_fc1",
|
| 806 |
+
"model.visual.blocks.0.mlp.linear_fc2",
|
| 807 |
+
"model.visual.blocks.0.norm1",
|
| 808 |
+
"model.visual.blocks.0.norm2",
|
| 809 |
+
"model.visual.blocks.1.attn.proj",
|
| 810 |
+
"model.visual.blocks.1.attn.qkv",
|
| 811 |
+
"model.visual.blocks.1.mlp.linear_fc1",
|
| 812 |
+
"model.visual.blocks.1.mlp.linear_fc2",
|
| 813 |
+
"model.visual.blocks.1.norm1",
|
| 814 |
+
"model.visual.blocks.1.norm2",
|
| 815 |
+
"model.visual.blocks.10.attn.proj",
|
| 816 |
+
"model.visual.blocks.10.attn.qkv",
|
| 817 |
+
"model.visual.blocks.10.mlp.linear_fc1",
|
| 818 |
+
"model.visual.blocks.10.mlp.linear_fc2",
|
| 819 |
+
"model.visual.blocks.10.norm1",
|
| 820 |
+
"model.visual.blocks.10.norm2",
|
| 821 |
+
"model.visual.blocks.11.attn.proj",
|
| 822 |
+
"model.visual.blocks.11.attn.qkv",
|
| 823 |
+
"model.visual.blocks.11.mlp.linear_fc1",
|
| 824 |
+
"model.visual.blocks.11.mlp.linear_fc2",
|
| 825 |
+
"model.visual.blocks.11.norm1",
|
| 826 |
+
"model.visual.blocks.11.norm2",
|
| 827 |
+
"model.visual.blocks.12.attn.proj",
|
| 828 |
+
"model.visual.blocks.12.attn.qkv",
|
| 829 |
+
"model.visual.blocks.12.mlp.linear_fc1",
|
| 830 |
+
"model.visual.blocks.12.mlp.linear_fc2",
|
| 831 |
+
"model.visual.blocks.12.norm1",
|
| 832 |
+
"model.visual.blocks.12.norm2",
|
| 833 |
+
"model.visual.blocks.13.attn.proj",
|
| 834 |
+
"model.visual.blocks.13.attn.qkv",
|
| 835 |
+
"model.visual.blocks.13.mlp.linear_fc1",
|
| 836 |
+
"model.visual.blocks.13.mlp.linear_fc2",
|
| 837 |
+
"model.visual.blocks.13.norm1",
|
| 838 |
+
"model.visual.blocks.13.norm2",
|
| 839 |
+
"model.visual.blocks.14.attn.proj",
|
| 840 |
+
"model.visual.blocks.14.attn.qkv",
|
| 841 |
+
"model.visual.blocks.14.mlp.linear_fc1",
|
| 842 |
+
"model.visual.blocks.14.mlp.linear_fc2",
|
| 843 |
+
"model.visual.blocks.14.norm1",
|
| 844 |
+
"model.visual.blocks.14.norm2",
|
| 845 |
+
"model.visual.blocks.15.attn.proj",
|
| 846 |
+
"model.visual.blocks.15.attn.qkv",
|
| 847 |
+
"model.visual.blocks.15.mlp.linear_fc1",
|
| 848 |
+
"model.visual.blocks.15.mlp.linear_fc2",
|
| 849 |
+
"model.visual.blocks.15.norm1",
|
| 850 |
+
"model.visual.blocks.15.norm2",
|
| 851 |
+
"model.visual.blocks.16.attn.proj",
|
| 852 |
+
"model.visual.blocks.16.attn.qkv",
|
| 853 |
+
"model.visual.blocks.16.mlp.linear_fc1",
|
| 854 |
+
"model.visual.blocks.16.mlp.linear_fc2",
|
| 855 |
+
"model.visual.blocks.16.norm1",
|
| 856 |
+
"model.visual.blocks.16.norm2",
|
| 857 |
+
"model.visual.blocks.17.attn.proj",
|
| 858 |
+
"model.visual.blocks.17.attn.qkv",
|
| 859 |
+
"model.visual.blocks.17.mlp.linear_fc1",
|
| 860 |
+
"model.visual.blocks.17.mlp.linear_fc2",
|
| 861 |
+
"model.visual.blocks.17.norm1",
|
| 862 |
+
"model.visual.blocks.17.norm2",
|
| 863 |
+
"model.visual.blocks.18.attn.proj",
|
| 864 |
+
"model.visual.blocks.18.attn.qkv",
|
| 865 |
+
"model.visual.blocks.18.mlp.linear_fc1",
|
| 866 |
+
"model.visual.blocks.18.mlp.linear_fc2",
|
| 867 |
+
"model.visual.blocks.18.norm1",
|
| 868 |
+
"model.visual.blocks.18.norm2",
|
| 869 |
+
"model.visual.blocks.19.attn.proj",
|
| 870 |
+
"model.visual.blocks.19.attn.qkv",
|
| 871 |
+
"model.visual.blocks.19.mlp.linear_fc1",
|
| 872 |
+
"model.visual.blocks.19.mlp.linear_fc2",
|
| 873 |
+
"model.visual.blocks.19.norm1",
|
| 874 |
+
"model.visual.blocks.19.norm2",
|
| 875 |
+
"model.visual.blocks.2.attn.proj",
|
| 876 |
+
"model.visual.blocks.2.attn.qkv",
|
| 877 |
+
"model.visual.blocks.2.mlp.linear_fc1",
|
| 878 |
+
"model.visual.blocks.2.mlp.linear_fc2",
|
| 879 |
+
"model.visual.blocks.2.norm1",
|
| 880 |
+
"model.visual.blocks.2.norm2",
|
| 881 |
+
"model.visual.blocks.20.attn.proj",
|
| 882 |
+
"model.visual.blocks.20.attn.qkv",
|
| 883 |
+
"model.visual.blocks.20.mlp.linear_fc1",
|
| 884 |
+
"model.visual.blocks.20.mlp.linear_fc2",
|
| 885 |
+
"model.visual.blocks.20.norm1",
|
| 886 |
+
"model.visual.blocks.20.norm2",
|
| 887 |
+
"model.visual.blocks.21.attn.proj",
|
| 888 |
+
"model.visual.blocks.21.attn.qkv",
|
| 889 |
+
"model.visual.blocks.21.mlp.linear_fc1",
|
| 890 |
+
"model.visual.blocks.21.mlp.linear_fc2",
|
| 891 |
+
"model.visual.blocks.21.norm1",
|
| 892 |
+
"model.visual.blocks.21.norm2",
|
| 893 |
+
"model.visual.blocks.22.attn.proj",
|
| 894 |
+
"model.visual.blocks.22.attn.qkv",
|
| 895 |
+
"model.visual.blocks.22.mlp.linear_fc1",
|
| 896 |
+
"model.visual.blocks.22.mlp.linear_fc2",
|
| 897 |
+
"model.visual.blocks.22.norm1",
|
| 898 |
+
"model.visual.blocks.22.norm2",
|
| 899 |
+
"model.visual.blocks.23.attn.proj",
|
| 900 |
+
"model.visual.blocks.23.attn.qkv",
|
| 901 |
+
"model.visual.blocks.23.mlp.linear_fc1",
|
| 902 |
+
"model.visual.blocks.23.mlp.linear_fc2",
|
| 903 |
+
"model.visual.blocks.23.norm1",
|
| 904 |
+
"model.visual.blocks.23.norm2",
|
| 905 |
+
"model.visual.blocks.24.attn.proj",
|
| 906 |
+
"model.visual.blocks.24.attn.qkv",
|
| 907 |
+
"model.visual.blocks.24.mlp.linear_fc1",
|
| 908 |
+
"model.visual.blocks.24.mlp.linear_fc2",
|
| 909 |
+
"model.visual.blocks.24.norm1",
|
| 910 |
+
"model.visual.blocks.24.norm2",
|
| 911 |
+
"model.visual.blocks.25.attn.proj",
|
| 912 |
+
"model.visual.blocks.25.attn.qkv",
|
| 913 |
+
"model.visual.blocks.25.mlp.linear_fc1",
|
| 914 |
+
"model.visual.blocks.25.mlp.linear_fc2",
|
| 915 |
+
"model.visual.blocks.25.norm1",
|
| 916 |
+
"model.visual.blocks.25.norm2",
|
| 917 |
+
"model.visual.blocks.26.attn.proj",
|
| 918 |
+
"model.visual.blocks.26.attn.qkv",
|
| 919 |
+
"model.visual.blocks.26.mlp.linear_fc1",
|
| 920 |
+
"model.visual.blocks.26.mlp.linear_fc2",
|
| 921 |
+
"model.visual.blocks.26.norm1",
|
| 922 |
+
"model.visual.blocks.26.norm2",
|
| 923 |
+
"model.visual.blocks.3.attn.proj",
|
| 924 |
+
"model.visual.blocks.3.attn.qkv",
|
| 925 |
+
"model.visual.blocks.3.mlp.linear_fc1",
|
| 926 |
+
"model.visual.blocks.3.mlp.linear_fc2",
|
| 927 |
+
"model.visual.blocks.3.norm1",
|
| 928 |
+
"model.visual.blocks.3.norm2",
|
| 929 |
+
"model.visual.blocks.4.attn.proj",
|
| 930 |
+
"model.visual.blocks.4.attn.qkv",
|
| 931 |
+
"model.visual.blocks.4.mlp.linear_fc1",
|
| 932 |
+
"model.visual.blocks.4.mlp.linear_fc2",
|
| 933 |
+
"model.visual.blocks.4.norm1",
|
| 934 |
+
"model.visual.blocks.4.norm2",
|
| 935 |
+
"model.visual.blocks.5.attn.proj",
|
| 936 |
+
"model.visual.blocks.5.attn.qkv",
|
| 937 |
+
"model.visual.blocks.5.mlp.linear_fc1",
|
| 938 |
+
"model.visual.blocks.5.mlp.linear_fc2",
|
| 939 |
+
"model.visual.blocks.5.norm1",
|
| 940 |
+
"model.visual.blocks.5.norm2",
|
| 941 |
+
"model.visual.blocks.6.attn.proj",
|
| 942 |
+
"model.visual.blocks.6.attn.qkv",
|
| 943 |
+
"model.visual.blocks.6.mlp.linear_fc1",
|
| 944 |
+
"model.visual.blocks.6.mlp.linear_fc2",
|
| 945 |
+
"model.visual.blocks.6.norm1",
|
| 946 |
+
"model.visual.blocks.6.norm2",
|
| 947 |
+
"model.visual.blocks.7.attn.proj",
|
| 948 |
+
"model.visual.blocks.7.attn.qkv",
|
| 949 |
+
"model.visual.blocks.7.mlp.linear_fc1",
|
| 950 |
+
"model.visual.blocks.7.mlp.linear_fc2",
|
| 951 |
+
"model.visual.blocks.7.norm1",
|
| 952 |
+
"model.visual.blocks.7.norm2",
|
| 953 |
+
"model.visual.blocks.8.attn.proj",
|
| 954 |
+
"model.visual.blocks.8.attn.qkv",
|
| 955 |
+
"model.visual.blocks.8.mlp.linear_fc1",
|
| 956 |
+
"model.visual.blocks.8.mlp.linear_fc2",
|
| 957 |
+
"model.visual.blocks.8.norm1",
|
| 958 |
+
"model.visual.blocks.8.norm2",
|
| 959 |
+
"model.visual.blocks.9.attn.proj",
|
| 960 |
+
"model.visual.blocks.9.attn.qkv",
|
| 961 |
+
"model.visual.blocks.9.mlp.linear_fc1",
|
| 962 |
+
"model.visual.blocks.9.mlp.linear_fc2",
|
| 963 |
+
"model.visual.blocks.9.norm1",
|
| 964 |
+
"model.visual.blocks.9.norm2",
|
| 965 |
+
"model.visual.merger.linear_fc1",
|
| 966 |
+
"model.visual.merger.linear_fc2",
|
| 967 |
+
"mtp.layers.0.mlp.gate",
|
| 968 |
+
"mtp.layers.0.mlp.shared_expert.down_proj",
|
| 969 |
+
"mtp.layers.0.mlp.shared_expert.gate_proj",
|
| 970 |
+
"mtp.layers.0.mlp.shared_expert.up_proj",
|
| 971 |
+
"mtp.layers.0.mlp.shared_expert_gate",
|
| 972 |
+
"mtp.layers.0.self_attn.k_proj",
|
| 973 |
+
"mtp.layers.0.self_attn.o_proj",
|
| 974 |
+
"mtp.layers.0.self_attn.q_proj",
|
| 975 |
+
"mtp.layers.0.self_attn.v_proj",
|
| 976 |
+
"mtp.pre_fc_norm_hidden"
|
| 977 |
+
],
|
| 978 |
+
"algo_config": null,
|
| 979 |
+
"softmax_quant_spec": null,
|
| 980 |
+
"quant_method": "quark",
|
| 981 |
+
"layer_type_quant_config": {},
|
| 982 |
+
"layer_quant_config": {},
|
| 983 |
+
"kv_cache_quant_config": {},
|
| 984 |
+
"kv_cache_post_rope": false,
|
| 985 |
+
"quant_mode": "eager_mode",
|
| 986 |
+
"version": "0.12+6b1a3c15e5e",
|
| 987 |
+
"export": {
|
| 988 |
+
"kv_cache_group": [],
|
| 989 |
+
"min_kv_scale": 0.0,
|
| 990 |
+
"pack_method": "reorder",
|
| 991 |
+
"weight_format": "real_quantized",
|
| 992 |
+
"weight_merge_groups": null
|
| 993 |
+
}
|
| 994 |
+
}
|
| 995 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 0.6,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "4.57.0.dev0"
|
| 13 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors-00001-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8b83709a460f87dfaf304923909a38de285c670df2e200b119cd9d8c3622783
|
| 3 |
+
size 2281988744
|
model.safetensors-00002-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a0cfcb889cf594712dcf0ccce0700b8547b01f2bb50511c51a27ef701506b48
|
| 3 |
+
size 2281988744
|
model.safetensors-00003-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eee99d7ebe49f6940fe37750d617bdb9bb6429b237973337389e1173525d0765
|
| 3 |
+
size 2281988744
|
model.safetensors-00004-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:450e0b4eec152e6ab6c3b43df940be47b2895aae72794b7b17df529205a8cceb
|
| 3 |
+
size 2281986696
|
model.safetensors-00005-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:099820b92ab919c4cc942a672b8644b90a935544f4dc7a44fa781c13e8975181
|
| 3 |
+
size 2281986696
|
model.safetensors-00006-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:527d1e4f47826ad0a9c960067895966cedb29ac698713434530ec48feaecc4ee
|
| 3 |
+
size 2281988744
|
model.safetensors-00007-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83329bfdec2680e8c7f79736ac23389550757a6e15a7d8da534f70b398f08a3f
|
| 3 |
+
size 2281988744
|
model.safetensors-00008-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12b15372ff5841e5e26badb56ee5645f5acdc35b8b62dcde7db54927163fed6f
|
| 3 |
+
size 2281988744
|
model.safetensors-00009-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9fae295d14c9f529435ff345a802008fa58d8de3128b84d635869598c83f7bc
|
| 3 |
+
size 2281988744
|
model.safetensors-00010-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e36bb40963c16d655c19241a43d4d32bb96db1209fec35ada607ac2ff467775
|
| 3 |
+
size 2281988744
|
model.safetensors-00011-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72278c458869953b58eb5db592632fa4090491dc1deb3c9cc0e7d2dd10ce6d02
|
| 3 |
+
size 2281988744
|
model.safetensors-00012-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdde75d2d9089a04c8dcb5e2473599e7f886b686c7057f7a1d3054fef932f28d
|
| 3 |
+
size 2281988744
|
model.safetensors-00013-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9abd1d6d6e857f90dabf458a62f6e0cc88247c844db42e5c84145eb9e7350213
|
| 3 |
+
size 2281988744
|
model.safetensors-00014-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f18b635663e7c0fa69af09976eaec785cd586ea376229496798682d2d37a735e
|
| 3 |
+
size 2281988744
|
model.safetensors-00015-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a0f527d8360d6cf4a13d7b04b432fc2b3dd1a9eb6018a042d1c59ab312249c6
|
| 3 |
+
size 2281988744
|
model.safetensors-00016-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da89af735bb1cc45cff2c59ca5655966ac18f278601b280b3332d06fa0a1be40
|
| 3 |
+
size 2281986696
|
model.safetensors-00017-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7094ac1fe434fce359d2cf8ffe30a37669526c1f78a809886f62bf7f8c2e45d
|
| 3 |
+
size 2281988744
|
model.safetensors-00018-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2baa70d163c65047f4f63419529d17a8aed77413c9baad68445898134defc4a
|
| 3 |
+
size 2281986696
|
model.safetensors-00019-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd6e0c87cb21bfca1c39098ca43578d422ee14a5aa773f8dc24ab1b0bfc401cd
|
| 3 |
+
size 2281986696
|
model.safetensors-00020-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f664716af0f3c341c9527e347394a206ad37444d5ae17c0c4fd61f4218be22b9
|
| 3 |
+
size 2281988744
|
model.safetensors-00021-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fca84617a337b629ac41745f9d7d11a613cdf202db710455aa3d4a00ae81a221
|
| 3 |
+
size 2281988744
|
model.safetensors-00022-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f78ac70f346a5e39c6425a914477293763545f1c2e5e36e74133e9daac419cae
|
| 3 |
+
size 2281988744
|
model.safetensors-00023-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f26f5dfecff6fc07c25f55b2e15dcfc928e58905c6b1a139b610251aac15afaf
|
| 3 |
+
size 2281988744
|
model.safetensors-00024-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:440a8928cecc616afb8cd6fd62be75a357f083658a4141bf89a2396ca7e16f44
|
| 3 |
+
size 2281988744
|
model.safetensors-00025-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaa666b259aece55bf8d4e01ef9f8f9ef850fd5bf88bcacf32ee8df9ef260810
|
| 3 |
+
size 2281988744
|
model.safetensors-00026-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0c3061339b73b5133772742d054fcf7536ab30f1779fd71e73ebe6029e243c9
|
| 3 |
+
size 2281988744
|
model.safetensors-00027-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33f66d1c9a297e1d78b075eecee423b8f68a52fbc8248a33871ce9391069a841
|
| 3 |
+
size 2281988744
|
model.safetensors-00028-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88e3404ac0c3b9f61562996da644bf2e97990cd2b773dc37bb4dcf507f260552
|
| 3 |
+
size 2281986696
|
model.safetensors-00029-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9eb5f1d5d6880e3d87b1bc130a56b4d71cc4877fa7f819e541b92c2e44f433bb
|
| 3 |
+
size 2281986696
|
model.safetensors-00030-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6c9eae839b05a1d7c76a50d8bed7841a26b5242110455c7271d60a3bcf2f672
|
| 3 |
+
size 2281988744
|
model.safetensors-00031-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2dc8e6dc5c205dd786fc77cb38dd205cb26967fb79a3a5d83d1878c0cdd6ac97
|
| 3 |
+
size 2281986696
|
model.safetensors-00032-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb058813f5438d63324f6e36b392b5257987c8a26a0ff84ab48308652ff03733
|
| 3 |
+
size 2281988744
|
model.safetensors-00033-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4c96dff6a444fa827db23137d12cf6c278b03b4604994a86be9be0e2c34c225
|
| 3 |
+
size 2281988744
|
model.safetensors-00034-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6eb8f4cdf4ce7b9a22077966000b21a4dd12eb7075053afff79bbb6e7ef8810
|
| 3 |
+
size 2281988744
|
model.safetensors-00035-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5255cb94f24fbee07952a47146b54b9b23d2c765316df60780533e290d22be8a
|
| 3 |
+
size 2281986696
|
model.safetensors-00036-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4162243814c73ae247f9ef0c66ea94f8a0ae7f2b121875f44c22a6aa435ef14
|
| 3 |
+
size 2281988744
|
model.safetensors-00037-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baddc08ebd62e8dc6ea2068b43f2076d4a945cd4c94468a17465948e29a2c03e
|
| 3 |
+
size 2281988744
|
model.safetensors-00038-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed92df8b3692fe718a18d5764be951cff2e5fc434ba82774e2b979d8848c517b
|
| 3 |
+
size 2281988744
|
model.safetensors-00039-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8adf36b774dcf52bd681edaaa63eb7f5dbad9b08c0d85c4ecac584d3c2e59f55
|
| 3 |
+
size 2281988744
|
model.safetensors-00040-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:101cf1ddd548260d1f262b976966c313f5357168cb134506b829549a058f4c6f
|
| 3 |
+
size 2281988744
|
model.safetensors-00041-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38263863acc0f5cb1a0dbb1a196dec9b32a7e9aad1587d637363bab6f02f6b4a
|
| 3 |
+
size 2281988744
|
model.safetensors-00042-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f39cc2ffada952fd8c1747e11fe6fef7b9f0eeb121bfddcb8cbb8920952ea661
|
| 3 |
+
size 2281988744
|
model.safetensors-00043-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ee4af94802ba5c09da8267fbb3477c366e3cfe36bf17d93cc064c346bedefb9
|
| 3 |
+
size 2281988744
|
model.safetensors-00044-of-00094.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f349e3404a58e255c5fed214f3da64e66a2f06adb9eb184ffd27fe82be61848
|
| 3 |
+
size 2281988744
|