Image-Text-to-Text
Transformers
Safetensors
qwen3_5_moe
qwen3.6
Mixture of Experts
lora
merged
antidoom
bf16
conversational
Instructions to use N8Programs/Qwen3.6-35B-A3B-AntiLoop with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use N8Programs/Qwen3.6-35B-A3B-AntiLoop with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="N8Programs/Qwen3.6-35B-A3B-AntiLoop", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("N8Programs/Qwen3.6-35B-A3B-AntiLoop") model = AutoModelForMultimodalLM.from_pretrained("N8Programs/Qwen3.6-35B-A3B-AntiLoop", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use N8Programs/Qwen3.6-35B-A3B-AntiLoop with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "N8Programs/Qwen3.6-35B-A3B-AntiLoop" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "N8Programs/Qwen3.6-35B-A3B-AntiLoop", "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/N8Programs/Qwen3.6-35B-A3B-AntiLoop
- SGLang
How to use N8Programs/Qwen3.6-35B-A3B-AntiLoop 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 "N8Programs/Qwen3.6-35B-A3B-AntiLoop" \ --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": "N8Programs/Qwen3.6-35B-A3B-AntiLoop", "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 "N8Programs/Qwen3.6-35B-A3B-AntiLoop" \ --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": "N8Programs/Qwen3.6-35B-A3B-AntiLoop", "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 N8Programs/Qwen3.6-35B-A3B-AntiLoop with Docker Model Runner:
docker model run hf.co/N8Programs/Qwen3.6-35B-A3B-AntiLoop
Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- LICENSE +202 -0
- MERGE_COMPLETE +1 -0
- README.md +94 -0
- VERIFIED +1 -0
- antiloop_training_args.json +31 -0
- chat_template.jinja +154 -0
- config.json +119 -0
- configuration.json +1 -0
- generation_config.json +12 -0
- merge_manifest.json +0 -0
- merge_tools/merge_lora_tensorwise.py +425 -0
- merge_tools/verify_lora_tensorwise.py +359 -0
- merge_verification.json +0 -0
- merges.txt +0 -0
- model-00001-of-00026.safetensors +3 -0
- model-00002-of-00026.safetensors +3 -0
- model-00003-of-00026.safetensors +3 -0
- model-00004-of-00026.safetensors +3 -0
- model-00005-of-00026.safetensors +3 -0
- model-00006-of-00026.safetensors +3 -0
- model-00007-of-00026.safetensors +3 -0
- model-00008-of-00026.safetensors +3 -0
- model-00009-of-00026.safetensors +3 -0
- model-00010-of-00026.safetensors +3 -0
- model-00011-of-00026.safetensors +3 -0
- model-00012-of-00026.safetensors +3 -0
- model-00013-of-00026.safetensors +3 -0
- model-00014-of-00026.safetensors +3 -0
- model-00015-of-00026.safetensors +3 -0
- model-00016-of-00026.safetensors +3 -0
- model-00017-of-00026.safetensors +3 -0
- model-00018-of-00026.safetensors +3 -0
- model-00019-of-00026.safetensors +3 -0
- model-00020-of-00026.safetensors +3 -0
- model-00021-of-00026.safetensors +3 -0
- model-00022-of-00026.safetensors +3 -0
- model-00023-of-00026.safetensors +3 -0
- model-00024-of-00026.safetensors +3 -0
- model-00025-of-00026.safetensors +3 -0
- model-00026-of-00026.safetensors +3 -0
- model.safetensors.index.json +1052 -0
- preprocessor_config.json +21 -0
- tokenizer.json +3 -0
- tokenizer_config.json +305 -0
- video_preprocessor_config.json +21 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright 2026 Alibaba Cloud
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
MERGE_COMPLETE
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
2026-07-09T22:37:29.976640+00:00
|
README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
license_link: https://huggingface.co/Qwen/Qwen3.6-35B-A3B/blob/995ad96eacd98c81ed38be0c5b274b04031597b0/LICENSE
|
| 5 |
+
base_model: Qwen/Qwen3.6-35B-A3B
|
| 6 |
+
pipeline_tag: image-text-to-text
|
| 7 |
+
tags:
|
| 8 |
+
- qwen3.6
|
| 9 |
+
- moe
|
| 10 |
+
- lora
|
| 11 |
+
- merged
|
| 12 |
+
- antidoom
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Qwen3.6-35B-A3B-AntiLoop
|
| 16 |
+
|
| 17 |
+
This is a BF16 merged-weight variant of
|
| 18 |
+
[`Qwen/Qwen3.6-35B-A3B`](https://huggingface.co/Qwen/Qwen3.6-35B-A3B),
|
| 19 |
+
fine-tuned to recover from pathological self-verification and enumeration loops
|
| 20 |
+
while preserving ordinary long-form reasoning.
|
| 21 |
+
|
| 22 |
+
The artifact contains a full Transformers checkpoint; no PEFT adapter is needed
|
| 23 |
+
at inference time. It retains the base model's multimodal architecture,
|
| 24 |
+
tokenizer, chat template, MTP weights, and 262,144-token native context length.
|
| 25 |
+
|
| 26 |
+
## Provenance
|
| 27 |
+
|
| 28 |
+
- Base: `Qwen/Qwen3.6-35B-A3B`
|
| 29 |
+
- Pinned base revision: `995ad96eacd98c81ed38be0c5b274b04031597b0`
|
| 30 |
+
- Fine-tuning: rank-32 LoRA, alpha 64, dropout 0
|
| 31 |
+
- Targets: 190 attention-side projections across all 40 language-model layers
|
| 32 |
+
(150 Gated DeltaNet projections and 40 full-attention projections)
|
| 33 |
+
- Objective: `0.9 * supervised CE + 0.1 * KL(base || tuned)`
|
| 34 |
+
- Training: one epoch / 178 optimizer steps, seed 0
|
| 35 |
+
- Training run: `n8programs/qwen-antidoom`, run `dw7mbmce`
|
| 36 |
+
|
| 37 |
+
The LoRA was merged as
|
| 38 |
+
`BF16(W_FP32 + B_FP32 @ (A_FP32 * 2))`, one target tensor at a time in
|
| 39 |
+
small row tiles. `merge_manifest.json` records the exact adapter hash, base
|
| 40 |
+
revision, environment, per-target effective deltas, and every output-shard
|
| 41 |
+
SHA-256. `merge_verification.json` certifies that all 190 intended tensors equal
|
| 42 |
+
that formula bit-for-bit after BF16 rounding, every target differs from the
|
| 43 |
+
base, and every non-target byte is unchanged.
|
| 44 |
+
|
| 45 |
+
## Evaluation
|
| 46 |
+
|
| 47 |
+
The behavior evaluations below used the same round-2 adapter served on the
|
| 48 |
+
Qwen3.6-35B-A3B FP8 base with vLLM. They validate the adapter behavior; the
|
| 49 |
+
merged BF16 artifact was separately validated at the tensor level.
|
| 50 |
+
|
| 51 |
+
| Evaluation | Base/control | AntiLoop |
|
| 52 |
+
|---|---:|---:|
|
| 53 |
+
| Held-out enumeration-loop rate (285 prompts, calibrated judge) | 25% | **2%** |
|
| 54 |
+
| Answer delivery on the same prompts | 77% | **98%** |
|
| 55 |
+
| GPQA Diamond, thinking enabled | 167/198 (84.3%) | **166/198 (83.8%)** |
|
| 56 |
+
|
| 57 |
+
The paired GPQA difference was -0.5 percentage points (exact two-sided McNemar
|
| 58 |
+
`p = 1.0`), consistent with preserved capability at this sample size. The loop
|
| 59 |
+
evaluation is task-specific and judge-based; it should not be read as a general
|
| 60 |
+
safety or truthfulness guarantee.
|
| 61 |
+
|
| 62 |
+
## Usage
|
| 63 |
+
|
| 64 |
+
Use a recent Transformers release with Qwen3.6 support:
|
| 65 |
+
|
| 66 |
+
```python
|
| 67 |
+
from transformers import AutoModelForImageTextToText, AutoProcessor
|
| 68 |
+
|
| 69 |
+
model_id = "N8Programs/Qwen3.6-35B-A3B-AntiLoop"
|
| 70 |
+
processor = AutoProcessor.from_pretrained(model_id)
|
| 71 |
+
model = AutoModelForImageTextToText.from_pretrained(
|
| 72 |
+
model_id,
|
| 73 |
+
dtype="auto",
|
| 74 |
+
device_map="auto",
|
| 75 |
+
)
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
The checkpoint can also be served directly with recent vLLM/SGLang builds that
|
| 79 |
+
support the Qwen3.6 MoE architecture. Follow the upstream Qwen3.6 model card for
|
| 80 |
+
chat templating, thinking-mode controls, multimodal inputs, deployment details,
|
| 81 |
+
and the base model's limitations.
|
| 82 |
+
|
| 83 |
+
## Limitations
|
| 84 |
+
|
| 85 |
+
- This is a narrow behavioral fine-tune, not a general alignment or safety model.
|
| 86 |
+
- The merged BF16 checkpoint has not been exhaustively evaluated across every
|
| 87 |
+
language, modality, tool-use setting, or long-context regime.
|
| 88 |
+
- Quantization can change behavior; validate the exact deployed quantization.
|
| 89 |
+
- Outputs may still be incorrect, overconfident, repetitive, or unsafe.
|
| 90 |
+
|
| 91 |
+
## License
|
| 92 |
+
|
| 93 |
+
Apache 2.0, following the base checkpoint. See `LICENSE` and the upstream
|
| 94 |
+
[Qwen3.6-35B-A3B model card](https://huggingface.co/Qwen/Qwen3.6-35B-A3B).
|
VERIFIED
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
2026-07-09T22:43:31.178589+00:00
|
antiloop_training_args.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "Qwen/Qwen3.6-35B-A3B",
|
| 3 |
+
"sft_file": "data/antidoom_sft_train_v2.jsonl",
|
| 4 |
+
"kl_file": "data/antidoom_kl_anchor.jsonl",
|
| 5 |
+
"output_dir": "checkpoints/qwen36_35b_antidoom_kl_lora_r32_v2",
|
| 6 |
+
"epochs": 1,
|
| 7 |
+
"max_steps": -1,
|
| 8 |
+
"max_seq_len": 6144,
|
| 9 |
+
"kl_max_seq_len": 4096,
|
| 10 |
+
"ce_weight": 0.9,
|
| 11 |
+
"kl_weight": 0.1,
|
| 12 |
+
"lr": 5e-05,
|
| 13 |
+
"warmup_ratio": 0.03,
|
| 14 |
+
"weight_decay": 0.0,
|
| 15 |
+
"grad_clip": 1.0,
|
| 16 |
+
"lora_r": 32,
|
| 17 |
+
"lora_alpha": 64,
|
| 18 |
+
"lora_dropout": 0.0,
|
| 19 |
+
"target_preset": "attn",
|
| 20 |
+
"seed": 0,
|
| 21 |
+
"loss_chunk": 4096,
|
| 22 |
+
"kl_chunk": 1024,
|
| 23 |
+
"attn_implementation": "sdpa",
|
| 24 |
+
"fp8_experts": true,
|
| 25 |
+
"fp8_model": "Qwen/Qwen3.6-35B-A3B-FP8",
|
| 26 |
+
"no_grad_checkpoint": true,
|
| 27 |
+
"log_every": 5,
|
| 28 |
+
"wandb_project": "qwen-antidoom",
|
| 29 |
+
"wandb_run_name": "kl-sft-r32-e1-openerdiv",
|
| 30 |
+
"no_save": false
|
| 31 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"bos_token_id": 248044,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 248044,
|
| 14 |
+
"full_attention_interval": 4,
|
| 15 |
+
"head_dim": 256,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"hidden_size": 2048,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"layer_types": [
|
| 20 |
+
"linear_attention",
|
| 21 |
+
"linear_attention",
|
| 22 |
+
"linear_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"linear_attention",
|
| 26 |
+
"linear_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"linear_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"linear_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"linear_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"linear_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"linear_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"linear_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"linear_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"linear_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"full_attention"
|
| 60 |
+
],
|
| 61 |
+
"linear_conv_kernel_dim": 4,
|
| 62 |
+
"linear_key_head_dim": 128,
|
| 63 |
+
"linear_num_key_heads": 16,
|
| 64 |
+
"linear_num_value_heads": 32,
|
| 65 |
+
"linear_value_head_dim": 128,
|
| 66 |
+
"mamba_ssm_dtype": "float32",
|
| 67 |
+
"max_position_embeddings": 262144,
|
| 68 |
+
"model_type": "qwen3_5_moe_text",
|
| 69 |
+
"moe_intermediate_size": 512,
|
| 70 |
+
"mtp_num_hidden_layers": 1,
|
| 71 |
+
"mtp_use_dedicated_embeddings": false,
|
| 72 |
+
"num_attention_heads": 16,
|
| 73 |
+
"num_experts": 256,
|
| 74 |
+
"num_experts_per_tok": 8,
|
| 75 |
+
"num_hidden_layers": 40,
|
| 76 |
+
"num_key_value_heads": 2,
|
| 77 |
+
"output_router_logits": false,
|
| 78 |
+
"pad_token_id": null,
|
| 79 |
+
"partial_rotary_factor": 0.25,
|
| 80 |
+
"rms_norm_eps": 1e-06,
|
| 81 |
+
"rope_parameters": {
|
| 82 |
+
"mrope_interleaved": true,
|
| 83 |
+
"mrope_section": [
|
| 84 |
+
11,
|
| 85 |
+
11,
|
| 86 |
+
10
|
| 87 |
+
],
|
| 88 |
+
"partial_rotary_factor": 0.25,
|
| 89 |
+
"rope_theta": 10000000,
|
| 90 |
+
"rope_type": "default"
|
| 91 |
+
},
|
| 92 |
+
"router_aux_loss_coef": 0.001,
|
| 93 |
+
"shared_expert_intermediate_size": 512,
|
| 94 |
+
"tie_word_embeddings": false,
|
| 95 |
+
"use_cache": true,
|
| 96 |
+
"vocab_size": 248320
|
| 97 |
+
},
|
| 98 |
+
"tie_word_embeddings": false,
|
| 99 |
+
"transformers_version": "4.57.1",
|
| 100 |
+
"video_token_id": 248057,
|
| 101 |
+
"vision_config": {
|
| 102 |
+
"deepstack_visual_indexes": [],
|
| 103 |
+
"depth": 27,
|
| 104 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 105 |
+
"hidden_size": 1152,
|
| 106 |
+
"in_channels": 3,
|
| 107 |
+
"initializer_range": 0.02,
|
| 108 |
+
"intermediate_size": 4304,
|
| 109 |
+
"model_type": "qwen3_5_moe",
|
| 110 |
+
"num_heads": 16,
|
| 111 |
+
"num_position_embeddings": 2304,
|
| 112 |
+
"out_hidden_size": 2048,
|
| 113 |
+
"patch_size": 16,
|
| 114 |
+
"spatial_merge_size": 2,
|
| 115 |
+
"temporal_patch_size": 2
|
| 116 |
+
},
|
| 117 |
+
"vision_end_token_id": 248054,
|
| 118 |
+
"vision_start_token_id": 248053
|
| 119 |
+
}
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"framework":"Pytorch","task":"visual-question-answering"}
|
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 248044,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
248046,
|
| 6 |
+
248044
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 248044,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95
|
| 12 |
+
}
|
merge_manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
merge_tools/merge_lora_tensorwise.py
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Merge a PEFT LoRA into sharded safetensors with bounded host RAM.
|
| 3 |
+
|
| 4 |
+
The model is never instantiated. Each base shard is copied byte-for-byte to a
|
| 5 |
+
temporary output file, then each LoRA target tensor is patched in-place, one
|
| 6 |
+
tensor at a time and in small row tiles. Completed shards are atomically
|
| 7 |
+
renamed, so ``--resume`` can safely continue after interruption.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import gc
|
| 14 |
+
import hashlib
|
| 15 |
+
import json
|
| 16 |
+
import math
|
| 17 |
+
import mmap
|
| 18 |
+
import os
|
| 19 |
+
import platform
|
| 20 |
+
import re
|
| 21 |
+
import shutil
|
| 22 |
+
import struct
|
| 23 |
+
import sys
|
| 24 |
+
import time
|
| 25 |
+
from collections import Counter
|
| 26 |
+
from datetime import datetime, timezone
|
| 27 |
+
from pathlib import Path
|
| 28 |
+
|
| 29 |
+
import safetensors
|
| 30 |
+
import torch
|
| 31 |
+
from safetensors import safe_open
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
DTYPES = {
|
| 35 |
+
"BF16": (torch.bfloat16, 2),
|
| 36 |
+
"F16": (torch.float16, 2),
|
| 37 |
+
"F32": (torch.float32, 4),
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
def parse_args() -> argparse.Namespace:
|
| 42 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 43 |
+
parser.add_argument("--base-dir", type=Path, required=True)
|
| 44 |
+
parser.add_argument("--base-repo", required=True)
|
| 45 |
+
parser.add_argument("--base-revision", required=True)
|
| 46 |
+
parser.add_argument("--adapter-dir", type=Path, required=True)
|
| 47 |
+
parser.add_argument("--output-dir", type=Path, required=True)
|
| 48 |
+
parser.add_argument("--tile-rows", type=int, default=32)
|
| 49 |
+
parser.add_argument("--threads", type=int, default=2)
|
| 50 |
+
parser.add_argument("--expected-targets", type=int, default=190)
|
| 51 |
+
parser.add_argument("--resume", action="store_true")
|
| 52 |
+
return parser.parse_args()
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def sha256_file(path: Path, block_size: int = 8 << 20) -> str:
|
| 56 |
+
digest = hashlib.sha256()
|
| 57 |
+
with path.open("rb", buffering=0) as handle:
|
| 58 |
+
while True:
|
| 59 |
+
block = handle.read(block_size)
|
| 60 |
+
if not block:
|
| 61 |
+
break
|
| 62 |
+
digest.update(block)
|
| 63 |
+
try:
|
| 64 |
+
os.posix_fadvise(handle.fileno(), 0, 0, os.POSIX_FADV_DONTNEED)
|
| 65 |
+
except (AttributeError, OSError):
|
| 66 |
+
pass
|
| 67 |
+
return digest.hexdigest()
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
def atomic_json(path: Path, value: object) -> None:
|
| 71 |
+
temporary = path.with_name(path.name + ".tmp")
|
| 72 |
+
temporary.write_text(json.dumps(value, indent=2, sort_keys=True) + "\n")
|
| 73 |
+
os.replace(temporary, path)
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
def read_safetensors_header(path: Path) -> tuple[int, dict[str, object]]:
|
| 77 |
+
with path.open("rb") as handle:
|
| 78 |
+
raw = handle.read(8)
|
| 79 |
+
if len(raw) != 8:
|
| 80 |
+
raise ValueError(f"invalid safetensors header in {path}")
|
| 81 |
+
header_len = struct.unpack("<Q", raw)[0]
|
| 82 |
+
header = json.loads(handle.read(header_len))
|
| 83 |
+
return 8 + header_len, header
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
def tensor_entries(header: dict[str, object]) -> dict[str, dict[str, object]]:
|
| 87 |
+
return {key: value for key, value in header.items() if key != "__metadata__"}
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def checkpoint_key_for(module_path: str) -> str:
|
| 91 |
+
match = re.search(r"layers\.\d+\..+$", module_path)
|
| 92 |
+
if match is None:
|
| 93 |
+
raise ValueError(f"cannot map adapter module {module_path!r}")
|
| 94 |
+
return f"model.language_model.{match.group(0)}.weight"
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
def adapter_pairs(adapter_path: Path) -> tuple[dict[str, dict[str, object]], dict[str, object]]:
|
| 98 |
+
config = json.loads((adapter_path.parent / "adapter_config.json").read_text())
|
| 99 |
+
rank = int(config["r"])
|
| 100 |
+
alpha = float(config["lora_alpha"])
|
| 101 |
+
scaling = alpha / math.sqrt(rank) if config.get("use_rslora") else alpha / rank
|
| 102 |
+
pairs: dict[str, dict[str, object]] = {}
|
| 103 |
+
with safe_open(adapter_path, framework="pt", device="cpu") as handle:
|
| 104 |
+
keys = set(handle.keys())
|
| 105 |
+
for a_key in sorted(key for key in keys if key.endswith(".lora_A.weight")):
|
| 106 |
+
module = a_key[: -len(".lora_A.weight")]
|
| 107 |
+
b_key = module + ".lora_B.weight"
|
| 108 |
+
if b_key not in keys:
|
| 109 |
+
raise ValueError(f"missing pair tensor {b_key}")
|
| 110 |
+
target = checkpoint_key_for(module)
|
| 111 |
+
if target in pairs:
|
| 112 |
+
raise ValueError(f"duplicate target {target}")
|
| 113 |
+
a_slice = handle.get_slice(a_key)
|
| 114 |
+
b_slice = handle.get_slice(b_key)
|
| 115 |
+
pairs[target] = {
|
| 116 |
+
"module": module,
|
| 117 |
+
"a_key": a_key,
|
| 118 |
+
"b_key": b_key,
|
| 119 |
+
"a_shape": list(a_slice.get_shape()),
|
| 120 |
+
"b_shape": list(b_slice.get_shape()),
|
| 121 |
+
"a_dtype": str(a_slice.get_dtype()),
|
| 122 |
+
"b_dtype": str(b_slice.get_dtype()),
|
| 123 |
+
"scaling": scaling,
|
| 124 |
+
}
|
| 125 |
+
return pairs, config
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
def validate_preflight(
|
| 129 |
+
base_dir: Path,
|
| 130 |
+
adapter_path: Path,
|
| 131 |
+
expected_targets: int,
|
| 132 |
+
) -> tuple[
|
| 133 |
+
dict[str, dict[str, object]],
|
| 134 |
+
dict[str, object],
|
| 135 |
+
dict[str, str],
|
| 136 |
+
dict[str, tuple[int, dict[str, object]]],
|
| 137 |
+
]:
|
| 138 |
+
index_path = base_dir / "model.safetensors.index.json"
|
| 139 |
+
index = json.loads(index_path.read_text())
|
| 140 |
+
weight_map: dict[str, str] = index["weight_map"]
|
| 141 |
+
pairs, adapter_config = adapter_pairs(adapter_path)
|
| 142 |
+
if len(pairs) != expected_targets:
|
| 143 |
+
raise ValueError(f"expected {expected_targets} LoRA targets, found {len(pairs)}")
|
| 144 |
+
|
| 145 |
+
headers: dict[str, tuple[int, dict[str, object]]] = {}
|
| 146 |
+
shard_names = sorted(set(weight_map.values()))
|
| 147 |
+
for shard_name in shard_names:
|
| 148 |
+
headers[shard_name] = read_safetensors_header(base_dir / shard_name)
|
| 149 |
+
|
| 150 |
+
for target, pair in pairs.items():
|
| 151 |
+
if target not in weight_map:
|
| 152 |
+
raise ValueError(f"adapter target missing from base index: {target}")
|
| 153 |
+
shard_name = weight_map[target]
|
| 154 |
+
entry = tensor_entries(headers[shard_name][1])[target]
|
| 155 |
+
base_shape = list(entry["shape"])
|
| 156 |
+
a_shape = pair["a_shape"]
|
| 157 |
+
b_shape = pair["b_shape"]
|
| 158 |
+
if entry["dtype"] != "BF16":
|
| 159 |
+
raise ValueError(f"target {target} is {entry['dtype']}, expected BF16")
|
| 160 |
+
if len(base_shape) != 2 or len(a_shape) != 2 or len(b_shape) != 2:
|
| 161 |
+
raise ValueError(f"target {target} is not a 2-D matrix")
|
| 162 |
+
if b_shape[0] != base_shape[0] or a_shape[1] != base_shape[1] or b_shape[1] != a_shape[0]:
|
| 163 |
+
raise ValueError(
|
| 164 |
+
f"shape mismatch for {target}: base={base_shape}, A={a_shape}, B={b_shape}"
|
| 165 |
+
)
|
| 166 |
+
return pairs, adapter_config, weight_map, headers
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
def patch_tensor(
|
| 170 |
+
mm: mmap.mmap,
|
| 171 |
+
data_start: int,
|
| 172 |
+
entry: dict[str, object],
|
| 173 |
+
a: torch.Tensor,
|
| 174 |
+
b: torch.Tensor,
|
| 175 |
+
scaling: float,
|
| 176 |
+
tile_rows: int,
|
| 177 |
+
) -> dict[str, object]:
|
| 178 |
+
dtype_name = str(entry["dtype"])
|
| 179 |
+
if dtype_name not in DTYPES:
|
| 180 |
+
raise ValueError(f"unsupported target dtype {dtype_name}")
|
| 181 |
+
dtype, item_size = DTYPES[dtype_name]
|
| 182 |
+
rows, cols = (int(value) for value in entry["shape"])
|
| 183 |
+
offset_start, offset_end = (int(value) for value in entry["data_offsets"])
|
| 184 |
+
if offset_end - offset_start != rows * cols * item_size:
|
| 185 |
+
raise ValueError("safetensors byte span does not match target shape")
|
| 186 |
+
|
| 187 |
+
raw = torch.frombuffer(
|
| 188 |
+
mm,
|
| 189 |
+
dtype=dtype,
|
| 190 |
+
count=rows * cols,
|
| 191 |
+
offset=data_start + offset_start,
|
| 192 |
+
).view(rows, cols)
|
| 193 |
+
scaled_a = a.float().mul(float(scaling))
|
| 194 |
+
changed = 0
|
| 195 |
+
sum_sq = 0.0
|
| 196 |
+
max_abs = 0.0
|
| 197 |
+
nonzero_formula = 0
|
| 198 |
+
for start in range(0, rows, tile_rows):
|
| 199 |
+
end = min(rows, start + tile_rows)
|
| 200 |
+
original = raw[start:end].float()
|
| 201 |
+
formula_delta = b[start:end].float().matmul(scaled_a)
|
| 202 |
+
merged = (original + formula_delta).to(dtype)
|
| 203 |
+
changed += int(torch.count_nonzero(merged != raw[start:end]).item())
|
| 204 |
+
nonzero_formula += int(torch.count_nonzero(formula_delta).item())
|
| 205 |
+
actual_delta = merged.float().sub(original)
|
| 206 |
+
if actual_delta.numel():
|
| 207 |
+
max_abs = max(max_abs, float(actual_delta.abs().max().item()))
|
| 208 |
+
sum_sq += float(actual_delta.double().square().sum().item())
|
| 209 |
+
raw[start:end].copy_(merged)
|
| 210 |
+
del original, formula_delta, merged, actual_delta
|
| 211 |
+
elements = rows * cols
|
| 212 |
+
del raw, scaled_a
|
| 213 |
+
gc.collect()
|
| 214 |
+
return {
|
| 215 |
+
"elements": elements,
|
| 216 |
+
"changed_elements": changed,
|
| 217 |
+
"changed_fraction": changed / elements,
|
| 218 |
+
"formula_nonzero_elements": nonzero_formula,
|
| 219 |
+
"max_abs_effective_bf16_delta": max_abs,
|
| 220 |
+
"rms_effective_bf16_delta": math.sqrt(sum_sq / elements),
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
def main() -> None:
|
| 225 |
+
args = parse_args()
|
| 226 |
+
if args.tile_rows <= 0 or args.threads <= 0:
|
| 227 |
+
raise SystemExit("--tile-rows and --threads must be positive")
|
| 228 |
+
torch.set_num_threads(args.threads)
|
| 229 |
+
torch.set_num_interop_threads(1)
|
| 230 |
+
|
| 231 |
+
base_dir = args.base_dir.resolve()
|
| 232 |
+
adapter_dir = args.adapter_dir.resolve()
|
| 233 |
+
output_dir = args.output_dir.resolve()
|
| 234 |
+
adapter_path = adapter_dir / "adapter_model.safetensors"
|
| 235 |
+
for required in (adapter_path, adapter_dir / "adapter_config.json", base_dir / "model.safetensors.index.json"):
|
| 236 |
+
if not required.is_file():
|
| 237 |
+
raise SystemExit(f"missing required file: {required}")
|
| 238 |
+
|
| 239 |
+
output_dir.mkdir(parents=True, exist_ok=True)
|
| 240 |
+
progress_path = output_dir / ".merge_progress.json"
|
| 241 |
+
existing = [path for path in output_dir.iterdir() if path.name != ".merge_progress.json"]
|
| 242 |
+
if existing and not args.resume:
|
| 243 |
+
raise SystemExit(f"output directory is nonempty; use --resume or a fresh path: {output_dir}")
|
| 244 |
+
progress = json.loads(progress_path.read_text()) if progress_path.exists() else {"shards": {}}
|
| 245 |
+
|
| 246 |
+
pairs, adapter_config, weight_map, headers = validate_preflight(
|
| 247 |
+
base_dir, adapter_path, args.expected_targets
|
| 248 |
+
)
|
| 249 |
+
shard_names = sorted(set(weight_map.values()))
|
| 250 |
+
targets_by_shard: dict[str, list[str]] = {name: [] for name in shard_names}
|
| 251 |
+
for target in pairs:
|
| 252 |
+
targets_by_shard[weight_map[target]].append(target)
|
| 253 |
+
for shard_name in shard_names:
|
| 254 |
+
entries = tensor_entries(headers[shard_name][1])
|
| 255 |
+
targets_by_shard[shard_name].sort(key=lambda key: int(entries[key]["data_offsets"][0]))
|
| 256 |
+
|
| 257 |
+
run_identity = {
|
| 258 |
+
"base_dir": str(base_dir),
|
| 259 |
+
"base_repo": args.base_repo,
|
| 260 |
+
"base_revision": args.base_revision,
|
| 261 |
+
"base_index_sha256": sha256_file(base_dir / "model.safetensors.index.json"),
|
| 262 |
+
"adapter_dir": str(adapter_dir),
|
| 263 |
+
"adapter_sha256": sha256_file(adapter_path),
|
| 264 |
+
"adapter_config_sha256": sha256_file(adapter_dir / "adapter_config.json"),
|
| 265 |
+
"targets": len(pairs),
|
| 266 |
+
"tile_rows": args.tile_rows,
|
| 267 |
+
}
|
| 268 |
+
if progress.get("run_identity") not in (None, run_identity):
|
| 269 |
+
raise SystemExit("resume identity differs from the existing merge progress")
|
| 270 |
+
progress["run_identity"] = run_identity
|
| 271 |
+
progress.setdefault("started_at", datetime.now(timezone.utc).isoformat())
|
| 272 |
+
progress.setdefault("shards", {})
|
| 273 |
+
atomic_json(progress_path, progress)
|
| 274 |
+
|
| 275 |
+
target_stats: dict[str, dict[str, object]] = {}
|
| 276 |
+
started = time.time()
|
| 277 |
+
with safe_open(adapter_path, framework="pt", device="cpu") as adapter:
|
| 278 |
+
for shard_number, shard_name in enumerate(shard_names, start=1):
|
| 279 |
+
source = base_dir / shard_name
|
| 280 |
+
destination = output_dir / shard_name
|
| 281 |
+
recorded = progress["shards"].get(shard_name)
|
| 282 |
+
if args.resume and recorded and destination.is_file():
|
| 283 |
+
if destination.stat().st_size == recorded["size"] and sha256_file(destination) == recorded["sha256"]:
|
| 284 |
+
print(f"[{shard_number:02d}/{len(shard_names)}] verified completed {shard_name}", flush=True)
|
| 285 |
+
for target, stats in recorded.get("targets", {}).items():
|
| 286 |
+
target_stats[target] = stats
|
| 287 |
+
continue
|
| 288 |
+
|
| 289 |
+
temporary = output_dir / (shard_name + ".partial")
|
| 290 |
+
temporary.unlink(missing_ok=True)
|
| 291 |
+
print(
|
| 292 |
+
f"[{shard_number:02d}/{len(shard_names)}] copying {shard_name} "
|
| 293 |
+
f"({source.stat().st_size / (1 << 30):.2f} GiB; {len(targets_by_shard[shard_name])} targets)",
|
| 294 |
+
flush=True,
|
| 295 |
+
)
|
| 296 |
+
shutil.copyfile(source, temporary)
|
| 297 |
+
shutil.copystat(source, temporary)
|
| 298 |
+
data_start, header = read_safetensors_header(temporary)
|
| 299 |
+
entries = tensor_entries(header)
|
| 300 |
+
shard_target_stats: dict[str, dict[str, object]] = {}
|
| 301 |
+
|
| 302 |
+
with temporary.open("r+b", buffering=0) as handle:
|
| 303 |
+
mm = mmap.mmap(handle.fileno(), 0, access=mmap.ACCESS_WRITE)
|
| 304 |
+
try:
|
| 305 |
+
for target_number, target in enumerate(targets_by_shard[shard_name], start=1):
|
| 306 |
+
pair = pairs[target]
|
| 307 |
+
a = adapter.get_tensor(pair["a_key"])
|
| 308 |
+
b = adapter.get_tensor(pair["b_key"])
|
| 309 |
+
stats = patch_tensor(
|
| 310 |
+
mm,
|
| 311 |
+
data_start,
|
| 312 |
+
entries[target],
|
| 313 |
+
a,
|
| 314 |
+
b,
|
| 315 |
+
float(pair["scaling"]),
|
| 316 |
+
args.tile_rows,
|
| 317 |
+
)
|
| 318 |
+
if stats["changed_elements"] == 0:
|
| 319 |
+
raise RuntimeError(f"merge rounded to no change for {target}")
|
| 320 |
+
stats.update(
|
| 321 |
+
{
|
| 322 |
+
"module": pair["module"],
|
| 323 |
+
"base_shape": list(entries[target]["shape"]),
|
| 324 |
+
"a_shape": pair["a_shape"],
|
| 325 |
+
"b_shape": pair["b_shape"],
|
| 326 |
+
"scaling": pair["scaling"],
|
| 327 |
+
"shard": shard_name,
|
| 328 |
+
}
|
| 329 |
+
)
|
| 330 |
+
shard_target_stats[target] = stats
|
| 331 |
+
target_stats[target] = stats
|
| 332 |
+
del a, b
|
| 333 |
+
gc.collect()
|
| 334 |
+
mm.flush()
|
| 335 |
+
print(
|
| 336 |
+
f" target {target_number:02d}/{len(targets_by_shard[shard_name]):02d} "
|
| 337 |
+
f"{target} changed={stats['changed_fraction']:.3%}",
|
| 338 |
+
flush=True,
|
| 339 |
+
)
|
| 340 |
+
mm.flush()
|
| 341 |
+
os.fsync(handle.fileno())
|
| 342 |
+
finally:
|
| 343 |
+
mm.close()
|
| 344 |
+
try:
|
| 345 |
+
os.posix_fadvise(handle.fileno(), 0, 0, os.POSIX_FADV_DONTNEED)
|
| 346 |
+
except (AttributeError, OSError):
|
| 347 |
+
pass
|
| 348 |
+
os.replace(temporary, destination)
|
| 349 |
+
shard_hash = sha256_file(destination)
|
| 350 |
+
progress["shards"][shard_name] = {
|
| 351 |
+
"sha256": shard_hash,
|
| 352 |
+
"size": destination.stat().st_size,
|
| 353 |
+
"targets": shard_target_stats,
|
| 354 |
+
"completed_at": datetime.now(timezone.utc).isoformat(),
|
| 355 |
+
}
|
| 356 |
+
atomic_json(progress_path, progress)
|
| 357 |
+
print(f" committed sha256={shard_hash[:16]}...", flush=True)
|
| 358 |
+
|
| 359 |
+
if len(target_stats) != len(pairs):
|
| 360 |
+
missing = sorted(set(pairs) - set(target_stats))
|
| 361 |
+
raise RuntimeError(f"only merged {len(target_stats)}/{len(pairs)} targets: {missing[:3]}")
|
| 362 |
+
|
| 363 |
+
for source in base_dir.iterdir():
|
| 364 |
+
if source.is_file() and not source.name.endswith(".safetensors"):
|
| 365 |
+
shutil.copy2(source, output_dir / source.name)
|
| 366 |
+
|
| 367 |
+
module_counts = Counter(re.search(r"\.([^.]+)$", str(value["module"])).group(1) for value in pairs.values())
|
| 368 |
+
layer_counts = Counter(
|
| 369 |
+
int(re.search(r"layers\.(\d+)\.", str(value["module"])).group(1)) for value in pairs.values()
|
| 370 |
+
)
|
| 371 |
+
manifest = {
|
| 372 |
+
"schema_version": 1,
|
| 373 |
+
"created_at": datetime.now(timezone.utc).isoformat(),
|
| 374 |
+
"merge_seconds": round(time.time() - started, 3),
|
| 375 |
+
"base": {
|
| 376 |
+
"repo": args.base_repo,
|
| 377 |
+
"revision": args.base_revision,
|
| 378 |
+
"local_snapshot": str(base_dir),
|
| 379 |
+
"index_sha256": run_identity["base_index_sha256"],
|
| 380 |
+
"shards": len(shard_names),
|
| 381 |
+
},
|
| 382 |
+
"adapter": {
|
| 383 |
+
"local_dir": str(adapter_dir),
|
| 384 |
+
"model_sha256": run_identity["adapter_sha256"],
|
| 385 |
+
"config_sha256": run_identity["adapter_config_sha256"],
|
| 386 |
+
"training_args_sha256": (
|
| 387 |
+
sha256_file(adapter_dir / "training_args.json")
|
| 388 |
+
if (adapter_dir / "training_args.json").is_file()
|
| 389 |
+
else None
|
| 390 |
+
),
|
| 391 |
+
"config": adapter_config,
|
| 392 |
+
},
|
| 393 |
+
"merge": {
|
| 394 |
+
"formula": "BF16(W_FP32 + B_FP32 @ (A_FP32 * (lora_alpha / r)))",
|
| 395 |
+
"strategy": "one target tensor at a time, row-tiled, in-place in a copied shard",
|
| 396 |
+
"tile_rows": args.tile_rows,
|
| 397 |
+
"threads": args.threads,
|
| 398 |
+
"target_count": len(pairs),
|
| 399 |
+
"module_counts": dict(sorted(module_counts.items())),
|
| 400 |
+
"layer_counts": {str(key): layer_counts[key] for key in sorted(layer_counts)},
|
| 401 |
+
},
|
| 402 |
+
"target_stats": target_stats,
|
| 403 |
+
"shards": {
|
| 404 |
+
name: {"sha256": value["sha256"], "size": value["size"]}
|
| 405 |
+
for name, value in progress["shards"].items()
|
| 406 |
+
},
|
| 407 |
+
"environment": {
|
| 408 |
+
"python": sys.version,
|
| 409 |
+
"platform": platform.platform(),
|
| 410 |
+
"torch": torch.__version__,
|
| 411 |
+
"safetensors": safetensors.__version__,
|
| 412 |
+
"script_sha256": sha256_file(Path(__file__).resolve()),
|
| 413 |
+
},
|
| 414 |
+
}
|
| 415 |
+
atomic_json(output_dir / "merge_manifest.json", manifest)
|
| 416 |
+
(output_dir / "MERGE_COMPLETE").write_text(datetime.now(timezone.utc).isoformat() + "\n")
|
| 417 |
+
progress_path.unlink(missing_ok=True)
|
| 418 |
+
print(
|
| 419 |
+
f"MERGE COMPLETE: {len(target_stats)} targets, {len(shard_names)} shards -> {output_dir}",
|
| 420 |
+
flush=True,
|
| 421 |
+
)
|
| 422 |
+
|
| 423 |
+
|
| 424 |
+
if __name__ == "__main__":
|
| 425 |
+
main()
|
merge_tools/verify_lora_tensorwise.py
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Certify a tensor-wise LoRA merge without loading the model.
|
| 3 |
+
|
| 4 |
+
For every LoRA target, recompute the FP32 LoRA formula in small row tiles and
|
| 5 |
+
require bit-exact BF16 equality with the merged tensor. For every byte outside
|
| 6 |
+
the 190 target tensor ranges, require exact equality with the pinned base
|
| 7 |
+
checkpoint. Optionally require every target to differ from an older merge.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import gc
|
| 14 |
+
import hashlib
|
| 15 |
+
import json
|
| 16 |
+
import math
|
| 17 |
+
import mmap
|
| 18 |
+
import os
|
| 19 |
+
import re
|
| 20 |
+
import struct
|
| 21 |
+
import time
|
| 22 |
+
from collections import Counter, defaultdict
|
| 23 |
+
from datetime import datetime, timezone
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
|
| 26 |
+
import torch
|
| 27 |
+
from safetensors import safe_open
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
def parse_args() -> argparse.Namespace:
|
| 31 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 32 |
+
parser.add_argument("--base-dir", type=Path, required=True)
|
| 33 |
+
parser.add_argument("--adapter-dir", type=Path, required=True)
|
| 34 |
+
parser.add_argument("--merged-dir", type=Path, required=True)
|
| 35 |
+
parser.add_argument("--old-merged-dir", type=Path)
|
| 36 |
+
parser.add_argument("--tile-rows", type=int, default=32)
|
| 37 |
+
parser.add_argument("--threads", type=int, default=2)
|
| 38 |
+
parser.add_argument("--compare-block-mib", type=int, default=8)
|
| 39 |
+
parser.add_argument("--expected-targets", type=int, default=190)
|
| 40 |
+
return parser.parse_args()
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def sha256_file(path: Path, block_size: int = 8 << 20) -> str:
|
| 44 |
+
digest = hashlib.sha256()
|
| 45 |
+
with path.open("rb", buffering=0) as handle:
|
| 46 |
+
while True:
|
| 47 |
+
block = handle.read(block_size)
|
| 48 |
+
if not block:
|
| 49 |
+
break
|
| 50 |
+
digest.update(block)
|
| 51 |
+
try:
|
| 52 |
+
os.posix_fadvise(handle.fileno(), 0, 0, os.POSIX_FADV_DONTNEED)
|
| 53 |
+
except (AttributeError, OSError):
|
| 54 |
+
pass
|
| 55 |
+
return digest.hexdigest()
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def atomic_json(path: Path, value: object) -> None:
|
| 59 |
+
temporary = path.with_name(path.name + ".tmp")
|
| 60 |
+
temporary.write_text(json.dumps(value, indent=2, sort_keys=True) + "\n")
|
| 61 |
+
os.replace(temporary, path)
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def read_header(path: Path) -> tuple[int, bytes, dict[str, object]]:
|
| 65 |
+
with path.open("rb") as handle:
|
| 66 |
+
prefix = handle.read(8)
|
| 67 |
+
if len(prefix) != 8:
|
| 68 |
+
raise ValueError(f"invalid safetensors file: {path}")
|
| 69 |
+
header_len = struct.unpack("<Q", prefix)[0]
|
| 70 |
+
header_bytes = handle.read(header_len)
|
| 71 |
+
return 8 + header_len, prefix + header_bytes, json.loads(header_bytes)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
def entries(header: dict[str, object]) -> dict[str, dict[str, object]]:
|
| 75 |
+
return {key: value for key, value in header.items() if key != "__metadata__"}
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def checkpoint_key_for(module_path: str) -> str:
|
| 79 |
+
match = re.search(r"layers\.\d+\..+$", module_path)
|
| 80 |
+
if match is None:
|
| 81 |
+
raise ValueError(f"cannot map adapter module {module_path}")
|
| 82 |
+
return f"model.language_model.{match.group(0)}.weight"
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
def discover_pairs(adapter_dir: Path) -> tuple[dict[str, dict[str, object]], float]:
|
| 86 |
+
config = json.loads((adapter_dir / "adapter_config.json").read_text())
|
| 87 |
+
rank = int(config["r"])
|
| 88 |
+
alpha = float(config["lora_alpha"])
|
| 89 |
+
scaling = alpha / math.sqrt(rank) if config.get("use_rslora") else alpha / rank
|
| 90 |
+
pairs: dict[str, dict[str, object]] = {}
|
| 91 |
+
with safe_open(adapter_dir / "adapter_model.safetensors", framework="pt", device="cpu") as adapter:
|
| 92 |
+
keys = set(adapter.keys())
|
| 93 |
+
for a_key in sorted(key for key in keys if key.endswith(".lora_A.weight")):
|
| 94 |
+
module = a_key[: -len(".lora_A.weight")]
|
| 95 |
+
b_key = module + ".lora_B.weight"
|
| 96 |
+
if b_key not in keys:
|
| 97 |
+
raise ValueError(f"missing {b_key}")
|
| 98 |
+
target = checkpoint_key_for(module)
|
| 99 |
+
pairs[target] = {"module": module, "a_key": a_key, "b_key": b_key}
|
| 100 |
+
return pairs, scaling
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
def compare_range(
|
| 104 |
+
base_handle,
|
| 105 |
+
merged_handle,
|
| 106 |
+
offset: int,
|
| 107 |
+
length: int,
|
| 108 |
+
block_size: int,
|
| 109 |
+
) -> None:
|
| 110 |
+
base_handle.seek(offset)
|
| 111 |
+
merged_handle.seek(offset)
|
| 112 |
+
remaining = length
|
| 113 |
+
while remaining:
|
| 114 |
+
wanted = min(block_size, remaining)
|
| 115 |
+
base_block = base_handle.read(wanted)
|
| 116 |
+
merged_block = merged_handle.read(wanted)
|
| 117 |
+
if len(base_block) != wanted or len(merged_block) != wanted:
|
| 118 |
+
raise RuntimeError(f"short read while comparing at byte {offset + length - remaining}")
|
| 119 |
+
if base_block != merged_block:
|
| 120 |
+
start = offset + length - remaining
|
| 121 |
+
first = next(i for i, (left, right) in enumerate(zip(base_block, merged_block)) if left != right)
|
| 122 |
+
raise RuntimeError(f"non-target byte changed at absolute offset {start + first}")
|
| 123 |
+
remaining -= wanted
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
def read_bf16_matrix(mm: mmap.mmap, data_start: int, entry: dict[str, object]) -> torch.Tensor:
|
| 127 |
+
if entry["dtype"] != "BF16":
|
| 128 |
+
raise ValueError(f"expected BF16, got {entry['dtype']}")
|
| 129 |
+
rows, columns = (int(value) for value in entry["shape"])
|
| 130 |
+
start, end = (int(value) for value in entry["data_offsets"])
|
| 131 |
+
if end - start != rows * columns * 2:
|
| 132 |
+
raise ValueError("invalid BF16 tensor span")
|
| 133 |
+
return torch.frombuffer(
|
| 134 |
+
mm,
|
| 135 |
+
dtype=torch.bfloat16,
|
| 136 |
+
count=rows * columns,
|
| 137 |
+
offset=data_start + start,
|
| 138 |
+
).view(rows, columns)
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
def main() -> None:
|
| 142 |
+
args = parse_args()
|
| 143 |
+
if min(args.tile_rows, args.threads, args.compare_block_mib) <= 0:
|
| 144 |
+
raise SystemExit("tile rows, threads, and compare block must be positive")
|
| 145 |
+
torch.set_num_threads(args.threads)
|
| 146 |
+
torch.set_num_interop_threads(1)
|
| 147 |
+
block_size = args.compare_block_mib << 20
|
| 148 |
+
|
| 149 |
+
base_dir = args.base_dir.resolve()
|
| 150 |
+
adapter_dir = args.adapter_dir.resolve()
|
| 151 |
+
merged_dir = args.merged_dir.resolve()
|
| 152 |
+
old_dir = args.old_merged_dir.resolve() if args.old_merged_dir else None
|
| 153 |
+
manifest_path = merged_dir / "merge_manifest.json"
|
| 154 |
+
if not manifest_path.is_file() or not (merged_dir / "MERGE_COMPLETE").is_file():
|
| 155 |
+
raise SystemExit("merged artifact lacks merge_manifest.json or MERGE_COMPLETE")
|
| 156 |
+
if list(merged_dir.glob("*.partial")):
|
| 157 |
+
raise SystemExit("merged artifact still contains partial shard files")
|
| 158 |
+
|
| 159 |
+
manifest = json.loads(manifest_path.read_text())
|
| 160 |
+
adapter_hash = sha256_file(adapter_dir / "adapter_model.safetensors")
|
| 161 |
+
if adapter_hash != manifest["adapter"]["model_sha256"]:
|
| 162 |
+
raise SystemExit("adapter hash differs from merge manifest")
|
| 163 |
+
if sha256_file(base_dir / "model.safetensors.index.json") != manifest["base"]["index_sha256"]:
|
| 164 |
+
raise SystemExit("base index hash differs from merge manifest")
|
| 165 |
+
|
| 166 |
+
base_index = json.loads((base_dir / "model.safetensors.index.json").read_text())
|
| 167 |
+
merged_index = json.loads((merged_dir / "model.safetensors.index.json").read_text())
|
| 168 |
+
if merged_index != base_index:
|
| 169 |
+
raise SystemExit("merged model index is not identical to the pinned base index")
|
| 170 |
+
weight_map: dict[str, str] = base_index["weight_map"]
|
| 171 |
+
shard_names = sorted(set(weight_map.values()))
|
| 172 |
+
if len(shard_names) != 26:
|
| 173 |
+
raise SystemExit(f"expected 26 base shards, found {len(shard_names)}")
|
| 174 |
+
pairs, scaling = discover_pairs(adapter_dir)
|
| 175 |
+
if len(pairs) != args.expected_targets:
|
| 176 |
+
raise SystemExit(f"expected {args.expected_targets} targets, found {len(pairs)}")
|
| 177 |
+
if set(pairs) - set(weight_map):
|
| 178 |
+
raise SystemExit(f"adapter targets missing from base: {sorted(set(pairs)-set(weight_map))[:3]}")
|
| 179 |
+
|
| 180 |
+
targets_by_shard: dict[str, list[str]] = defaultdict(list)
|
| 181 |
+
for target in pairs:
|
| 182 |
+
targets_by_shard[weight_map[target]].append(target)
|
| 183 |
+
|
| 184 |
+
target_reports: dict[str, dict[str, object]] = {}
|
| 185 |
+
unchanged_bytes = 0
|
| 186 |
+
started = time.time()
|
| 187 |
+
with safe_open(adapter_dir / "adapter_model.safetensors", framework="pt", device="cpu") as adapter:
|
| 188 |
+
for shard_number, shard_name in enumerate(shard_names, start=1):
|
| 189 |
+
base_path = base_dir / shard_name
|
| 190 |
+
merged_path = merged_dir / shard_name
|
| 191 |
+
if not merged_path.is_file() or merged_path.stat().st_size != base_path.stat().st_size:
|
| 192 |
+
raise RuntimeError(f"missing or wrong-sized merged shard {shard_name}")
|
| 193 |
+
expected_hash = manifest["shards"][shard_name]["sha256"]
|
| 194 |
+
actual_hash = sha256_file(merged_path)
|
| 195 |
+
if actual_hash != expected_hash:
|
| 196 |
+
raise RuntimeError(f"merged shard hash mismatch: {shard_name}")
|
| 197 |
+
|
| 198 |
+
base_data_start, base_header_bytes, base_header = read_header(base_path)
|
| 199 |
+
merged_data_start, merged_header_bytes, merged_header = read_header(merged_path)
|
| 200 |
+
if base_data_start != merged_data_start or base_header_bytes != merged_header_bytes:
|
| 201 |
+
raise RuntimeError(f"safetensors header changed in {shard_name}")
|
| 202 |
+
base_entries = entries(base_header)
|
| 203 |
+
merged_entries = entries(merged_header)
|
| 204 |
+
if base_entries != merged_entries:
|
| 205 |
+
raise RuntimeError(f"tensor index changed in {shard_name}")
|
| 206 |
+
|
| 207 |
+
target_ranges = []
|
| 208 |
+
for target in targets_by_shard[shard_name]:
|
| 209 |
+
start, end = (int(value) for value in base_entries[target]["data_offsets"])
|
| 210 |
+
target_ranges.append((base_data_start + start, base_data_start + end, target))
|
| 211 |
+
target_ranges.sort()
|
| 212 |
+
cursor = 0
|
| 213 |
+
with base_path.open("rb", buffering=0) as base_handle, merged_path.open("rb", buffering=0) as merged_handle:
|
| 214 |
+
for start, end, _ in target_ranges:
|
| 215 |
+
compare_range(base_handle, merged_handle, cursor, start - cursor, block_size)
|
| 216 |
+
unchanged_bytes += start - cursor
|
| 217 |
+
cursor = end
|
| 218 |
+
compare_range(base_handle, merged_handle, cursor, base_path.stat().st_size - cursor, block_size)
|
| 219 |
+
unchanged_bytes += base_path.stat().st_size - cursor
|
| 220 |
+
for handle in (base_handle, merged_handle):
|
| 221 |
+
try:
|
| 222 |
+
os.posix_fadvise(handle.fileno(), 0, 0, os.POSIX_FADV_DONTNEED)
|
| 223 |
+
except (AttributeError, OSError):
|
| 224 |
+
pass
|
| 225 |
+
|
| 226 |
+
old_path = old_dir / shard_name if old_dir else None
|
| 227 |
+
with base_path.open("rb", buffering=0) as base_file, merged_path.open("rb", buffering=0) as merged_file:
|
| 228 |
+
base_mm = mmap.mmap(base_file.fileno(), 0, access=mmap.ACCESS_READ)
|
| 229 |
+
merged_mm = mmap.mmap(merged_file.fileno(), 0, access=mmap.ACCESS_READ)
|
| 230 |
+
old_file = old_path.open("rb", buffering=0) if old_path and old_path.is_file() else None
|
| 231 |
+
old_mm = mmap.mmap(old_file.fileno(), 0, access=mmap.ACCESS_READ) if old_file else None
|
| 232 |
+
old_entries = entries(read_header(old_path)[2]) if old_path and old_path.is_file() else None
|
| 233 |
+
try:
|
| 234 |
+
for target_number, target in enumerate(targets_by_shard[shard_name], start=1):
|
| 235 |
+
pair = pairs[target]
|
| 236 |
+
a = adapter.get_tensor(pair["a_key"])
|
| 237 |
+
b = adapter.get_tensor(pair["b_key"])
|
| 238 |
+
base_tensor = read_bf16_matrix(base_mm, base_data_start, base_entries[target])
|
| 239 |
+
merged_tensor = read_bf16_matrix(merged_mm, merged_data_start, merged_entries[target])
|
| 240 |
+
old_tensor = (
|
| 241 |
+
read_bf16_matrix(old_mm, read_header(old_path)[0], old_entries[target])
|
| 242 |
+
if old_mm is not None and old_entries is not None
|
| 243 |
+
else None
|
| 244 |
+
)
|
| 245 |
+
scaled_a = a.float().mul(scaling)
|
| 246 |
+
changed = 0
|
| 247 |
+
differs_old = 0
|
| 248 |
+
max_abs = 0.0
|
| 249 |
+
sum_sq = 0.0
|
| 250 |
+
rows, columns = base_tensor.shape
|
| 251 |
+
for start in range(0, rows, args.tile_rows):
|
| 252 |
+
end = min(rows, start + args.tile_rows)
|
| 253 |
+
expected = (
|
| 254 |
+
base_tensor[start:end].float()
|
| 255 |
+
+ b[start:end].float().matmul(scaled_a)
|
| 256 |
+
).to(torch.bfloat16)
|
| 257 |
+
if not torch.equal(expected, merged_tensor[start:end]):
|
| 258 |
+
mismatches = int(torch.count_nonzero(expected != merged_tensor[start:end]).item())
|
| 259 |
+
raise RuntimeError(f"formula mismatch for {target}: {mismatches} elements")
|
| 260 |
+
changed += int(torch.count_nonzero(merged_tensor[start:end] != base_tensor[start:end]).item())
|
| 261 |
+
if old_tensor is not None:
|
| 262 |
+
differs_old += int(torch.count_nonzero(merged_tensor[start:end] != old_tensor[start:end]).item())
|
| 263 |
+
actual = merged_tensor[start:end].float() - base_tensor[start:end].float()
|
| 264 |
+
max_abs = max(max_abs, float(actual.abs().max().item()))
|
| 265 |
+
sum_sq += float(actual.double().square().sum().item())
|
| 266 |
+
del expected, actual
|
| 267 |
+
if changed == 0:
|
| 268 |
+
raise RuntimeError(f"merged target is identical to base: {target}")
|
| 269 |
+
if old_tensor is not None and differs_old == 0:
|
| 270 |
+
raise RuntimeError(f"round-2 merged target is identical to round 1: {target}")
|
| 271 |
+
elements = rows * columns
|
| 272 |
+
target_reports[target] = {
|
| 273 |
+
"module": pair["module"],
|
| 274 |
+
"shard": shard_name,
|
| 275 |
+
"shape": [rows, columns],
|
| 276 |
+
"changed_from_base_elements": changed,
|
| 277 |
+
"changed_from_base_fraction": changed / elements,
|
| 278 |
+
"changed_from_round1_elements": differs_old if old_tensor is not None else None,
|
| 279 |
+
"max_abs_effective_bf16_delta": max_abs,
|
| 280 |
+
"rms_effective_bf16_delta": math.sqrt(sum_sq / elements),
|
| 281 |
+
"formula_bit_exact": True,
|
| 282 |
+
}
|
| 283 |
+
del a, b, base_tensor, merged_tensor, old_tensor, scaled_a
|
| 284 |
+
gc.collect()
|
| 285 |
+
print(
|
| 286 |
+
f"[{shard_number:02d}/{len(shard_names)}] target "
|
| 287 |
+
f"{target_number:02d}/{len(targets_by_shard[shard_name]):02d} verified {target}",
|
| 288 |
+
flush=True,
|
| 289 |
+
)
|
| 290 |
+
finally:
|
| 291 |
+
base_mm.close()
|
| 292 |
+
merged_mm.close()
|
| 293 |
+
if old_mm is not None:
|
| 294 |
+
old_mm.close()
|
| 295 |
+
if old_file is not None:
|
| 296 |
+
old_file.close()
|
| 297 |
+
print(
|
| 298 |
+
f"[{shard_number:02d}/{len(shard_names)}] {shard_name}: hash, non-target bytes, and formulas verified",
|
| 299 |
+
flush=True,
|
| 300 |
+
)
|
| 301 |
+
|
| 302 |
+
if set(target_reports) != set(pairs):
|
| 303 |
+
raise RuntimeError(f"verified {len(target_reports)}/{len(pairs)} targets")
|
| 304 |
+
module_counts = Counter(re.search(r"\.([^.]+)$", value["module"]).group(1) for value in pairs.values())
|
| 305 |
+
layer_counts = Counter(int(re.search(r"layers\.(\d+)\.", value["module"]).group(1)) for value in pairs.values())
|
| 306 |
+
expected_module_counts = {
|
| 307 |
+
"in_proj_a": 30,
|
| 308 |
+
"in_proj_b": 30,
|
| 309 |
+
"in_proj_qkv": 30,
|
| 310 |
+
"in_proj_z": 30,
|
| 311 |
+
"out_proj": 30,
|
| 312 |
+
"k_proj": 10,
|
| 313 |
+
"o_proj": 10,
|
| 314 |
+
"q_proj": 10,
|
| 315 |
+
"v_proj": 10,
|
| 316 |
+
}
|
| 317 |
+
if dict(module_counts) != expected_module_counts:
|
| 318 |
+
raise RuntimeError(f"unexpected target-module coverage: {dict(module_counts)}")
|
| 319 |
+
if set(layer_counts) != set(range(40)):
|
| 320 |
+
raise RuntimeError(f"not all 40 transformer layers are targeted: {dict(layer_counts)}")
|
| 321 |
+
|
| 322 |
+
metadata_loads: dict[str, str] = {}
|
| 323 |
+
from transformers import AutoConfig, AutoProcessor, AutoTokenizer
|
| 324 |
+
|
| 325 |
+
config = AutoConfig.from_pretrained(merged_dir, local_files_only=True)
|
| 326 |
+
metadata_loads["config_class"] = type(config).__name__
|
| 327 |
+
tokenizer = AutoTokenizer.from_pretrained(merged_dir, local_files_only=True)
|
| 328 |
+
metadata_loads["tokenizer_class"] = type(tokenizer).__name__
|
| 329 |
+
processor = AutoProcessor.from_pretrained(merged_dir, local_files_only=True)
|
| 330 |
+
metadata_loads["processor_class"] = type(processor).__name__
|
| 331 |
+
|
| 332 |
+
report = {
|
| 333 |
+
"schema_version": 1,
|
| 334 |
+
"verified_at": datetime.now(timezone.utc).isoformat(),
|
| 335 |
+
"verification_seconds": round(time.time() - started, 3),
|
| 336 |
+
"base_revision": manifest["base"]["revision"],
|
| 337 |
+
"adapter_sha256": adapter_hash,
|
| 338 |
+
"merged_shards": len(shard_names),
|
| 339 |
+
"base_tensor_count": len(weight_map),
|
| 340 |
+
"target_tensor_count": len(target_reports),
|
| 341 |
+
"non_target_tensor_count": len(weight_map) - len(target_reports),
|
| 342 |
+
"unchanged_bytes_compared": unchanged_bytes,
|
| 343 |
+
"all_non_target_bytes_identical": True,
|
| 344 |
+
"all_targets_formula_bit_exact": True,
|
| 345 |
+
"all_targets_distinct_from_base": True,
|
| 346 |
+
"all_targets_distinct_from_round1": old_dir is not None,
|
| 347 |
+
"module_counts": dict(sorted(module_counts.items())),
|
| 348 |
+
"layer_counts": {str(key): layer_counts[key] for key in sorted(layer_counts)},
|
| 349 |
+
"metadata_loads": metadata_loads,
|
| 350 |
+
"target_reports": target_reports,
|
| 351 |
+
}
|
| 352 |
+
atomic_json(merged_dir / "merge_verification.json", report)
|
| 353 |
+
(merged_dir / "VERIFIED").write_text(datetime.now(timezone.utc).isoformat() + "\n")
|
| 354 |
+
print(json.dumps({key: value for key, value in report.items() if key != "target_reports"}, indent=2))
|
| 355 |
+
print(f"VERIFIED: {merged_dir}", flush=True)
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
if __name__ == "__main__":
|
| 359 |
+
main()
|
merge_verification.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f29ad3f6b31540418066e66ea9a017c6f112d5ab185e57ba2f41c9fb705978e
|
| 3 |
+
size 3996199712
|
model-00002-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02edba7a7845c762b9da61d736b8404d680c33c96687f957e767b44f7cff954c
|
| 3 |
+
size 1284907696
|
model-00003-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39b9acfcfeb1d9062e449c61fe9a0e6975c40e28dae4f9b476358f6e5ccfeb74
|
| 3 |
+
size 3357898360
|
model-00004-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:972bae2f88c1369355ef84a863ddfa8a3c66b2029d54fdd4f3299f6b87475184
|
| 3 |
+
size 3370808712
|
model-00005-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00609f3287a54c589843e5e41d6f1d83f2f4f83af49fab6192c3c207e74b7062
|
| 3 |
+
size 3357898360
|
model-00006-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6175f8ffe687723d9b140fb9ca2eeb6c5705d46d0fd8b6afe291703db3f3e930
|
| 3 |
+
size 3959424904
|
model-00007-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab54c82bf2cb55dda4994c6651b95e6a41a1ac834f6ee883812743a3dc21fe99
|
| 3 |
+
size 1096788232
|
model-00008-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a3b4b8d0c96f9b42ed0ea1ca4d460a06a6032c7286a2a090060aac7605f8023
|
| 3 |
+
size 3946842008
|
model-00009-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d940216c8c6c11cad0b32390a372c6b73fe420b86f04ae2bf4be18b7ce7818ec
|
| 3 |
+
size 1096460848
|
model-00010-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:001f7913d74dab95f9687006c65efbb958d652be7f0ecf3f7bda757cbd90f1f9
|
| 3 |
+
size 3946841992
|
model-00011-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a089da7bc158b113ed15a7f7d515f9311da156532eeab17ff6d7e4cef9679b4
|
| 3 |
+
size 1096460752
|
model-00012-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d51714d98723f308ec5bb3137514951fa202abfc5e01b66c75181dd39804688a
|
| 3 |
+
size 3409971080
|
model-00013-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36a6e8f572fca3310255fb001f6b116ae90781e2f4798eee6dc5a79ee92fcf8f
|
| 3 |
+
size 1633331664
|
model-00014-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c03d665943d7dbbcc5016e9674180fb642f67c2cec4c768dff85e2f00ab0cc68
|
| 3 |
+
size 3422553872
|
model-00015-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a54d60d24c7234952847c71c9c8eaa780136cb691d0e1254aa93b3fe11f922d1
|
| 3 |
+
size 1633659224
|
model-00016-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:856939b826bcae35bd6a88a0afbc04d838306712b3731b947927e59afee562d9
|
| 3 |
+
size 3946842136
|
model-00017-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35058ac91b5652a294842a67d970e738c8ccb4b409e875565eb56199d3aa997a
|
| 3 |
+
size 1096460608
|
model-00018-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f02e3886d3ec19bf5e8ee4401f0b038ee4908ec277c9562262a019a55bc1984
|
| 3 |
+
size 3946841992
|
model-00019-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e284dc89e707c65639714385c13b0a0148db71b685ae7ace9dcace0bc07dd5b6
|
| 3 |
+
size 1096460808
|
model-00020-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:365eb7ffa4efb30a9605eec3212462df30c1f92f0bc31b23ad88447601ff3026
|
| 3 |
+
size 3409971072
|
model-00021-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d74daf37694a5d997cafe1d05fddc64aad7a868a210675c78e5e9d3f87150ab9
|
| 3 |
+
size 1633331744
|
model-00022-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9059e5816bb428e302a5fc575ad55fd3ea1c77ececde84f599d496834f8218b
|
| 3 |
+
size 3370808752
|
model-00023-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4261ba26ddd9b875d04bed2e35e5d93ba4cdda923d4b51f1bd476c310ad0acb
|
| 3 |
+
size 3357898392
|
model-00024-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd381409ec88968f177fc2968c1b311ec1bad48a8efaace6104918c439304758
|
| 3 |
+
size 3370808752
|
model-00025-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dc3961a2e10e6b01da2f19bf546b60e5fe8a520d219231b8ab38b618865fb13
|
| 3 |
+
size 3832888256
|
model-00026-of-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a30d2c6c2a09f92bce458c4d42fbf4bc3410062d25f1a2d020ac42035c107b1a
|
| 3 |
+
size 2231416848
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,1052 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 71903645408.0
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00026-of-00026.safetensors",
|
| 7 |
+
"model.language_model.embed_tokens.weight": "model-00001-of-00026.safetensors",
|
| 8 |
+
"model.language_model.layers.0.input_layernorm.weight": "model-00002-of-00026.safetensors",
|
| 9 |
+
"model.language_model.layers.0.linear_attn.A_log": "model-00002-of-00026.safetensors",
|
| 10 |
+
"model.language_model.layers.0.linear_attn.conv1d.weight": "model-00002-of-00026.safetensors",
|
| 11 |
+
"model.language_model.layers.0.linear_attn.dt_bias": "model-00002-of-00026.safetensors",
|
| 12 |
+
"model.language_model.layers.0.linear_attn.in_proj_a.weight": "model-00002-of-00026.safetensors",
|
| 13 |
+
"model.language_model.layers.0.linear_attn.in_proj_b.weight": "model-00002-of-00026.safetensors",
|
| 14 |
+
"model.language_model.layers.0.linear_attn.in_proj_qkv.weight": "model-00001-of-00026.safetensors",
|
| 15 |
+
"model.language_model.layers.0.linear_attn.in_proj_z.weight": "model-00001-of-00026.safetensors",
|
| 16 |
+
"model.language_model.layers.0.linear_attn.norm.weight": "model-00002-of-00026.safetensors",
|
| 17 |
+
"model.language_model.layers.0.linear_attn.out_proj.weight": "model-00001-of-00026.safetensors",
|
| 18 |
+
"model.language_model.layers.0.mlp.experts.down_proj": "model-00002-of-00026.safetensors",
|
| 19 |
+
"model.language_model.layers.0.mlp.experts.gate_up_proj": "model-00001-of-00026.safetensors",
|
| 20 |
+
"model.language_model.layers.0.mlp.gate.weight": "model-00002-of-00026.safetensors",
|
| 21 |
+
"model.language_model.layers.0.mlp.shared_expert.down_proj.weight": "model-00002-of-00026.safetensors",
|
| 22 |
+
"model.language_model.layers.0.mlp.shared_expert.gate_proj.weight": "model-00002-of-00026.safetensors",
|
| 23 |
+
"model.language_model.layers.0.mlp.shared_expert.up_proj.weight": "model-00002-of-00026.safetensors",
|
| 24 |
+
"model.language_model.layers.0.mlp.shared_expert_gate.weight": "model-00002-of-00026.safetensors",
|
| 25 |
+
"model.language_model.layers.0.post_attention_layernorm.weight": "model-00002-of-00026.safetensors",
|
| 26 |
+
"model.language_model.layers.1.input_layernorm.weight": "model-00002-of-00026.safetensors",
|
| 27 |
+
"model.language_model.layers.1.linear_attn.A_log": "model-00002-of-00026.safetensors",
|
| 28 |
+
"model.language_model.layers.1.linear_attn.conv1d.weight": "model-00002-of-00026.safetensors",
|
| 29 |
+
"model.language_model.layers.1.linear_attn.dt_bias": "model-00002-of-00026.safetensors",
|
| 30 |
+
"model.language_model.layers.1.linear_attn.in_proj_a.weight": "model-00002-of-00026.safetensors",
|
| 31 |
+
"model.language_model.layers.1.linear_attn.in_proj_b.weight": "model-00002-of-00026.safetensors",
|
| 32 |
+
"model.language_model.layers.1.linear_attn.in_proj_qkv.weight": "model-00001-of-00026.safetensors",
|
| 33 |
+
"model.language_model.layers.1.linear_attn.in_proj_z.weight": "model-00001-of-00026.safetensors",
|
| 34 |
+
"model.language_model.layers.1.linear_attn.norm.weight": "model-00002-of-00026.safetensors",
|
| 35 |
+
"model.language_model.layers.1.linear_attn.out_proj.weight": "model-00001-of-00026.safetensors",
|
| 36 |
+
"model.language_model.layers.1.mlp.experts.down_proj": "model-00001-of-00026.safetensors",
|
| 37 |
+
"model.language_model.layers.1.mlp.experts.gate_up_proj": "model-00001-of-00026.safetensors",
|
| 38 |
+
"model.language_model.layers.1.mlp.gate.weight": "model-00002-of-00026.safetensors",
|
| 39 |
+
"model.language_model.layers.1.mlp.shared_expert.down_proj.weight": "model-00002-of-00026.safetensors",
|
| 40 |
+
"model.language_model.layers.1.mlp.shared_expert.gate_proj.weight": "model-00002-of-00026.safetensors",
|
| 41 |
+
"model.language_model.layers.1.mlp.shared_expert.up_proj.weight": "model-00002-of-00026.safetensors",
|
| 42 |
+
"model.language_model.layers.1.mlp.shared_expert_gate.weight": "model-00002-of-00026.safetensors",
|
| 43 |
+
"model.language_model.layers.1.post_attention_layernorm.weight": "model-00002-of-00026.safetensors",
|
| 44 |
+
"model.language_model.layers.10.input_layernorm.weight": "model-00007-of-00026.safetensors",
|
| 45 |
+
"model.language_model.layers.10.linear_attn.A_log": "model-00007-of-00026.safetensors",
|
| 46 |
+
"model.language_model.layers.10.linear_attn.conv1d.weight": "model-00007-of-00026.safetensors",
|
| 47 |
+
"model.language_model.layers.10.linear_attn.dt_bias": "model-00007-of-00026.safetensors",
|
| 48 |
+
"model.language_model.layers.10.linear_attn.in_proj_a.weight": "model-00007-of-00026.safetensors",
|
| 49 |
+
"model.language_model.layers.10.linear_attn.in_proj_b.weight": "model-00007-of-00026.safetensors",
|
| 50 |
+
"model.language_model.layers.10.linear_attn.in_proj_qkv.weight": "model-00006-of-00026.safetensors",
|
| 51 |
+
"model.language_model.layers.10.linear_attn.in_proj_z.weight": "model-00006-of-00026.safetensors",
|
| 52 |
+
"model.language_model.layers.10.linear_attn.norm.weight": "model-00007-of-00026.safetensors",
|
| 53 |
+
"model.language_model.layers.10.linear_attn.out_proj.weight": "model-00006-of-00026.safetensors",
|
| 54 |
+
"model.language_model.layers.10.mlp.experts.down_proj": "model-00006-of-00026.safetensors",
|
| 55 |
+
"model.language_model.layers.10.mlp.experts.gate_up_proj": "model-00007-of-00026.safetensors",
|
| 56 |
+
"model.language_model.layers.10.mlp.gate.weight": "model-00007-of-00026.safetensors",
|
| 57 |
+
"model.language_model.layers.10.mlp.shared_expert.down_proj.weight": "model-00007-of-00026.safetensors",
|
| 58 |
+
"model.language_model.layers.10.mlp.shared_expert.gate_proj.weight": "model-00007-of-00026.safetensors",
|
| 59 |
+
"model.language_model.layers.10.mlp.shared_expert.up_proj.weight": "model-00007-of-00026.safetensors",
|
| 60 |
+
"model.language_model.layers.10.mlp.shared_expert_gate.weight": "model-00007-of-00026.safetensors",
|
| 61 |
+
"model.language_model.layers.10.post_attention_layernorm.weight": "model-00007-of-00026.safetensors",
|
| 62 |
+
"model.language_model.layers.11.input_layernorm.weight": "model-00009-of-00026.safetensors",
|
| 63 |
+
"model.language_model.layers.11.mlp.experts.down_proj": "model-00009-of-00026.safetensors",
|
| 64 |
+
"model.language_model.layers.11.mlp.experts.gate_up_proj": "model-00008-of-00026.safetensors",
|
| 65 |
+
"model.language_model.layers.11.mlp.gate.weight": "model-00009-of-00026.safetensors",
|
| 66 |
+
"model.language_model.layers.11.mlp.shared_expert.down_proj.weight": "model-00009-of-00026.safetensors",
|
| 67 |
+
"model.language_model.layers.11.mlp.shared_expert.gate_proj.weight": "model-00009-of-00026.safetensors",
|
| 68 |
+
"model.language_model.layers.11.mlp.shared_expert.up_proj.weight": "model-00009-of-00026.safetensors",
|
| 69 |
+
"model.language_model.layers.11.mlp.shared_expert_gate.weight": "model-00009-of-00026.safetensors",
|
| 70 |
+
"model.language_model.layers.11.post_attention_layernorm.weight": "model-00009-of-00026.safetensors",
|
| 71 |
+
"model.language_model.layers.11.self_attn.k_norm.weight": "model-00009-of-00026.safetensors",
|
| 72 |
+
"model.language_model.layers.11.self_attn.k_proj.weight": "model-00008-of-00026.safetensors",
|
| 73 |
+
"model.language_model.layers.11.self_attn.o_proj.weight": "model-00008-of-00026.safetensors",
|
| 74 |
+
"model.language_model.layers.11.self_attn.q_norm.weight": "model-00009-of-00026.safetensors",
|
| 75 |
+
"model.language_model.layers.11.self_attn.q_proj.weight": "model-00008-of-00026.safetensors",
|
| 76 |
+
"model.language_model.layers.11.self_attn.v_proj.weight": "model-00008-of-00026.safetensors",
|
| 77 |
+
"model.language_model.layers.12.input_layernorm.weight": "model-00009-of-00026.safetensors",
|
| 78 |
+
"model.language_model.layers.12.linear_attn.A_log": "model-00009-of-00026.safetensors",
|
| 79 |
+
"model.language_model.layers.12.linear_attn.conv1d.weight": "model-00009-of-00026.safetensors",
|
| 80 |
+
"model.language_model.layers.12.linear_attn.dt_bias": "model-00009-of-00026.safetensors",
|
| 81 |
+
"model.language_model.layers.12.linear_attn.in_proj_a.weight": "model-00009-of-00026.safetensors",
|
| 82 |
+
"model.language_model.layers.12.linear_attn.in_proj_b.weight": "model-00009-of-00026.safetensors",
|
| 83 |
+
"model.language_model.layers.12.linear_attn.in_proj_qkv.weight": "model-00008-of-00026.safetensors",
|
| 84 |
+
"model.language_model.layers.12.linear_attn.in_proj_z.weight": "model-00008-of-00026.safetensors",
|
| 85 |
+
"model.language_model.layers.12.linear_attn.norm.weight": "model-00009-of-00026.safetensors",
|
| 86 |
+
"model.language_model.layers.12.linear_attn.out_proj.weight": "model-00008-of-00026.safetensors",
|
| 87 |
+
"model.language_model.layers.12.mlp.experts.down_proj": "model-00009-of-00026.safetensors",
|
| 88 |
+
"model.language_model.layers.12.mlp.experts.gate_up_proj": "model-00008-of-00026.safetensors",
|
| 89 |
+
"model.language_model.layers.12.mlp.gate.weight": "model-00009-of-00026.safetensors",
|
| 90 |
+
"model.language_model.layers.12.mlp.shared_expert.down_proj.weight": "model-00009-of-00026.safetensors",
|
| 91 |
+
"model.language_model.layers.12.mlp.shared_expert.gate_proj.weight": "model-00009-of-00026.safetensors",
|
| 92 |
+
"model.language_model.layers.12.mlp.shared_expert.up_proj.weight": "model-00009-of-00026.safetensors",
|
| 93 |
+
"model.language_model.layers.12.mlp.shared_expert_gate.weight": "model-00009-of-00026.safetensors",
|
| 94 |
+
"model.language_model.layers.12.post_attention_layernorm.weight": "model-00009-of-00026.safetensors",
|
| 95 |
+
"model.language_model.layers.13.input_layernorm.weight": "model-00009-of-00026.safetensors",
|
| 96 |
+
"model.language_model.layers.13.linear_attn.A_log": "model-00009-of-00026.safetensors",
|
| 97 |
+
"model.language_model.layers.13.linear_attn.conv1d.weight": "model-00009-of-00026.safetensors",
|
| 98 |
+
"model.language_model.layers.13.linear_attn.dt_bias": "model-00009-of-00026.safetensors",
|
| 99 |
+
"model.language_model.layers.13.linear_attn.in_proj_a.weight": "model-00009-of-00026.safetensors",
|
| 100 |
+
"model.language_model.layers.13.linear_attn.in_proj_b.weight": "model-00009-of-00026.safetensors",
|
| 101 |
+
"model.language_model.layers.13.linear_attn.in_proj_qkv.weight": "model-00008-of-00026.safetensors",
|
| 102 |
+
"model.language_model.layers.13.linear_attn.in_proj_z.weight": "model-00008-of-00026.safetensors",
|
| 103 |
+
"model.language_model.layers.13.linear_attn.norm.weight": "model-00009-of-00026.safetensors",
|
| 104 |
+
"model.language_model.layers.13.linear_attn.out_proj.weight": "model-00008-of-00026.safetensors",
|
| 105 |
+
"model.language_model.layers.13.mlp.experts.down_proj": "model-00008-of-00026.safetensors",
|
| 106 |
+
"model.language_model.layers.13.mlp.experts.gate_up_proj": "model-00008-of-00026.safetensors",
|
| 107 |
+
"model.language_model.layers.13.mlp.gate.weight": "model-00009-of-00026.safetensors",
|
| 108 |
+
"model.language_model.layers.13.mlp.shared_expert.down_proj.weight": "model-00009-of-00026.safetensors",
|
| 109 |
+
"model.language_model.layers.13.mlp.shared_expert.gate_proj.weight": "model-00009-of-00026.safetensors",
|
| 110 |
+
"model.language_model.layers.13.mlp.shared_expert.up_proj.weight": "model-00009-of-00026.safetensors",
|
| 111 |
+
"model.language_model.layers.13.mlp.shared_expert_gate.weight": "model-00009-of-00026.safetensors",
|
| 112 |
+
"model.language_model.layers.13.post_attention_layernorm.weight": "model-00009-of-00026.safetensors",
|
| 113 |
+
"model.language_model.layers.14.input_layernorm.weight": "model-00011-of-00026.safetensors",
|
| 114 |
+
"model.language_model.layers.14.linear_attn.A_log": "model-00011-of-00026.safetensors",
|
| 115 |
+
"model.language_model.layers.14.linear_attn.conv1d.weight": "model-00011-of-00026.safetensors",
|
| 116 |
+
"model.language_model.layers.14.linear_attn.dt_bias": "model-00011-of-00026.safetensors",
|
| 117 |
+
"model.language_model.layers.14.linear_attn.in_proj_a.weight": "model-00011-of-00026.safetensors",
|
| 118 |
+
"model.language_model.layers.14.linear_attn.in_proj_b.weight": "model-00011-of-00026.safetensors",
|
| 119 |
+
"model.language_model.layers.14.linear_attn.in_proj_qkv.weight": "model-00010-of-00026.safetensors",
|
| 120 |
+
"model.language_model.layers.14.linear_attn.in_proj_z.weight": "model-00010-of-00026.safetensors",
|
| 121 |
+
"model.language_model.layers.14.linear_attn.norm.weight": "model-00011-of-00026.safetensors",
|
| 122 |
+
"model.language_model.layers.14.linear_attn.out_proj.weight": "model-00010-of-00026.safetensors",
|
| 123 |
+
"model.language_model.layers.14.mlp.experts.down_proj": "model-00010-of-00026.safetensors",
|
| 124 |
+
"model.language_model.layers.14.mlp.experts.gate_up_proj": "model-00010-of-00026.safetensors",
|
| 125 |
+
"model.language_model.layers.14.mlp.gate.weight": "model-00011-of-00026.safetensors",
|
| 126 |
+
"model.language_model.layers.14.mlp.shared_expert.down_proj.weight": "model-00011-of-00026.safetensors",
|
| 127 |
+
"model.language_model.layers.14.mlp.shared_expert.gate_proj.weight": "model-00011-of-00026.safetensors",
|
| 128 |
+
"model.language_model.layers.14.mlp.shared_expert.up_proj.weight": "model-00011-of-00026.safetensors",
|
| 129 |
+
"model.language_model.layers.14.mlp.shared_expert_gate.weight": "model-00011-of-00026.safetensors",
|
| 130 |
+
"model.language_model.layers.14.post_attention_layernorm.weight": "model-00011-of-00026.safetensors",
|
| 131 |
+
"model.language_model.layers.15.input_layernorm.weight": "model-00011-of-00026.safetensors",
|
| 132 |
+
"model.language_model.layers.15.mlp.experts.down_proj": "model-00011-of-00026.safetensors",
|
| 133 |
+
"model.language_model.layers.15.mlp.experts.gate_up_proj": "model-00010-of-00026.safetensors",
|
| 134 |
+
"model.language_model.layers.15.mlp.gate.weight": "model-00011-of-00026.safetensors",
|
| 135 |
+
"model.language_model.layers.15.mlp.shared_expert.down_proj.weight": "model-00011-of-00026.safetensors",
|
| 136 |
+
"model.language_model.layers.15.mlp.shared_expert.gate_proj.weight": "model-00011-of-00026.safetensors",
|
| 137 |
+
"model.language_model.layers.15.mlp.shared_expert.up_proj.weight": "model-00011-of-00026.safetensors",
|
| 138 |
+
"model.language_model.layers.15.mlp.shared_expert_gate.weight": "model-00011-of-00026.safetensors",
|
| 139 |
+
"model.language_model.layers.15.post_attention_layernorm.weight": "model-00011-of-00026.safetensors",
|
| 140 |
+
"model.language_model.layers.15.self_attn.k_norm.weight": "model-00011-of-00026.safetensors",
|
| 141 |
+
"model.language_model.layers.15.self_attn.k_proj.weight": "model-00010-of-00026.safetensors",
|
| 142 |
+
"model.language_model.layers.15.self_attn.o_proj.weight": "model-00010-of-00026.safetensors",
|
| 143 |
+
"model.language_model.layers.15.self_attn.q_norm.weight": "model-00011-of-00026.safetensors",
|
| 144 |
+
"model.language_model.layers.15.self_attn.q_proj.weight": "model-00010-of-00026.safetensors",
|
| 145 |
+
"model.language_model.layers.15.self_attn.v_proj.weight": "model-00010-of-00026.safetensors",
|
| 146 |
+
"model.language_model.layers.16.input_layernorm.weight": "model-00011-of-00026.safetensors",
|
| 147 |
+
"model.language_model.layers.16.linear_attn.A_log": "model-00011-of-00026.safetensors",
|
| 148 |
+
"model.language_model.layers.16.linear_attn.conv1d.weight": "model-00011-of-00026.safetensors",
|
| 149 |
+
"model.language_model.layers.16.linear_attn.dt_bias": "model-00011-of-00026.safetensors",
|
| 150 |
+
"model.language_model.layers.16.linear_attn.in_proj_a.weight": "model-00011-of-00026.safetensors",
|
| 151 |
+
"model.language_model.layers.16.linear_attn.in_proj_b.weight": "model-00011-of-00026.safetensors",
|
| 152 |
+
"model.language_model.layers.16.linear_attn.in_proj_qkv.weight": "model-00010-of-00026.safetensors",
|
| 153 |
+
"model.language_model.layers.16.linear_attn.in_proj_z.weight": "model-00010-of-00026.safetensors",
|
| 154 |
+
"model.language_model.layers.16.linear_attn.norm.weight": "model-00011-of-00026.safetensors",
|
| 155 |
+
"model.language_model.layers.16.linear_attn.out_proj.weight": "model-00010-of-00026.safetensors",
|
| 156 |
+
"model.language_model.layers.16.mlp.experts.down_proj": "model-00011-of-00026.safetensors",
|
| 157 |
+
"model.language_model.layers.16.mlp.experts.gate_up_proj": "model-00010-of-00026.safetensors",
|
| 158 |
+
"model.language_model.layers.16.mlp.gate.weight": "model-00011-of-00026.safetensors",
|
| 159 |
+
"model.language_model.layers.16.mlp.shared_expert.down_proj.weight": "model-00011-of-00026.safetensors",
|
| 160 |
+
"model.language_model.layers.16.mlp.shared_expert.gate_proj.weight": "model-00011-of-00026.safetensors",
|
| 161 |
+
"model.language_model.layers.16.mlp.shared_expert.up_proj.weight": "model-00011-of-00026.safetensors",
|
| 162 |
+
"model.language_model.layers.16.mlp.shared_expert_gate.weight": "model-00011-of-00026.safetensors",
|
| 163 |
+
"model.language_model.layers.16.post_attention_layernorm.weight": "model-00011-of-00026.safetensors",
|
| 164 |
+
"model.language_model.layers.17.input_layernorm.weight": "model-00013-of-00026.safetensors",
|
| 165 |
+
"model.language_model.layers.17.linear_attn.A_log": "model-00013-of-00026.safetensors",
|
| 166 |
+
"model.language_model.layers.17.linear_attn.conv1d.weight": "model-00013-of-00026.safetensors",
|
| 167 |
+
"model.language_model.layers.17.linear_attn.dt_bias": "model-00013-of-00026.safetensors",
|
| 168 |
+
"model.language_model.layers.17.linear_attn.in_proj_a.weight": "model-00013-of-00026.safetensors",
|
| 169 |
+
"model.language_model.layers.17.linear_attn.in_proj_b.weight": "model-00013-of-00026.safetensors",
|
| 170 |
+
"model.language_model.layers.17.linear_attn.in_proj_qkv.weight": "model-00012-of-00026.safetensors",
|
| 171 |
+
"model.language_model.layers.17.linear_attn.in_proj_z.weight": "model-00012-of-00026.safetensors",
|
| 172 |
+
"model.language_model.layers.17.linear_attn.norm.weight": "model-00013-of-00026.safetensors",
|
| 173 |
+
"model.language_model.layers.17.linear_attn.out_proj.weight": "model-00012-of-00026.safetensors",
|
| 174 |
+
"model.language_model.layers.17.mlp.experts.down_proj": "model-00012-of-00026.safetensors",
|
| 175 |
+
"model.language_model.layers.17.mlp.experts.gate_up_proj": "model-00012-of-00026.safetensors",
|
| 176 |
+
"model.language_model.layers.17.mlp.gate.weight": "model-00013-of-00026.safetensors",
|
| 177 |
+
"model.language_model.layers.17.mlp.shared_expert.down_proj.weight": "model-00013-of-00026.safetensors",
|
| 178 |
+
"model.language_model.layers.17.mlp.shared_expert.gate_proj.weight": "model-00013-of-00026.safetensors",
|
| 179 |
+
"model.language_model.layers.17.mlp.shared_expert.up_proj.weight": "model-00013-of-00026.safetensors",
|
| 180 |
+
"model.language_model.layers.17.mlp.shared_expert_gate.weight": "model-00013-of-00026.safetensors",
|
| 181 |
+
"model.language_model.layers.17.post_attention_layernorm.weight": "model-00013-of-00026.safetensors",
|
| 182 |
+
"model.language_model.layers.18.input_layernorm.weight": "model-00013-of-00026.safetensors",
|
| 183 |
+
"model.language_model.layers.18.linear_attn.A_log": "model-00013-of-00026.safetensors",
|
| 184 |
+
"model.language_model.layers.18.linear_attn.conv1d.weight": "model-00013-of-00026.safetensors",
|
| 185 |
+
"model.language_model.layers.18.linear_attn.dt_bias": "model-00013-of-00026.safetensors",
|
| 186 |
+
"model.language_model.layers.18.linear_attn.in_proj_a.weight": "model-00013-of-00026.safetensors",
|
| 187 |
+
"model.language_model.layers.18.linear_attn.in_proj_b.weight": "model-00013-of-00026.safetensors",
|
| 188 |
+
"model.language_model.layers.18.linear_attn.in_proj_qkv.weight": "model-00012-of-00026.safetensors",
|
| 189 |
+
"model.language_model.layers.18.linear_attn.in_proj_z.weight": "model-00012-of-00026.safetensors",
|
| 190 |
+
"model.language_model.layers.18.linear_attn.norm.weight": "model-00013-of-00026.safetensors",
|
| 191 |
+
"model.language_model.layers.18.linear_attn.out_proj.weight": "model-00012-of-00026.safetensors",
|
| 192 |
+
"model.language_model.layers.18.mlp.experts.down_proj": "model-00012-of-00026.safetensors",
|
| 193 |
+
"model.language_model.layers.18.mlp.experts.gate_up_proj": "model-00013-of-00026.safetensors",
|
| 194 |
+
"model.language_model.layers.18.mlp.gate.weight": "model-00013-of-00026.safetensors",
|
| 195 |
+
"model.language_model.layers.18.mlp.shared_expert.down_proj.weight": "model-00013-of-00026.safetensors",
|
| 196 |
+
"model.language_model.layers.18.mlp.shared_expert.gate_proj.weight": "model-00013-of-00026.safetensors",
|
| 197 |
+
"model.language_model.layers.18.mlp.shared_expert.up_proj.weight": "model-00013-of-00026.safetensors",
|
| 198 |
+
"model.language_model.layers.18.mlp.shared_expert_gate.weight": "model-00013-of-00026.safetensors",
|
| 199 |
+
"model.language_model.layers.18.post_attention_layernorm.weight": "model-00013-of-00026.safetensors",
|
| 200 |
+
"model.language_model.layers.19.input_layernorm.weight": "model-00013-of-00026.safetensors",
|
| 201 |
+
"model.language_model.layers.19.mlp.experts.down_proj": "model-00013-of-00026.safetensors",
|
| 202 |
+
"model.language_model.layers.19.mlp.experts.gate_up_proj": "model-00012-of-00026.safetensors",
|
| 203 |
+
"model.language_model.layers.19.mlp.gate.weight": "model-00013-of-00026.safetensors",
|
| 204 |
+
"model.language_model.layers.19.mlp.shared_expert.down_proj.weight": "model-00013-of-00026.safetensors",
|
| 205 |
+
"model.language_model.layers.19.mlp.shared_expert.gate_proj.weight": "model-00013-of-00026.safetensors",
|
| 206 |
+
"model.language_model.layers.19.mlp.shared_expert.up_proj.weight": "model-00013-of-00026.safetensors",
|
| 207 |
+
"model.language_model.layers.19.mlp.shared_expert_gate.weight": "model-00013-of-00026.safetensors",
|
| 208 |
+
"model.language_model.layers.19.post_attention_layernorm.weight": "model-00013-of-00026.safetensors",
|
| 209 |
+
"model.language_model.layers.19.self_attn.k_norm.weight": "model-00013-of-00026.safetensors",
|
| 210 |
+
"model.language_model.layers.19.self_attn.k_proj.weight": "model-00012-of-00026.safetensors",
|
| 211 |
+
"model.language_model.layers.19.self_attn.o_proj.weight": "model-00012-of-00026.safetensors",
|
| 212 |
+
"model.language_model.layers.19.self_attn.q_norm.weight": "model-00013-of-00026.safetensors",
|
| 213 |
+
"model.language_model.layers.19.self_attn.q_proj.weight": "model-00012-of-00026.safetensors",
|
| 214 |
+
"model.language_model.layers.19.self_attn.v_proj.weight": "model-00012-of-00026.safetensors",
|
| 215 |
+
"model.language_model.layers.2.input_layernorm.weight": "model-00003-of-00026.safetensors",
|
| 216 |
+
"model.language_model.layers.2.linear_attn.A_log": "model-00003-of-00026.safetensors",
|
| 217 |
+
"model.language_model.layers.2.linear_attn.conv1d.weight": "model-00003-of-00026.safetensors",
|
| 218 |
+
"model.language_model.layers.2.linear_attn.dt_bias": "model-00003-of-00026.safetensors",
|
| 219 |
+
"model.language_model.layers.2.linear_attn.in_proj_a.weight": "model-00003-of-00026.safetensors",
|
| 220 |
+
"model.language_model.layers.2.linear_attn.in_proj_b.weight": "model-00003-of-00026.safetensors",
|
| 221 |
+
"model.language_model.layers.2.linear_attn.in_proj_qkv.weight": "model-00003-of-00026.safetensors",
|
| 222 |
+
"model.language_model.layers.2.linear_attn.in_proj_z.weight": "model-00003-of-00026.safetensors",
|
| 223 |
+
"model.language_model.layers.2.linear_attn.norm.weight": "model-00003-of-00026.safetensors",
|
| 224 |
+
"model.language_model.layers.2.linear_attn.out_proj.weight": "model-00003-of-00026.safetensors",
|
| 225 |
+
"model.language_model.layers.2.mlp.experts.down_proj": "model-00003-of-00026.safetensors",
|
| 226 |
+
"model.language_model.layers.2.mlp.experts.gate_up_proj": "model-00003-of-00026.safetensors",
|
| 227 |
+
"model.language_model.layers.2.mlp.gate.weight": "model-00003-of-00026.safetensors",
|
| 228 |
+
"model.language_model.layers.2.mlp.shared_expert.down_proj.weight": "model-00003-of-00026.safetensors",
|
| 229 |
+
"model.language_model.layers.2.mlp.shared_expert.gate_proj.weight": "model-00003-of-00026.safetensors",
|
| 230 |
+
"model.language_model.layers.2.mlp.shared_expert.up_proj.weight": "model-00003-of-00026.safetensors",
|
| 231 |
+
"model.language_model.layers.2.mlp.shared_expert_gate.weight": "model-00003-of-00026.safetensors",
|
| 232 |
+
"model.language_model.layers.2.post_attention_layernorm.weight": "model-00003-of-00026.safetensors",
|
| 233 |
+
"model.language_model.layers.20.input_layernorm.weight": "model-00015-of-00026.safetensors",
|
| 234 |
+
"model.language_model.layers.20.linear_attn.A_log": "model-00015-of-00026.safetensors",
|
| 235 |
+
"model.language_model.layers.20.linear_attn.conv1d.weight": "model-00015-of-00026.safetensors",
|
| 236 |
+
"model.language_model.layers.20.linear_attn.dt_bias": "model-00015-of-00026.safetensors",
|
| 237 |
+
"model.language_model.layers.20.linear_attn.in_proj_a.weight": "model-00015-of-00026.safetensors",
|
| 238 |
+
"model.language_model.layers.20.linear_attn.in_proj_b.weight": "model-00015-of-00026.safetensors",
|
| 239 |
+
"model.language_model.layers.20.linear_attn.in_proj_qkv.weight": "model-00014-of-00026.safetensors",
|
| 240 |
+
"model.language_model.layers.20.linear_attn.in_proj_z.weight": "model-00014-of-00026.safetensors",
|
| 241 |
+
"model.language_model.layers.20.linear_attn.norm.weight": "model-00015-of-00026.safetensors",
|
| 242 |
+
"model.language_model.layers.20.linear_attn.out_proj.weight": "model-00014-of-00026.safetensors",
|
| 243 |
+
"model.language_model.layers.20.mlp.experts.down_proj": "model-00014-of-00026.safetensors",
|
| 244 |
+
"model.language_model.layers.20.mlp.experts.gate_up_proj": "model-00014-of-00026.safetensors",
|
| 245 |
+
"model.language_model.layers.20.mlp.gate.weight": "model-00015-of-00026.safetensors",
|
| 246 |
+
"model.language_model.layers.20.mlp.shared_expert.down_proj.weight": "model-00015-of-00026.safetensors",
|
| 247 |
+
"model.language_model.layers.20.mlp.shared_expert.gate_proj.weight": "model-00015-of-00026.safetensors",
|
| 248 |
+
"model.language_model.layers.20.mlp.shared_expert.up_proj.weight": "model-00015-of-00026.safetensors",
|
| 249 |
+
"model.language_model.layers.20.mlp.shared_expert_gate.weight": "model-00015-of-00026.safetensors",
|
| 250 |
+
"model.language_model.layers.20.post_attention_layernorm.weight": "model-00015-of-00026.safetensors",
|
| 251 |
+
"model.language_model.layers.21.input_layernorm.weight": "model-00015-of-00026.safetensors",
|
| 252 |
+
"model.language_model.layers.21.linear_attn.A_log": "model-00015-of-00026.safetensors",
|
| 253 |
+
"model.language_model.layers.21.linear_attn.conv1d.weight": "model-00015-of-00026.safetensors",
|
| 254 |
+
"model.language_model.layers.21.linear_attn.dt_bias": "model-00015-of-00026.safetensors",
|
| 255 |
+
"model.language_model.layers.21.linear_attn.in_proj_a.weight": "model-00015-of-00026.safetensors",
|
| 256 |
+
"model.language_model.layers.21.linear_attn.in_proj_b.weight": "model-00015-of-00026.safetensors",
|
| 257 |
+
"model.language_model.layers.21.linear_attn.in_proj_qkv.weight": "model-00014-of-00026.safetensors",
|
| 258 |
+
"model.language_model.layers.21.linear_attn.in_proj_z.weight": "model-00014-of-00026.safetensors",
|
| 259 |
+
"model.language_model.layers.21.linear_attn.norm.weight": "model-00015-of-00026.safetensors",
|
| 260 |
+
"model.language_model.layers.21.linear_attn.out_proj.weight": "model-00014-of-00026.safetensors",
|
| 261 |
+
"model.language_model.layers.21.mlp.experts.down_proj": "model-00014-of-00026.safetensors",
|
| 262 |
+
"model.language_model.layers.21.mlp.experts.gate_up_proj": "model-00015-of-00026.safetensors",
|
| 263 |
+
"model.language_model.layers.21.mlp.gate.weight": "model-00015-of-00026.safetensors",
|
| 264 |
+
"model.language_model.layers.21.mlp.shared_expert.down_proj.weight": "model-00015-of-00026.safetensors",
|
| 265 |
+
"model.language_model.layers.21.mlp.shared_expert.gate_proj.weight": "model-00015-of-00026.safetensors",
|
| 266 |
+
"model.language_model.layers.21.mlp.shared_expert.up_proj.weight": "model-00015-of-00026.safetensors",
|
| 267 |
+
"model.language_model.layers.21.mlp.shared_expert_gate.weight": "model-00015-of-00026.safetensors",
|
| 268 |
+
"model.language_model.layers.21.post_attention_layernorm.weight": "model-00015-of-00026.safetensors",
|
| 269 |
+
"model.language_model.layers.22.input_layernorm.weight": "model-00015-of-00026.safetensors",
|
| 270 |
+
"model.language_model.layers.22.linear_attn.A_log": "model-00015-of-00026.safetensors",
|
| 271 |
+
"model.language_model.layers.22.linear_attn.conv1d.weight": "model-00015-of-00026.safetensors",
|
| 272 |
+
"model.language_model.layers.22.linear_attn.dt_bias": "model-00015-of-00026.safetensors",
|
| 273 |
+
"model.language_model.layers.22.linear_attn.in_proj_a.weight": "model-00015-of-00026.safetensors",
|
| 274 |
+
"model.language_model.layers.22.linear_attn.in_proj_b.weight": "model-00015-of-00026.safetensors",
|
| 275 |
+
"model.language_model.layers.22.linear_attn.in_proj_qkv.weight": "model-00014-of-00026.safetensors",
|
| 276 |
+
"model.language_model.layers.22.linear_attn.in_proj_z.weight": "model-00014-of-00026.safetensors",
|
| 277 |
+
"model.language_model.layers.22.linear_attn.norm.weight": "model-00015-of-00026.safetensors",
|
| 278 |
+
"model.language_model.layers.22.linear_attn.out_proj.weight": "model-00014-of-00026.safetensors",
|
| 279 |
+
"model.language_model.layers.22.mlp.experts.down_proj": "model-00015-of-00026.safetensors",
|
| 280 |
+
"model.language_model.layers.22.mlp.experts.gate_up_proj": "model-00014-of-00026.safetensors",
|
| 281 |
+
"model.language_model.layers.22.mlp.gate.weight": "model-00015-of-00026.safetensors",
|
| 282 |
+
"model.language_model.layers.22.mlp.shared_expert.down_proj.weight": "model-00015-of-00026.safetensors",
|
| 283 |
+
"model.language_model.layers.22.mlp.shared_expert.gate_proj.weight": "model-00015-of-00026.safetensors",
|
| 284 |
+
"model.language_model.layers.22.mlp.shared_expert.up_proj.weight": "model-00015-of-00026.safetensors",
|
| 285 |
+
"model.language_model.layers.22.mlp.shared_expert_gate.weight": "model-00015-of-00026.safetensors",
|
| 286 |
+
"model.language_model.layers.22.post_attention_layernorm.weight": "model-00015-of-00026.safetensors",
|
| 287 |
+
"model.language_model.layers.23.input_layernorm.weight": "model-00017-of-00026.safetensors",
|
| 288 |
+
"model.language_model.layers.23.mlp.experts.down_proj": "model-00016-of-00026.safetensors",
|
| 289 |
+
"model.language_model.layers.23.mlp.experts.gate_up_proj": "model-00016-of-00026.safetensors",
|
| 290 |
+
"model.language_model.layers.23.mlp.gate.weight": "model-00017-of-00026.safetensors",
|
| 291 |
+
"model.language_model.layers.23.mlp.shared_expert.down_proj.weight": "model-00017-of-00026.safetensors",
|
| 292 |
+
"model.language_model.layers.23.mlp.shared_expert.gate_proj.weight": "model-00017-of-00026.safetensors",
|
| 293 |
+
"model.language_model.layers.23.mlp.shared_expert.up_proj.weight": "model-00017-of-00026.safetensors",
|
| 294 |
+
"model.language_model.layers.23.mlp.shared_expert_gate.weight": "model-00017-of-00026.safetensors",
|
| 295 |
+
"model.language_model.layers.23.post_attention_layernorm.weight": "model-00017-of-00026.safetensors",
|
| 296 |
+
"model.language_model.layers.23.self_attn.k_norm.weight": "model-00017-of-00026.safetensors",
|
| 297 |
+
"model.language_model.layers.23.self_attn.k_proj.weight": "model-00016-of-00026.safetensors",
|
| 298 |
+
"model.language_model.layers.23.self_attn.o_proj.weight": "model-00016-of-00026.safetensors",
|
| 299 |
+
"model.language_model.layers.23.self_attn.q_norm.weight": "model-00017-of-00026.safetensors",
|
| 300 |
+
"model.language_model.layers.23.self_attn.q_proj.weight": "model-00016-of-00026.safetensors",
|
| 301 |
+
"model.language_model.layers.23.self_attn.v_proj.weight": "model-00016-of-00026.safetensors",
|
| 302 |
+
"model.language_model.layers.24.input_layernorm.weight": "model-00017-of-00026.safetensors",
|
| 303 |
+
"model.language_model.layers.24.linear_attn.A_log": "model-00017-of-00026.safetensors",
|
| 304 |
+
"model.language_model.layers.24.linear_attn.conv1d.weight": "model-00017-of-00026.safetensors",
|
| 305 |
+
"model.language_model.layers.24.linear_attn.dt_bias": "model-00017-of-00026.safetensors",
|
| 306 |
+
"model.language_model.layers.24.linear_attn.in_proj_a.weight": "model-00017-of-00026.safetensors",
|
| 307 |
+
"model.language_model.layers.24.linear_attn.in_proj_b.weight": "model-00017-of-00026.safetensors",
|
| 308 |
+
"model.language_model.layers.24.linear_attn.in_proj_qkv.weight": "model-00016-of-00026.safetensors",
|
| 309 |
+
"model.language_model.layers.24.linear_attn.in_proj_z.weight": "model-00016-of-00026.safetensors",
|
| 310 |
+
"model.language_model.layers.24.linear_attn.norm.weight": "model-00017-of-00026.safetensors",
|
| 311 |
+
"model.language_model.layers.24.linear_attn.out_proj.weight": "model-00016-of-00026.safetensors",
|
| 312 |
+
"model.language_model.layers.24.mlp.experts.down_proj": "model-00016-of-00026.safetensors",
|
| 313 |
+
"model.language_model.layers.24.mlp.experts.gate_up_proj": "model-00016-of-00026.safetensors",
|
| 314 |
+
"model.language_model.layers.24.mlp.gate.weight": "model-00017-of-00026.safetensors",
|
| 315 |
+
"model.language_model.layers.24.mlp.shared_expert.down_proj.weight": "model-00017-of-00026.safetensors",
|
| 316 |
+
"model.language_model.layers.24.mlp.shared_expert.gate_proj.weight": "model-00017-of-00026.safetensors",
|
| 317 |
+
"model.language_model.layers.24.mlp.shared_expert.up_proj.weight": "model-00017-of-00026.safetensors",
|
| 318 |
+
"model.language_model.layers.24.mlp.shared_expert_gate.weight": "model-00017-of-00026.safetensors",
|
| 319 |
+
"model.language_model.layers.24.post_attention_layernorm.weight": "model-00017-of-00026.safetensors",
|
| 320 |
+
"model.language_model.layers.25.input_layernorm.weight": "model-00017-of-00026.safetensors",
|
| 321 |
+
"model.language_model.layers.25.linear_attn.A_log": "model-00017-of-00026.safetensors",
|
| 322 |
+
"model.language_model.layers.25.linear_attn.conv1d.weight": "model-00017-of-00026.safetensors",
|
| 323 |
+
"model.language_model.layers.25.linear_attn.dt_bias": "model-00017-of-00026.safetensors",
|
| 324 |
+
"model.language_model.layers.25.linear_attn.in_proj_a.weight": "model-00017-of-00026.safetensors",
|
| 325 |
+
"model.language_model.layers.25.linear_attn.in_proj_b.weight": "model-00017-of-00026.safetensors",
|
| 326 |
+
"model.language_model.layers.25.linear_attn.in_proj_qkv.weight": "model-00016-of-00026.safetensors",
|
| 327 |
+
"model.language_model.layers.25.linear_attn.in_proj_z.weight": "model-00016-of-00026.safetensors",
|
| 328 |
+
"model.language_model.layers.25.linear_attn.norm.weight": "model-00017-of-00026.safetensors",
|
| 329 |
+
"model.language_model.layers.25.linear_attn.out_proj.weight": "model-00016-of-00026.safetensors",
|
| 330 |
+
"model.language_model.layers.25.mlp.experts.down_proj": "model-00016-of-00026.safetensors",
|
| 331 |
+
"model.language_model.layers.25.mlp.experts.gate_up_proj": "model-00017-of-00026.safetensors",
|
| 332 |
+
"model.language_model.layers.25.mlp.gate.weight": "model-00017-of-00026.safetensors",
|
| 333 |
+
"model.language_model.layers.25.mlp.shared_expert.down_proj.weight": "model-00017-of-00026.safetensors",
|
| 334 |
+
"model.language_model.layers.25.mlp.shared_expert.gate_proj.weight": "model-00017-of-00026.safetensors",
|
| 335 |
+
"model.language_model.layers.25.mlp.shared_expert.up_proj.weight": "model-00017-of-00026.safetensors",
|
| 336 |
+
"model.language_model.layers.25.mlp.shared_expert_gate.weight": "model-00017-of-00026.safetensors",
|
| 337 |
+
"model.language_model.layers.25.post_attention_layernorm.weight": "model-00017-of-00026.safetensors",
|
| 338 |
+
"model.language_model.layers.26.input_layernorm.weight": "model-00019-of-00026.safetensors",
|
| 339 |
+
"model.language_model.layers.26.linear_attn.A_log": "model-00019-of-00026.safetensors",
|
| 340 |
+
"model.language_model.layers.26.linear_attn.conv1d.weight": "model-00019-of-00026.safetensors",
|
| 341 |
+
"model.language_model.layers.26.linear_attn.dt_bias": "model-00019-of-00026.safetensors",
|
| 342 |
+
"model.language_model.layers.26.linear_attn.in_proj_a.weight": "model-00019-of-00026.safetensors",
|
| 343 |
+
"model.language_model.layers.26.linear_attn.in_proj_b.weight": "model-00019-of-00026.safetensors",
|
| 344 |
+
"model.language_model.layers.26.linear_attn.in_proj_qkv.weight": "model-00018-of-00026.safetensors",
|
| 345 |
+
"model.language_model.layers.26.linear_attn.in_proj_z.weight": "model-00018-of-00026.safetensors",
|
| 346 |
+
"model.language_model.layers.26.linear_attn.norm.weight": "model-00019-of-00026.safetensors",
|
| 347 |
+
"model.language_model.layers.26.linear_attn.out_proj.weight": "model-00018-of-00026.safetensors",
|
| 348 |
+
"model.language_model.layers.26.mlp.experts.down_proj": "model-00019-of-00026.safetensors",
|
| 349 |
+
"model.language_model.layers.26.mlp.experts.gate_up_proj": "model-00018-of-00026.safetensors",
|
| 350 |
+
"model.language_model.layers.26.mlp.gate.weight": "model-00019-of-00026.safetensors",
|
| 351 |
+
"model.language_model.layers.26.mlp.shared_expert.down_proj.weight": "model-00019-of-00026.safetensors",
|
| 352 |
+
"model.language_model.layers.26.mlp.shared_expert.gate_proj.weight": "model-00019-of-00026.safetensors",
|
| 353 |
+
"model.language_model.layers.26.mlp.shared_expert.up_proj.weight": "model-00019-of-00026.safetensors",
|
| 354 |
+
"model.language_model.layers.26.mlp.shared_expert_gate.weight": "model-00019-of-00026.safetensors",
|
| 355 |
+
"model.language_model.layers.26.post_attention_layernorm.weight": "model-00019-of-00026.safetensors",
|
| 356 |
+
"model.language_model.layers.27.input_layernorm.weight": "model-00019-of-00026.safetensors",
|
| 357 |
+
"model.language_model.layers.27.mlp.experts.down_proj": "model-00019-of-00026.safetensors",
|
| 358 |
+
"model.language_model.layers.27.mlp.experts.gate_up_proj": "model-00018-of-00026.safetensors",
|
| 359 |
+
"model.language_model.layers.27.mlp.gate.weight": "model-00019-of-00026.safetensors",
|
| 360 |
+
"model.language_model.layers.27.mlp.shared_expert.down_proj.weight": "model-00019-of-00026.safetensors",
|
| 361 |
+
"model.language_model.layers.27.mlp.shared_expert.gate_proj.weight": "model-00019-of-00026.safetensors",
|
| 362 |
+
"model.language_model.layers.27.mlp.shared_expert.up_proj.weight": "model-00019-of-00026.safetensors",
|
| 363 |
+
"model.language_model.layers.27.mlp.shared_expert_gate.weight": "model-00019-of-00026.safetensors",
|
| 364 |
+
"model.language_model.layers.27.post_attention_layernorm.weight": "model-00019-of-00026.safetensors",
|
| 365 |
+
"model.language_model.layers.27.self_attn.k_norm.weight": "model-00019-of-00026.safetensors",
|
| 366 |
+
"model.language_model.layers.27.self_attn.k_proj.weight": "model-00018-of-00026.safetensors",
|
| 367 |
+
"model.language_model.layers.27.self_attn.o_proj.weight": "model-00018-of-00026.safetensors",
|
| 368 |
+
"model.language_model.layers.27.self_attn.q_norm.weight": "model-00019-of-00026.safetensors",
|
| 369 |
+
"model.language_model.layers.27.self_attn.q_proj.weight": "model-00018-of-00026.safetensors",
|
| 370 |
+
"model.language_model.layers.27.self_attn.v_proj.weight": "model-00018-of-00026.safetensors",
|
| 371 |
+
"model.language_model.layers.28.input_layernorm.weight": "model-00019-of-00026.safetensors",
|
| 372 |
+
"model.language_model.layers.28.linear_attn.A_log": "model-00019-of-00026.safetensors",
|
| 373 |
+
"model.language_model.layers.28.linear_attn.conv1d.weight": "model-00019-of-00026.safetensors",
|
| 374 |
+
"model.language_model.layers.28.linear_attn.dt_bias": "model-00019-of-00026.safetensors",
|
| 375 |
+
"model.language_model.layers.28.linear_attn.in_proj_a.weight": "model-00019-of-00026.safetensors",
|
| 376 |
+
"model.language_model.layers.28.linear_attn.in_proj_b.weight": "model-00019-of-00026.safetensors",
|
| 377 |
+
"model.language_model.layers.28.linear_attn.in_proj_qkv.weight": "model-00018-of-00026.safetensors",
|
| 378 |
+
"model.language_model.layers.28.linear_attn.in_proj_z.weight": "model-00018-of-00026.safetensors",
|
| 379 |
+
"model.language_model.layers.28.linear_attn.norm.weight": "model-00019-of-00026.safetensors",
|
| 380 |
+
"model.language_model.layers.28.linear_attn.out_proj.weight": "model-00018-of-00026.safetensors",
|
| 381 |
+
"model.language_model.layers.28.mlp.experts.down_proj": "model-00018-of-00026.safetensors",
|
| 382 |
+
"model.language_model.layers.28.mlp.experts.gate_up_proj": "model-00018-of-00026.safetensors",
|
| 383 |
+
"model.language_model.layers.28.mlp.gate.weight": "model-00019-of-00026.safetensors",
|
| 384 |
+
"model.language_model.layers.28.mlp.shared_expert.down_proj.weight": "model-00019-of-00026.safetensors",
|
| 385 |
+
"model.language_model.layers.28.mlp.shared_expert.gate_proj.weight": "model-00019-of-00026.safetensors",
|
| 386 |
+
"model.language_model.layers.28.mlp.shared_expert.up_proj.weight": "model-00019-of-00026.safetensors",
|
| 387 |
+
"model.language_model.layers.28.mlp.shared_expert_gate.weight": "model-00019-of-00026.safetensors",
|
| 388 |
+
"model.language_model.layers.28.post_attention_layernorm.weight": "model-00019-of-00026.safetensors",
|
| 389 |
+
"model.language_model.layers.29.input_layernorm.weight": "model-00021-of-00026.safetensors",
|
| 390 |
+
"model.language_model.layers.29.linear_attn.A_log": "model-00021-of-00026.safetensors",
|
| 391 |
+
"model.language_model.layers.29.linear_attn.conv1d.weight": "model-00021-of-00026.safetensors",
|
| 392 |
+
"model.language_model.layers.29.linear_attn.dt_bias": "model-00021-of-00026.safetensors",
|
| 393 |
+
"model.language_model.layers.29.linear_attn.in_proj_a.weight": "model-00021-of-00026.safetensors",
|
| 394 |
+
"model.language_model.layers.29.linear_attn.in_proj_b.weight": "model-00021-of-00026.safetensors",
|
| 395 |
+
"model.language_model.layers.29.linear_attn.in_proj_qkv.weight": "model-00020-of-00026.safetensors",
|
| 396 |
+
"model.language_model.layers.29.linear_attn.in_proj_z.weight": "model-00020-of-00026.safetensors",
|
| 397 |
+
"model.language_model.layers.29.linear_attn.norm.weight": "model-00021-of-00026.safetensors",
|
| 398 |
+
"model.language_model.layers.29.linear_attn.out_proj.weight": "model-00020-of-00026.safetensors",
|
| 399 |
+
"model.language_model.layers.29.mlp.experts.down_proj": "model-00020-of-00026.safetensors",
|
| 400 |
+
"model.language_model.layers.29.mlp.experts.gate_up_proj": "model-00021-of-00026.safetensors",
|
| 401 |
+
"model.language_model.layers.29.mlp.gate.weight": "model-00021-of-00026.safetensors",
|
| 402 |
+
"model.language_model.layers.29.mlp.shared_expert.down_proj.weight": "model-00021-of-00026.safetensors",
|
| 403 |
+
"model.language_model.layers.29.mlp.shared_expert.gate_proj.weight": "model-00021-of-00026.safetensors",
|
| 404 |
+
"model.language_model.layers.29.mlp.shared_expert.up_proj.weight": "model-00021-of-00026.safetensors",
|
| 405 |
+
"model.language_model.layers.29.mlp.shared_expert_gate.weight": "model-00021-of-00026.safetensors",
|
| 406 |
+
"model.language_model.layers.29.post_attention_layernorm.weight": "model-00021-of-00026.safetensors",
|
| 407 |
+
"model.language_model.layers.3.input_layernorm.weight": "model-00003-of-00026.safetensors",
|
| 408 |
+
"model.language_model.layers.3.mlp.experts.down_proj": "model-00003-of-00026.safetensors",
|
| 409 |
+
"model.language_model.layers.3.mlp.experts.gate_up_proj": "model-00003-of-00026.safetensors",
|
| 410 |
+
"model.language_model.layers.3.mlp.gate.weight": "model-00003-of-00026.safetensors",
|
| 411 |
+
"model.language_model.layers.3.mlp.shared_expert.down_proj.weight": "model-00003-of-00026.safetensors",
|
| 412 |
+
"model.language_model.layers.3.mlp.shared_expert.gate_proj.weight": "model-00003-of-00026.safetensors",
|
| 413 |
+
"model.language_model.layers.3.mlp.shared_expert.up_proj.weight": "model-00003-of-00026.safetensors",
|
| 414 |
+
"model.language_model.layers.3.mlp.shared_expert_gate.weight": "model-00003-of-00026.safetensors",
|
| 415 |
+
"model.language_model.layers.3.post_attention_layernorm.weight": "model-00003-of-00026.safetensors",
|
| 416 |
+
"model.language_model.layers.3.self_attn.k_norm.weight": "model-00003-of-00026.safetensors",
|
| 417 |
+
"model.language_model.layers.3.self_attn.k_proj.weight": "model-00003-of-00026.safetensors",
|
| 418 |
+
"model.language_model.layers.3.self_attn.o_proj.weight": "model-00003-of-00026.safetensors",
|
| 419 |
+
"model.language_model.layers.3.self_attn.q_norm.weight": "model-00003-of-00026.safetensors",
|
| 420 |
+
"model.language_model.layers.3.self_attn.q_proj.weight": "model-00003-of-00026.safetensors",
|
| 421 |
+
"model.language_model.layers.3.self_attn.v_proj.weight": "model-00003-of-00026.safetensors",
|
| 422 |
+
"model.language_model.layers.30.input_layernorm.weight": "model-00021-of-00026.safetensors",
|
| 423 |
+
"model.language_model.layers.30.linear_attn.A_log": "model-00021-of-00026.safetensors",
|
| 424 |
+
"model.language_model.layers.30.linear_attn.conv1d.weight": "model-00021-of-00026.safetensors",
|
| 425 |
+
"model.language_model.layers.30.linear_attn.dt_bias": "model-00021-of-00026.safetensors",
|
| 426 |
+
"model.language_model.layers.30.linear_attn.in_proj_a.weight": "model-00021-of-00026.safetensors",
|
| 427 |
+
"model.language_model.layers.30.linear_attn.in_proj_b.weight": "model-00021-of-00026.safetensors",
|
| 428 |
+
"model.language_model.layers.30.linear_attn.in_proj_qkv.weight": "model-00020-of-00026.safetensors",
|
| 429 |
+
"model.language_model.layers.30.linear_attn.in_proj_z.weight": "model-00020-of-00026.safetensors",
|
| 430 |
+
"model.language_model.layers.30.linear_attn.norm.weight": "model-00021-of-00026.safetensors",
|
| 431 |
+
"model.language_model.layers.30.linear_attn.out_proj.weight": "model-00020-of-00026.safetensors",
|
| 432 |
+
"model.language_model.layers.30.mlp.experts.down_proj": "model-00021-of-00026.safetensors",
|
| 433 |
+
"model.language_model.layers.30.mlp.experts.gate_up_proj": "model-00020-of-00026.safetensors",
|
| 434 |
+
"model.language_model.layers.30.mlp.gate.weight": "model-00021-of-00026.safetensors",
|
| 435 |
+
"model.language_model.layers.30.mlp.shared_expert.down_proj.weight": "model-00021-of-00026.safetensors",
|
| 436 |
+
"model.language_model.layers.30.mlp.shared_expert.gate_proj.weight": "model-00021-of-00026.safetensors",
|
| 437 |
+
"model.language_model.layers.30.mlp.shared_expert.up_proj.weight": "model-00021-of-00026.safetensors",
|
| 438 |
+
"model.language_model.layers.30.mlp.shared_expert_gate.weight": "model-00021-of-00026.safetensors",
|
| 439 |
+
"model.language_model.layers.30.post_attention_layernorm.weight": "model-00021-of-00026.safetensors",
|
| 440 |
+
"model.language_model.layers.31.input_layernorm.weight": "model-00021-of-00026.safetensors",
|
| 441 |
+
"model.language_model.layers.31.mlp.experts.down_proj": "model-00020-of-00026.safetensors",
|
| 442 |
+
"model.language_model.layers.31.mlp.experts.gate_up_proj": "model-00020-of-00026.safetensors",
|
| 443 |
+
"model.language_model.layers.31.mlp.gate.weight": "model-00021-of-00026.safetensors",
|
| 444 |
+
"model.language_model.layers.31.mlp.shared_expert.down_proj.weight": "model-00021-of-00026.safetensors",
|
| 445 |
+
"model.language_model.layers.31.mlp.shared_expert.gate_proj.weight": "model-00021-of-00026.safetensors",
|
| 446 |
+
"model.language_model.layers.31.mlp.shared_expert.up_proj.weight": "model-00021-of-00026.safetensors",
|
| 447 |
+
"model.language_model.layers.31.mlp.shared_expert_gate.weight": "model-00021-of-00026.safetensors",
|
| 448 |
+
"model.language_model.layers.31.post_attention_layernorm.weight": "model-00021-of-00026.safetensors",
|
| 449 |
+
"model.language_model.layers.31.self_attn.k_norm.weight": "model-00021-of-00026.safetensors",
|
| 450 |
+
"model.language_model.layers.31.self_attn.k_proj.weight": "model-00020-of-00026.safetensors",
|
| 451 |
+
"model.language_model.layers.31.self_attn.o_proj.weight": "model-00020-of-00026.safetensors",
|
| 452 |
+
"model.language_model.layers.31.self_attn.q_norm.weight": "model-00021-of-00026.safetensors",
|
| 453 |
+
"model.language_model.layers.31.self_attn.q_proj.weight": "model-00020-of-00026.safetensors",
|
| 454 |
+
"model.language_model.layers.31.self_attn.v_proj.weight": "model-00020-of-00026.safetensors",
|
| 455 |
+
"model.language_model.layers.32.input_layernorm.weight": "model-00022-of-00026.safetensors",
|
| 456 |
+
"model.language_model.layers.32.linear_attn.A_log": "model-00022-of-00026.safetensors",
|
| 457 |
+
"model.language_model.layers.32.linear_attn.conv1d.weight": "model-00022-of-00026.safetensors",
|
| 458 |
+
"model.language_model.layers.32.linear_attn.dt_bias": "model-00022-of-00026.safetensors",
|
| 459 |
+
"model.language_model.layers.32.linear_attn.in_proj_a.weight": "model-00022-of-00026.safetensors",
|
| 460 |
+
"model.language_model.layers.32.linear_attn.in_proj_b.weight": "model-00022-of-00026.safetensors",
|
| 461 |
+
"model.language_model.layers.32.linear_attn.in_proj_qkv.weight": "model-00022-of-00026.safetensors",
|
| 462 |
+
"model.language_model.layers.32.linear_attn.in_proj_z.weight": "model-00022-of-00026.safetensors",
|
| 463 |
+
"model.language_model.layers.32.linear_attn.norm.weight": "model-00022-of-00026.safetensors",
|
| 464 |
+
"model.language_model.layers.32.linear_attn.out_proj.weight": "model-00022-of-00026.safetensors",
|
| 465 |
+
"model.language_model.layers.32.mlp.experts.down_proj": "model-00022-of-00026.safetensors",
|
| 466 |
+
"model.language_model.layers.32.mlp.experts.gate_up_proj": "model-00022-of-00026.safetensors",
|
| 467 |
+
"model.language_model.layers.32.mlp.gate.weight": "model-00022-of-00026.safetensors",
|
| 468 |
+
"model.language_model.layers.32.mlp.shared_expert.down_proj.weight": "model-00022-of-00026.safetensors",
|
| 469 |
+
"model.language_model.layers.32.mlp.shared_expert.gate_proj.weight": "model-00022-of-00026.safetensors",
|
| 470 |
+
"model.language_model.layers.32.mlp.shared_expert.up_proj.weight": "model-00022-of-00026.safetensors",
|
| 471 |
+
"model.language_model.layers.32.mlp.shared_expert_gate.weight": "model-00022-of-00026.safetensors",
|
| 472 |
+
"model.language_model.layers.32.post_attention_layernorm.weight": "model-00022-of-00026.safetensors",
|
| 473 |
+
"model.language_model.layers.33.input_layernorm.weight": "model-00022-of-00026.safetensors",
|
| 474 |
+
"model.language_model.layers.33.linear_attn.A_log": "model-00022-of-00026.safetensors",
|
| 475 |
+
"model.language_model.layers.33.linear_attn.conv1d.weight": "model-00022-of-00026.safetensors",
|
| 476 |
+
"model.language_model.layers.33.linear_attn.dt_bias": "model-00022-of-00026.safetensors",
|
| 477 |
+
"model.language_model.layers.33.linear_attn.in_proj_a.weight": "model-00022-of-00026.safetensors",
|
| 478 |
+
"model.language_model.layers.33.linear_attn.in_proj_b.weight": "model-00022-of-00026.safetensors",
|
| 479 |
+
"model.language_model.layers.33.linear_attn.in_proj_qkv.weight": "model-00022-of-00026.safetensors",
|
| 480 |
+
"model.language_model.layers.33.linear_attn.in_proj_z.weight": "model-00022-of-00026.safetensors",
|
| 481 |
+
"model.language_model.layers.33.linear_attn.norm.weight": "model-00022-of-00026.safetensors",
|
| 482 |
+
"model.language_model.layers.33.linear_attn.out_proj.weight": "model-00022-of-00026.safetensors",
|
| 483 |
+
"model.language_model.layers.33.mlp.experts.down_proj": "model-00022-of-00026.safetensors",
|
| 484 |
+
"model.language_model.layers.33.mlp.experts.gate_up_proj": "model-00022-of-00026.safetensors",
|
| 485 |
+
"model.language_model.layers.33.mlp.gate.weight": "model-00022-of-00026.safetensors",
|
| 486 |
+
"model.language_model.layers.33.mlp.shared_expert.down_proj.weight": "model-00022-of-00026.safetensors",
|
| 487 |
+
"model.language_model.layers.33.mlp.shared_expert.gate_proj.weight": "model-00022-of-00026.safetensors",
|
| 488 |
+
"model.language_model.layers.33.mlp.shared_expert.up_proj.weight": "model-00022-of-00026.safetensors",
|
| 489 |
+
"model.language_model.layers.33.mlp.shared_expert_gate.weight": "model-00022-of-00026.safetensors",
|
| 490 |
+
"model.language_model.layers.33.post_attention_layernorm.weight": "model-00022-of-00026.safetensors",
|
| 491 |
+
"model.language_model.layers.34.input_layernorm.weight": "model-00023-of-00026.safetensors",
|
| 492 |
+
"model.language_model.layers.34.linear_attn.A_log": "model-00023-of-00026.safetensors",
|
| 493 |
+
"model.language_model.layers.34.linear_attn.conv1d.weight": "model-00023-of-00026.safetensors",
|
| 494 |
+
"model.language_model.layers.34.linear_attn.dt_bias": "model-00023-of-00026.safetensors",
|
| 495 |
+
"model.language_model.layers.34.linear_attn.in_proj_a.weight": "model-00023-of-00026.safetensors",
|
| 496 |
+
"model.language_model.layers.34.linear_attn.in_proj_b.weight": "model-00023-of-00026.safetensors",
|
| 497 |
+
"model.language_model.layers.34.linear_attn.in_proj_qkv.weight": "model-00023-of-00026.safetensors",
|
| 498 |
+
"model.language_model.layers.34.linear_attn.in_proj_z.weight": "model-00023-of-00026.safetensors",
|
| 499 |
+
"model.language_model.layers.34.linear_attn.norm.weight": "model-00023-of-00026.safetensors",
|
| 500 |
+
"model.language_model.layers.34.linear_attn.out_proj.weight": "model-00023-of-00026.safetensors",
|
| 501 |
+
"model.language_model.layers.34.mlp.experts.down_proj": "model-00023-of-00026.safetensors",
|
| 502 |
+
"model.language_model.layers.34.mlp.experts.gate_up_proj": "model-00023-of-00026.safetensors",
|
| 503 |
+
"model.language_model.layers.34.mlp.gate.weight": "model-00023-of-00026.safetensors",
|
| 504 |
+
"model.language_model.layers.34.mlp.shared_expert.down_proj.weight": "model-00023-of-00026.safetensors",
|
| 505 |
+
"model.language_model.layers.34.mlp.shared_expert.gate_proj.weight": "model-00023-of-00026.safetensors",
|
| 506 |
+
"model.language_model.layers.34.mlp.shared_expert.up_proj.weight": "model-00023-of-00026.safetensors",
|
| 507 |
+
"model.language_model.layers.34.mlp.shared_expert_gate.weight": "model-00023-of-00026.safetensors",
|
| 508 |
+
"model.language_model.layers.34.post_attention_layernorm.weight": "model-00023-of-00026.safetensors",
|
| 509 |
+
"model.language_model.layers.35.input_layernorm.weight": "model-00023-of-00026.safetensors",
|
| 510 |
+
"model.language_model.layers.35.mlp.experts.down_proj": "model-00023-of-00026.safetensors",
|
| 511 |
+
"model.language_model.layers.35.mlp.experts.gate_up_proj": "model-00023-of-00026.safetensors",
|
| 512 |
+
"model.language_model.layers.35.mlp.gate.weight": "model-00023-of-00026.safetensors",
|
| 513 |
+
"model.language_model.layers.35.mlp.shared_expert.down_proj.weight": "model-00023-of-00026.safetensors",
|
| 514 |
+
"model.language_model.layers.35.mlp.shared_expert.gate_proj.weight": "model-00023-of-00026.safetensors",
|
| 515 |
+
"model.language_model.layers.35.mlp.shared_expert.up_proj.weight": "model-00023-of-00026.safetensors",
|
| 516 |
+
"model.language_model.layers.35.mlp.shared_expert_gate.weight": "model-00023-of-00026.safetensors",
|
| 517 |
+
"model.language_model.layers.35.post_attention_layernorm.weight": "model-00023-of-00026.safetensors",
|
| 518 |
+
"model.language_model.layers.35.self_attn.k_norm.weight": "model-00023-of-00026.safetensors",
|
| 519 |
+
"model.language_model.layers.35.self_attn.k_proj.weight": "model-00023-of-00026.safetensors",
|
| 520 |
+
"model.language_model.layers.35.self_attn.o_proj.weight": "model-00023-of-00026.safetensors",
|
| 521 |
+
"model.language_model.layers.35.self_attn.q_norm.weight": "model-00023-of-00026.safetensors",
|
| 522 |
+
"model.language_model.layers.35.self_attn.q_proj.weight": "model-00023-of-00026.safetensors",
|
| 523 |
+
"model.language_model.layers.35.self_attn.v_proj.weight": "model-00023-of-00026.safetensors",
|
| 524 |
+
"model.language_model.layers.36.input_layernorm.weight": "model-00024-of-00026.safetensors",
|
| 525 |
+
"model.language_model.layers.36.linear_attn.A_log": "model-00024-of-00026.safetensors",
|
| 526 |
+
"model.language_model.layers.36.linear_attn.conv1d.weight": "model-00024-of-00026.safetensors",
|
| 527 |
+
"model.language_model.layers.36.linear_attn.dt_bias": "model-00024-of-00026.safetensors",
|
| 528 |
+
"model.language_model.layers.36.linear_attn.in_proj_a.weight": "model-00024-of-00026.safetensors",
|
| 529 |
+
"model.language_model.layers.36.linear_attn.in_proj_b.weight": "model-00024-of-00026.safetensors",
|
| 530 |
+
"model.language_model.layers.36.linear_attn.in_proj_qkv.weight": "model-00024-of-00026.safetensors",
|
| 531 |
+
"model.language_model.layers.36.linear_attn.in_proj_z.weight": "model-00024-of-00026.safetensors",
|
| 532 |
+
"model.language_model.layers.36.linear_attn.norm.weight": "model-00024-of-00026.safetensors",
|
| 533 |
+
"model.language_model.layers.36.linear_attn.out_proj.weight": "model-00024-of-00026.safetensors",
|
| 534 |
+
"model.language_model.layers.36.mlp.experts.down_proj": "model-00024-of-00026.safetensors",
|
| 535 |
+
"model.language_model.layers.36.mlp.experts.gate_up_proj": "model-00024-of-00026.safetensors",
|
| 536 |
+
"model.language_model.layers.36.mlp.gate.weight": "model-00024-of-00026.safetensors",
|
| 537 |
+
"model.language_model.layers.36.mlp.shared_expert.down_proj.weight": "model-00024-of-00026.safetensors",
|
| 538 |
+
"model.language_model.layers.36.mlp.shared_expert.gate_proj.weight": "model-00024-of-00026.safetensors",
|
| 539 |
+
"model.language_model.layers.36.mlp.shared_expert.up_proj.weight": "model-00024-of-00026.safetensors",
|
| 540 |
+
"model.language_model.layers.36.mlp.shared_expert_gate.weight": "model-00024-of-00026.safetensors",
|
| 541 |
+
"model.language_model.layers.36.post_attention_layernorm.weight": "model-00024-of-00026.safetensors",
|
| 542 |
+
"model.language_model.layers.37.input_layernorm.weight": "model-00024-of-00026.safetensors",
|
| 543 |
+
"model.language_model.layers.37.linear_attn.A_log": "model-00024-of-00026.safetensors",
|
| 544 |
+
"model.language_model.layers.37.linear_attn.conv1d.weight": "model-00024-of-00026.safetensors",
|
| 545 |
+
"model.language_model.layers.37.linear_attn.dt_bias": "model-00024-of-00026.safetensors",
|
| 546 |
+
"model.language_model.layers.37.linear_attn.in_proj_a.weight": "model-00024-of-00026.safetensors",
|
| 547 |
+
"model.language_model.layers.37.linear_attn.in_proj_b.weight": "model-00024-of-00026.safetensors",
|
| 548 |
+
"model.language_model.layers.37.linear_attn.in_proj_qkv.weight": "model-00024-of-00026.safetensors",
|
| 549 |
+
"model.language_model.layers.37.linear_attn.in_proj_z.weight": "model-00024-of-00026.safetensors",
|
| 550 |
+
"model.language_model.layers.37.linear_attn.norm.weight": "model-00024-of-00026.safetensors",
|
| 551 |
+
"model.language_model.layers.37.linear_attn.out_proj.weight": "model-00024-of-00026.safetensors",
|
| 552 |
+
"model.language_model.layers.37.mlp.experts.down_proj": "model-00024-of-00026.safetensors",
|
| 553 |
+
"model.language_model.layers.37.mlp.experts.gate_up_proj": "model-00024-of-00026.safetensors",
|
| 554 |
+
"model.language_model.layers.37.mlp.gate.weight": "model-00024-of-00026.safetensors",
|
| 555 |
+
"model.language_model.layers.37.mlp.shared_expert.down_proj.weight": "model-00024-of-00026.safetensors",
|
| 556 |
+
"model.language_model.layers.37.mlp.shared_expert.gate_proj.weight": "model-00024-of-00026.safetensors",
|
| 557 |
+
"model.language_model.layers.37.mlp.shared_expert.up_proj.weight": "model-00024-of-00026.safetensors",
|
| 558 |
+
"model.language_model.layers.37.mlp.shared_expert_gate.weight": "model-00024-of-00026.safetensors",
|
| 559 |
+
"model.language_model.layers.37.post_attention_layernorm.weight": "model-00024-of-00026.safetensors",
|
| 560 |
+
"model.language_model.layers.38.input_layernorm.weight": "model-00025-of-00026.safetensors",
|
| 561 |
+
"model.language_model.layers.38.linear_attn.A_log": "model-00025-of-00026.safetensors",
|
| 562 |
+
"model.language_model.layers.38.linear_attn.conv1d.weight": "model-00025-of-00026.safetensors",
|
| 563 |
+
"model.language_model.layers.38.linear_attn.dt_bias": "model-00025-of-00026.safetensors",
|
| 564 |
+
"model.language_model.layers.38.linear_attn.in_proj_a.weight": "model-00025-of-00026.safetensors",
|
| 565 |
+
"model.language_model.layers.38.linear_attn.in_proj_b.weight": "model-00025-of-00026.safetensors",
|
| 566 |
+
"model.language_model.layers.38.linear_attn.in_proj_qkv.weight": "model-00025-of-00026.safetensors",
|
| 567 |
+
"model.language_model.layers.38.linear_attn.in_proj_z.weight": "model-00025-of-00026.safetensors",
|
| 568 |
+
"model.language_model.layers.38.linear_attn.norm.weight": "model-00025-of-00026.safetensors",
|
| 569 |
+
"model.language_model.layers.38.linear_attn.out_proj.weight": "model-00025-of-00026.safetensors",
|
| 570 |
+
"model.language_model.layers.38.mlp.experts.down_proj": "model-00025-of-00026.safetensors",
|
| 571 |
+
"model.language_model.layers.38.mlp.experts.gate_up_proj": "model-00025-of-00026.safetensors",
|
| 572 |
+
"model.language_model.layers.38.mlp.gate.weight": "model-00025-of-00026.safetensors",
|
| 573 |
+
"model.language_model.layers.38.mlp.shared_expert.down_proj.weight": "model-00025-of-00026.safetensors",
|
| 574 |
+
"model.language_model.layers.38.mlp.shared_expert.gate_proj.weight": "model-00025-of-00026.safetensors",
|
| 575 |
+
"model.language_model.layers.38.mlp.shared_expert.up_proj.weight": "model-00025-of-00026.safetensors",
|
| 576 |
+
"model.language_model.layers.38.mlp.shared_expert_gate.weight": "model-00025-of-00026.safetensors",
|
| 577 |
+
"model.language_model.layers.38.post_attention_layernorm.weight": "model-00025-of-00026.safetensors",
|
| 578 |
+
"model.language_model.layers.39.input_layernorm.weight": "model-00026-of-00026.safetensors",
|
| 579 |
+
"model.language_model.layers.39.mlp.experts.down_proj": "model-00026-of-00026.safetensors",
|
| 580 |
+
"model.language_model.layers.39.mlp.experts.gate_up_proj": "model-00025-of-00026.safetensors",
|
| 581 |
+
"model.language_model.layers.39.mlp.gate.weight": "model-00026-of-00026.safetensors",
|
| 582 |
+
"model.language_model.layers.39.mlp.shared_expert.down_proj.weight": "model-00026-of-00026.safetensors",
|
| 583 |
+
"model.language_model.layers.39.mlp.shared_expert.gate_proj.weight": "model-00026-of-00026.safetensors",
|
| 584 |
+
"model.language_model.layers.39.mlp.shared_expert.up_proj.weight": "model-00026-of-00026.safetensors",
|
| 585 |
+
"model.language_model.layers.39.mlp.shared_expert_gate.weight": "model-00026-of-00026.safetensors",
|
| 586 |
+
"model.language_model.layers.39.post_attention_layernorm.weight": "model-00026-of-00026.safetensors",
|
| 587 |
+
"model.language_model.layers.39.self_attn.k_norm.weight": "model-00026-of-00026.safetensors",
|
| 588 |
+
"model.language_model.layers.39.self_attn.k_proj.weight": "model-00026-of-00026.safetensors",
|
| 589 |
+
"model.language_model.layers.39.self_attn.o_proj.weight": "model-00026-of-00026.safetensors",
|
| 590 |
+
"model.language_model.layers.39.self_attn.q_norm.weight": "model-00026-of-00026.safetensors",
|
| 591 |
+
"model.language_model.layers.39.self_attn.q_proj.weight": "model-00026-of-00026.safetensors",
|
| 592 |
+
"model.language_model.layers.39.self_attn.v_proj.weight": "model-00026-of-00026.safetensors",
|
| 593 |
+
"model.language_model.layers.4.input_layernorm.weight": "model-00004-of-00026.safetensors",
|
| 594 |
+
"model.language_model.layers.4.linear_attn.A_log": "model-00004-of-00026.safetensors",
|
| 595 |
+
"model.language_model.layers.4.linear_attn.conv1d.weight": "model-00004-of-00026.safetensors",
|
| 596 |
+
"model.language_model.layers.4.linear_attn.dt_bias": "model-00004-of-00026.safetensors",
|
| 597 |
+
"model.language_model.layers.4.linear_attn.in_proj_a.weight": "model-00004-of-00026.safetensors",
|
| 598 |
+
"model.language_model.layers.4.linear_attn.in_proj_b.weight": "model-00004-of-00026.safetensors",
|
| 599 |
+
"model.language_model.layers.4.linear_attn.in_proj_qkv.weight": "model-00004-of-00026.safetensors",
|
| 600 |
+
"model.language_model.layers.4.linear_attn.in_proj_z.weight": "model-00004-of-00026.safetensors",
|
| 601 |
+
"model.language_model.layers.4.linear_attn.norm.weight": "model-00004-of-00026.safetensors",
|
| 602 |
+
"model.language_model.layers.4.linear_attn.out_proj.weight": "model-00004-of-00026.safetensors",
|
| 603 |
+
"model.language_model.layers.4.mlp.experts.down_proj": "model-00004-of-00026.safetensors",
|
| 604 |
+
"model.language_model.layers.4.mlp.experts.gate_up_proj": "model-00004-of-00026.safetensors",
|
| 605 |
+
"model.language_model.layers.4.mlp.gate.weight": "model-00004-of-00026.safetensors",
|
| 606 |
+
"model.language_model.layers.4.mlp.shared_expert.down_proj.weight": "model-00004-of-00026.safetensors",
|
| 607 |
+
"model.language_model.layers.4.mlp.shared_expert.gate_proj.weight": "model-00004-of-00026.safetensors",
|
| 608 |
+
"model.language_model.layers.4.mlp.shared_expert.up_proj.weight": "model-00004-of-00026.safetensors",
|
| 609 |
+
"model.language_model.layers.4.mlp.shared_expert_gate.weight": "model-00004-of-00026.safetensors",
|
| 610 |
+
"model.language_model.layers.4.post_attention_layernorm.weight": "model-00004-of-00026.safetensors",
|
| 611 |
+
"model.language_model.layers.5.input_layernorm.weight": "model-00004-of-00026.safetensors",
|
| 612 |
+
"model.language_model.layers.5.linear_attn.A_log": "model-00004-of-00026.safetensors",
|
| 613 |
+
"model.language_model.layers.5.linear_attn.conv1d.weight": "model-00004-of-00026.safetensors",
|
| 614 |
+
"model.language_model.layers.5.linear_attn.dt_bias": "model-00004-of-00026.safetensors",
|
| 615 |
+
"model.language_model.layers.5.linear_attn.in_proj_a.weight": "model-00004-of-00026.safetensors",
|
| 616 |
+
"model.language_model.layers.5.linear_attn.in_proj_b.weight": "model-00004-of-00026.safetensors",
|
| 617 |
+
"model.language_model.layers.5.linear_attn.in_proj_qkv.weight": "model-00004-of-00026.safetensors",
|
| 618 |
+
"model.language_model.layers.5.linear_attn.in_proj_z.weight": "model-00004-of-00026.safetensors",
|
| 619 |
+
"model.language_model.layers.5.linear_attn.norm.weight": "model-00004-of-00026.safetensors",
|
| 620 |
+
"model.language_model.layers.5.linear_attn.out_proj.weight": "model-00004-of-00026.safetensors",
|
| 621 |
+
"model.language_model.layers.5.mlp.experts.down_proj": "model-00004-of-00026.safetensors",
|
| 622 |
+
"model.language_model.layers.5.mlp.experts.gate_up_proj": "model-00004-of-00026.safetensors",
|
| 623 |
+
"model.language_model.layers.5.mlp.gate.weight": "model-00004-of-00026.safetensors",
|
| 624 |
+
"model.language_model.layers.5.mlp.shared_expert.down_proj.weight": "model-00004-of-00026.safetensors",
|
| 625 |
+
"model.language_model.layers.5.mlp.shared_expert.gate_proj.weight": "model-00004-of-00026.safetensors",
|
| 626 |
+
"model.language_model.layers.5.mlp.shared_expert.up_proj.weight": "model-00004-of-00026.safetensors",
|
| 627 |
+
"model.language_model.layers.5.mlp.shared_expert_gate.weight": "model-00004-of-00026.safetensors",
|
| 628 |
+
"model.language_model.layers.5.post_attention_layernorm.weight": "model-00004-of-00026.safetensors",
|
| 629 |
+
"model.language_model.layers.6.input_layernorm.weight": "model-00005-of-00026.safetensors",
|
| 630 |
+
"model.language_model.layers.6.linear_attn.A_log": "model-00005-of-00026.safetensors",
|
| 631 |
+
"model.language_model.layers.6.linear_attn.conv1d.weight": "model-00005-of-00026.safetensors",
|
| 632 |
+
"model.language_model.layers.6.linear_attn.dt_bias": "model-00005-of-00026.safetensors",
|
| 633 |
+
"model.language_model.layers.6.linear_attn.in_proj_a.weight": "model-00005-of-00026.safetensors",
|
| 634 |
+
"model.language_model.layers.6.linear_attn.in_proj_b.weight": "model-00005-of-00026.safetensors",
|
| 635 |
+
"model.language_model.layers.6.linear_attn.in_proj_qkv.weight": "model-00005-of-00026.safetensors",
|
| 636 |
+
"model.language_model.layers.6.linear_attn.in_proj_z.weight": "model-00005-of-00026.safetensors",
|
| 637 |
+
"model.language_model.layers.6.linear_attn.norm.weight": "model-00005-of-00026.safetensors",
|
| 638 |
+
"model.language_model.layers.6.linear_attn.out_proj.weight": "model-00005-of-00026.safetensors",
|
| 639 |
+
"model.language_model.layers.6.mlp.experts.down_proj": "model-00005-of-00026.safetensors",
|
| 640 |
+
"model.language_model.layers.6.mlp.experts.gate_up_proj": "model-00005-of-00026.safetensors",
|
| 641 |
+
"model.language_model.layers.6.mlp.gate.weight": "model-00005-of-00026.safetensors",
|
| 642 |
+
"model.language_model.layers.6.mlp.shared_expert.down_proj.weight": "model-00005-of-00026.safetensors",
|
| 643 |
+
"model.language_model.layers.6.mlp.shared_expert.gate_proj.weight": "model-00005-of-00026.safetensors",
|
| 644 |
+
"model.language_model.layers.6.mlp.shared_expert.up_proj.weight": "model-00005-of-00026.safetensors",
|
| 645 |
+
"model.language_model.layers.6.mlp.shared_expert_gate.weight": "model-00005-of-00026.safetensors",
|
| 646 |
+
"model.language_model.layers.6.post_attention_layernorm.weight": "model-00005-of-00026.safetensors",
|
| 647 |
+
"model.language_model.layers.7.input_layernorm.weight": "model-00005-of-00026.safetensors",
|
| 648 |
+
"model.language_model.layers.7.mlp.experts.down_proj": "model-00005-of-00026.safetensors",
|
| 649 |
+
"model.language_model.layers.7.mlp.experts.gate_up_proj": "model-00005-of-00026.safetensors",
|
| 650 |
+
"model.language_model.layers.7.mlp.gate.weight": "model-00005-of-00026.safetensors",
|
| 651 |
+
"model.language_model.layers.7.mlp.shared_expert.down_proj.weight": "model-00005-of-00026.safetensors",
|
| 652 |
+
"model.language_model.layers.7.mlp.shared_expert.gate_proj.weight": "model-00005-of-00026.safetensors",
|
| 653 |
+
"model.language_model.layers.7.mlp.shared_expert.up_proj.weight": "model-00005-of-00026.safetensors",
|
| 654 |
+
"model.language_model.layers.7.mlp.shared_expert_gate.weight": "model-00005-of-00026.safetensors",
|
| 655 |
+
"model.language_model.layers.7.post_attention_layernorm.weight": "model-00005-of-00026.safetensors",
|
| 656 |
+
"model.language_model.layers.7.self_attn.k_norm.weight": "model-00005-of-00026.safetensors",
|
| 657 |
+
"model.language_model.layers.7.self_attn.k_proj.weight": "model-00005-of-00026.safetensors",
|
| 658 |
+
"model.language_model.layers.7.self_attn.o_proj.weight": "model-00005-of-00026.safetensors",
|
| 659 |
+
"model.language_model.layers.7.self_attn.q_norm.weight": "model-00005-of-00026.safetensors",
|
| 660 |
+
"model.language_model.layers.7.self_attn.q_proj.weight": "model-00005-of-00026.safetensors",
|
| 661 |
+
"model.language_model.layers.7.self_attn.v_proj.weight": "model-00005-of-00026.safetensors",
|
| 662 |
+
"model.language_model.layers.8.input_layernorm.weight": "model-00007-of-00026.safetensors",
|
| 663 |
+
"model.language_model.layers.8.linear_attn.A_log": "model-00007-of-00026.safetensors",
|
| 664 |
+
"model.language_model.layers.8.linear_attn.conv1d.weight": "model-00007-of-00026.safetensors",
|
| 665 |
+
"model.language_model.layers.8.linear_attn.dt_bias": "model-00007-of-00026.safetensors",
|
| 666 |
+
"model.language_model.layers.8.linear_attn.in_proj_a.weight": "model-00007-of-00026.safetensors",
|
| 667 |
+
"model.language_model.layers.8.linear_attn.in_proj_b.weight": "model-00007-of-00026.safetensors",
|
| 668 |
+
"model.language_model.layers.8.linear_attn.in_proj_qkv.weight": "model-00006-of-00026.safetensors",
|
| 669 |
+
"model.language_model.layers.8.linear_attn.in_proj_z.weight": "model-00006-of-00026.safetensors",
|
| 670 |
+
"model.language_model.layers.8.linear_attn.norm.weight": "model-00007-of-00026.safetensors",
|
| 671 |
+
"model.language_model.layers.8.linear_attn.out_proj.weight": "model-00006-of-00026.safetensors",
|
| 672 |
+
"model.language_model.layers.8.mlp.experts.down_proj": "model-00006-of-00026.safetensors",
|
| 673 |
+
"model.language_model.layers.8.mlp.experts.gate_up_proj": "model-00006-of-00026.safetensors",
|
| 674 |
+
"model.language_model.layers.8.mlp.gate.weight": "model-00007-of-00026.safetensors",
|
| 675 |
+
"model.language_model.layers.8.mlp.shared_expert.down_proj.weight": "model-00007-of-00026.safetensors",
|
| 676 |
+
"model.language_model.layers.8.mlp.shared_expert.gate_proj.weight": "model-00007-of-00026.safetensors",
|
| 677 |
+
"model.language_model.layers.8.mlp.shared_expert.up_proj.weight": "model-00007-of-00026.safetensors",
|
| 678 |
+
"model.language_model.layers.8.mlp.shared_expert_gate.weight": "model-00007-of-00026.safetensors",
|
| 679 |
+
"model.language_model.layers.8.post_attention_layernorm.weight": "model-00007-of-00026.safetensors",
|
| 680 |
+
"model.language_model.layers.9.input_layernorm.weight": "model-00007-of-00026.safetensors",
|
| 681 |
+
"model.language_model.layers.9.linear_attn.A_log": "model-00007-of-00026.safetensors",
|
| 682 |
+
"model.language_model.layers.9.linear_attn.conv1d.weight": "model-00007-of-00026.safetensors",
|
| 683 |
+
"model.language_model.layers.9.linear_attn.dt_bias": "model-00007-of-00026.safetensors",
|
| 684 |
+
"model.language_model.layers.9.linear_attn.in_proj_a.weight": "model-00007-of-00026.safetensors",
|
| 685 |
+
"model.language_model.layers.9.linear_attn.in_proj_b.weight": "model-00007-of-00026.safetensors",
|
| 686 |
+
"model.language_model.layers.9.linear_attn.in_proj_qkv.weight": "model-00006-of-00026.safetensors",
|
| 687 |
+
"model.language_model.layers.9.linear_attn.in_proj_z.weight": "model-00006-of-00026.safetensors",
|
| 688 |
+
"model.language_model.layers.9.linear_attn.norm.weight": "model-00007-of-00026.safetensors",
|
| 689 |
+
"model.language_model.layers.9.linear_attn.out_proj.weight": "model-00006-of-00026.safetensors",
|
| 690 |
+
"model.language_model.layers.9.mlp.experts.down_proj": "model-00006-of-00026.safetensors",
|
| 691 |
+
"model.language_model.layers.9.mlp.experts.gate_up_proj": "model-00006-of-00026.safetensors",
|
| 692 |
+
"model.language_model.layers.9.mlp.gate.weight": "model-00007-of-00026.safetensors",
|
| 693 |
+
"model.language_model.layers.9.mlp.shared_expert.down_proj.weight": "model-00007-of-00026.safetensors",
|
| 694 |
+
"model.language_model.layers.9.mlp.shared_expert.gate_proj.weight": "model-00007-of-00026.safetensors",
|
| 695 |
+
"model.language_model.layers.9.mlp.shared_expert.up_proj.weight": "model-00007-of-00026.safetensors",
|
| 696 |
+
"model.language_model.layers.9.mlp.shared_expert_gate.weight": "model-00007-of-00026.safetensors",
|
| 697 |
+
"model.language_model.layers.9.post_attention_layernorm.weight": "model-00007-of-00026.safetensors",
|
| 698 |
+
"model.language_model.norm.weight": "model-00026-of-00026.safetensors",
|
| 699 |
+
"model.visual.blocks.0.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 700 |
+
"model.visual.blocks.0.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 701 |
+
"model.visual.blocks.0.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 702 |
+
"model.visual.blocks.0.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 703 |
+
"model.visual.blocks.0.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 704 |
+
"model.visual.blocks.0.mlp.linear_fc1.weight": "model-00001-of-00026.safetensors",
|
| 705 |
+
"model.visual.blocks.0.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 706 |
+
"model.visual.blocks.0.mlp.linear_fc2.weight": "model-00001-of-00026.safetensors",
|
| 707 |
+
"model.visual.blocks.0.norm1.bias": "model-00002-of-00026.safetensors",
|
| 708 |
+
"model.visual.blocks.0.norm1.weight": "model-00002-of-00026.safetensors",
|
| 709 |
+
"model.visual.blocks.0.norm2.bias": "model-00002-of-00026.safetensors",
|
| 710 |
+
"model.visual.blocks.0.norm2.weight": "model-00002-of-00026.safetensors",
|
| 711 |
+
"model.visual.blocks.1.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 712 |
+
"model.visual.blocks.1.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 713 |
+
"model.visual.blocks.1.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 714 |
+
"model.visual.blocks.1.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 715 |
+
"model.visual.blocks.1.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 716 |
+
"model.visual.blocks.1.mlp.linear_fc1.weight": "model-00001-of-00026.safetensors",
|
| 717 |
+
"model.visual.blocks.1.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 718 |
+
"model.visual.blocks.1.mlp.linear_fc2.weight": "model-00001-of-00026.safetensors",
|
| 719 |
+
"model.visual.blocks.1.norm1.bias": "model-00002-of-00026.safetensors",
|
| 720 |
+
"model.visual.blocks.1.norm1.weight": "model-00002-of-00026.safetensors",
|
| 721 |
+
"model.visual.blocks.1.norm2.bias": "model-00002-of-00026.safetensors",
|
| 722 |
+
"model.visual.blocks.1.norm2.weight": "model-00002-of-00026.safetensors",
|
| 723 |
+
"model.visual.blocks.10.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 724 |
+
"model.visual.blocks.10.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 725 |
+
"model.visual.blocks.10.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 726 |
+
"model.visual.blocks.10.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 727 |
+
"model.visual.blocks.10.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 728 |
+
"model.visual.blocks.10.mlp.linear_fc1.weight": "model-00001-of-00026.safetensors",
|
| 729 |
+
"model.visual.blocks.10.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 730 |
+
"model.visual.blocks.10.mlp.linear_fc2.weight": "model-00001-of-00026.safetensors",
|
| 731 |
+
"model.visual.blocks.10.norm1.bias": "model-00002-of-00026.safetensors",
|
| 732 |
+
"model.visual.blocks.10.norm1.weight": "model-00002-of-00026.safetensors",
|
| 733 |
+
"model.visual.blocks.10.norm2.bias": "model-00002-of-00026.safetensors",
|
| 734 |
+
"model.visual.blocks.10.norm2.weight": "model-00002-of-00026.safetensors",
|
| 735 |
+
"model.visual.blocks.11.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 736 |
+
"model.visual.blocks.11.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 737 |
+
"model.visual.blocks.11.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 738 |
+
"model.visual.blocks.11.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 739 |
+
"model.visual.blocks.11.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 740 |
+
"model.visual.blocks.11.mlp.linear_fc1.weight": "model-00001-of-00026.safetensors",
|
| 741 |
+
"model.visual.blocks.11.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 742 |
+
"model.visual.blocks.11.mlp.linear_fc2.weight": "model-00001-of-00026.safetensors",
|
| 743 |
+
"model.visual.blocks.11.norm1.bias": "model-00002-of-00026.safetensors",
|
| 744 |
+
"model.visual.blocks.11.norm1.weight": "model-00002-of-00026.safetensors",
|
| 745 |
+
"model.visual.blocks.11.norm2.bias": "model-00002-of-00026.safetensors",
|
| 746 |
+
"model.visual.blocks.11.norm2.weight": "model-00002-of-00026.safetensors",
|
| 747 |
+
"model.visual.blocks.12.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 748 |
+
"model.visual.blocks.12.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 749 |
+
"model.visual.blocks.12.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 750 |
+
"model.visual.blocks.12.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 751 |
+
"model.visual.blocks.12.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 752 |
+
"model.visual.blocks.12.mlp.linear_fc1.weight": "model-00001-of-00026.safetensors",
|
| 753 |
+
"model.visual.blocks.12.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 754 |
+
"model.visual.blocks.12.mlp.linear_fc2.weight": "model-00001-of-00026.safetensors",
|
| 755 |
+
"model.visual.blocks.12.norm1.bias": "model-00002-of-00026.safetensors",
|
| 756 |
+
"model.visual.blocks.12.norm1.weight": "model-00002-of-00026.safetensors",
|
| 757 |
+
"model.visual.blocks.12.norm2.bias": "model-00002-of-00026.safetensors",
|
| 758 |
+
"model.visual.blocks.12.norm2.weight": "model-00002-of-00026.safetensors",
|
| 759 |
+
"model.visual.blocks.13.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 760 |
+
"model.visual.blocks.13.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 761 |
+
"model.visual.blocks.13.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 762 |
+
"model.visual.blocks.13.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 763 |
+
"model.visual.blocks.13.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 764 |
+
"model.visual.blocks.13.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 765 |
+
"model.visual.blocks.13.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 766 |
+
"model.visual.blocks.13.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 767 |
+
"model.visual.blocks.13.norm1.bias": "model-00002-of-00026.safetensors",
|
| 768 |
+
"model.visual.blocks.13.norm1.weight": "model-00002-of-00026.safetensors",
|
| 769 |
+
"model.visual.blocks.13.norm2.bias": "model-00002-of-00026.safetensors",
|
| 770 |
+
"model.visual.blocks.13.norm2.weight": "model-00002-of-00026.safetensors",
|
| 771 |
+
"model.visual.blocks.14.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 772 |
+
"model.visual.blocks.14.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 773 |
+
"model.visual.blocks.14.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 774 |
+
"model.visual.blocks.14.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 775 |
+
"model.visual.blocks.14.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 776 |
+
"model.visual.blocks.14.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 777 |
+
"model.visual.blocks.14.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 778 |
+
"model.visual.blocks.14.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 779 |
+
"model.visual.blocks.14.norm1.bias": "model-00002-of-00026.safetensors",
|
| 780 |
+
"model.visual.blocks.14.norm1.weight": "model-00002-of-00026.safetensors",
|
| 781 |
+
"model.visual.blocks.14.norm2.bias": "model-00002-of-00026.safetensors",
|
| 782 |
+
"model.visual.blocks.14.norm2.weight": "model-00002-of-00026.safetensors",
|
| 783 |
+
"model.visual.blocks.15.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 784 |
+
"model.visual.blocks.15.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 785 |
+
"model.visual.blocks.15.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 786 |
+
"model.visual.blocks.15.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 787 |
+
"model.visual.blocks.15.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 788 |
+
"model.visual.blocks.15.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 789 |
+
"model.visual.blocks.15.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 790 |
+
"model.visual.blocks.15.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 791 |
+
"model.visual.blocks.15.norm1.bias": "model-00002-of-00026.safetensors",
|
| 792 |
+
"model.visual.blocks.15.norm1.weight": "model-00002-of-00026.safetensors",
|
| 793 |
+
"model.visual.blocks.15.norm2.bias": "model-00002-of-00026.safetensors",
|
| 794 |
+
"model.visual.blocks.15.norm2.weight": "model-00002-of-00026.safetensors",
|
| 795 |
+
"model.visual.blocks.16.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 796 |
+
"model.visual.blocks.16.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 797 |
+
"model.visual.blocks.16.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 798 |
+
"model.visual.blocks.16.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 799 |
+
"model.visual.blocks.16.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 800 |
+
"model.visual.blocks.16.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 801 |
+
"model.visual.blocks.16.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 802 |
+
"model.visual.blocks.16.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 803 |
+
"model.visual.blocks.16.norm1.bias": "model-00002-of-00026.safetensors",
|
| 804 |
+
"model.visual.blocks.16.norm1.weight": "model-00002-of-00026.safetensors",
|
| 805 |
+
"model.visual.blocks.16.norm2.bias": "model-00002-of-00026.safetensors",
|
| 806 |
+
"model.visual.blocks.16.norm2.weight": "model-00002-of-00026.safetensors",
|
| 807 |
+
"model.visual.blocks.17.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 808 |
+
"model.visual.blocks.17.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 809 |
+
"model.visual.blocks.17.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 810 |
+
"model.visual.blocks.17.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 811 |
+
"model.visual.blocks.17.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 812 |
+
"model.visual.blocks.17.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 813 |
+
"model.visual.blocks.17.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 814 |
+
"model.visual.blocks.17.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 815 |
+
"model.visual.blocks.17.norm1.bias": "model-00002-of-00026.safetensors",
|
| 816 |
+
"model.visual.blocks.17.norm1.weight": "model-00002-of-00026.safetensors",
|
| 817 |
+
"model.visual.blocks.17.norm2.bias": "model-00002-of-00026.safetensors",
|
| 818 |
+
"model.visual.blocks.17.norm2.weight": "model-00002-of-00026.safetensors",
|
| 819 |
+
"model.visual.blocks.18.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 820 |
+
"model.visual.blocks.18.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 821 |
+
"model.visual.blocks.18.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 822 |
+
"model.visual.blocks.18.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 823 |
+
"model.visual.blocks.18.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 824 |
+
"model.visual.blocks.18.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 825 |
+
"model.visual.blocks.18.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 826 |
+
"model.visual.blocks.18.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 827 |
+
"model.visual.blocks.18.norm1.bias": "model-00002-of-00026.safetensors",
|
| 828 |
+
"model.visual.blocks.18.norm1.weight": "model-00002-of-00026.safetensors",
|
| 829 |
+
"model.visual.blocks.18.norm2.bias": "model-00002-of-00026.safetensors",
|
| 830 |
+
"model.visual.blocks.18.norm2.weight": "model-00002-of-00026.safetensors",
|
| 831 |
+
"model.visual.blocks.19.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 832 |
+
"model.visual.blocks.19.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 833 |
+
"model.visual.blocks.19.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 834 |
+
"model.visual.blocks.19.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 835 |
+
"model.visual.blocks.19.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 836 |
+
"model.visual.blocks.19.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 837 |
+
"model.visual.blocks.19.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 838 |
+
"model.visual.blocks.19.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 839 |
+
"model.visual.blocks.19.norm1.bias": "model-00002-of-00026.safetensors",
|
| 840 |
+
"model.visual.blocks.19.norm1.weight": "model-00002-of-00026.safetensors",
|
| 841 |
+
"model.visual.blocks.19.norm2.bias": "model-00002-of-00026.safetensors",
|
| 842 |
+
"model.visual.blocks.19.norm2.weight": "model-00002-of-00026.safetensors",
|
| 843 |
+
"model.visual.blocks.2.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 844 |
+
"model.visual.blocks.2.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 845 |
+
"model.visual.blocks.2.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 846 |
+
"model.visual.blocks.2.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 847 |
+
"model.visual.blocks.2.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 848 |
+
"model.visual.blocks.2.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 849 |
+
"model.visual.blocks.2.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 850 |
+
"model.visual.blocks.2.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 851 |
+
"model.visual.blocks.2.norm1.bias": "model-00002-of-00026.safetensors",
|
| 852 |
+
"model.visual.blocks.2.norm1.weight": "model-00002-of-00026.safetensors",
|
| 853 |
+
"model.visual.blocks.2.norm2.bias": "model-00002-of-00026.safetensors",
|
| 854 |
+
"model.visual.blocks.2.norm2.weight": "model-00002-of-00026.safetensors",
|
| 855 |
+
"model.visual.blocks.20.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 856 |
+
"model.visual.blocks.20.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 857 |
+
"model.visual.blocks.20.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 858 |
+
"model.visual.blocks.20.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 859 |
+
"model.visual.blocks.20.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 860 |
+
"model.visual.blocks.20.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 861 |
+
"model.visual.blocks.20.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 862 |
+
"model.visual.blocks.20.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 863 |
+
"model.visual.blocks.20.norm1.bias": "model-00002-of-00026.safetensors",
|
| 864 |
+
"model.visual.blocks.20.norm1.weight": "model-00002-of-00026.safetensors",
|
| 865 |
+
"model.visual.blocks.20.norm2.bias": "model-00002-of-00026.safetensors",
|
| 866 |
+
"model.visual.blocks.20.norm2.weight": "model-00002-of-00026.safetensors",
|
| 867 |
+
"model.visual.blocks.21.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 868 |
+
"model.visual.blocks.21.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 869 |
+
"model.visual.blocks.21.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 870 |
+
"model.visual.blocks.21.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 871 |
+
"model.visual.blocks.21.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 872 |
+
"model.visual.blocks.21.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 873 |
+
"model.visual.blocks.21.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 874 |
+
"model.visual.blocks.21.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 875 |
+
"model.visual.blocks.21.norm1.bias": "model-00002-of-00026.safetensors",
|
| 876 |
+
"model.visual.blocks.21.norm1.weight": "model-00002-of-00026.safetensors",
|
| 877 |
+
"model.visual.blocks.21.norm2.bias": "model-00002-of-00026.safetensors",
|
| 878 |
+
"model.visual.blocks.21.norm2.weight": "model-00002-of-00026.safetensors",
|
| 879 |
+
"model.visual.blocks.22.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 880 |
+
"model.visual.blocks.22.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 881 |
+
"model.visual.blocks.22.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 882 |
+
"model.visual.blocks.22.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 883 |
+
"model.visual.blocks.22.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 884 |
+
"model.visual.blocks.22.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 885 |
+
"model.visual.blocks.22.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 886 |
+
"model.visual.blocks.22.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 887 |
+
"model.visual.blocks.22.norm1.bias": "model-00002-of-00026.safetensors",
|
| 888 |
+
"model.visual.blocks.22.norm1.weight": "model-00002-of-00026.safetensors",
|
| 889 |
+
"model.visual.blocks.22.norm2.bias": "model-00002-of-00026.safetensors",
|
| 890 |
+
"model.visual.blocks.22.norm2.weight": "model-00002-of-00026.safetensors",
|
| 891 |
+
"model.visual.blocks.23.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 892 |
+
"model.visual.blocks.23.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 893 |
+
"model.visual.blocks.23.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 894 |
+
"model.visual.blocks.23.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 895 |
+
"model.visual.blocks.23.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 896 |
+
"model.visual.blocks.23.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 897 |
+
"model.visual.blocks.23.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 898 |
+
"model.visual.blocks.23.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 899 |
+
"model.visual.blocks.23.norm1.bias": "model-00002-of-00026.safetensors",
|
| 900 |
+
"model.visual.blocks.23.norm1.weight": "model-00002-of-00026.safetensors",
|
| 901 |
+
"model.visual.blocks.23.norm2.bias": "model-00002-of-00026.safetensors",
|
| 902 |
+
"model.visual.blocks.23.norm2.weight": "model-00002-of-00026.safetensors",
|
| 903 |
+
"model.visual.blocks.24.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 904 |
+
"model.visual.blocks.24.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 905 |
+
"model.visual.blocks.24.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 906 |
+
"model.visual.blocks.24.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 907 |
+
"model.visual.blocks.24.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 908 |
+
"model.visual.blocks.24.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 909 |
+
"model.visual.blocks.24.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 910 |
+
"model.visual.blocks.24.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 911 |
+
"model.visual.blocks.24.norm1.bias": "model-00002-of-00026.safetensors",
|
| 912 |
+
"model.visual.blocks.24.norm1.weight": "model-00002-of-00026.safetensors",
|
| 913 |
+
"model.visual.blocks.24.norm2.bias": "model-00002-of-00026.safetensors",
|
| 914 |
+
"model.visual.blocks.24.norm2.weight": "model-00002-of-00026.safetensors",
|
| 915 |
+
"model.visual.blocks.25.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 916 |
+
"model.visual.blocks.25.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 917 |
+
"model.visual.blocks.25.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 918 |
+
"model.visual.blocks.25.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 919 |
+
"model.visual.blocks.25.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 920 |
+
"model.visual.blocks.25.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 921 |
+
"model.visual.blocks.25.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 922 |
+
"model.visual.blocks.25.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 923 |
+
"model.visual.blocks.25.norm1.bias": "model-00002-of-00026.safetensors",
|
| 924 |
+
"model.visual.blocks.25.norm1.weight": "model-00002-of-00026.safetensors",
|
| 925 |
+
"model.visual.blocks.25.norm2.bias": "model-00002-of-00026.safetensors",
|
| 926 |
+
"model.visual.blocks.25.norm2.weight": "model-00002-of-00026.safetensors",
|
| 927 |
+
"model.visual.blocks.26.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 928 |
+
"model.visual.blocks.26.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 929 |
+
"model.visual.blocks.26.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 930 |
+
"model.visual.blocks.26.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 931 |
+
"model.visual.blocks.26.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 932 |
+
"model.visual.blocks.26.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 933 |
+
"model.visual.blocks.26.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 934 |
+
"model.visual.blocks.26.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 935 |
+
"model.visual.blocks.26.norm1.bias": "model-00002-of-00026.safetensors",
|
| 936 |
+
"model.visual.blocks.26.norm1.weight": "model-00002-of-00026.safetensors",
|
| 937 |
+
"model.visual.blocks.26.norm2.bias": "model-00002-of-00026.safetensors",
|
| 938 |
+
"model.visual.blocks.26.norm2.weight": "model-00002-of-00026.safetensors",
|
| 939 |
+
"model.visual.blocks.3.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 940 |
+
"model.visual.blocks.3.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 941 |
+
"model.visual.blocks.3.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 942 |
+
"model.visual.blocks.3.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 943 |
+
"model.visual.blocks.3.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 944 |
+
"model.visual.blocks.3.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 945 |
+
"model.visual.blocks.3.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 946 |
+
"model.visual.blocks.3.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 947 |
+
"model.visual.blocks.3.norm1.bias": "model-00002-of-00026.safetensors",
|
| 948 |
+
"model.visual.blocks.3.norm1.weight": "model-00002-of-00026.safetensors",
|
| 949 |
+
"model.visual.blocks.3.norm2.bias": "model-00002-of-00026.safetensors",
|
| 950 |
+
"model.visual.blocks.3.norm2.weight": "model-00002-of-00026.safetensors",
|
| 951 |
+
"model.visual.blocks.4.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 952 |
+
"model.visual.blocks.4.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 953 |
+
"model.visual.blocks.4.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 954 |
+
"model.visual.blocks.4.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 955 |
+
"model.visual.blocks.4.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 956 |
+
"model.visual.blocks.4.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 957 |
+
"model.visual.blocks.4.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 958 |
+
"model.visual.blocks.4.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 959 |
+
"model.visual.blocks.4.norm1.bias": "model-00002-of-00026.safetensors",
|
| 960 |
+
"model.visual.blocks.4.norm1.weight": "model-00002-of-00026.safetensors",
|
| 961 |
+
"model.visual.blocks.4.norm2.bias": "model-00002-of-00026.safetensors",
|
| 962 |
+
"model.visual.blocks.4.norm2.weight": "model-00002-of-00026.safetensors",
|
| 963 |
+
"model.visual.blocks.5.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 964 |
+
"model.visual.blocks.5.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 965 |
+
"model.visual.blocks.5.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 966 |
+
"model.visual.blocks.5.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 967 |
+
"model.visual.blocks.5.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 968 |
+
"model.visual.blocks.5.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 969 |
+
"model.visual.blocks.5.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 970 |
+
"model.visual.blocks.5.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 971 |
+
"model.visual.blocks.5.norm1.bias": "model-00002-of-00026.safetensors",
|
| 972 |
+
"model.visual.blocks.5.norm1.weight": "model-00002-of-00026.safetensors",
|
| 973 |
+
"model.visual.blocks.5.norm2.bias": "model-00002-of-00026.safetensors",
|
| 974 |
+
"model.visual.blocks.5.norm2.weight": "model-00002-of-00026.safetensors",
|
| 975 |
+
"model.visual.blocks.6.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 976 |
+
"model.visual.blocks.6.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 977 |
+
"model.visual.blocks.6.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 978 |
+
"model.visual.blocks.6.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 979 |
+
"model.visual.blocks.6.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 980 |
+
"model.visual.blocks.6.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 981 |
+
"model.visual.blocks.6.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 982 |
+
"model.visual.blocks.6.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 983 |
+
"model.visual.blocks.6.norm1.bias": "model-00002-of-00026.safetensors",
|
| 984 |
+
"model.visual.blocks.6.norm1.weight": "model-00002-of-00026.safetensors",
|
| 985 |
+
"model.visual.blocks.6.norm2.bias": "model-00002-of-00026.safetensors",
|
| 986 |
+
"model.visual.blocks.6.norm2.weight": "model-00002-of-00026.safetensors",
|
| 987 |
+
"model.visual.blocks.7.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 988 |
+
"model.visual.blocks.7.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 989 |
+
"model.visual.blocks.7.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 990 |
+
"model.visual.blocks.7.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 991 |
+
"model.visual.blocks.7.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 992 |
+
"model.visual.blocks.7.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 993 |
+
"model.visual.blocks.7.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 994 |
+
"model.visual.blocks.7.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 995 |
+
"model.visual.blocks.7.norm1.bias": "model-00002-of-00026.safetensors",
|
| 996 |
+
"model.visual.blocks.7.norm1.weight": "model-00002-of-00026.safetensors",
|
| 997 |
+
"model.visual.blocks.7.norm2.bias": "model-00002-of-00026.safetensors",
|
| 998 |
+
"model.visual.blocks.7.norm2.weight": "model-00002-of-00026.safetensors",
|
| 999 |
+
"model.visual.blocks.8.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 1000 |
+
"model.visual.blocks.8.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 1001 |
+
"model.visual.blocks.8.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 1002 |
+
"model.visual.blocks.8.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 1003 |
+
"model.visual.blocks.8.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 1004 |
+
"model.visual.blocks.8.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 1005 |
+
"model.visual.blocks.8.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 1006 |
+
"model.visual.blocks.8.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 1007 |
+
"model.visual.blocks.8.norm1.bias": "model-00002-of-00026.safetensors",
|
| 1008 |
+
"model.visual.blocks.8.norm1.weight": "model-00002-of-00026.safetensors",
|
| 1009 |
+
"model.visual.blocks.8.norm2.bias": "model-00002-of-00026.safetensors",
|
| 1010 |
+
"model.visual.blocks.8.norm2.weight": "model-00002-of-00026.safetensors",
|
| 1011 |
+
"model.visual.blocks.9.attn.proj.bias": "model-00002-of-00026.safetensors",
|
| 1012 |
+
"model.visual.blocks.9.attn.proj.weight": "model-00002-of-00026.safetensors",
|
| 1013 |
+
"model.visual.blocks.9.attn.qkv.bias": "model-00002-of-00026.safetensors",
|
| 1014 |
+
"model.visual.blocks.9.attn.qkv.weight": "model-00002-of-00026.safetensors",
|
| 1015 |
+
"model.visual.blocks.9.mlp.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 1016 |
+
"model.visual.blocks.9.mlp.linear_fc1.weight": "model-00002-of-00026.safetensors",
|
| 1017 |
+
"model.visual.blocks.9.mlp.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 1018 |
+
"model.visual.blocks.9.mlp.linear_fc2.weight": "model-00002-of-00026.safetensors",
|
| 1019 |
+
"model.visual.blocks.9.norm1.bias": "model-00002-of-00026.safetensors",
|
| 1020 |
+
"model.visual.blocks.9.norm1.weight": "model-00002-of-00026.safetensors",
|
| 1021 |
+
"model.visual.blocks.9.norm2.bias": "model-00002-of-00026.safetensors",
|
| 1022 |
+
"model.visual.blocks.9.norm2.weight": "model-00002-of-00026.safetensors",
|
| 1023 |
+
"model.visual.merger.linear_fc1.bias": "model-00002-of-00026.safetensors",
|
| 1024 |
+
"model.visual.merger.linear_fc1.weight": "model-00001-of-00026.safetensors",
|
| 1025 |
+
"model.visual.merger.linear_fc2.bias": "model-00002-of-00026.safetensors",
|
| 1026 |
+
"model.visual.merger.linear_fc2.weight": "model-00001-of-00026.safetensors",
|
| 1027 |
+
"model.visual.merger.norm.bias": "model-00002-of-00026.safetensors",
|
| 1028 |
+
"model.visual.merger.norm.weight": "model-00002-of-00026.safetensors",
|
| 1029 |
+
"model.visual.patch_embed.proj.bias": "model-00002-of-00026.safetensors",
|
| 1030 |
+
"model.visual.patch_embed.proj.weight": "model-00002-of-00026.safetensors",
|
| 1031 |
+
"model.visual.pos_embed.weight": "model-00002-of-00026.safetensors",
|
| 1032 |
+
"mtp.fc.weight": "model-00026-of-00026.safetensors",
|
| 1033 |
+
"mtp.layers.0.input_layernorm.weight": "model-00026-of-00026.safetensors",
|
| 1034 |
+
"mtp.layers.0.mlp.experts.down_proj": "model-00026-of-00026.safetensors",
|
| 1035 |
+
"mtp.layers.0.mlp.experts.gate_up_proj": "model-00025-of-00026.safetensors",
|
| 1036 |
+
"mtp.layers.0.mlp.gate.weight": "model-00026-of-00026.safetensors",
|
| 1037 |
+
"mtp.layers.0.mlp.shared_expert.down_proj.weight": "model-00026-of-00026.safetensors",
|
| 1038 |
+
"mtp.layers.0.mlp.shared_expert.gate_proj.weight": "model-00026-of-00026.safetensors",
|
| 1039 |
+
"mtp.layers.0.mlp.shared_expert.up_proj.weight": "model-00026-of-00026.safetensors",
|
| 1040 |
+
"mtp.layers.0.mlp.shared_expert_gate.weight": "model-00026-of-00026.safetensors",
|
| 1041 |
+
"mtp.layers.0.post_attention_layernorm.weight": "model-00026-of-00026.safetensors",
|
| 1042 |
+
"mtp.layers.0.self_attn.k_norm.weight": "model-00026-of-00026.safetensors",
|
| 1043 |
+
"mtp.layers.0.self_attn.k_proj.weight": "model-00026-of-00026.safetensors",
|
| 1044 |
+
"mtp.layers.0.self_attn.o_proj.weight": "model-00026-of-00026.safetensors",
|
| 1045 |
+
"mtp.layers.0.self_attn.q_norm.weight": "model-00026-of-00026.safetensors",
|
| 1046 |
+
"mtp.layers.0.self_attn.q_proj.weight": "model-00026-of-00026.safetensors",
|
| 1047 |
+
"mtp.layers.0.self_attn.v_proj.weight": "model-00026-of-00026.safetensors",
|
| 1048 |
+
"mtp.norm.weight": "model-00026-of-00026.safetensors",
|
| 1049 |
+
"mtp.pre_fc_norm_embedding.weight": "model-00026-of-00026.safetensors",
|
| 1050 |
+
"mtp.pre_fc_norm_hidden.weight": "model-00026-of-00026.safetensors"
|
| 1051 |
+
}
|
| 1052 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
|
| 3 |
+
size 12807982
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"additional_special_tokens": [
|
| 270 |
+
"<|im_start|>",
|
| 271 |
+
"<|im_end|>",
|
| 272 |
+
"<|object_ref_start|>",
|
| 273 |
+
"<|object_ref_end|>",
|
| 274 |
+
"<|box_start|>",
|
| 275 |
+
"<|box_end|>",
|
| 276 |
+
"<|quad_start|>",
|
| 277 |
+
"<|quad_end|>",
|
| 278 |
+
"<|vision_start|>",
|
| 279 |
+
"<|vision_end|>",
|
| 280 |
+
"<|vision_pad|>",
|
| 281 |
+
"<|image_pad|>",
|
| 282 |
+
"<|video_pad|>"
|
| 283 |
+
],
|
| 284 |
+
"bos_token": null,
|
| 285 |
+
"chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is defined %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- else %}\n {{- raise_exception('Unexpected message role.') }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}",
|
| 286 |
+
"clean_up_tokenization_spaces": false,
|
| 287 |
+
"eos_token": "<|im_end|>",
|
| 288 |
+
"errors": "replace",
|
| 289 |
+
"model_max_length": 262144,
|
| 290 |
+
"pad_token": "<|endoftext|>",
|
| 291 |
+
"split_special_tokens": false,
|
| 292 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 293 |
+
"unk_token": null,
|
| 294 |
+
"add_bos_token": false,
|
| 295 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 296 |
+
"extra_special_tokens": {
|
| 297 |
+
"audio_bos_token": "<|audio_start|>",
|
| 298 |
+
"audio_eos_token": "<|audio_end|>",
|
| 299 |
+
"audio_token": "<|audio_pad|>",
|
| 300 |
+
"image_token": "<|image_pad|>",
|
| 301 |
+
"video_token": "<|video_pad|>",
|
| 302 |
+
"vision_bos_token": "<|vision_start|>",
|
| 303 |
+
"vision_eos_token": "<|vision_end|>"
|
| 304 |
+
}
|
| 305 |
+
}
|
video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 25165824,
|
| 4 |
+
"shortest_edge": 4096
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 21 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|