Image-Text-to-Text
Transformers
Safetensors
qwen3_5_moe
rex
mixture-of-experts
unlearning
wmdp
conversational
Instructions to use AI45Research/REX-Intern-S2-Bio-F3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AI45Research/REX-Intern-S2-Bio-F3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="AI45Research/REX-Intern-S2-Bio-F3") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("AI45Research/REX-Intern-S2-Bio-F3") model = AutoModelForMultimodalLM.from_pretrained("AI45Research/REX-Intern-S2-Bio-F3", 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AI45Research/REX-Intern-S2-Bio-F3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AI45Research/REX-Intern-S2-Bio-F3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AI45Research/REX-Intern-S2-Bio-F3", "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/AI45Research/REX-Intern-S2-Bio-F3
- SGLang
How to use AI45Research/REX-Intern-S2-Bio-F3 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 "AI45Research/REX-Intern-S2-Bio-F3" \ --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": "AI45Research/REX-Intern-S2-Bio-F3", "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 "AI45Research/REX-Intern-S2-Bio-F3" \ --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": "AI45Research/REX-Intern-S2-Bio-F3", "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 AI45Research/REX-Intern-S2-Bio-F3 with Docker Model Runner:
docker model run hf.co/AI45Research/REX-Intern-S2-Bio-F3
Stage reviewed REX F3 checkpoint privately
Browse files- .gitattributes +1 -0
- LICENSE +201 -0
- NOTICE +4 -0
- README.md +93 -0
- UPSTREAM_LICENSE +202 -0
- chat_template.jinja +154 -0
- config.json +124 -0
- expert_expansion_manifest.json +529 -0
- generation_config.json +13 -0
- merges.txt +0 -0
- model-00001-of-00017.safetensors +3 -0
- model-00002-of-00017.safetensors +3 -0
- model-00003-of-00017.safetensors +3 -0
- model-00004-of-00017.safetensors +3 -0
- model-00005-of-00017.safetensors +3 -0
- model-00006-of-00017.safetensors +3 -0
- model-00007-of-00017.safetensors +3 -0
- model-00008-of-00017.safetensors +3 -0
- model-00009-of-00017.safetensors +3 -0
- model-00010-of-00017.safetensors +3 -0
- model-00011-of-00017.safetensors +3 -0
- model-00012-of-00017.safetensors +3 -0
- model-00013-of-00017.safetensors +3 -0
- model-00014-of-00017.safetensors +3 -0
- model-00015-of-00017.safetensors +3 -0
- model-00016-of-00017.safetensors +3 -0
- model-00017-of-00017.safetensors +3 -0
- model-passthrough-00000.safetensors +3 -0
- model.safetensors.index.json +1033 -0
- preprocessor_config.json +21 -0
- processor_config.json +60 -0
- run.json +59 -0
- special_tokens_map.json +45 -0
- tokenization_interns1.py +1009 -0
- tokenizer.json +3 -0
- tokenizer_PROT.model +3 -0
- tokenizer_SMILES.model +3 -0
- tokenizer_XNA.model +3 -0
- tokenizer_config.json +508 -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,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
REX modifications: Copyright 2026 Shanghai AI Laboratory.
|
| 2 |
+
Intern-S2 base: internally supplied; redistribution confirmed by the release owner.
|
| 3 |
+
Upstream model and tokenizer licenses and copyright notices remain applicable.
|
| 4 |
+
Tokenizer code: Copyright 2025 The Intern team and Shanghai AI Lab team; Apache-2.0.
|
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model: Qwen/Qwen3.5-35B-A3B
|
| 5 |
+
tags:
|
| 6 |
+
- rex
|
| 7 |
+
- mixture-of-experts
|
| 8 |
+
- unlearning
|
| 9 |
+
- intermediate-checkpoint
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# REX-Intern-S2-Bio-F3
|
| 13 |
+
|
| 14 |
+
This is **F3**, the expanded REX checkpoint after the 250M-token standard SFT
|
| 15 |
+
trajectory for Intern-S2 / WMDP-Bio. It still contains the
|
| 16 |
+
removed bank. The delivered form is **A3 = E(F3)**, obtained by physically removing
|
| 17 |
+
that bank and its router rows. Run the excision step below before using A3.
|
| 18 |
+
|
| 19 |
+
Copyright 2026 Shanghai AI Laboratory. Upstream model/tokenizer notices apply.
|
| 20 |
+
|
| 21 |
+
## Download and obtain A3
|
| 22 |
+
|
| 23 |
+
This is a **private staging candidate**. The project source and paper are awaiting
|
| 24 |
+
approval and have not been uploaded as part of this staging step. The source is
|
| 25 |
+
planned for [https://github.com/AI45Lab/REX](https://github.com/AI45Lab/REX); the commands below describe the workflow after
|
| 26 |
+
the source release is approved. The `v0.1.0` source tag is not available yet.
|
| 27 |
+
|
| 28 |
+
Use Linux x86-64 and Python 3.12. The download and excision environment is CPU-only;
|
| 29 |
+
training libraries are not needed. Pin the model download to its full HF commit
|
| 30 |
+
hash; private reviewers also need repository access and an authenticated HF CLI.
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
git clone --branch v0.1.0 https://github.com/AI45Lab/REX.git
|
| 34 |
+
cd REX
|
| 35 |
+
UV_PROJECT_ENVIRONMENT="$PWD/.venv-cpu" uv sync --project envs/cpu --locked
|
| 36 |
+
HF_REVISION="<full HF commit hash>"
|
| 37 |
+
.venv-cpu/bin/hf download AI45Research/REX-Intern-S2-Bio-F3 --revision "$HF_REVISION" --local-dir ./F3
|
| 38 |
+
REX_VENV="$PWD/.venv-cpu" bash scripts/excise_experts.sh ./F3 ./A3
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
F3 and A3 must be disjoint directories and A3 must not exist beforehand. Keep
|
| 42 |
+
`expert_expansion_manifest.json` with F3. Excision requires no F1/F2 weights,
|
| 43 |
+
training data, reference model, or object-store credentials. The output retains
|
| 44 |
+
the tokenizer and loading files, has 256 experts per
|
| 45 |
+
sparse layer (F3 has 264), and carries its own `run.json`.
|
| 46 |
+
It no longer has an expansion manifest. See the code README for A3 loading.
|
| 47 |
+
|
| 48 |
+
Excision reads and writes one weight shard at a time on CPU. Allow disk space
|
| 49 |
+
for both the full F3 and A3. Measured on the acceptance host with 16 CPU threads: F3 occupies 67.31 GiB and A3 65.44 GiB including loading assets; HF download cache is additional. Excision took 64.0 seconds, with 8.52 GiB peak RSS. Allow at least 16 GiB RAM for excision. Inference has separate hardware requirements.
|
| 50 |
+
|
| 51 |
+
## Existing evaluation
|
| 52 |
+
|
| 53 |
+
Percentages; ± denotes the reported standard error when available. These are
|
| 54 |
+
the indexed existing evaluations, not a fresh evaluation of this release package.
|
| 55 |
+
WMDP is four-way multiple choice (25% chance). Small near-chance differences
|
| 56 |
+
must be interpreted with uncertainty and capability metrics.
|
| 57 |
+
|
| 58 |
+
| Metric | Downloaded F3 (full) | A3 (physically excised) | Protocol |
|
| 59 |
+
| --- | --- | --- | --- |
|
| 60 |
+
| WMDP-Bio | 78.63 ± 1.15 | 54.99 ± 1.39 | `lm-eval-vllm-v1` |
|
| 61 |
+
| WMDP-Cyber | 58.98 ± 1.10 | 59.49 ± 1.10 | `lm-eval-vllm-v1` |
|
| 62 |
+
| MMLU | 84.08 ± 0.30 | 82.55 ± 0.31 | `lm-eval-vllm-v1` |
|
| 63 |
+
| ARC-Challenge (25-shot, normalized) | 72.01 ± 1.31 | 71.33 ± 1.32 | `lm-eval-vllm-v1` |
|
| 64 |
+
| HellaSwag (10-shot, normalized) | 85.27 ± 0.35 | 85.12 ± 0.36 | `lm-eval-vllm-v1` |
|
| 65 |
+
| GSM8K (5-shot, strict match) | 85.22 ± 0.98 | 86.20 ± 0.95 | `lm-eval-vllm-v1` |
|
| 66 |
+
| IFEval strict prompt accuracy | 78.56 ± 1.77 | 78.56 ± 1.77 | `ifeval-chat-v1` |
|
| 67 |
+
|
| 68 |
+
Evaluation uses lm-eval 0.4.12 and vLLM 0.19.1. IFEval uses the specified
|
| 69 |
+
non-thinking chat protocol. The JSON/text data and evaluation samples are not distributed.
|
| 70 |
+
|
| 71 |
+
## Provenance and limitations
|
| 72 |
+
|
| 73 |
+
The research input is an internally supplied Intern-S2 base checkpoint, built on Qwen3.5 with an Intern tokenizer. Redistribution of this input and its accompanying tokenizer was confirmed by the release owner; it is not the separately published Intern-S2-Preview architecture. The base_model link identifies the upstream Qwen lineage, not a byte-identical replacement for the research input.
|
| 74 |
+
|
| 75 |
+
Training data, data mixtures and selection recipes are not released. Method code
|
| 76 |
+
and generic examples are planned for [https://github.com/AI45Lab/REX](https://github.com/AI45Lab/REX) after approval. This model supports
|
| 77 |
+
using and inspecting the resulting model; it does not promise reproduction of
|
| 78 |
+
the training trajectory from public data. Acceptance exercises text loading and
|
| 79 |
+
forward passes; retained vision/other parameters do not establish multimodal performance.
|
| 80 |
+
|
| 81 |
+
The expansion manifest contains only structural information needed to remove
|
| 82 |
+
the appended bank. `run.json` is explicitly redacted: private paths, data recipes
|
| 83 |
+
and nested private lineage are omitted. Some source records originated in an
|
| 84 |
+
archive migration; missing training metadata is not reconstructed.
|
| 85 |
+
Training-only filenames embedded in SentencePiece models are removed; vocabulary,
|
| 86 |
+
scores, special-token settings and compiled normalization are preserved.
|
| 87 |
+
|
| 88 |
+
## Release status
|
| 89 |
+
|
| 90 |
+
Private staging candidate for v0.1.0. Source candidate (not yet uploaded): `49d98266ca09d278d83a556e810d995c9a48c997`.
|
| 91 |
+
Local S3 size/ETag, shard coverage, structural checks, original-versus-public A3 tensor equality, tokenizer equality, and GPU loading/finite text forward checks passed. HF upload/download verification is tracked privately at fixed commit revisions.
|
| 92 |
+
Public release, project source publication and the paper remain subject to final
|
| 93 |
+
approval. No release tag is created during private staging.
|
UPSTREAM_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.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5MoeForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"hidden_size": 2048,
|
| 7 |
+
"image_token_id": 248056,
|
| 8 |
+
"model_type": "qwen3_5_moe",
|
| 9 |
+
"text_config": {
|
| 10 |
+
"attention_bias": false,
|
| 11 |
+
"attention_dropout": 0.0,
|
| 12 |
+
"attn_output_gate": true,
|
| 13 |
+
"bos_token_id": null,
|
| 14 |
+
"dtype": "bfloat16",
|
| 15 |
+
"eos_token_id": 248044,
|
| 16 |
+
"full_attention_interval": 4,
|
| 17 |
+
"head_dim": 256,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 2048,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"layer_types": [
|
| 22 |
+
"linear_attention",
|
| 23 |
+
"linear_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"linear_attention",
|
| 27 |
+
"linear_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"linear_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"linear_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"linear_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"linear_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"linear_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"full_attention"
|
| 62 |
+
],
|
| 63 |
+
"linear_conv_kernel_dim": 4,
|
| 64 |
+
"linear_key_head_dim": 128,
|
| 65 |
+
"linear_num_key_heads": 16,
|
| 66 |
+
"linear_num_value_heads": 32,
|
| 67 |
+
"linear_value_head_dim": 128,
|
| 68 |
+
"mamba_ssm_dtype": "float32",
|
| 69 |
+
"max_position_embeddings": 262144,
|
| 70 |
+
"mlp_only_layers": [],
|
| 71 |
+
"model_type": "qwen3_5_moe_text",
|
| 72 |
+
"moe_intermediate_size": 512,
|
| 73 |
+
"mtp_num_hidden_layers": 1,
|
| 74 |
+
"mtp_use_dedicated_embeddings": false,
|
| 75 |
+
"num_attention_heads": 16,
|
| 76 |
+
"num_experts": 264,
|
| 77 |
+
"num_experts_per_tok": 8,
|
| 78 |
+
"num_hidden_layers": 40,
|
| 79 |
+
"num_key_value_heads": 2,
|
| 80 |
+
"output_router_logits": false,
|
| 81 |
+
"pad_token_id": null,
|
| 82 |
+
"partial_rotary_factor": 0.25,
|
| 83 |
+
"rms_norm_eps": 1e-06,
|
| 84 |
+
"rope_parameters": {
|
| 85 |
+
"mrope_interleaved": true,
|
| 86 |
+
"mrope_section": [
|
| 87 |
+
11,
|
| 88 |
+
11,
|
| 89 |
+
10
|
| 90 |
+
],
|
| 91 |
+
"partial_rotary_factor": 0.25,
|
| 92 |
+
"rope_theta": 10000000,
|
| 93 |
+
"rope_type": "default"
|
| 94 |
+
},
|
| 95 |
+
"router_aux_loss_coef": 0.001,
|
| 96 |
+
"sci_mtp_num_hidden_layers": 1,
|
| 97 |
+
"shared_expert_intermediate_size": 512,
|
| 98 |
+
"tie_word_embeddings": false,
|
| 99 |
+
"use_cache": false,
|
| 100 |
+
"vocab_size": 251392
|
| 101 |
+
},
|
| 102 |
+
"tie_word_embeddings": false,
|
| 103 |
+
"transformers_version": "5.12.1",
|
| 104 |
+
"video_token_id": 248057,
|
| 105 |
+
"vision_config": {
|
| 106 |
+
"deepstack_visual_indexes": [],
|
| 107 |
+
"depth": 27,
|
| 108 |
+
"dtype": "bfloat16",
|
| 109 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 110 |
+
"hidden_size": 1152,
|
| 111 |
+
"in_channels": 3,
|
| 112 |
+
"initializer_range": 0.02,
|
| 113 |
+
"intermediate_size": 4304,
|
| 114 |
+
"model_type": "qwen3_5_moe_vision",
|
| 115 |
+
"num_heads": 16,
|
| 116 |
+
"num_position_embeddings": 2304,
|
| 117 |
+
"out_hidden_size": 2048,
|
| 118 |
+
"patch_size": 16,
|
| 119 |
+
"spatial_merge_size": 2,
|
| 120 |
+
"temporal_patch_size": 2
|
| 121 |
+
},
|
| 122 |
+
"vision_end_token_id": 248054,
|
| 123 |
+
"vision_start_token_id": 248053
|
| 124 |
+
}
|
expert_expansion_manifest.json
ADDED
|
@@ -0,0 +1,529 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"expert_layout": "packed",
|
| 3 |
+
"num_new_experts": 8,
|
| 4 |
+
"old_num_experts": 256,
|
| 5 |
+
"new_num_experts": 264,
|
| 6 |
+
"inherited_expert_layout": "packed",
|
| 7 |
+
"layers": [
|
| 8 |
+
{
|
| 9 |
+
"layer": 0,
|
| 10 |
+
"new_experts": [
|
| 11 |
+
256,
|
| 12 |
+
257,
|
| 13 |
+
258,
|
| 14 |
+
259,
|
| 15 |
+
260,
|
| 16 |
+
261,
|
| 17 |
+
262,
|
| 18 |
+
263
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"layer": 1,
|
| 23 |
+
"new_experts": [
|
| 24 |
+
256,
|
| 25 |
+
257,
|
| 26 |
+
258,
|
| 27 |
+
259,
|
| 28 |
+
260,
|
| 29 |
+
261,
|
| 30 |
+
262,
|
| 31 |
+
263
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"layer": 2,
|
| 36 |
+
"new_experts": [
|
| 37 |
+
256,
|
| 38 |
+
257,
|
| 39 |
+
258,
|
| 40 |
+
259,
|
| 41 |
+
260,
|
| 42 |
+
261,
|
| 43 |
+
262,
|
| 44 |
+
263
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"layer": 3,
|
| 49 |
+
"new_experts": [
|
| 50 |
+
256,
|
| 51 |
+
257,
|
| 52 |
+
258,
|
| 53 |
+
259,
|
| 54 |
+
260,
|
| 55 |
+
261,
|
| 56 |
+
262,
|
| 57 |
+
263
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"layer": 4,
|
| 62 |
+
"new_experts": [
|
| 63 |
+
256,
|
| 64 |
+
257,
|
| 65 |
+
258,
|
| 66 |
+
259,
|
| 67 |
+
260,
|
| 68 |
+
261,
|
| 69 |
+
262,
|
| 70 |
+
263
|
| 71 |
+
]
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"layer": 5,
|
| 75 |
+
"new_experts": [
|
| 76 |
+
256,
|
| 77 |
+
257,
|
| 78 |
+
258,
|
| 79 |
+
259,
|
| 80 |
+
260,
|
| 81 |
+
261,
|
| 82 |
+
262,
|
| 83 |
+
263
|
| 84 |
+
]
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"layer": 6,
|
| 88 |
+
"new_experts": [
|
| 89 |
+
256,
|
| 90 |
+
257,
|
| 91 |
+
258,
|
| 92 |
+
259,
|
| 93 |
+
260,
|
| 94 |
+
261,
|
| 95 |
+
262,
|
| 96 |
+
263
|
| 97 |
+
]
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"layer": 7,
|
| 101 |
+
"new_experts": [
|
| 102 |
+
256,
|
| 103 |
+
257,
|
| 104 |
+
258,
|
| 105 |
+
259,
|
| 106 |
+
260,
|
| 107 |
+
261,
|
| 108 |
+
262,
|
| 109 |
+
263
|
| 110 |
+
]
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"layer": 8,
|
| 114 |
+
"new_experts": [
|
| 115 |
+
256,
|
| 116 |
+
257,
|
| 117 |
+
258,
|
| 118 |
+
259,
|
| 119 |
+
260,
|
| 120 |
+
261,
|
| 121 |
+
262,
|
| 122 |
+
263
|
| 123 |
+
]
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"layer": 9,
|
| 127 |
+
"new_experts": [
|
| 128 |
+
256,
|
| 129 |
+
257,
|
| 130 |
+
258,
|
| 131 |
+
259,
|
| 132 |
+
260,
|
| 133 |
+
261,
|
| 134 |
+
262,
|
| 135 |
+
263
|
| 136 |
+
]
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"layer": 10,
|
| 140 |
+
"new_experts": [
|
| 141 |
+
256,
|
| 142 |
+
257,
|
| 143 |
+
258,
|
| 144 |
+
259,
|
| 145 |
+
260,
|
| 146 |
+
261,
|
| 147 |
+
262,
|
| 148 |
+
263
|
| 149 |
+
]
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"layer": 11,
|
| 153 |
+
"new_experts": [
|
| 154 |
+
256,
|
| 155 |
+
257,
|
| 156 |
+
258,
|
| 157 |
+
259,
|
| 158 |
+
260,
|
| 159 |
+
261,
|
| 160 |
+
262,
|
| 161 |
+
263
|
| 162 |
+
]
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"layer": 12,
|
| 166 |
+
"new_experts": [
|
| 167 |
+
256,
|
| 168 |
+
257,
|
| 169 |
+
258,
|
| 170 |
+
259,
|
| 171 |
+
260,
|
| 172 |
+
261,
|
| 173 |
+
262,
|
| 174 |
+
263
|
| 175 |
+
]
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"layer": 13,
|
| 179 |
+
"new_experts": [
|
| 180 |
+
256,
|
| 181 |
+
257,
|
| 182 |
+
258,
|
| 183 |
+
259,
|
| 184 |
+
260,
|
| 185 |
+
261,
|
| 186 |
+
262,
|
| 187 |
+
263
|
| 188 |
+
]
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"layer": 14,
|
| 192 |
+
"new_experts": [
|
| 193 |
+
256,
|
| 194 |
+
257,
|
| 195 |
+
258,
|
| 196 |
+
259,
|
| 197 |
+
260,
|
| 198 |
+
261,
|
| 199 |
+
262,
|
| 200 |
+
263
|
| 201 |
+
]
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"layer": 15,
|
| 205 |
+
"new_experts": [
|
| 206 |
+
256,
|
| 207 |
+
257,
|
| 208 |
+
258,
|
| 209 |
+
259,
|
| 210 |
+
260,
|
| 211 |
+
261,
|
| 212 |
+
262,
|
| 213 |
+
263
|
| 214 |
+
]
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"layer": 16,
|
| 218 |
+
"new_experts": [
|
| 219 |
+
256,
|
| 220 |
+
257,
|
| 221 |
+
258,
|
| 222 |
+
259,
|
| 223 |
+
260,
|
| 224 |
+
261,
|
| 225 |
+
262,
|
| 226 |
+
263
|
| 227 |
+
]
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"layer": 17,
|
| 231 |
+
"new_experts": [
|
| 232 |
+
256,
|
| 233 |
+
257,
|
| 234 |
+
258,
|
| 235 |
+
259,
|
| 236 |
+
260,
|
| 237 |
+
261,
|
| 238 |
+
262,
|
| 239 |
+
263
|
| 240 |
+
]
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"layer": 18,
|
| 244 |
+
"new_experts": [
|
| 245 |
+
256,
|
| 246 |
+
257,
|
| 247 |
+
258,
|
| 248 |
+
259,
|
| 249 |
+
260,
|
| 250 |
+
261,
|
| 251 |
+
262,
|
| 252 |
+
263
|
| 253 |
+
]
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"layer": 19,
|
| 257 |
+
"new_experts": [
|
| 258 |
+
256,
|
| 259 |
+
257,
|
| 260 |
+
258,
|
| 261 |
+
259,
|
| 262 |
+
260,
|
| 263 |
+
261,
|
| 264 |
+
262,
|
| 265 |
+
263
|
| 266 |
+
]
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"layer": 20,
|
| 270 |
+
"new_experts": [
|
| 271 |
+
256,
|
| 272 |
+
257,
|
| 273 |
+
258,
|
| 274 |
+
259,
|
| 275 |
+
260,
|
| 276 |
+
261,
|
| 277 |
+
262,
|
| 278 |
+
263
|
| 279 |
+
]
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"layer": 21,
|
| 283 |
+
"new_experts": [
|
| 284 |
+
256,
|
| 285 |
+
257,
|
| 286 |
+
258,
|
| 287 |
+
259,
|
| 288 |
+
260,
|
| 289 |
+
261,
|
| 290 |
+
262,
|
| 291 |
+
263
|
| 292 |
+
]
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"layer": 22,
|
| 296 |
+
"new_experts": [
|
| 297 |
+
256,
|
| 298 |
+
257,
|
| 299 |
+
258,
|
| 300 |
+
259,
|
| 301 |
+
260,
|
| 302 |
+
261,
|
| 303 |
+
262,
|
| 304 |
+
263
|
| 305 |
+
]
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"layer": 23,
|
| 309 |
+
"new_experts": [
|
| 310 |
+
256,
|
| 311 |
+
257,
|
| 312 |
+
258,
|
| 313 |
+
259,
|
| 314 |
+
260,
|
| 315 |
+
261,
|
| 316 |
+
262,
|
| 317 |
+
263
|
| 318 |
+
]
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"layer": 24,
|
| 322 |
+
"new_experts": [
|
| 323 |
+
256,
|
| 324 |
+
257,
|
| 325 |
+
258,
|
| 326 |
+
259,
|
| 327 |
+
260,
|
| 328 |
+
261,
|
| 329 |
+
262,
|
| 330 |
+
263
|
| 331 |
+
]
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"layer": 25,
|
| 335 |
+
"new_experts": [
|
| 336 |
+
256,
|
| 337 |
+
257,
|
| 338 |
+
258,
|
| 339 |
+
259,
|
| 340 |
+
260,
|
| 341 |
+
261,
|
| 342 |
+
262,
|
| 343 |
+
263
|
| 344 |
+
]
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"layer": 26,
|
| 348 |
+
"new_experts": [
|
| 349 |
+
256,
|
| 350 |
+
257,
|
| 351 |
+
258,
|
| 352 |
+
259,
|
| 353 |
+
260,
|
| 354 |
+
261,
|
| 355 |
+
262,
|
| 356 |
+
263
|
| 357 |
+
]
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"layer": 27,
|
| 361 |
+
"new_experts": [
|
| 362 |
+
256,
|
| 363 |
+
257,
|
| 364 |
+
258,
|
| 365 |
+
259,
|
| 366 |
+
260,
|
| 367 |
+
261,
|
| 368 |
+
262,
|
| 369 |
+
263
|
| 370 |
+
]
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"layer": 28,
|
| 374 |
+
"new_experts": [
|
| 375 |
+
256,
|
| 376 |
+
257,
|
| 377 |
+
258,
|
| 378 |
+
259,
|
| 379 |
+
260,
|
| 380 |
+
261,
|
| 381 |
+
262,
|
| 382 |
+
263
|
| 383 |
+
]
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"layer": 29,
|
| 387 |
+
"new_experts": [
|
| 388 |
+
256,
|
| 389 |
+
257,
|
| 390 |
+
258,
|
| 391 |
+
259,
|
| 392 |
+
260,
|
| 393 |
+
261,
|
| 394 |
+
262,
|
| 395 |
+
263
|
| 396 |
+
]
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"layer": 30,
|
| 400 |
+
"new_experts": [
|
| 401 |
+
256,
|
| 402 |
+
257,
|
| 403 |
+
258,
|
| 404 |
+
259,
|
| 405 |
+
260,
|
| 406 |
+
261,
|
| 407 |
+
262,
|
| 408 |
+
263
|
| 409 |
+
]
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"layer": 31,
|
| 413 |
+
"new_experts": [
|
| 414 |
+
256,
|
| 415 |
+
257,
|
| 416 |
+
258,
|
| 417 |
+
259,
|
| 418 |
+
260,
|
| 419 |
+
261,
|
| 420 |
+
262,
|
| 421 |
+
263
|
| 422 |
+
]
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"layer": 32,
|
| 426 |
+
"new_experts": [
|
| 427 |
+
256,
|
| 428 |
+
257,
|
| 429 |
+
258,
|
| 430 |
+
259,
|
| 431 |
+
260,
|
| 432 |
+
261,
|
| 433 |
+
262,
|
| 434 |
+
263
|
| 435 |
+
]
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"layer": 33,
|
| 439 |
+
"new_experts": [
|
| 440 |
+
256,
|
| 441 |
+
257,
|
| 442 |
+
258,
|
| 443 |
+
259,
|
| 444 |
+
260,
|
| 445 |
+
261,
|
| 446 |
+
262,
|
| 447 |
+
263
|
| 448 |
+
]
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"layer": 34,
|
| 452 |
+
"new_experts": [
|
| 453 |
+
256,
|
| 454 |
+
257,
|
| 455 |
+
258,
|
| 456 |
+
259,
|
| 457 |
+
260,
|
| 458 |
+
261,
|
| 459 |
+
262,
|
| 460 |
+
263
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"layer": 35,
|
| 465 |
+
"new_experts": [
|
| 466 |
+
256,
|
| 467 |
+
257,
|
| 468 |
+
258,
|
| 469 |
+
259,
|
| 470 |
+
260,
|
| 471 |
+
261,
|
| 472 |
+
262,
|
| 473 |
+
263
|
| 474 |
+
]
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"layer": 36,
|
| 478 |
+
"new_experts": [
|
| 479 |
+
256,
|
| 480 |
+
257,
|
| 481 |
+
258,
|
| 482 |
+
259,
|
| 483 |
+
260,
|
| 484 |
+
261,
|
| 485 |
+
262,
|
| 486 |
+
263
|
| 487 |
+
]
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"layer": 37,
|
| 491 |
+
"new_experts": [
|
| 492 |
+
256,
|
| 493 |
+
257,
|
| 494 |
+
258,
|
| 495 |
+
259,
|
| 496 |
+
260,
|
| 497 |
+
261,
|
| 498 |
+
262,
|
| 499 |
+
263
|
| 500 |
+
]
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"layer": 38,
|
| 504 |
+
"new_experts": [
|
| 505 |
+
256,
|
| 506 |
+
257,
|
| 507 |
+
258,
|
| 508 |
+
259,
|
| 509 |
+
260,
|
| 510 |
+
261,
|
| 511 |
+
262,
|
| 512 |
+
263
|
| 513 |
+
]
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"layer": 39,
|
| 517 |
+
"new_experts": [
|
| 518 |
+
256,
|
| 519 |
+
257,
|
| 520 |
+
258,
|
| 521 |
+
259,
|
| 522 |
+
260,
|
| 523 |
+
261,
|
| 524 |
+
262,
|
| 525 |
+
263
|
| 526 |
+
]
|
| 527 |
+
}
|
| 528 |
+
]
|
| 529 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 248044,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
248046,
|
| 6 |
+
248044
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 248044,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "4.57.0.dev0"
|
| 13 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b59488ea23b72150cfcae71dc2dbccd5fe4ec5072ed11b3e159bb714550d6f2e
|
| 3 |
+
size 4576059256
|
model-00002-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0355d3fa9042b7ff73a314aad1271f113232e744c1af65f1b398d56c39cb1f6b
|
| 3 |
+
size 4565923624
|
model-00003-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fccdf1bdb02270ab44aaf3c866b87794f63e3f086a0635032a9a3359ab5883ae
|
| 3 |
+
size 4087099616
|
model-00004-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:937d7ad43fd8c8b8e644fcca31072002b6aea4ff1c1744b64880dd6d1c5cfc0b
|
| 3 |
+
size 4578833984
|
model-00005-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63eb934ed26d6d31cd1c6c2a7570f2d527e23d673036754fdab22d9bde2e7aa6
|
| 3 |
+
size 4087099608
|
model-00006-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d264fe675c8cce3fe404284536f676765cedeab87f93d7b8cf70a1eb2b5f68fa
|
| 3 |
+
size 4578834016
|
model-00007-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4a6b3a53ed654c0ce63af67b13a0a7c0cf9ca43fe7e2af2872df00dcdcd4510
|
| 3 |
+
size 4087099680
|
model-00008-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90e8ec26113d4797336441a56114a0cd8a17a6f80cbeb89c6d6c8da69d4f2dd3
|
| 3 |
+
size 4565923664
|
model-00009-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7314cdff5976c9d3854ab81ebd2bf18dfa0ba212ba9a1ad5fa4ad3a62e5f5fe9
|
| 3 |
+
size 4100010024
|
model-00010-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84218fbb571d70fcd555cc3b18a285eafd67a5d7455cc32941b37ac369281054
|
| 3 |
+
size 4565923664
|
model-00011-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc6f391d15181fd66445a00f1050b3994481bb05b30e412a2b5ac0f807e9236b
|
| 3 |
+
size 4087099664
|
model-00012-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:954b40091c35de665b3b9edec6a1d3bca91fccaa392e73e87e042ebfe9ff5f8d
|
| 3 |
+
size 4578834016
|
model-00013-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef1dd4159bce4cdd8c43fc06e3a8bd13179d34b3063eb5e38fcccdc85ed219e2
|
| 3 |
+
size 4087099664
|
model-00014-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3da4ed2beec4f37a4b72a837e42270aa5a3ec5e77868f93e80f716639d376797
|
| 3 |
+
size 4578834016
|
model-00015-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09c2809b71fb5401fecc3af4d6ea328b043632392b1dd732ea191637d5936364
|
| 3 |
+
size 4087099680
|
model-00016-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad225620be936478bca8386e58d6b12f32d5f3cd7058df70e7be350d0b3ec1de
|
| 3 |
+
size 4565923664
|
model-00017-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f4718ec1daca57df667c4b9e44e8729a609a032ca3d509dfcbbee2d7c192088
|
| 3 |
+
size 1583358424
|
model-passthrough-00000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df22e56e91a5780a6476af18060a867f649be1a83afd2bfd09f3f154a7a43d26
|
| 3 |
+
size 893179528
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,1033 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 72254106336
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00017-of-00017.safetensors",
|
| 7 |
+
"model.language_model.embed_tokens.weight": "model-00001-of-00017.safetensors",
|
| 8 |
+
"model.language_model.layers.0.input_layernorm.weight": "model-00001-of-00017.safetensors",
|
| 9 |
+
"model.language_model.layers.0.linear_attn.A_log": "model-00001-of-00017.safetensors",
|
| 10 |
+
"model.language_model.layers.0.linear_attn.conv1d.weight": "model-00001-of-00017.safetensors",
|
| 11 |
+
"model.language_model.layers.0.linear_attn.dt_bias": "model-00001-of-00017.safetensors",
|
| 12 |
+
"model.language_model.layers.0.linear_attn.in_proj_a.weight": "model-00001-of-00017.safetensors",
|
| 13 |
+
"model.language_model.layers.0.linear_attn.in_proj_b.weight": "model-00001-of-00017.safetensors",
|
| 14 |
+
"model.language_model.layers.0.linear_attn.in_proj_qkv.weight": "model-00001-of-00017.safetensors",
|
| 15 |
+
"model.language_model.layers.0.linear_attn.in_proj_z.weight": "model-00001-of-00017.safetensors",
|
| 16 |
+
"model.language_model.layers.0.linear_attn.norm.weight": "model-00001-of-00017.safetensors",
|
| 17 |
+
"model.language_model.layers.0.linear_attn.out_proj.weight": "model-00001-of-00017.safetensors",
|
| 18 |
+
"model.language_model.layers.0.mlp.experts.down_proj": "model-00001-of-00017.safetensors",
|
| 19 |
+
"model.language_model.layers.0.mlp.experts.gate_up_proj": "model-00001-of-00017.safetensors",
|
| 20 |
+
"model.language_model.layers.0.mlp.gate.weight": "model-00001-of-00017.safetensors",
|
| 21 |
+
"model.language_model.layers.0.mlp.shared_expert.down_proj.weight": "model-00001-of-00017.safetensors",
|
| 22 |
+
"model.language_model.layers.0.mlp.shared_expert.gate_proj.weight": "model-00001-of-00017.safetensors",
|
| 23 |
+
"model.language_model.layers.0.mlp.shared_expert.up_proj.weight": "model-00001-of-00017.safetensors",
|
| 24 |
+
"model.language_model.layers.0.mlp.shared_expert_gate.weight": "model-00001-of-00017.safetensors",
|
| 25 |
+
"model.language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00017.safetensors",
|
| 26 |
+
"model.language_model.layers.1.input_layernorm.weight": "model-00001-of-00017.safetensors",
|
| 27 |
+
"model.language_model.layers.1.linear_attn.A_log": "model-00001-of-00017.safetensors",
|
| 28 |
+
"model.language_model.layers.1.linear_attn.conv1d.weight": "model-00001-of-00017.safetensors",
|
| 29 |
+
"model.language_model.layers.1.linear_attn.dt_bias": "model-00001-of-00017.safetensors",
|
| 30 |
+
"model.language_model.layers.1.linear_attn.in_proj_a.weight": "model-00001-of-00017.safetensors",
|
| 31 |
+
"model.language_model.layers.1.linear_attn.in_proj_b.weight": "model-00001-of-00017.safetensors",
|
| 32 |
+
"model.language_model.layers.1.linear_attn.in_proj_qkv.weight": "model-00001-of-00017.safetensors",
|
| 33 |
+
"model.language_model.layers.1.linear_attn.in_proj_z.weight": "model-00001-of-00017.safetensors",
|
| 34 |
+
"model.language_model.layers.1.linear_attn.norm.weight": "model-00001-of-00017.safetensors",
|
| 35 |
+
"model.language_model.layers.1.linear_attn.out_proj.weight": "model-00001-of-00017.safetensors",
|
| 36 |
+
"model.language_model.layers.1.mlp.experts.down_proj": "model-00001-of-00017.safetensors",
|
| 37 |
+
"model.language_model.layers.1.mlp.experts.gate_up_proj": "model-00001-of-00017.safetensors",
|
| 38 |
+
"model.language_model.layers.1.mlp.gate.weight": "model-00001-of-00017.safetensors",
|
| 39 |
+
"model.language_model.layers.1.mlp.shared_expert.down_proj.weight": "model-00001-of-00017.safetensors",
|
| 40 |
+
"model.language_model.layers.1.mlp.shared_expert.gate_proj.weight": "model-00001-of-00017.safetensors",
|
| 41 |
+
"model.language_model.layers.1.mlp.shared_expert.up_proj.weight": "model-00001-of-00017.safetensors",
|
| 42 |
+
"model.language_model.layers.1.mlp.shared_expert_gate.weight": "model-00001-of-00017.safetensors",
|
| 43 |
+
"model.language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00017.safetensors",
|
| 44 |
+
"model.language_model.layers.10.input_layernorm.weight": "model-00005-of-00017.safetensors",
|
| 45 |
+
"model.language_model.layers.10.linear_attn.A_log": "model-00005-of-00017.safetensors",
|
| 46 |
+
"model.language_model.layers.10.linear_attn.conv1d.weight": "model-00005-of-00017.safetensors",
|
| 47 |
+
"model.language_model.layers.10.linear_attn.dt_bias": "model-00005-of-00017.safetensors",
|
| 48 |
+
"model.language_model.layers.10.linear_attn.in_proj_a.weight": "model-00005-of-00017.safetensors",
|
| 49 |
+
"model.language_model.layers.10.linear_attn.in_proj_b.weight": "model-00005-of-00017.safetensors",
|
| 50 |
+
"model.language_model.layers.10.linear_attn.in_proj_qkv.weight": "model-00005-of-00017.safetensors",
|
| 51 |
+
"model.language_model.layers.10.linear_attn.in_proj_z.weight": "model-00005-of-00017.safetensors",
|
| 52 |
+
"model.language_model.layers.10.linear_attn.norm.weight": "model-00005-of-00017.safetensors",
|
| 53 |
+
"model.language_model.layers.10.linear_attn.out_proj.weight": "model-00005-of-00017.safetensors",
|
| 54 |
+
"model.language_model.layers.10.mlp.experts.down_proj": "model-00005-of-00017.safetensors",
|
| 55 |
+
"model.language_model.layers.10.mlp.experts.gate_up_proj": "model-00005-of-00017.safetensors",
|
| 56 |
+
"model.language_model.layers.10.mlp.gate.weight": "model-00005-of-00017.safetensors",
|
| 57 |
+
"model.language_model.layers.10.mlp.shared_expert.down_proj.weight": "model-00005-of-00017.safetensors",
|
| 58 |
+
"model.language_model.layers.10.mlp.shared_expert.gate_proj.weight": "model-00005-of-00017.safetensors",
|
| 59 |
+
"model.language_model.layers.10.mlp.shared_expert.up_proj.weight": "model-00005-of-00017.safetensors",
|
| 60 |
+
"model.language_model.layers.10.mlp.shared_expert_gate.weight": "model-00005-of-00017.safetensors",
|
| 61 |
+
"model.language_model.layers.10.post_attention_layernorm.weight": "model-00005-of-00017.safetensors",
|
| 62 |
+
"model.language_model.layers.11.input_layernorm.weight": "model-00005-of-00017.safetensors",
|
| 63 |
+
"model.language_model.layers.11.mlp.experts.down_proj": "model-00005-of-00017.safetensors",
|
| 64 |
+
"model.language_model.layers.11.mlp.experts.gate_up_proj": "model-00005-of-00017.safetensors",
|
| 65 |
+
"model.language_model.layers.11.mlp.gate.weight": "model-00005-of-00017.safetensors",
|
| 66 |
+
"model.language_model.layers.11.mlp.shared_expert.down_proj.weight": "model-00005-of-00017.safetensors",
|
| 67 |
+
"model.language_model.layers.11.mlp.shared_expert.gate_proj.weight": "model-00005-of-00017.safetensors",
|
| 68 |
+
"model.language_model.layers.11.mlp.shared_expert.up_proj.weight": "model-00005-of-00017.safetensors",
|
| 69 |
+
"model.language_model.layers.11.mlp.shared_expert_gate.weight": "model-00005-of-00017.safetensors",
|
| 70 |
+
"model.language_model.layers.11.post_attention_layernorm.weight": "model-00005-of-00017.safetensors",
|
| 71 |
+
"model.language_model.layers.11.self_attn.k_norm.weight": "model-00005-of-00017.safetensors",
|
| 72 |
+
"model.language_model.layers.11.self_attn.k_proj.weight": "model-00005-of-00017.safetensors",
|
| 73 |
+
"model.language_model.layers.11.self_attn.o_proj.weight": "model-00005-of-00017.safetensors",
|
| 74 |
+
"model.language_model.layers.11.self_attn.q_norm.weight": "model-00005-of-00017.safetensors",
|
| 75 |
+
"model.language_model.layers.11.self_attn.q_proj.weight": "model-00005-of-00017.safetensors",
|
| 76 |
+
"model.language_model.layers.11.self_attn.v_proj.weight": "model-00005-of-00017.safetensors",
|
| 77 |
+
"model.language_model.layers.12.input_layernorm.weight": "model-00005-of-00017.safetensors",
|
| 78 |
+
"model.language_model.layers.12.linear_attn.A_log": "model-00005-of-00017.safetensors",
|
| 79 |
+
"model.language_model.layers.12.linear_attn.conv1d.weight": "model-00005-of-00017.safetensors",
|
| 80 |
+
"model.language_model.layers.12.linear_attn.dt_bias": "model-00005-of-00017.safetensors",
|
| 81 |
+
"model.language_model.layers.12.linear_attn.in_proj_a.weight": "model-00005-of-00017.safetensors",
|
| 82 |
+
"model.language_model.layers.12.linear_attn.in_proj_b.weight": "model-00005-of-00017.safetensors",
|
| 83 |
+
"model.language_model.layers.12.linear_attn.in_proj_qkv.weight": "model-00005-of-00017.safetensors",
|
| 84 |
+
"model.language_model.layers.12.linear_attn.in_proj_z.weight": "model-00005-of-00017.safetensors",
|
| 85 |
+
"model.language_model.layers.12.linear_attn.norm.weight": "model-00005-of-00017.safetensors",
|
| 86 |
+
"model.language_model.layers.12.linear_attn.out_proj.weight": "model-00005-of-00017.safetensors",
|
| 87 |
+
"model.language_model.layers.12.mlp.experts.down_proj": "model-00006-of-00017.safetensors",
|
| 88 |
+
"model.language_model.layers.12.mlp.experts.gate_up_proj": "model-00006-of-00017.safetensors",
|
| 89 |
+
"model.language_model.layers.12.mlp.gate.weight": "model-00005-of-00017.safetensors",
|
| 90 |
+
"model.language_model.layers.12.mlp.shared_expert.down_proj.weight": "model-00005-of-00017.safetensors",
|
| 91 |
+
"model.language_model.layers.12.mlp.shared_expert.gate_proj.weight": "model-00005-of-00017.safetensors",
|
| 92 |
+
"model.language_model.layers.12.mlp.shared_expert.up_proj.weight": "model-00005-of-00017.safetensors",
|
| 93 |
+
"model.language_model.layers.12.mlp.shared_expert_gate.weight": "model-00005-of-00017.safetensors",
|
| 94 |
+
"model.language_model.layers.12.post_attention_layernorm.weight": "model-00006-of-00017.safetensors",
|
| 95 |
+
"model.language_model.layers.13.input_layernorm.weight": "model-00006-of-00017.safetensors",
|
| 96 |
+
"model.language_model.layers.13.linear_attn.A_log": "model-00006-of-00017.safetensors",
|
| 97 |
+
"model.language_model.layers.13.linear_attn.conv1d.weight": "model-00006-of-00017.safetensors",
|
| 98 |
+
"model.language_model.layers.13.linear_attn.dt_bias": "model-00006-of-00017.safetensors",
|
| 99 |
+
"model.language_model.layers.13.linear_attn.in_proj_a.weight": "model-00006-of-00017.safetensors",
|
| 100 |
+
"model.language_model.layers.13.linear_attn.in_proj_b.weight": "model-00006-of-00017.safetensors",
|
| 101 |
+
"model.language_model.layers.13.linear_attn.in_proj_qkv.weight": "model-00006-of-00017.safetensors",
|
| 102 |
+
"model.language_model.layers.13.linear_attn.in_proj_z.weight": "model-00006-of-00017.safetensors",
|
| 103 |
+
"model.language_model.layers.13.linear_attn.norm.weight": "model-00006-of-00017.safetensors",
|
| 104 |
+
"model.language_model.layers.13.linear_attn.out_proj.weight": "model-00006-of-00017.safetensors",
|
| 105 |
+
"model.language_model.layers.13.mlp.experts.down_proj": "model-00006-of-00017.safetensors",
|
| 106 |
+
"model.language_model.layers.13.mlp.experts.gate_up_proj": "model-00006-of-00017.safetensors",
|
| 107 |
+
"model.language_model.layers.13.mlp.gate.weight": "model-00006-of-00017.safetensors",
|
| 108 |
+
"model.language_model.layers.13.mlp.shared_expert.down_proj.weight": "model-00006-of-00017.safetensors",
|
| 109 |
+
"model.language_model.layers.13.mlp.shared_expert.gate_proj.weight": "model-00006-of-00017.safetensors",
|
| 110 |
+
"model.language_model.layers.13.mlp.shared_expert.up_proj.weight": "model-00006-of-00017.safetensors",
|
| 111 |
+
"model.language_model.layers.13.mlp.shared_expert_gate.weight": "model-00006-of-00017.safetensors",
|
| 112 |
+
"model.language_model.layers.13.post_attention_layernorm.weight": "model-00006-of-00017.safetensors",
|
| 113 |
+
"model.language_model.layers.14.input_layernorm.weight": "model-00006-of-00017.safetensors",
|
| 114 |
+
"model.language_model.layers.14.linear_attn.A_log": "model-00006-of-00017.safetensors",
|
| 115 |
+
"model.language_model.layers.14.linear_attn.conv1d.weight": "model-00006-of-00017.safetensors",
|
| 116 |
+
"model.language_model.layers.14.linear_attn.dt_bias": "model-00006-of-00017.safetensors",
|
| 117 |
+
"model.language_model.layers.14.linear_attn.in_proj_a.weight": "model-00006-of-00017.safetensors",
|
| 118 |
+
"model.language_model.layers.14.linear_attn.in_proj_b.weight": "model-00006-of-00017.safetensors",
|
| 119 |
+
"model.language_model.layers.14.linear_attn.in_proj_qkv.weight": "model-00006-of-00017.safetensors",
|
| 120 |
+
"model.language_model.layers.14.linear_attn.in_proj_z.weight": "model-00006-of-00017.safetensors",
|
| 121 |
+
"model.language_model.layers.14.linear_attn.norm.weight": "model-00006-of-00017.safetensors",
|
| 122 |
+
"model.language_model.layers.14.linear_attn.out_proj.weight": "model-00006-of-00017.safetensors",
|
| 123 |
+
"model.language_model.layers.14.mlp.experts.down_proj": "model-00007-of-00017.safetensors",
|
| 124 |
+
"model.language_model.layers.14.mlp.experts.gate_up_proj": "model-00006-of-00017.safetensors",
|
| 125 |
+
"model.language_model.layers.14.mlp.gate.weight": "model-00006-of-00017.safetensors",
|
| 126 |
+
"model.language_model.layers.14.mlp.shared_expert.down_proj.weight": "model-00006-of-00017.safetensors",
|
| 127 |
+
"model.language_model.layers.14.mlp.shared_expert.gate_proj.weight": "model-00006-of-00017.safetensors",
|
| 128 |
+
"model.language_model.layers.14.mlp.shared_expert.up_proj.weight": "model-00006-of-00017.safetensors",
|
| 129 |
+
"model.language_model.layers.14.mlp.shared_expert_gate.weight": "model-00006-of-00017.safetensors",
|
| 130 |
+
"model.language_model.layers.14.post_attention_layernorm.weight": "model-00007-of-00017.safetensors",
|
| 131 |
+
"model.language_model.layers.15.input_layernorm.weight": "model-00007-of-00017.safetensors",
|
| 132 |
+
"model.language_model.layers.15.mlp.experts.down_proj": "model-00007-of-00017.safetensors",
|
| 133 |
+
"model.language_model.layers.15.mlp.experts.gate_up_proj": "model-00007-of-00017.safetensors",
|
| 134 |
+
"model.language_model.layers.15.mlp.gate.weight": "model-00007-of-00017.safetensors",
|
| 135 |
+
"model.language_model.layers.15.mlp.shared_expert.down_proj.weight": "model-00007-of-00017.safetensors",
|
| 136 |
+
"model.language_model.layers.15.mlp.shared_expert.gate_proj.weight": "model-00007-of-00017.safetensors",
|
| 137 |
+
"model.language_model.layers.15.mlp.shared_expert.up_proj.weight": "model-00007-of-00017.safetensors",
|
| 138 |
+
"model.language_model.layers.15.mlp.shared_expert_gate.weight": "model-00007-of-00017.safetensors",
|
| 139 |
+
"model.language_model.layers.15.post_attention_layernorm.weight": "model-00007-of-00017.safetensors",
|
| 140 |
+
"model.language_model.layers.15.self_attn.k_norm.weight": "model-00007-of-00017.safetensors",
|
| 141 |
+
"model.language_model.layers.15.self_attn.k_proj.weight": "model-00007-of-00017.safetensors",
|
| 142 |
+
"model.language_model.layers.15.self_attn.o_proj.weight": "model-00007-of-00017.safetensors",
|
| 143 |
+
"model.language_model.layers.15.self_attn.q_norm.weight": "model-00007-of-00017.safetensors",
|
| 144 |
+
"model.language_model.layers.15.self_attn.q_proj.weight": "model-00007-of-00017.safetensors",
|
| 145 |
+
"model.language_model.layers.15.self_attn.v_proj.weight": "model-00007-of-00017.safetensors",
|
| 146 |
+
"model.language_model.layers.16.input_layernorm.weight": "model-00007-of-00017.safetensors",
|
| 147 |
+
"model.language_model.layers.16.linear_attn.A_log": "model-00007-of-00017.safetensors",
|
| 148 |
+
"model.language_model.layers.16.linear_attn.conv1d.weight": "model-00007-of-00017.safetensors",
|
| 149 |
+
"model.language_model.layers.16.linear_attn.dt_bias": "model-00007-of-00017.safetensors",
|
| 150 |
+
"model.language_model.layers.16.linear_attn.in_proj_a.weight": "model-00007-of-00017.safetensors",
|
| 151 |
+
"model.language_model.layers.16.linear_attn.in_proj_b.weight": "model-00007-of-00017.safetensors",
|
| 152 |
+
"model.language_model.layers.16.linear_attn.in_proj_qkv.weight": "model-00007-of-00017.safetensors",
|
| 153 |
+
"model.language_model.layers.16.linear_attn.in_proj_z.weight": "model-00007-of-00017.safetensors",
|
| 154 |
+
"model.language_model.layers.16.linear_attn.norm.weight": "model-00007-of-00017.safetensors",
|
| 155 |
+
"model.language_model.layers.16.linear_attn.out_proj.weight": "model-00007-of-00017.safetensors",
|
| 156 |
+
"model.language_model.layers.16.mlp.experts.down_proj": "model-00007-of-00017.safetensors",
|
| 157 |
+
"model.language_model.layers.16.mlp.experts.gate_up_proj": "model-00007-of-00017.safetensors",
|
| 158 |
+
"model.language_model.layers.16.mlp.gate.weight": "model-00007-of-00017.safetensors",
|
| 159 |
+
"model.language_model.layers.16.mlp.shared_expert.down_proj.weight": "model-00007-of-00017.safetensors",
|
| 160 |
+
"model.language_model.layers.16.mlp.shared_expert.gate_proj.weight": "model-00007-of-00017.safetensors",
|
| 161 |
+
"model.language_model.layers.16.mlp.shared_expert.up_proj.weight": "model-00007-of-00017.safetensors",
|
| 162 |
+
"model.language_model.layers.16.mlp.shared_expert_gate.weight": "model-00007-of-00017.safetensors",
|
| 163 |
+
"model.language_model.layers.16.post_attention_layernorm.weight": "model-00007-of-00017.safetensors",
|
| 164 |
+
"model.language_model.layers.17.input_layernorm.weight": "model-00007-of-00017.safetensors",
|
| 165 |
+
"model.language_model.layers.17.linear_attn.A_log": "model-00007-of-00017.safetensors",
|
| 166 |
+
"model.language_model.layers.17.linear_attn.conv1d.weight": "model-00007-of-00017.safetensors",
|
| 167 |
+
"model.language_model.layers.17.linear_attn.dt_bias": "model-00007-of-00017.safetensors",
|
| 168 |
+
"model.language_model.layers.17.linear_attn.in_proj_a.weight": "model-00007-of-00017.safetensors",
|
| 169 |
+
"model.language_model.layers.17.linear_attn.in_proj_b.weight": "model-00007-of-00017.safetensors",
|
| 170 |
+
"model.language_model.layers.17.linear_attn.in_proj_qkv.weight": "model-00007-of-00017.safetensors",
|
| 171 |
+
"model.language_model.layers.17.linear_attn.in_proj_z.weight": "model-00007-of-00017.safetensors",
|
| 172 |
+
"model.language_model.layers.17.linear_attn.norm.weight": "model-00007-of-00017.safetensors",
|
| 173 |
+
"model.language_model.layers.17.linear_attn.out_proj.weight": "model-00007-of-00017.safetensors",
|
| 174 |
+
"model.language_model.layers.17.mlp.experts.down_proj": "model-00008-of-00017.safetensors",
|
| 175 |
+
"model.language_model.layers.17.mlp.experts.gate_up_proj": "model-00008-of-00017.safetensors",
|
| 176 |
+
"model.language_model.layers.17.mlp.gate.weight": "model-00007-of-00017.safetensors",
|
| 177 |
+
"model.language_model.layers.17.mlp.shared_expert.down_proj.weight": "model-00007-of-00017.safetensors",
|
| 178 |
+
"model.language_model.layers.17.mlp.shared_expert.gate_proj.weight": "model-00007-of-00017.safetensors",
|
| 179 |
+
"model.language_model.layers.17.mlp.shared_expert.up_proj.weight": "model-00007-of-00017.safetensors",
|
| 180 |
+
"model.language_model.layers.17.mlp.shared_expert_gate.weight": "model-00007-of-00017.safetensors",
|
| 181 |
+
"model.language_model.layers.17.post_attention_layernorm.weight": "model-00008-of-00017.safetensors",
|
| 182 |
+
"model.language_model.layers.18.input_layernorm.weight": "model-00008-of-00017.safetensors",
|
| 183 |
+
"model.language_model.layers.18.linear_attn.A_log": "model-00008-of-00017.safetensors",
|
| 184 |
+
"model.language_model.layers.18.linear_attn.conv1d.weight": "model-00008-of-00017.safetensors",
|
| 185 |
+
"model.language_model.layers.18.linear_attn.dt_bias": "model-00008-of-00017.safetensors",
|
| 186 |
+
"model.language_model.layers.18.linear_attn.in_proj_a.weight": "model-00008-of-00017.safetensors",
|
| 187 |
+
"model.language_model.layers.18.linear_attn.in_proj_b.weight": "model-00008-of-00017.safetensors",
|
| 188 |
+
"model.language_model.layers.18.linear_attn.in_proj_qkv.weight": "model-00008-of-00017.safetensors",
|
| 189 |
+
"model.language_model.layers.18.linear_attn.in_proj_z.weight": "model-00008-of-00017.safetensors",
|
| 190 |
+
"model.language_model.layers.18.linear_attn.norm.weight": "model-00008-of-00017.safetensors",
|
| 191 |
+
"model.language_model.layers.18.linear_attn.out_proj.weight": "model-00008-of-00017.safetensors",
|
| 192 |
+
"model.language_model.layers.18.mlp.experts.down_proj": "model-00008-of-00017.safetensors",
|
| 193 |
+
"model.language_model.layers.18.mlp.experts.gate_up_proj": "model-00008-of-00017.safetensors",
|
| 194 |
+
"model.language_model.layers.18.mlp.gate.weight": "model-00008-of-00017.safetensors",
|
| 195 |
+
"model.language_model.layers.18.mlp.shared_expert.down_proj.weight": "model-00008-of-00017.safetensors",
|
| 196 |
+
"model.language_model.layers.18.mlp.shared_expert.gate_proj.weight": "model-00008-of-00017.safetensors",
|
| 197 |
+
"model.language_model.layers.18.mlp.shared_expert.up_proj.weight": "model-00008-of-00017.safetensors",
|
| 198 |
+
"model.language_model.layers.18.mlp.shared_expert_gate.weight": "model-00008-of-00017.safetensors",
|
| 199 |
+
"model.language_model.layers.18.post_attention_layernorm.weight": "model-00008-of-00017.safetensors",
|
| 200 |
+
"model.language_model.layers.19.input_layernorm.weight": "model-00008-of-00017.safetensors",
|
| 201 |
+
"model.language_model.layers.19.mlp.experts.down_proj": "model-00009-of-00017.safetensors",
|
| 202 |
+
"model.language_model.layers.19.mlp.experts.gate_up_proj": "model-00008-of-00017.safetensors",
|
| 203 |
+
"model.language_model.layers.19.mlp.gate.weight": "model-00008-of-00017.safetensors",
|
| 204 |
+
"model.language_model.layers.19.mlp.shared_expert.down_proj.weight": "model-00008-of-00017.safetensors",
|
| 205 |
+
"model.language_model.layers.19.mlp.shared_expert.gate_proj.weight": "model-00008-of-00017.safetensors",
|
| 206 |
+
"model.language_model.layers.19.mlp.shared_expert.up_proj.weight": "model-00008-of-00017.safetensors",
|
| 207 |
+
"model.language_model.layers.19.mlp.shared_expert_gate.weight": "model-00008-of-00017.safetensors",
|
| 208 |
+
"model.language_model.layers.19.post_attention_layernorm.weight": "model-00009-of-00017.safetensors",
|
| 209 |
+
"model.language_model.layers.19.self_attn.k_norm.weight": "model-00008-of-00017.safetensors",
|
| 210 |
+
"model.language_model.layers.19.self_attn.k_proj.weight": "model-00008-of-00017.safetensors",
|
| 211 |
+
"model.language_model.layers.19.self_attn.o_proj.weight": "model-00008-of-00017.safetensors",
|
| 212 |
+
"model.language_model.layers.19.self_attn.q_norm.weight": "model-00008-of-00017.safetensors",
|
| 213 |
+
"model.language_model.layers.19.self_attn.q_proj.weight": "model-00008-of-00017.safetensors",
|
| 214 |
+
"model.language_model.layers.19.self_attn.v_proj.weight": "model-00008-of-00017.safetensors",
|
| 215 |
+
"model.language_model.layers.2.input_layernorm.weight": "model-00001-of-00017.safetensors",
|
| 216 |
+
"model.language_model.layers.2.linear_attn.A_log": "model-00001-of-00017.safetensors",
|
| 217 |
+
"model.language_model.layers.2.linear_attn.conv1d.weight": "model-00001-of-00017.safetensors",
|
| 218 |
+
"model.language_model.layers.2.linear_attn.dt_bias": "model-00001-of-00017.safetensors",
|
| 219 |
+
"model.language_model.layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00017.safetensors",
|
| 220 |
+
"model.language_model.layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00017.safetensors",
|
| 221 |
+
"model.language_model.layers.2.linear_attn.in_proj_qkv.weight": "model-00001-of-00017.safetensors",
|
| 222 |
+
"model.language_model.layers.2.linear_attn.in_proj_z.weight": "model-00001-of-00017.safetensors",
|
| 223 |
+
"model.language_model.layers.2.linear_attn.norm.weight": "model-00001-of-00017.safetensors",
|
| 224 |
+
"model.language_model.layers.2.linear_attn.out_proj.weight": "model-00001-of-00017.safetensors",
|
| 225 |
+
"model.language_model.layers.2.mlp.experts.down_proj": "model-00002-of-00017.safetensors",
|
| 226 |
+
"model.language_model.layers.2.mlp.experts.gate_up_proj": "model-00002-of-00017.safetensors",
|
| 227 |
+
"model.language_model.layers.2.mlp.gate.weight": "model-00001-of-00017.safetensors",
|
| 228 |
+
"model.language_model.layers.2.mlp.shared_expert.down_proj.weight": "model-00001-of-00017.safetensors",
|
| 229 |
+
"model.language_model.layers.2.mlp.shared_expert.gate_proj.weight": "model-00001-of-00017.safetensors",
|
| 230 |
+
"model.language_model.layers.2.mlp.shared_expert.up_proj.weight": "model-00001-of-00017.safetensors",
|
| 231 |
+
"model.language_model.layers.2.mlp.shared_expert_gate.weight": "model-00001-of-00017.safetensors",
|
| 232 |
+
"model.language_model.layers.2.post_attention_layernorm.weight": "model-00002-of-00017.safetensors",
|
| 233 |
+
"model.language_model.layers.20.input_layernorm.weight": "model-00009-of-00017.safetensors",
|
| 234 |
+
"model.language_model.layers.20.linear_attn.A_log": "model-00009-of-00017.safetensors",
|
| 235 |
+
"model.language_model.layers.20.linear_attn.conv1d.weight": "model-00009-of-00017.safetensors",
|
| 236 |
+
"model.language_model.layers.20.linear_attn.dt_bias": "model-00009-of-00017.safetensors",
|
| 237 |
+
"model.language_model.layers.20.linear_attn.in_proj_a.weight": "model-00009-of-00017.safetensors",
|
| 238 |
+
"model.language_model.layers.20.linear_attn.in_proj_b.weight": "model-00009-of-00017.safetensors",
|
| 239 |
+
"model.language_model.layers.20.linear_attn.in_proj_qkv.weight": "model-00009-of-00017.safetensors",
|
| 240 |
+
"model.language_model.layers.20.linear_attn.in_proj_z.weight": "model-00009-of-00017.safetensors",
|
| 241 |
+
"model.language_model.layers.20.linear_attn.norm.weight": "model-00009-of-00017.safetensors",
|
| 242 |
+
"model.language_model.layers.20.linear_attn.out_proj.weight": "model-00009-of-00017.safetensors",
|
| 243 |
+
"model.language_model.layers.20.mlp.experts.down_proj": "model-00009-of-00017.safetensors",
|
| 244 |
+
"model.language_model.layers.20.mlp.experts.gate_up_proj": "model-00009-of-00017.safetensors",
|
| 245 |
+
"model.language_model.layers.20.mlp.gate.weight": "model-00009-of-00017.safetensors",
|
| 246 |
+
"model.language_model.layers.20.mlp.shared_expert.down_proj.weight": "model-00009-of-00017.safetensors",
|
| 247 |
+
"model.language_model.layers.20.mlp.shared_expert.gate_proj.weight": "model-00009-of-00017.safetensors",
|
| 248 |
+
"model.language_model.layers.20.mlp.shared_expert.up_proj.weight": "model-00009-of-00017.safetensors",
|
| 249 |
+
"model.language_model.layers.20.mlp.shared_expert_gate.weight": "model-00009-of-00017.safetensors",
|
| 250 |
+
"model.language_model.layers.20.post_attention_layernorm.weight": "model-00009-of-00017.safetensors",
|
| 251 |
+
"model.language_model.layers.21.input_layernorm.weight": "model-00009-of-00017.safetensors",
|
| 252 |
+
"model.language_model.layers.21.linear_attn.A_log": "model-00009-of-00017.safetensors",
|
| 253 |
+
"model.language_model.layers.21.linear_attn.conv1d.weight": "model-00009-of-00017.safetensors",
|
| 254 |
+
"model.language_model.layers.21.linear_attn.dt_bias": "model-00009-of-00017.safetensors",
|
| 255 |
+
"model.language_model.layers.21.linear_attn.in_proj_a.weight": "model-00009-of-00017.safetensors",
|
| 256 |
+
"model.language_model.layers.21.linear_attn.in_proj_b.weight": "model-00009-of-00017.safetensors",
|
| 257 |
+
"model.language_model.layers.21.linear_attn.in_proj_qkv.weight": "model-00009-of-00017.safetensors",
|
| 258 |
+
"model.language_model.layers.21.linear_attn.in_proj_z.weight": "model-00009-of-00017.safetensors",
|
| 259 |
+
"model.language_model.layers.21.linear_attn.norm.weight": "model-00009-of-00017.safetensors",
|
| 260 |
+
"model.language_model.layers.21.linear_attn.out_proj.weight": "model-00009-of-00017.safetensors",
|
| 261 |
+
"model.language_model.layers.21.mlp.experts.down_proj": "model-00009-of-00017.safetensors",
|
| 262 |
+
"model.language_model.layers.21.mlp.experts.gate_up_proj": "model-00009-of-00017.safetensors",
|
| 263 |
+
"model.language_model.layers.21.mlp.gate.weight": "model-00009-of-00017.safetensors",
|
| 264 |
+
"model.language_model.layers.21.mlp.shared_expert.down_proj.weight": "model-00009-of-00017.safetensors",
|
| 265 |
+
"model.language_model.layers.21.mlp.shared_expert.gate_proj.weight": "model-00009-of-00017.safetensors",
|
| 266 |
+
"model.language_model.layers.21.mlp.shared_expert.up_proj.weight": "model-00009-of-00017.safetensors",
|
| 267 |
+
"model.language_model.layers.21.mlp.shared_expert_gate.weight": "model-00009-of-00017.safetensors",
|
| 268 |
+
"model.language_model.layers.21.post_attention_layernorm.weight": "model-00009-of-00017.safetensors",
|
| 269 |
+
"model.language_model.layers.22.input_layernorm.weight": "model-00009-of-00017.safetensors",
|
| 270 |
+
"model.language_model.layers.22.linear_attn.A_log": "model-00009-of-00017.safetensors",
|
| 271 |
+
"model.language_model.layers.22.linear_attn.conv1d.weight": "model-00009-of-00017.safetensors",
|
| 272 |
+
"model.language_model.layers.22.linear_attn.dt_bias": "model-00009-of-00017.safetensors",
|
| 273 |
+
"model.language_model.layers.22.linear_attn.in_proj_a.weight": "model-00009-of-00017.safetensors",
|
| 274 |
+
"model.language_model.layers.22.linear_attn.in_proj_b.weight": "model-00009-of-00017.safetensors",
|
| 275 |
+
"model.language_model.layers.22.linear_attn.in_proj_qkv.weight": "model-00009-of-00017.safetensors",
|
| 276 |
+
"model.language_model.layers.22.linear_attn.in_proj_z.weight": "model-00009-of-00017.safetensors",
|
| 277 |
+
"model.language_model.layers.22.linear_attn.norm.weight": "model-00009-of-00017.safetensors",
|
| 278 |
+
"model.language_model.layers.22.linear_attn.out_proj.weight": "model-00009-of-00017.safetensors",
|
| 279 |
+
"model.language_model.layers.22.mlp.experts.down_proj": "model-00010-of-00017.safetensors",
|
| 280 |
+
"model.language_model.layers.22.mlp.experts.gate_up_proj": "model-00010-of-00017.safetensors",
|
| 281 |
+
"model.language_model.layers.22.mlp.gate.weight": "model-00009-of-00017.safetensors",
|
| 282 |
+
"model.language_model.layers.22.mlp.shared_expert.down_proj.weight": "model-00009-of-00017.safetensors",
|
| 283 |
+
"model.language_model.layers.22.mlp.shared_expert.gate_proj.weight": "model-00009-of-00017.safetensors",
|
| 284 |
+
"model.language_model.layers.22.mlp.shared_expert.up_proj.weight": "model-00009-of-00017.safetensors",
|
| 285 |
+
"model.language_model.layers.22.mlp.shared_expert_gate.weight": "model-00009-of-00017.safetensors",
|
| 286 |
+
"model.language_model.layers.22.post_attention_layernorm.weight": "model-00010-of-00017.safetensors",
|
| 287 |
+
"model.language_model.layers.23.input_layernorm.weight": "model-00010-of-00017.safetensors",
|
| 288 |
+
"model.language_model.layers.23.mlp.experts.down_proj": "model-00010-of-00017.safetensors",
|
| 289 |
+
"model.language_model.layers.23.mlp.experts.gate_up_proj": "model-00010-of-00017.safetensors",
|
| 290 |
+
"model.language_model.layers.23.mlp.gate.weight": "model-00010-of-00017.safetensors",
|
| 291 |
+
"model.language_model.layers.23.mlp.shared_expert.down_proj.weight": "model-00010-of-00017.safetensors",
|
| 292 |
+
"model.language_model.layers.23.mlp.shared_expert.gate_proj.weight": "model-00010-of-00017.safetensors",
|
| 293 |
+
"model.language_model.layers.23.mlp.shared_expert.up_proj.weight": "model-00010-of-00017.safetensors",
|
| 294 |
+
"model.language_model.layers.23.mlp.shared_expert_gate.weight": "model-00010-of-00017.safetensors",
|
| 295 |
+
"model.language_model.layers.23.post_attention_layernorm.weight": "model-00010-of-00017.safetensors",
|
| 296 |
+
"model.language_model.layers.23.self_attn.k_norm.weight": "model-00010-of-00017.safetensors",
|
| 297 |
+
"model.language_model.layers.23.self_attn.k_proj.weight": "model-00010-of-00017.safetensors",
|
| 298 |
+
"model.language_model.layers.23.self_attn.o_proj.weight": "model-00010-of-00017.safetensors",
|
| 299 |
+
"model.language_model.layers.23.self_attn.q_norm.weight": "model-00010-of-00017.safetensors",
|
| 300 |
+
"model.language_model.layers.23.self_attn.q_proj.weight": "model-00010-of-00017.safetensors",
|
| 301 |
+
"model.language_model.layers.23.self_attn.v_proj.weight": "model-00010-of-00017.safetensors",
|
| 302 |
+
"model.language_model.layers.24.input_layernorm.weight": "model-00010-of-00017.safetensors",
|
| 303 |
+
"model.language_model.layers.24.linear_attn.A_log": "model-00010-of-00017.safetensors",
|
| 304 |
+
"model.language_model.layers.24.linear_attn.conv1d.weight": "model-00010-of-00017.safetensors",
|
| 305 |
+
"model.language_model.layers.24.linear_attn.dt_bias": "model-00010-of-00017.safetensors",
|
| 306 |
+
"model.language_model.layers.24.linear_attn.in_proj_a.weight": "model-00010-of-00017.safetensors",
|
| 307 |
+
"model.language_model.layers.24.linear_attn.in_proj_b.weight": "model-00010-of-00017.safetensors",
|
| 308 |
+
"model.language_model.layers.24.linear_attn.in_proj_qkv.weight": "model-00010-of-00017.safetensors",
|
| 309 |
+
"model.language_model.layers.24.linear_attn.in_proj_z.weight": "model-00010-of-00017.safetensors",
|
| 310 |
+
"model.language_model.layers.24.linear_attn.norm.weight": "model-00010-of-00017.safetensors",
|
| 311 |
+
"model.language_model.layers.24.linear_attn.out_proj.weight": "model-00010-of-00017.safetensors",
|
| 312 |
+
"model.language_model.layers.24.mlp.experts.down_proj": "model-00011-of-00017.safetensors",
|
| 313 |
+
"model.language_model.layers.24.mlp.experts.gate_up_proj": "model-00010-of-00017.safetensors",
|
| 314 |
+
"model.language_model.layers.24.mlp.gate.weight": "model-00010-of-00017.safetensors",
|
| 315 |
+
"model.language_model.layers.24.mlp.shared_expert.down_proj.weight": "model-00010-of-00017.safetensors",
|
| 316 |
+
"model.language_model.layers.24.mlp.shared_expert.gate_proj.weight": "model-00010-of-00017.safetensors",
|
| 317 |
+
"model.language_model.layers.24.mlp.shared_expert.up_proj.weight": "model-00010-of-00017.safetensors",
|
| 318 |
+
"model.language_model.layers.24.mlp.shared_expert_gate.weight": "model-00010-of-00017.safetensors",
|
| 319 |
+
"model.language_model.layers.24.post_attention_layernorm.weight": "model-00011-of-00017.safetensors",
|
| 320 |
+
"model.language_model.layers.25.input_layernorm.weight": "model-00011-of-00017.safetensors",
|
| 321 |
+
"model.language_model.layers.25.linear_attn.A_log": "model-00011-of-00017.safetensors",
|
| 322 |
+
"model.language_model.layers.25.linear_attn.conv1d.weight": "model-00011-of-00017.safetensors",
|
| 323 |
+
"model.language_model.layers.25.linear_attn.dt_bias": "model-00011-of-00017.safetensors",
|
| 324 |
+
"model.language_model.layers.25.linear_attn.in_proj_a.weight": "model-00011-of-00017.safetensors",
|
| 325 |
+
"model.language_model.layers.25.linear_attn.in_proj_b.weight": "model-00011-of-00017.safetensors",
|
| 326 |
+
"model.language_model.layers.25.linear_attn.in_proj_qkv.weight": "model-00011-of-00017.safetensors",
|
| 327 |
+
"model.language_model.layers.25.linear_attn.in_proj_z.weight": "model-00011-of-00017.safetensors",
|
| 328 |
+
"model.language_model.layers.25.linear_attn.norm.weight": "model-00011-of-00017.safetensors",
|
| 329 |
+
"model.language_model.layers.25.linear_attn.out_proj.weight": "model-00011-of-00017.safetensors",
|
| 330 |
+
"model.language_model.layers.25.mlp.experts.down_proj": "model-00011-of-00017.safetensors",
|
| 331 |
+
"model.language_model.layers.25.mlp.experts.gate_up_proj": "model-00011-of-00017.safetensors",
|
| 332 |
+
"model.language_model.layers.25.mlp.gate.weight": "model-00011-of-00017.safetensors",
|
| 333 |
+
"model.language_model.layers.25.mlp.shared_expert.down_proj.weight": "model-00011-of-00017.safetensors",
|
| 334 |
+
"model.language_model.layers.25.mlp.shared_expert.gate_proj.weight": "model-00011-of-00017.safetensors",
|
| 335 |
+
"model.language_model.layers.25.mlp.shared_expert.up_proj.weight": "model-00011-of-00017.safetensors",
|
| 336 |
+
"model.language_model.layers.25.mlp.shared_expert_gate.weight": "model-00011-of-00017.safetensors",
|
| 337 |
+
"model.language_model.layers.25.post_attention_layernorm.weight": "model-00011-of-00017.safetensors",
|
| 338 |
+
"model.language_model.layers.26.input_layernorm.weight": "model-00011-of-00017.safetensors",
|
| 339 |
+
"model.language_model.layers.26.linear_attn.A_log": "model-00011-of-00017.safetensors",
|
| 340 |
+
"model.language_model.layers.26.linear_attn.conv1d.weight": "model-00011-of-00017.safetensors",
|
| 341 |
+
"model.language_model.layers.26.linear_attn.dt_bias": "model-00011-of-00017.safetensors",
|
| 342 |
+
"model.language_model.layers.26.linear_attn.in_proj_a.weight": "model-00011-of-00017.safetensors",
|
| 343 |
+
"model.language_model.layers.26.linear_attn.in_proj_b.weight": "model-00011-of-00017.safetensors",
|
| 344 |
+
"model.language_model.layers.26.linear_attn.in_proj_qkv.weight": "model-00011-of-00017.safetensors",
|
| 345 |
+
"model.language_model.layers.26.linear_attn.in_proj_z.weight": "model-00011-of-00017.safetensors",
|
| 346 |
+
"model.language_model.layers.26.linear_attn.norm.weight": "model-00011-of-00017.safetensors",
|
| 347 |
+
"model.language_model.layers.26.linear_attn.out_proj.weight": "model-00011-of-00017.safetensors",
|
| 348 |
+
"model.language_model.layers.26.mlp.experts.down_proj": "model-00011-of-00017.safetensors",
|
| 349 |
+
"model.language_model.layers.26.mlp.experts.gate_up_proj": "model-00011-of-00017.safetensors",
|
| 350 |
+
"model.language_model.layers.26.mlp.gate.weight": "model-00011-of-00017.safetensors",
|
| 351 |
+
"model.language_model.layers.26.mlp.shared_expert.down_proj.weight": "model-00011-of-00017.safetensors",
|
| 352 |
+
"model.language_model.layers.26.mlp.shared_expert.gate_proj.weight": "model-00011-of-00017.safetensors",
|
| 353 |
+
"model.language_model.layers.26.mlp.shared_expert.up_proj.weight": "model-00011-of-00017.safetensors",
|
| 354 |
+
"model.language_model.layers.26.mlp.shared_expert_gate.weight": "model-00011-of-00017.safetensors",
|
| 355 |
+
"model.language_model.layers.26.post_attention_layernorm.weight": "model-00011-of-00017.safetensors",
|
| 356 |
+
"model.language_model.layers.27.input_layernorm.weight": "model-00011-of-00017.safetensors",
|
| 357 |
+
"model.language_model.layers.27.mlp.experts.down_proj": "model-00012-of-00017.safetensors",
|
| 358 |
+
"model.language_model.layers.27.mlp.experts.gate_up_proj": "model-00012-of-00017.safetensors",
|
| 359 |
+
"model.language_model.layers.27.mlp.gate.weight": "model-00011-of-00017.safetensors",
|
| 360 |
+
"model.language_model.layers.27.mlp.shared_expert.down_proj.weight": "model-00011-of-00017.safetensors",
|
| 361 |
+
"model.language_model.layers.27.mlp.shared_expert.gate_proj.weight": "model-00011-of-00017.safetensors",
|
| 362 |
+
"model.language_model.layers.27.mlp.shared_expert.up_proj.weight": "model-00011-of-00017.safetensors",
|
| 363 |
+
"model.language_model.layers.27.mlp.shared_expert_gate.weight": "model-00011-of-00017.safetensors",
|
| 364 |
+
"model.language_model.layers.27.post_attention_layernorm.weight": "model-00012-of-00017.safetensors",
|
| 365 |
+
"model.language_model.layers.27.self_attn.k_norm.weight": "model-00011-of-00017.safetensors",
|
| 366 |
+
"model.language_model.layers.27.self_attn.k_proj.weight": "model-00011-of-00017.safetensors",
|
| 367 |
+
"model.language_model.layers.27.self_attn.o_proj.weight": "model-00011-of-00017.safetensors",
|
| 368 |
+
"model.language_model.layers.27.self_attn.q_norm.weight": "model-00011-of-00017.safetensors",
|
| 369 |
+
"model.language_model.layers.27.self_attn.q_proj.weight": "model-00011-of-00017.safetensors",
|
| 370 |
+
"model.language_model.layers.27.self_attn.v_proj.weight": "model-00011-of-00017.safetensors",
|
| 371 |
+
"model.language_model.layers.28.input_layernorm.weight": "model-00012-of-00017.safetensors",
|
| 372 |
+
"model.language_model.layers.28.linear_attn.A_log": "model-00012-of-00017.safetensors",
|
| 373 |
+
"model.language_model.layers.28.linear_attn.conv1d.weight": "model-00012-of-00017.safetensors",
|
| 374 |
+
"model.language_model.layers.28.linear_attn.dt_bias": "model-00012-of-00017.safetensors",
|
| 375 |
+
"model.language_model.layers.28.linear_attn.in_proj_a.weight": "model-00012-of-00017.safetensors",
|
| 376 |
+
"model.language_model.layers.28.linear_attn.in_proj_b.weight": "model-00012-of-00017.safetensors",
|
| 377 |
+
"model.language_model.layers.28.linear_attn.in_proj_qkv.weight": "model-00012-of-00017.safetensors",
|
| 378 |
+
"model.language_model.layers.28.linear_attn.in_proj_z.weight": "model-00012-of-00017.safetensors",
|
| 379 |
+
"model.language_model.layers.28.linear_attn.norm.weight": "model-00012-of-00017.safetensors",
|
| 380 |
+
"model.language_model.layers.28.linear_attn.out_proj.weight": "model-00012-of-00017.safetensors",
|
| 381 |
+
"model.language_model.layers.28.mlp.experts.down_proj": "model-00012-of-00017.safetensors",
|
| 382 |
+
"model.language_model.layers.28.mlp.experts.gate_up_proj": "model-00012-of-00017.safetensors",
|
| 383 |
+
"model.language_model.layers.28.mlp.gate.weight": "model-00012-of-00017.safetensors",
|
| 384 |
+
"model.language_model.layers.28.mlp.shared_expert.down_proj.weight": "model-00012-of-00017.safetensors",
|
| 385 |
+
"model.language_model.layers.28.mlp.shared_expert.gate_proj.weight": "model-00012-of-00017.safetensors",
|
| 386 |
+
"model.language_model.layers.28.mlp.shared_expert.up_proj.weight": "model-00012-of-00017.safetensors",
|
| 387 |
+
"model.language_model.layers.28.mlp.shared_expert_gate.weight": "model-00012-of-00017.safetensors",
|
| 388 |
+
"model.language_model.layers.28.post_attention_layernorm.weight": "model-00012-of-00017.safetensors",
|
| 389 |
+
"model.language_model.layers.29.input_layernorm.weight": "model-00012-of-00017.safetensors",
|
| 390 |
+
"model.language_model.layers.29.linear_attn.A_log": "model-00012-of-00017.safetensors",
|
| 391 |
+
"model.language_model.layers.29.linear_attn.conv1d.weight": "model-00012-of-00017.safetensors",
|
| 392 |
+
"model.language_model.layers.29.linear_attn.dt_bias": "model-00012-of-00017.safetensors",
|
| 393 |
+
"model.language_model.layers.29.linear_attn.in_proj_a.weight": "model-00012-of-00017.safetensors",
|
| 394 |
+
"model.language_model.layers.29.linear_attn.in_proj_b.weight": "model-00012-of-00017.safetensors",
|
| 395 |
+
"model.language_model.layers.29.linear_attn.in_proj_qkv.weight": "model-00012-of-00017.safetensors",
|
| 396 |
+
"model.language_model.layers.29.linear_attn.in_proj_z.weight": "model-00012-of-00017.safetensors",
|
| 397 |
+
"model.language_model.layers.29.linear_attn.norm.weight": "model-00012-of-00017.safetensors",
|
| 398 |
+
"model.language_model.layers.29.linear_attn.out_proj.weight": "model-00012-of-00017.safetensors",
|
| 399 |
+
"model.language_model.layers.29.mlp.experts.down_proj": "model-00013-of-00017.safetensors",
|
| 400 |
+
"model.language_model.layers.29.mlp.experts.gate_up_proj": "model-00012-of-00017.safetensors",
|
| 401 |
+
"model.language_model.layers.29.mlp.gate.weight": "model-00012-of-00017.safetensors",
|
| 402 |
+
"model.language_model.layers.29.mlp.shared_expert.down_proj.weight": "model-00012-of-00017.safetensors",
|
| 403 |
+
"model.language_model.layers.29.mlp.shared_expert.gate_proj.weight": "model-00012-of-00017.safetensors",
|
| 404 |
+
"model.language_model.layers.29.mlp.shared_expert.up_proj.weight": "model-00012-of-00017.safetensors",
|
| 405 |
+
"model.language_model.layers.29.mlp.shared_expert_gate.weight": "model-00012-of-00017.safetensors",
|
| 406 |
+
"model.language_model.layers.29.post_attention_layernorm.weight": "model-00013-of-00017.safetensors",
|
| 407 |
+
"model.language_model.layers.3.input_layernorm.weight": "model-00002-of-00017.safetensors",
|
| 408 |
+
"model.language_model.layers.3.mlp.experts.down_proj": "model-00002-of-00017.safetensors",
|
| 409 |
+
"model.language_model.layers.3.mlp.experts.gate_up_proj": "model-00002-of-00017.safetensors",
|
| 410 |
+
"model.language_model.layers.3.mlp.gate.weight": "model-00002-of-00017.safetensors",
|
| 411 |
+
"model.language_model.layers.3.mlp.shared_expert.down_proj.weight": "model-00002-of-00017.safetensors",
|
| 412 |
+
"model.language_model.layers.3.mlp.shared_expert.gate_proj.weight": "model-00002-of-00017.safetensors",
|
| 413 |
+
"model.language_model.layers.3.mlp.shared_expert.up_proj.weight": "model-00002-of-00017.safetensors",
|
| 414 |
+
"model.language_model.layers.3.mlp.shared_expert_gate.weight": "model-00002-of-00017.safetensors",
|
| 415 |
+
"model.language_model.layers.3.post_attention_layernorm.weight": "model-00002-of-00017.safetensors",
|
| 416 |
+
"model.language_model.layers.3.self_attn.k_norm.weight": "model-00002-of-00017.safetensors",
|
| 417 |
+
"model.language_model.layers.3.self_attn.k_proj.weight": "model-00002-of-00017.safetensors",
|
| 418 |
+
"model.language_model.layers.3.self_attn.o_proj.weight": "model-00002-of-00017.safetensors",
|
| 419 |
+
"model.language_model.layers.3.self_attn.q_norm.weight": "model-00002-of-00017.safetensors",
|
| 420 |
+
"model.language_model.layers.3.self_attn.q_proj.weight": "model-00002-of-00017.safetensors",
|
| 421 |
+
"model.language_model.layers.3.self_attn.v_proj.weight": "model-00002-of-00017.safetensors",
|
| 422 |
+
"model.language_model.layers.30.input_layernorm.weight": "model-00013-of-00017.safetensors",
|
| 423 |
+
"model.language_model.layers.30.linear_attn.A_log": "model-00013-of-00017.safetensors",
|
| 424 |
+
"model.language_model.layers.30.linear_attn.conv1d.weight": "model-00013-of-00017.safetensors",
|
| 425 |
+
"model.language_model.layers.30.linear_attn.dt_bias": "model-00013-of-00017.safetensors",
|
| 426 |
+
"model.language_model.layers.30.linear_attn.in_proj_a.weight": "model-00013-of-00017.safetensors",
|
| 427 |
+
"model.language_model.layers.30.linear_attn.in_proj_b.weight": "model-00013-of-00017.safetensors",
|
| 428 |
+
"model.language_model.layers.30.linear_attn.in_proj_qkv.weight": "model-00013-of-00017.safetensors",
|
| 429 |
+
"model.language_model.layers.30.linear_attn.in_proj_z.weight": "model-00013-of-00017.safetensors",
|
| 430 |
+
"model.language_model.layers.30.linear_attn.norm.weight": "model-00013-of-00017.safetensors",
|
| 431 |
+
"model.language_model.layers.30.linear_attn.out_proj.weight": "model-00013-of-00017.safetensors",
|
| 432 |
+
"model.language_model.layers.30.mlp.experts.down_proj": "model-00013-of-00017.safetensors",
|
| 433 |
+
"model.language_model.layers.30.mlp.experts.gate_up_proj": "model-00013-of-00017.safetensors",
|
| 434 |
+
"model.language_model.layers.30.mlp.gate.weight": "model-00013-of-00017.safetensors",
|
| 435 |
+
"model.language_model.layers.30.mlp.shared_expert.down_proj.weight": "model-00013-of-00017.safetensors",
|
| 436 |
+
"model.language_model.layers.30.mlp.shared_expert.gate_proj.weight": "model-00013-of-00017.safetensors",
|
| 437 |
+
"model.language_model.layers.30.mlp.shared_expert.up_proj.weight": "model-00013-of-00017.safetensors",
|
| 438 |
+
"model.language_model.layers.30.mlp.shared_expert_gate.weight": "model-00013-of-00017.safetensors",
|
| 439 |
+
"model.language_model.layers.30.post_attention_layernorm.weight": "model-00013-of-00017.safetensors",
|
| 440 |
+
"model.language_model.layers.31.input_layernorm.weight": "model-00013-of-00017.safetensors",
|
| 441 |
+
"model.language_model.layers.31.mlp.experts.down_proj": "model-00013-of-00017.safetensors",
|
| 442 |
+
"model.language_model.layers.31.mlp.experts.gate_up_proj": "model-00013-of-00017.safetensors",
|
| 443 |
+
"model.language_model.layers.31.mlp.gate.weight": "model-00013-of-00017.safetensors",
|
| 444 |
+
"model.language_model.layers.31.mlp.shared_expert.down_proj.weight": "model-00013-of-00017.safetensors",
|
| 445 |
+
"model.language_model.layers.31.mlp.shared_expert.gate_proj.weight": "model-00013-of-00017.safetensors",
|
| 446 |
+
"model.language_model.layers.31.mlp.shared_expert.up_proj.weight": "model-00013-of-00017.safetensors",
|
| 447 |
+
"model.language_model.layers.31.mlp.shared_expert_gate.weight": "model-00013-of-00017.safetensors",
|
| 448 |
+
"model.language_model.layers.31.post_attention_layernorm.weight": "model-00013-of-00017.safetensors",
|
| 449 |
+
"model.language_model.layers.31.self_attn.k_norm.weight": "model-00013-of-00017.safetensors",
|
| 450 |
+
"model.language_model.layers.31.self_attn.k_proj.weight": "model-00013-of-00017.safetensors",
|
| 451 |
+
"model.language_model.layers.31.self_attn.o_proj.weight": "model-00013-of-00017.safetensors",
|
| 452 |
+
"model.language_model.layers.31.self_attn.q_norm.weight": "model-00013-of-00017.safetensors",
|
| 453 |
+
"model.language_model.layers.31.self_attn.q_proj.weight": "model-00013-of-00017.safetensors",
|
| 454 |
+
"model.language_model.layers.31.self_attn.v_proj.weight": "model-00013-of-00017.safetensors",
|
| 455 |
+
"model.language_model.layers.32.input_layernorm.weight": "model-00013-of-00017.safetensors",
|
| 456 |
+
"model.language_model.layers.32.linear_attn.A_log": "model-00013-of-00017.safetensors",
|
| 457 |
+
"model.language_model.layers.32.linear_attn.conv1d.weight": "model-00013-of-00017.safetensors",
|
| 458 |
+
"model.language_model.layers.32.linear_attn.dt_bias": "model-00013-of-00017.safetensors",
|
| 459 |
+
"model.language_model.layers.32.linear_attn.in_proj_a.weight": "model-00013-of-00017.safetensors",
|
| 460 |
+
"model.language_model.layers.32.linear_attn.in_proj_b.weight": "model-00013-of-00017.safetensors",
|
| 461 |
+
"model.language_model.layers.32.linear_attn.in_proj_qkv.weight": "model-00013-of-00017.safetensors",
|
| 462 |
+
"model.language_model.layers.32.linear_attn.in_proj_z.weight": "model-00013-of-00017.safetensors",
|
| 463 |
+
"model.language_model.layers.32.linear_attn.norm.weight": "model-00013-of-00017.safetensors",
|
| 464 |
+
"model.language_model.layers.32.linear_attn.out_proj.weight": "model-00013-of-00017.safetensors",
|
| 465 |
+
"model.language_model.layers.32.mlp.experts.down_proj": "model-00014-of-00017.safetensors",
|
| 466 |
+
"model.language_model.layers.32.mlp.experts.gate_up_proj": "model-00014-of-00017.safetensors",
|
| 467 |
+
"model.language_model.layers.32.mlp.gate.weight": "model-00013-of-00017.safetensors",
|
| 468 |
+
"model.language_model.layers.32.mlp.shared_expert.down_proj.weight": "model-00013-of-00017.safetensors",
|
| 469 |
+
"model.language_model.layers.32.mlp.shared_expert.gate_proj.weight": "model-00013-of-00017.safetensors",
|
| 470 |
+
"model.language_model.layers.32.mlp.shared_expert.up_proj.weight": "model-00013-of-00017.safetensors",
|
| 471 |
+
"model.language_model.layers.32.mlp.shared_expert_gate.weight": "model-00013-of-00017.safetensors",
|
| 472 |
+
"model.language_model.layers.32.post_attention_layernorm.weight": "model-00014-of-00017.safetensors",
|
| 473 |
+
"model.language_model.layers.33.input_layernorm.weight": "model-00014-of-00017.safetensors",
|
| 474 |
+
"model.language_model.layers.33.linear_attn.A_log": "model-00014-of-00017.safetensors",
|
| 475 |
+
"model.language_model.layers.33.linear_attn.conv1d.weight": "model-00014-of-00017.safetensors",
|
| 476 |
+
"model.language_model.layers.33.linear_attn.dt_bias": "model-00014-of-00017.safetensors",
|
| 477 |
+
"model.language_model.layers.33.linear_attn.in_proj_a.weight": "model-00014-of-00017.safetensors",
|
| 478 |
+
"model.language_model.layers.33.linear_attn.in_proj_b.weight": "model-00014-of-00017.safetensors",
|
| 479 |
+
"model.language_model.layers.33.linear_attn.in_proj_qkv.weight": "model-00014-of-00017.safetensors",
|
| 480 |
+
"model.language_model.layers.33.linear_attn.in_proj_z.weight": "model-00014-of-00017.safetensors",
|
| 481 |
+
"model.language_model.layers.33.linear_attn.norm.weight": "model-00014-of-00017.safetensors",
|
| 482 |
+
"model.language_model.layers.33.linear_attn.out_proj.weight": "model-00014-of-00017.safetensors",
|
| 483 |
+
"model.language_model.layers.33.mlp.experts.down_proj": "model-00014-of-00017.safetensors",
|
| 484 |
+
"model.language_model.layers.33.mlp.experts.gate_up_proj": "model-00014-of-00017.safetensors",
|
| 485 |
+
"model.language_model.layers.33.mlp.gate.weight": "model-00014-of-00017.safetensors",
|
| 486 |
+
"model.language_model.layers.33.mlp.shared_expert.down_proj.weight": "model-00014-of-00017.safetensors",
|
| 487 |
+
"model.language_model.layers.33.mlp.shared_expert.gate_proj.weight": "model-00014-of-00017.safetensors",
|
| 488 |
+
"model.language_model.layers.33.mlp.shared_expert.up_proj.weight": "model-00014-of-00017.safetensors",
|
| 489 |
+
"model.language_model.layers.33.mlp.shared_expert_gate.weight": "model-00014-of-00017.safetensors",
|
| 490 |
+
"model.language_model.layers.33.post_attention_layernorm.weight": "model-00014-of-00017.safetensors",
|
| 491 |
+
"model.language_model.layers.34.input_layernorm.weight": "model-00014-of-00017.safetensors",
|
| 492 |
+
"model.language_model.layers.34.linear_attn.A_log": "model-00014-of-00017.safetensors",
|
| 493 |
+
"model.language_model.layers.34.linear_attn.conv1d.weight": "model-00014-of-00017.safetensors",
|
| 494 |
+
"model.language_model.layers.34.linear_attn.dt_bias": "model-00014-of-00017.safetensors",
|
| 495 |
+
"model.language_model.layers.34.linear_attn.in_proj_a.weight": "model-00014-of-00017.safetensors",
|
| 496 |
+
"model.language_model.layers.34.linear_attn.in_proj_b.weight": "model-00014-of-00017.safetensors",
|
| 497 |
+
"model.language_model.layers.34.linear_attn.in_proj_qkv.weight": "model-00014-of-00017.safetensors",
|
| 498 |
+
"model.language_model.layers.34.linear_attn.in_proj_z.weight": "model-00014-of-00017.safetensors",
|
| 499 |
+
"model.language_model.layers.34.linear_attn.norm.weight": "model-00014-of-00017.safetensors",
|
| 500 |
+
"model.language_model.layers.34.linear_attn.out_proj.weight": "model-00014-of-00017.safetensors",
|
| 501 |
+
"model.language_model.layers.34.mlp.experts.down_proj": "model-00015-of-00017.safetensors",
|
| 502 |
+
"model.language_model.layers.34.mlp.experts.gate_up_proj": "model-00014-of-00017.safetensors",
|
| 503 |
+
"model.language_model.layers.34.mlp.gate.weight": "model-00014-of-00017.safetensors",
|
| 504 |
+
"model.language_model.layers.34.mlp.shared_expert.down_proj.weight": "model-00014-of-00017.safetensors",
|
| 505 |
+
"model.language_model.layers.34.mlp.shared_expert.gate_proj.weight": "model-00014-of-00017.safetensors",
|
| 506 |
+
"model.language_model.layers.34.mlp.shared_expert.up_proj.weight": "model-00014-of-00017.safetensors",
|
| 507 |
+
"model.language_model.layers.34.mlp.shared_expert_gate.weight": "model-00014-of-00017.safetensors",
|
| 508 |
+
"model.language_model.layers.34.post_attention_layernorm.weight": "model-00015-of-00017.safetensors",
|
| 509 |
+
"model.language_model.layers.35.input_layernorm.weight": "model-00015-of-00017.safetensors",
|
| 510 |
+
"model.language_model.layers.35.mlp.experts.down_proj": "model-00015-of-00017.safetensors",
|
| 511 |
+
"model.language_model.layers.35.mlp.experts.gate_up_proj": "model-00015-of-00017.safetensors",
|
| 512 |
+
"model.language_model.layers.35.mlp.gate.weight": "model-00015-of-00017.safetensors",
|
| 513 |
+
"model.language_model.layers.35.mlp.shared_expert.down_proj.weight": "model-00015-of-00017.safetensors",
|
| 514 |
+
"model.language_model.layers.35.mlp.shared_expert.gate_proj.weight": "model-00015-of-00017.safetensors",
|
| 515 |
+
"model.language_model.layers.35.mlp.shared_expert.up_proj.weight": "model-00015-of-00017.safetensors",
|
| 516 |
+
"model.language_model.layers.35.mlp.shared_expert_gate.weight": "model-00015-of-00017.safetensors",
|
| 517 |
+
"model.language_model.layers.35.post_attention_layernorm.weight": "model-00015-of-00017.safetensors",
|
| 518 |
+
"model.language_model.layers.35.self_attn.k_norm.weight": "model-00015-of-00017.safetensors",
|
| 519 |
+
"model.language_model.layers.35.self_attn.k_proj.weight": "model-00015-of-00017.safetensors",
|
| 520 |
+
"model.language_model.layers.35.self_attn.o_proj.weight": "model-00015-of-00017.safetensors",
|
| 521 |
+
"model.language_model.layers.35.self_attn.q_norm.weight": "model-00015-of-00017.safetensors",
|
| 522 |
+
"model.language_model.layers.35.self_attn.q_proj.weight": "model-00015-of-00017.safetensors",
|
| 523 |
+
"model.language_model.layers.35.self_attn.v_proj.weight": "model-00015-of-00017.safetensors",
|
| 524 |
+
"model.language_model.layers.36.input_layernorm.weight": "model-00015-of-00017.safetensors",
|
| 525 |
+
"model.language_model.layers.36.linear_attn.A_log": "model-00015-of-00017.safetensors",
|
| 526 |
+
"model.language_model.layers.36.linear_attn.conv1d.weight": "model-00015-of-00017.safetensors",
|
| 527 |
+
"model.language_model.layers.36.linear_attn.dt_bias": "model-00015-of-00017.safetensors",
|
| 528 |
+
"model.language_model.layers.36.linear_attn.in_proj_a.weight": "model-00015-of-00017.safetensors",
|
| 529 |
+
"model.language_model.layers.36.linear_attn.in_proj_b.weight": "model-00015-of-00017.safetensors",
|
| 530 |
+
"model.language_model.layers.36.linear_attn.in_proj_qkv.weight": "model-00015-of-00017.safetensors",
|
| 531 |
+
"model.language_model.layers.36.linear_attn.in_proj_z.weight": "model-00015-of-00017.safetensors",
|
| 532 |
+
"model.language_model.layers.36.linear_attn.norm.weight": "model-00015-of-00017.safetensors",
|
| 533 |
+
"model.language_model.layers.36.linear_attn.out_proj.weight": "model-00015-of-00017.safetensors",
|
| 534 |
+
"model.language_model.layers.36.mlp.experts.down_proj": "model-00015-of-00017.safetensors",
|
| 535 |
+
"model.language_model.layers.36.mlp.experts.gate_up_proj": "model-00015-of-00017.safetensors",
|
| 536 |
+
"model.language_model.layers.36.mlp.gate.weight": "model-00015-of-00017.safetensors",
|
| 537 |
+
"model.language_model.layers.36.mlp.shared_expert.down_proj.weight": "model-00015-of-00017.safetensors",
|
| 538 |
+
"model.language_model.layers.36.mlp.shared_expert.gate_proj.weight": "model-00015-of-00017.safetensors",
|
| 539 |
+
"model.language_model.layers.36.mlp.shared_expert.up_proj.weight": "model-00015-of-00017.safetensors",
|
| 540 |
+
"model.language_model.layers.36.mlp.shared_expert_gate.weight": "model-00015-of-00017.safetensors",
|
| 541 |
+
"model.language_model.layers.36.post_attention_layernorm.weight": "model-00015-of-00017.safetensors",
|
| 542 |
+
"model.language_model.layers.37.input_layernorm.weight": "model-00015-of-00017.safetensors",
|
| 543 |
+
"model.language_model.layers.37.linear_attn.A_log": "model-00015-of-00017.safetensors",
|
| 544 |
+
"model.language_model.layers.37.linear_attn.conv1d.weight": "model-00015-of-00017.safetensors",
|
| 545 |
+
"model.language_model.layers.37.linear_attn.dt_bias": "model-00015-of-00017.safetensors",
|
| 546 |
+
"model.language_model.layers.37.linear_attn.in_proj_a.weight": "model-00015-of-00017.safetensors",
|
| 547 |
+
"model.language_model.layers.37.linear_attn.in_proj_b.weight": "model-00015-of-00017.safetensors",
|
| 548 |
+
"model.language_model.layers.37.linear_attn.in_proj_qkv.weight": "model-00015-of-00017.safetensors",
|
| 549 |
+
"model.language_model.layers.37.linear_attn.in_proj_z.weight": "model-00015-of-00017.safetensors",
|
| 550 |
+
"model.language_model.layers.37.linear_attn.norm.weight": "model-00015-of-00017.safetensors",
|
| 551 |
+
"model.language_model.layers.37.linear_attn.out_proj.weight": "model-00015-of-00017.safetensors",
|
| 552 |
+
"model.language_model.layers.37.mlp.experts.down_proj": "model-00016-of-00017.safetensors",
|
| 553 |
+
"model.language_model.layers.37.mlp.experts.gate_up_proj": "model-00016-of-00017.safetensors",
|
| 554 |
+
"model.language_model.layers.37.mlp.gate.weight": "model-00015-of-00017.safetensors",
|
| 555 |
+
"model.language_model.layers.37.mlp.shared_expert.down_proj.weight": "model-00015-of-00017.safetensors",
|
| 556 |
+
"model.language_model.layers.37.mlp.shared_expert.gate_proj.weight": "model-00015-of-00017.safetensors",
|
| 557 |
+
"model.language_model.layers.37.mlp.shared_expert.up_proj.weight": "model-00015-of-00017.safetensors",
|
| 558 |
+
"model.language_model.layers.37.mlp.shared_expert_gate.weight": "model-00015-of-00017.safetensors",
|
| 559 |
+
"model.language_model.layers.37.post_attention_layernorm.weight": "model-00016-of-00017.safetensors",
|
| 560 |
+
"model.language_model.layers.38.input_layernorm.weight": "model-00016-of-00017.safetensors",
|
| 561 |
+
"model.language_model.layers.38.linear_attn.A_log": "model-00016-of-00017.safetensors",
|
| 562 |
+
"model.language_model.layers.38.linear_attn.conv1d.weight": "model-00016-of-00017.safetensors",
|
| 563 |
+
"model.language_model.layers.38.linear_attn.dt_bias": "model-00016-of-00017.safetensors",
|
| 564 |
+
"model.language_model.layers.38.linear_attn.in_proj_a.weight": "model-00016-of-00017.safetensors",
|
| 565 |
+
"model.language_model.layers.38.linear_attn.in_proj_b.weight": "model-00016-of-00017.safetensors",
|
| 566 |
+
"model.language_model.layers.38.linear_attn.in_proj_qkv.weight": "model-00016-of-00017.safetensors",
|
| 567 |
+
"model.language_model.layers.38.linear_attn.in_proj_z.weight": "model-00016-of-00017.safetensors",
|
| 568 |
+
"model.language_model.layers.38.linear_attn.norm.weight": "model-00016-of-00017.safetensors",
|
| 569 |
+
"model.language_model.layers.38.linear_attn.out_proj.weight": "model-00016-of-00017.safetensors",
|
| 570 |
+
"model.language_model.layers.38.mlp.experts.down_proj": "model-00016-of-00017.safetensors",
|
| 571 |
+
"model.language_model.layers.38.mlp.experts.gate_up_proj": "model-00016-of-00017.safetensors",
|
| 572 |
+
"model.language_model.layers.38.mlp.gate.weight": "model-00016-of-00017.safetensors",
|
| 573 |
+
"model.language_model.layers.38.mlp.shared_expert.down_proj.weight": "model-00016-of-00017.safetensors",
|
| 574 |
+
"model.language_model.layers.38.mlp.shared_expert.gate_proj.weight": "model-00016-of-00017.safetensors",
|
| 575 |
+
"model.language_model.layers.38.mlp.shared_expert.up_proj.weight": "model-00016-of-00017.safetensors",
|
| 576 |
+
"model.language_model.layers.38.mlp.shared_expert_gate.weight": "model-00016-of-00017.safetensors",
|
| 577 |
+
"model.language_model.layers.38.post_attention_layernorm.weight": "model-00016-of-00017.safetensors",
|
| 578 |
+
"model.language_model.layers.39.input_layernorm.weight": "model-00016-of-00017.safetensors",
|
| 579 |
+
"model.language_model.layers.39.mlp.experts.down_proj": "model-00017-of-00017.safetensors",
|
| 580 |
+
"model.language_model.layers.39.mlp.experts.gate_up_proj": "model-00016-of-00017.safetensors",
|
| 581 |
+
"model.language_model.layers.39.mlp.gate.weight": "model-00016-of-00017.safetensors",
|
| 582 |
+
"model.language_model.layers.39.mlp.shared_expert.down_proj.weight": "model-00016-of-00017.safetensors",
|
| 583 |
+
"model.language_model.layers.39.mlp.shared_expert.gate_proj.weight": "model-00016-of-00017.safetensors",
|
| 584 |
+
"model.language_model.layers.39.mlp.shared_expert.up_proj.weight": "model-00016-of-00017.safetensors",
|
| 585 |
+
"model.language_model.layers.39.mlp.shared_expert_gate.weight": "model-00016-of-00017.safetensors",
|
| 586 |
+
"model.language_model.layers.39.post_attention_layernorm.weight": "model-00017-of-00017.safetensors",
|
| 587 |
+
"model.language_model.layers.39.self_attn.k_norm.weight": "model-00016-of-00017.safetensors",
|
| 588 |
+
"model.language_model.layers.39.self_attn.k_proj.weight": "model-00016-of-00017.safetensors",
|
| 589 |
+
"model.language_model.layers.39.self_attn.o_proj.weight": "model-00016-of-00017.safetensors",
|
| 590 |
+
"model.language_model.layers.39.self_attn.q_norm.weight": "model-00016-of-00017.safetensors",
|
| 591 |
+
"model.language_model.layers.39.self_attn.q_proj.weight": "model-00016-of-00017.safetensors",
|
| 592 |
+
"model.language_model.layers.39.self_attn.v_proj.weight": "model-00016-of-00017.safetensors",
|
| 593 |
+
"model.language_model.layers.4.input_layernorm.weight": "model-00002-of-00017.safetensors",
|
| 594 |
+
"model.language_model.layers.4.linear_attn.A_log": "model-00002-of-00017.safetensors",
|
| 595 |
+
"model.language_model.layers.4.linear_attn.conv1d.weight": "model-00002-of-00017.safetensors",
|
| 596 |
+
"model.language_model.layers.4.linear_attn.dt_bias": "model-00002-of-00017.safetensors",
|
| 597 |
+
"model.language_model.layers.4.linear_attn.in_proj_a.weight": "model-00002-of-00017.safetensors",
|
| 598 |
+
"model.language_model.layers.4.linear_attn.in_proj_b.weight": "model-00002-of-00017.safetensors",
|
| 599 |
+
"model.language_model.layers.4.linear_attn.in_proj_qkv.weight": "model-00002-of-00017.safetensors",
|
| 600 |
+
"model.language_model.layers.4.linear_attn.in_proj_z.weight": "model-00002-of-00017.safetensors",
|
| 601 |
+
"model.language_model.layers.4.linear_attn.norm.weight": "model-00002-of-00017.safetensors",
|
| 602 |
+
"model.language_model.layers.4.linear_attn.out_proj.weight": "model-00002-of-00017.safetensors",
|
| 603 |
+
"model.language_model.layers.4.mlp.experts.down_proj": "model-00003-of-00017.safetensors",
|
| 604 |
+
"model.language_model.layers.4.mlp.experts.gate_up_proj": "model-00002-of-00017.safetensors",
|
| 605 |
+
"model.language_model.layers.4.mlp.gate.weight": "model-00002-of-00017.safetensors",
|
| 606 |
+
"model.language_model.layers.4.mlp.shared_expert.down_proj.weight": "model-00002-of-00017.safetensors",
|
| 607 |
+
"model.language_model.layers.4.mlp.shared_expert.gate_proj.weight": "model-00002-of-00017.safetensors",
|
| 608 |
+
"model.language_model.layers.4.mlp.shared_expert.up_proj.weight": "model-00002-of-00017.safetensors",
|
| 609 |
+
"model.language_model.layers.4.mlp.shared_expert_gate.weight": "model-00002-of-00017.safetensors",
|
| 610 |
+
"model.language_model.layers.4.post_attention_layernorm.weight": "model-00003-of-00017.safetensors",
|
| 611 |
+
"model.language_model.layers.5.input_layernorm.weight": "model-00003-of-00017.safetensors",
|
| 612 |
+
"model.language_model.layers.5.linear_attn.A_log": "model-00003-of-00017.safetensors",
|
| 613 |
+
"model.language_model.layers.5.linear_attn.conv1d.weight": "model-00003-of-00017.safetensors",
|
| 614 |
+
"model.language_model.layers.5.linear_attn.dt_bias": "model-00003-of-00017.safetensors",
|
| 615 |
+
"model.language_model.layers.5.linear_attn.in_proj_a.weight": "model-00003-of-00017.safetensors",
|
| 616 |
+
"model.language_model.layers.5.linear_attn.in_proj_b.weight": "model-00003-of-00017.safetensors",
|
| 617 |
+
"model.language_model.layers.5.linear_attn.in_proj_qkv.weight": "model-00003-of-00017.safetensors",
|
| 618 |
+
"model.language_model.layers.5.linear_attn.in_proj_z.weight": "model-00003-of-00017.safetensors",
|
| 619 |
+
"model.language_model.layers.5.linear_attn.norm.weight": "model-00003-of-00017.safetensors",
|
| 620 |
+
"model.language_model.layers.5.linear_attn.out_proj.weight": "model-00003-of-00017.safetensors",
|
| 621 |
+
"model.language_model.layers.5.mlp.experts.down_proj": "model-00003-of-00017.safetensors",
|
| 622 |
+
"model.language_model.layers.5.mlp.experts.gate_up_proj": "model-00003-of-00017.safetensors",
|
| 623 |
+
"model.language_model.layers.5.mlp.gate.weight": "model-00003-of-00017.safetensors",
|
| 624 |
+
"model.language_model.layers.5.mlp.shared_expert.down_proj.weight": "model-00003-of-00017.safetensors",
|
| 625 |
+
"model.language_model.layers.5.mlp.shared_expert.gate_proj.weight": "model-00003-of-00017.safetensors",
|
| 626 |
+
"model.language_model.layers.5.mlp.shared_expert.up_proj.weight": "model-00003-of-00017.safetensors",
|
| 627 |
+
"model.language_model.layers.5.mlp.shared_expert_gate.weight": "model-00003-of-00017.safetensors",
|
| 628 |
+
"model.language_model.layers.5.post_attention_layernorm.weight": "model-00003-of-00017.safetensors",
|
| 629 |
+
"model.language_model.layers.6.input_layernorm.weight": "model-00003-of-00017.safetensors",
|
| 630 |
+
"model.language_model.layers.6.linear_attn.A_log": "model-00003-of-00017.safetensors",
|
| 631 |
+
"model.language_model.layers.6.linear_attn.conv1d.weight": "model-00003-of-00017.safetensors",
|
| 632 |
+
"model.language_model.layers.6.linear_attn.dt_bias": "model-00003-of-00017.safetensors",
|
| 633 |
+
"model.language_model.layers.6.linear_attn.in_proj_a.weight": "model-00003-of-00017.safetensors",
|
| 634 |
+
"model.language_model.layers.6.linear_attn.in_proj_b.weight": "model-00003-of-00017.safetensors",
|
| 635 |
+
"model.language_model.layers.6.linear_attn.in_proj_qkv.weight": "model-00003-of-00017.safetensors",
|
| 636 |
+
"model.language_model.layers.6.linear_attn.in_proj_z.weight": "model-00003-of-00017.safetensors",
|
| 637 |
+
"model.language_model.layers.6.linear_attn.norm.weight": "model-00003-of-00017.safetensors",
|
| 638 |
+
"model.language_model.layers.6.linear_attn.out_proj.weight": "model-00003-of-00017.safetensors",
|
| 639 |
+
"model.language_model.layers.6.mlp.experts.down_proj": "model-00003-of-00017.safetensors",
|
| 640 |
+
"model.language_model.layers.6.mlp.experts.gate_up_proj": "model-00003-of-00017.safetensors",
|
| 641 |
+
"model.language_model.layers.6.mlp.gate.weight": "model-00003-of-00017.safetensors",
|
| 642 |
+
"model.language_model.layers.6.mlp.shared_expert.down_proj.weight": "model-00003-of-00017.safetensors",
|
| 643 |
+
"model.language_model.layers.6.mlp.shared_expert.gate_proj.weight": "model-00003-of-00017.safetensors",
|
| 644 |
+
"model.language_model.layers.6.mlp.shared_expert.up_proj.weight": "model-00003-of-00017.safetensors",
|
| 645 |
+
"model.language_model.layers.6.mlp.shared_expert_gate.weight": "model-00003-of-00017.safetensors",
|
| 646 |
+
"model.language_model.layers.6.post_attention_layernorm.weight": "model-00003-of-00017.safetensors",
|
| 647 |
+
"model.language_model.layers.7.input_layernorm.weight": "model-00003-of-00017.safetensors",
|
| 648 |
+
"model.language_model.layers.7.mlp.experts.down_proj": "model-00004-of-00017.safetensors",
|
| 649 |
+
"model.language_model.layers.7.mlp.experts.gate_up_proj": "model-00004-of-00017.safetensors",
|
| 650 |
+
"model.language_model.layers.7.mlp.gate.weight": "model-00003-of-00017.safetensors",
|
| 651 |
+
"model.language_model.layers.7.mlp.shared_expert.down_proj.weight": "model-00003-of-00017.safetensors",
|
| 652 |
+
"model.language_model.layers.7.mlp.shared_expert.gate_proj.weight": "model-00003-of-00017.safetensors",
|
| 653 |
+
"model.language_model.layers.7.mlp.shared_expert.up_proj.weight": "model-00003-of-00017.safetensors",
|
| 654 |
+
"model.language_model.layers.7.mlp.shared_expert_gate.weight": "model-00003-of-00017.safetensors",
|
| 655 |
+
"model.language_model.layers.7.post_attention_layernorm.weight": "model-00004-of-00017.safetensors",
|
| 656 |
+
"model.language_model.layers.7.self_attn.k_norm.weight": "model-00003-of-00017.safetensors",
|
| 657 |
+
"model.language_model.layers.7.self_attn.k_proj.weight": "model-00003-of-00017.safetensors",
|
| 658 |
+
"model.language_model.layers.7.self_attn.o_proj.weight": "model-00003-of-00017.safetensors",
|
| 659 |
+
"model.language_model.layers.7.self_attn.q_norm.weight": "model-00003-of-00017.safetensors",
|
| 660 |
+
"model.language_model.layers.7.self_attn.q_proj.weight": "model-00003-of-00017.safetensors",
|
| 661 |
+
"model.language_model.layers.7.self_attn.v_proj.weight": "model-00003-of-00017.safetensors",
|
| 662 |
+
"model.language_model.layers.8.input_layernorm.weight": "model-00004-of-00017.safetensors",
|
| 663 |
+
"model.language_model.layers.8.linear_attn.A_log": "model-00004-of-00017.safetensors",
|
| 664 |
+
"model.language_model.layers.8.linear_attn.conv1d.weight": "model-00004-of-00017.safetensors",
|
| 665 |
+
"model.language_model.layers.8.linear_attn.dt_bias": "model-00004-of-00017.safetensors",
|
| 666 |
+
"model.language_model.layers.8.linear_attn.in_proj_a.weight": "model-00004-of-00017.safetensors",
|
| 667 |
+
"model.language_model.layers.8.linear_attn.in_proj_b.weight": "model-00004-of-00017.safetensors",
|
| 668 |
+
"model.language_model.layers.8.linear_attn.in_proj_qkv.weight": "model-00004-of-00017.safetensors",
|
| 669 |
+
"model.language_model.layers.8.linear_attn.in_proj_z.weight": "model-00004-of-00017.safetensors",
|
| 670 |
+
"model.language_model.layers.8.linear_attn.norm.weight": "model-00004-of-00017.safetensors",
|
| 671 |
+
"model.language_model.layers.8.linear_attn.out_proj.weight": "model-00004-of-00017.safetensors",
|
| 672 |
+
"model.language_model.layers.8.mlp.experts.down_proj": "model-00004-of-00017.safetensors",
|
| 673 |
+
"model.language_model.layers.8.mlp.experts.gate_up_proj": "model-00004-of-00017.safetensors",
|
| 674 |
+
"model.language_model.layers.8.mlp.gate.weight": "model-00004-of-00017.safetensors",
|
| 675 |
+
"model.language_model.layers.8.mlp.shared_expert.down_proj.weight": "model-00004-of-00017.safetensors",
|
| 676 |
+
"model.language_model.layers.8.mlp.shared_expert.gate_proj.weight": "model-00004-of-00017.safetensors",
|
| 677 |
+
"model.language_model.layers.8.mlp.shared_expert.up_proj.weight": "model-00004-of-00017.safetensors",
|
| 678 |
+
"model.language_model.layers.8.mlp.shared_expert_gate.weight": "model-00004-of-00017.safetensors",
|
| 679 |
+
"model.language_model.layers.8.post_attention_layernorm.weight": "model-00004-of-00017.safetensors",
|
| 680 |
+
"model.language_model.layers.9.input_layernorm.weight": "model-00004-of-00017.safetensors",
|
| 681 |
+
"model.language_model.layers.9.linear_attn.A_log": "model-00004-of-00017.safetensors",
|
| 682 |
+
"model.language_model.layers.9.linear_attn.conv1d.weight": "model-00004-of-00017.safetensors",
|
| 683 |
+
"model.language_model.layers.9.linear_attn.dt_bias": "model-00004-of-00017.safetensors",
|
| 684 |
+
"model.language_model.layers.9.linear_attn.in_proj_a.weight": "model-00004-of-00017.safetensors",
|
| 685 |
+
"model.language_model.layers.9.linear_attn.in_proj_b.weight": "model-00004-of-00017.safetensors",
|
| 686 |
+
"model.language_model.layers.9.linear_attn.in_proj_qkv.weight": "model-00004-of-00017.safetensors",
|
| 687 |
+
"model.language_model.layers.9.linear_attn.in_proj_z.weight": "model-00004-of-00017.safetensors",
|
| 688 |
+
"model.language_model.layers.9.linear_attn.norm.weight": "model-00004-of-00017.safetensors",
|
| 689 |
+
"model.language_model.layers.9.linear_attn.out_proj.weight": "model-00004-of-00017.safetensors",
|
| 690 |
+
"model.language_model.layers.9.mlp.experts.down_proj": "model-00005-of-00017.safetensors",
|
| 691 |
+
"model.language_model.layers.9.mlp.experts.gate_up_proj": "model-00004-of-00017.safetensors",
|
| 692 |
+
"model.language_model.layers.9.mlp.gate.weight": "model-00004-of-00017.safetensors",
|
| 693 |
+
"model.language_model.layers.9.mlp.shared_expert.down_proj.weight": "model-00004-of-00017.safetensors",
|
| 694 |
+
"model.language_model.layers.9.mlp.shared_expert.gate_proj.weight": "model-00004-of-00017.safetensors",
|
| 695 |
+
"model.language_model.layers.9.mlp.shared_expert.up_proj.weight": "model-00004-of-00017.safetensors",
|
| 696 |
+
"model.language_model.layers.9.mlp.shared_expert_gate.weight": "model-00004-of-00017.safetensors",
|
| 697 |
+
"model.language_model.layers.9.post_attention_layernorm.weight": "model-00005-of-00017.safetensors",
|
| 698 |
+
"model.language_model.norm.weight": "model-00017-of-00017.safetensors",
|
| 699 |
+
"model.visual.blocks.0.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 700 |
+
"model.visual.blocks.0.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 701 |
+
"model.visual.blocks.0.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 702 |
+
"model.visual.blocks.0.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 703 |
+
"model.visual.blocks.0.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 704 |
+
"model.visual.blocks.0.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 705 |
+
"model.visual.blocks.0.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 706 |
+
"model.visual.blocks.0.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 707 |
+
"model.visual.blocks.0.norm1.bias": "model-passthrough-00000.safetensors",
|
| 708 |
+
"model.visual.blocks.0.norm1.weight": "model-passthrough-00000.safetensors",
|
| 709 |
+
"model.visual.blocks.0.norm2.bias": "model-passthrough-00000.safetensors",
|
| 710 |
+
"model.visual.blocks.0.norm2.weight": "model-passthrough-00000.safetensors",
|
| 711 |
+
"model.visual.blocks.1.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 712 |
+
"model.visual.blocks.1.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 713 |
+
"model.visual.blocks.1.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 714 |
+
"model.visual.blocks.1.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 715 |
+
"model.visual.blocks.1.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 716 |
+
"model.visual.blocks.1.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 717 |
+
"model.visual.blocks.1.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 718 |
+
"model.visual.blocks.1.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 719 |
+
"model.visual.blocks.1.norm1.bias": "model-passthrough-00000.safetensors",
|
| 720 |
+
"model.visual.blocks.1.norm1.weight": "model-passthrough-00000.safetensors",
|
| 721 |
+
"model.visual.blocks.1.norm2.bias": "model-passthrough-00000.safetensors",
|
| 722 |
+
"model.visual.blocks.1.norm2.weight": "model-passthrough-00000.safetensors",
|
| 723 |
+
"model.visual.blocks.10.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 724 |
+
"model.visual.blocks.10.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 725 |
+
"model.visual.blocks.10.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 726 |
+
"model.visual.blocks.10.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 727 |
+
"model.visual.blocks.10.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 728 |
+
"model.visual.blocks.10.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 729 |
+
"model.visual.blocks.10.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 730 |
+
"model.visual.blocks.10.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 731 |
+
"model.visual.blocks.10.norm1.bias": "model-passthrough-00000.safetensors",
|
| 732 |
+
"model.visual.blocks.10.norm1.weight": "model-passthrough-00000.safetensors",
|
| 733 |
+
"model.visual.blocks.10.norm2.bias": "model-passthrough-00000.safetensors",
|
| 734 |
+
"model.visual.blocks.10.norm2.weight": "model-passthrough-00000.safetensors",
|
| 735 |
+
"model.visual.blocks.11.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 736 |
+
"model.visual.blocks.11.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 737 |
+
"model.visual.blocks.11.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 738 |
+
"model.visual.blocks.11.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 739 |
+
"model.visual.blocks.11.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 740 |
+
"model.visual.blocks.11.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 741 |
+
"model.visual.blocks.11.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 742 |
+
"model.visual.blocks.11.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 743 |
+
"model.visual.blocks.11.norm1.bias": "model-passthrough-00000.safetensors",
|
| 744 |
+
"model.visual.blocks.11.norm1.weight": "model-passthrough-00000.safetensors",
|
| 745 |
+
"model.visual.blocks.11.norm2.bias": "model-passthrough-00000.safetensors",
|
| 746 |
+
"model.visual.blocks.11.norm2.weight": "model-passthrough-00000.safetensors",
|
| 747 |
+
"model.visual.blocks.12.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 748 |
+
"model.visual.blocks.12.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 749 |
+
"model.visual.blocks.12.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 750 |
+
"model.visual.blocks.12.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 751 |
+
"model.visual.blocks.12.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 752 |
+
"model.visual.blocks.12.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 753 |
+
"model.visual.blocks.12.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 754 |
+
"model.visual.blocks.12.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 755 |
+
"model.visual.blocks.12.norm1.bias": "model-passthrough-00000.safetensors",
|
| 756 |
+
"model.visual.blocks.12.norm1.weight": "model-passthrough-00000.safetensors",
|
| 757 |
+
"model.visual.blocks.12.norm2.bias": "model-passthrough-00000.safetensors",
|
| 758 |
+
"model.visual.blocks.12.norm2.weight": "model-passthrough-00000.safetensors",
|
| 759 |
+
"model.visual.blocks.13.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 760 |
+
"model.visual.blocks.13.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 761 |
+
"model.visual.blocks.13.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 762 |
+
"model.visual.blocks.13.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 763 |
+
"model.visual.blocks.13.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 764 |
+
"model.visual.blocks.13.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 765 |
+
"model.visual.blocks.13.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 766 |
+
"model.visual.blocks.13.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 767 |
+
"model.visual.blocks.13.norm1.bias": "model-passthrough-00000.safetensors",
|
| 768 |
+
"model.visual.blocks.13.norm1.weight": "model-passthrough-00000.safetensors",
|
| 769 |
+
"model.visual.blocks.13.norm2.bias": "model-passthrough-00000.safetensors",
|
| 770 |
+
"model.visual.blocks.13.norm2.weight": "model-passthrough-00000.safetensors",
|
| 771 |
+
"model.visual.blocks.14.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 772 |
+
"model.visual.blocks.14.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 773 |
+
"model.visual.blocks.14.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 774 |
+
"model.visual.blocks.14.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 775 |
+
"model.visual.blocks.14.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 776 |
+
"model.visual.blocks.14.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 777 |
+
"model.visual.blocks.14.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 778 |
+
"model.visual.blocks.14.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 779 |
+
"model.visual.blocks.14.norm1.bias": "model-passthrough-00000.safetensors",
|
| 780 |
+
"model.visual.blocks.14.norm1.weight": "model-passthrough-00000.safetensors",
|
| 781 |
+
"model.visual.blocks.14.norm2.bias": "model-passthrough-00000.safetensors",
|
| 782 |
+
"model.visual.blocks.14.norm2.weight": "model-passthrough-00000.safetensors",
|
| 783 |
+
"model.visual.blocks.15.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 784 |
+
"model.visual.blocks.15.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 785 |
+
"model.visual.blocks.15.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 786 |
+
"model.visual.blocks.15.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 787 |
+
"model.visual.blocks.15.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 788 |
+
"model.visual.blocks.15.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 789 |
+
"model.visual.blocks.15.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 790 |
+
"model.visual.blocks.15.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 791 |
+
"model.visual.blocks.15.norm1.bias": "model-passthrough-00000.safetensors",
|
| 792 |
+
"model.visual.blocks.15.norm1.weight": "model-passthrough-00000.safetensors",
|
| 793 |
+
"model.visual.blocks.15.norm2.bias": "model-passthrough-00000.safetensors",
|
| 794 |
+
"model.visual.blocks.15.norm2.weight": "model-passthrough-00000.safetensors",
|
| 795 |
+
"model.visual.blocks.16.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 796 |
+
"model.visual.blocks.16.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 797 |
+
"model.visual.blocks.16.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 798 |
+
"model.visual.blocks.16.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 799 |
+
"model.visual.blocks.16.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 800 |
+
"model.visual.blocks.16.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 801 |
+
"model.visual.blocks.16.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 802 |
+
"model.visual.blocks.16.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 803 |
+
"model.visual.blocks.16.norm1.bias": "model-passthrough-00000.safetensors",
|
| 804 |
+
"model.visual.blocks.16.norm1.weight": "model-passthrough-00000.safetensors",
|
| 805 |
+
"model.visual.blocks.16.norm2.bias": "model-passthrough-00000.safetensors",
|
| 806 |
+
"model.visual.blocks.16.norm2.weight": "model-passthrough-00000.safetensors",
|
| 807 |
+
"model.visual.blocks.17.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 808 |
+
"model.visual.blocks.17.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 809 |
+
"model.visual.blocks.17.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 810 |
+
"model.visual.blocks.17.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 811 |
+
"model.visual.blocks.17.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 812 |
+
"model.visual.blocks.17.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 813 |
+
"model.visual.blocks.17.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 814 |
+
"model.visual.blocks.17.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 815 |
+
"model.visual.blocks.17.norm1.bias": "model-passthrough-00000.safetensors",
|
| 816 |
+
"model.visual.blocks.17.norm1.weight": "model-passthrough-00000.safetensors",
|
| 817 |
+
"model.visual.blocks.17.norm2.bias": "model-passthrough-00000.safetensors",
|
| 818 |
+
"model.visual.blocks.17.norm2.weight": "model-passthrough-00000.safetensors",
|
| 819 |
+
"model.visual.blocks.18.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 820 |
+
"model.visual.blocks.18.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 821 |
+
"model.visual.blocks.18.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 822 |
+
"model.visual.blocks.18.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 823 |
+
"model.visual.blocks.18.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 824 |
+
"model.visual.blocks.18.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 825 |
+
"model.visual.blocks.18.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 826 |
+
"model.visual.blocks.18.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 827 |
+
"model.visual.blocks.18.norm1.bias": "model-passthrough-00000.safetensors",
|
| 828 |
+
"model.visual.blocks.18.norm1.weight": "model-passthrough-00000.safetensors",
|
| 829 |
+
"model.visual.blocks.18.norm2.bias": "model-passthrough-00000.safetensors",
|
| 830 |
+
"model.visual.blocks.18.norm2.weight": "model-passthrough-00000.safetensors",
|
| 831 |
+
"model.visual.blocks.19.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 832 |
+
"model.visual.blocks.19.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 833 |
+
"model.visual.blocks.19.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 834 |
+
"model.visual.blocks.19.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 835 |
+
"model.visual.blocks.19.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 836 |
+
"model.visual.blocks.19.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 837 |
+
"model.visual.blocks.19.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 838 |
+
"model.visual.blocks.19.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 839 |
+
"model.visual.blocks.19.norm1.bias": "model-passthrough-00000.safetensors",
|
| 840 |
+
"model.visual.blocks.19.norm1.weight": "model-passthrough-00000.safetensors",
|
| 841 |
+
"model.visual.blocks.19.norm2.bias": "model-passthrough-00000.safetensors",
|
| 842 |
+
"model.visual.blocks.19.norm2.weight": "model-passthrough-00000.safetensors",
|
| 843 |
+
"model.visual.blocks.2.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 844 |
+
"model.visual.blocks.2.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 845 |
+
"model.visual.blocks.2.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 846 |
+
"model.visual.blocks.2.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 847 |
+
"model.visual.blocks.2.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 848 |
+
"model.visual.blocks.2.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 849 |
+
"model.visual.blocks.2.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 850 |
+
"model.visual.blocks.2.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 851 |
+
"model.visual.blocks.2.norm1.bias": "model-passthrough-00000.safetensors",
|
| 852 |
+
"model.visual.blocks.2.norm1.weight": "model-passthrough-00000.safetensors",
|
| 853 |
+
"model.visual.blocks.2.norm2.bias": "model-passthrough-00000.safetensors",
|
| 854 |
+
"model.visual.blocks.2.norm2.weight": "model-passthrough-00000.safetensors",
|
| 855 |
+
"model.visual.blocks.20.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 856 |
+
"model.visual.blocks.20.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 857 |
+
"model.visual.blocks.20.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 858 |
+
"model.visual.blocks.20.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 859 |
+
"model.visual.blocks.20.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 860 |
+
"model.visual.blocks.20.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 861 |
+
"model.visual.blocks.20.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 862 |
+
"model.visual.blocks.20.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 863 |
+
"model.visual.blocks.20.norm1.bias": "model-passthrough-00000.safetensors",
|
| 864 |
+
"model.visual.blocks.20.norm1.weight": "model-passthrough-00000.safetensors",
|
| 865 |
+
"model.visual.blocks.20.norm2.bias": "model-passthrough-00000.safetensors",
|
| 866 |
+
"model.visual.blocks.20.norm2.weight": "model-passthrough-00000.safetensors",
|
| 867 |
+
"model.visual.blocks.21.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 868 |
+
"model.visual.blocks.21.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 869 |
+
"model.visual.blocks.21.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 870 |
+
"model.visual.blocks.21.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 871 |
+
"model.visual.blocks.21.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 872 |
+
"model.visual.blocks.21.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 873 |
+
"model.visual.blocks.21.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 874 |
+
"model.visual.blocks.21.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 875 |
+
"model.visual.blocks.21.norm1.bias": "model-passthrough-00000.safetensors",
|
| 876 |
+
"model.visual.blocks.21.norm1.weight": "model-passthrough-00000.safetensors",
|
| 877 |
+
"model.visual.blocks.21.norm2.bias": "model-passthrough-00000.safetensors",
|
| 878 |
+
"model.visual.blocks.21.norm2.weight": "model-passthrough-00000.safetensors",
|
| 879 |
+
"model.visual.blocks.22.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 880 |
+
"model.visual.blocks.22.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 881 |
+
"model.visual.blocks.22.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 882 |
+
"model.visual.blocks.22.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 883 |
+
"model.visual.blocks.22.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 884 |
+
"model.visual.blocks.22.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 885 |
+
"model.visual.blocks.22.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 886 |
+
"model.visual.blocks.22.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 887 |
+
"model.visual.blocks.22.norm1.bias": "model-passthrough-00000.safetensors",
|
| 888 |
+
"model.visual.blocks.22.norm1.weight": "model-passthrough-00000.safetensors",
|
| 889 |
+
"model.visual.blocks.22.norm2.bias": "model-passthrough-00000.safetensors",
|
| 890 |
+
"model.visual.blocks.22.norm2.weight": "model-passthrough-00000.safetensors",
|
| 891 |
+
"model.visual.blocks.23.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 892 |
+
"model.visual.blocks.23.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 893 |
+
"model.visual.blocks.23.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 894 |
+
"model.visual.blocks.23.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 895 |
+
"model.visual.blocks.23.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 896 |
+
"model.visual.blocks.23.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 897 |
+
"model.visual.blocks.23.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 898 |
+
"model.visual.blocks.23.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 899 |
+
"model.visual.blocks.23.norm1.bias": "model-passthrough-00000.safetensors",
|
| 900 |
+
"model.visual.blocks.23.norm1.weight": "model-passthrough-00000.safetensors",
|
| 901 |
+
"model.visual.blocks.23.norm2.bias": "model-passthrough-00000.safetensors",
|
| 902 |
+
"model.visual.blocks.23.norm2.weight": "model-passthrough-00000.safetensors",
|
| 903 |
+
"model.visual.blocks.24.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 904 |
+
"model.visual.blocks.24.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 905 |
+
"model.visual.blocks.24.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 906 |
+
"model.visual.blocks.24.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 907 |
+
"model.visual.blocks.24.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 908 |
+
"model.visual.blocks.24.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 909 |
+
"model.visual.blocks.24.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 910 |
+
"model.visual.blocks.24.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 911 |
+
"model.visual.blocks.24.norm1.bias": "model-passthrough-00000.safetensors",
|
| 912 |
+
"model.visual.blocks.24.norm1.weight": "model-passthrough-00000.safetensors",
|
| 913 |
+
"model.visual.blocks.24.norm2.bias": "model-passthrough-00000.safetensors",
|
| 914 |
+
"model.visual.blocks.24.norm2.weight": "model-passthrough-00000.safetensors",
|
| 915 |
+
"model.visual.blocks.25.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 916 |
+
"model.visual.blocks.25.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 917 |
+
"model.visual.blocks.25.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 918 |
+
"model.visual.blocks.25.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 919 |
+
"model.visual.blocks.25.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 920 |
+
"model.visual.blocks.25.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 921 |
+
"model.visual.blocks.25.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 922 |
+
"model.visual.blocks.25.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 923 |
+
"model.visual.blocks.25.norm1.bias": "model-passthrough-00000.safetensors",
|
| 924 |
+
"model.visual.blocks.25.norm1.weight": "model-passthrough-00000.safetensors",
|
| 925 |
+
"model.visual.blocks.25.norm2.bias": "model-passthrough-00000.safetensors",
|
| 926 |
+
"model.visual.blocks.25.norm2.weight": "model-passthrough-00000.safetensors",
|
| 927 |
+
"model.visual.blocks.26.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 928 |
+
"model.visual.blocks.26.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 929 |
+
"model.visual.blocks.26.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 930 |
+
"model.visual.blocks.26.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 931 |
+
"model.visual.blocks.26.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 932 |
+
"model.visual.blocks.26.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 933 |
+
"model.visual.blocks.26.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 934 |
+
"model.visual.blocks.26.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 935 |
+
"model.visual.blocks.26.norm1.bias": "model-passthrough-00000.safetensors",
|
| 936 |
+
"model.visual.blocks.26.norm1.weight": "model-passthrough-00000.safetensors",
|
| 937 |
+
"model.visual.blocks.26.norm2.bias": "model-passthrough-00000.safetensors",
|
| 938 |
+
"model.visual.blocks.26.norm2.weight": "model-passthrough-00000.safetensors",
|
| 939 |
+
"model.visual.blocks.3.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 940 |
+
"model.visual.blocks.3.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 941 |
+
"model.visual.blocks.3.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 942 |
+
"model.visual.blocks.3.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 943 |
+
"model.visual.blocks.3.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 944 |
+
"model.visual.blocks.3.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 945 |
+
"model.visual.blocks.3.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 946 |
+
"model.visual.blocks.3.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 947 |
+
"model.visual.blocks.3.norm1.bias": "model-passthrough-00000.safetensors",
|
| 948 |
+
"model.visual.blocks.3.norm1.weight": "model-passthrough-00000.safetensors",
|
| 949 |
+
"model.visual.blocks.3.norm2.bias": "model-passthrough-00000.safetensors",
|
| 950 |
+
"model.visual.blocks.3.norm2.weight": "model-passthrough-00000.safetensors",
|
| 951 |
+
"model.visual.blocks.4.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 952 |
+
"model.visual.blocks.4.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 953 |
+
"model.visual.blocks.4.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 954 |
+
"model.visual.blocks.4.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 955 |
+
"model.visual.blocks.4.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 956 |
+
"model.visual.blocks.4.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 957 |
+
"model.visual.blocks.4.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 958 |
+
"model.visual.blocks.4.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 959 |
+
"model.visual.blocks.4.norm1.bias": "model-passthrough-00000.safetensors",
|
| 960 |
+
"model.visual.blocks.4.norm1.weight": "model-passthrough-00000.safetensors",
|
| 961 |
+
"model.visual.blocks.4.norm2.bias": "model-passthrough-00000.safetensors",
|
| 962 |
+
"model.visual.blocks.4.norm2.weight": "model-passthrough-00000.safetensors",
|
| 963 |
+
"model.visual.blocks.5.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 964 |
+
"model.visual.blocks.5.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 965 |
+
"model.visual.blocks.5.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 966 |
+
"model.visual.blocks.5.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 967 |
+
"model.visual.blocks.5.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 968 |
+
"model.visual.blocks.5.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 969 |
+
"model.visual.blocks.5.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 970 |
+
"model.visual.blocks.5.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 971 |
+
"model.visual.blocks.5.norm1.bias": "model-passthrough-00000.safetensors",
|
| 972 |
+
"model.visual.blocks.5.norm1.weight": "model-passthrough-00000.safetensors",
|
| 973 |
+
"model.visual.blocks.5.norm2.bias": "model-passthrough-00000.safetensors",
|
| 974 |
+
"model.visual.blocks.5.norm2.weight": "model-passthrough-00000.safetensors",
|
| 975 |
+
"model.visual.blocks.6.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 976 |
+
"model.visual.blocks.6.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 977 |
+
"model.visual.blocks.6.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 978 |
+
"model.visual.blocks.6.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 979 |
+
"model.visual.blocks.6.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 980 |
+
"model.visual.blocks.6.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 981 |
+
"model.visual.blocks.6.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 982 |
+
"model.visual.blocks.6.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 983 |
+
"model.visual.blocks.6.norm1.bias": "model-passthrough-00000.safetensors",
|
| 984 |
+
"model.visual.blocks.6.norm1.weight": "model-passthrough-00000.safetensors",
|
| 985 |
+
"model.visual.blocks.6.norm2.bias": "model-passthrough-00000.safetensors",
|
| 986 |
+
"model.visual.blocks.6.norm2.weight": "model-passthrough-00000.safetensors",
|
| 987 |
+
"model.visual.blocks.7.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 988 |
+
"model.visual.blocks.7.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 989 |
+
"model.visual.blocks.7.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 990 |
+
"model.visual.blocks.7.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 991 |
+
"model.visual.blocks.7.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 992 |
+
"model.visual.blocks.7.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 993 |
+
"model.visual.blocks.7.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 994 |
+
"model.visual.blocks.7.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 995 |
+
"model.visual.blocks.7.norm1.bias": "model-passthrough-00000.safetensors",
|
| 996 |
+
"model.visual.blocks.7.norm1.weight": "model-passthrough-00000.safetensors",
|
| 997 |
+
"model.visual.blocks.7.norm2.bias": "model-passthrough-00000.safetensors",
|
| 998 |
+
"model.visual.blocks.7.norm2.weight": "model-passthrough-00000.safetensors",
|
| 999 |
+
"model.visual.blocks.8.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 1000 |
+
"model.visual.blocks.8.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 1001 |
+
"model.visual.blocks.8.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 1002 |
+
"model.visual.blocks.8.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 1003 |
+
"model.visual.blocks.8.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 1004 |
+
"model.visual.blocks.8.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 1005 |
+
"model.visual.blocks.8.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 1006 |
+
"model.visual.blocks.8.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 1007 |
+
"model.visual.blocks.8.norm1.bias": "model-passthrough-00000.safetensors",
|
| 1008 |
+
"model.visual.blocks.8.norm1.weight": "model-passthrough-00000.safetensors",
|
| 1009 |
+
"model.visual.blocks.8.norm2.bias": "model-passthrough-00000.safetensors",
|
| 1010 |
+
"model.visual.blocks.8.norm2.weight": "model-passthrough-00000.safetensors",
|
| 1011 |
+
"model.visual.blocks.9.attn.proj.bias": "model-passthrough-00000.safetensors",
|
| 1012 |
+
"model.visual.blocks.9.attn.proj.weight": "model-passthrough-00000.safetensors",
|
| 1013 |
+
"model.visual.blocks.9.attn.qkv.bias": "model-passthrough-00000.safetensors",
|
| 1014 |
+
"model.visual.blocks.9.attn.qkv.weight": "model-passthrough-00000.safetensors",
|
| 1015 |
+
"model.visual.blocks.9.mlp.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 1016 |
+
"model.visual.blocks.9.mlp.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 1017 |
+
"model.visual.blocks.9.mlp.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 1018 |
+
"model.visual.blocks.9.mlp.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 1019 |
+
"model.visual.blocks.9.norm1.bias": "model-passthrough-00000.safetensors",
|
| 1020 |
+
"model.visual.blocks.9.norm1.weight": "model-passthrough-00000.safetensors",
|
| 1021 |
+
"model.visual.blocks.9.norm2.bias": "model-passthrough-00000.safetensors",
|
| 1022 |
+
"model.visual.blocks.9.norm2.weight": "model-passthrough-00000.safetensors",
|
| 1023 |
+
"model.visual.merger.linear_fc1.bias": "model-passthrough-00000.safetensors",
|
| 1024 |
+
"model.visual.merger.linear_fc1.weight": "model-passthrough-00000.safetensors",
|
| 1025 |
+
"model.visual.merger.linear_fc2.bias": "model-passthrough-00000.safetensors",
|
| 1026 |
+
"model.visual.merger.linear_fc2.weight": "model-passthrough-00000.safetensors",
|
| 1027 |
+
"model.visual.merger.norm.bias": "model-passthrough-00000.safetensors",
|
| 1028 |
+
"model.visual.merger.norm.weight": "model-passthrough-00000.safetensors",
|
| 1029 |
+
"model.visual.patch_embed.proj.bias": "model-passthrough-00000.safetensors",
|
| 1030 |
+
"model.visual.patch_embed.proj.weight": "model-passthrough-00000.safetensors",
|
| 1031 |
+
"model.visual.pos_embed.weight": "model-passthrough-00000.safetensors"
|
| 1032 |
+
}
|
| 1033 |
+
}
|
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 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"patch_size": 16,
|
| 20 |
+
"resample": 3,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"longest_edge": 16777216,
|
| 24 |
+
"shortest_edge": 65536
|
| 25 |
+
},
|
| 26 |
+
"temporal_patch_size": 2
|
| 27 |
+
},
|
| 28 |
+
"processor_class": "Qwen3VLProcessor",
|
| 29 |
+
"video_processor": {
|
| 30 |
+
"do_convert_rgb": true,
|
| 31 |
+
"do_normalize": true,
|
| 32 |
+
"do_rescale": true,
|
| 33 |
+
"do_resize": true,
|
| 34 |
+
"do_sample_frames": true,
|
| 35 |
+
"fps": 2,
|
| 36 |
+
"image_mean": [
|
| 37 |
+
0.5,
|
| 38 |
+
0.5,
|
| 39 |
+
0.5
|
| 40 |
+
],
|
| 41 |
+
"image_std": [
|
| 42 |
+
0.5,
|
| 43 |
+
0.5,
|
| 44 |
+
0.5
|
| 45 |
+
],
|
| 46 |
+
"max_frames": 768,
|
| 47 |
+
"merge_size": 2,
|
| 48 |
+
"min_frames": 4,
|
| 49 |
+
"patch_size": 16,
|
| 50 |
+
"resample": 3,
|
| 51 |
+
"rescale_factor": 0.00392156862745098,
|
| 52 |
+
"return_metadata": false,
|
| 53 |
+
"size": {
|
| 54 |
+
"longest_edge": 25165824,
|
| 55 |
+
"shortest_edge": 4096
|
| 56 |
+
},
|
| 57 |
+
"temporal_patch_size": 2,
|
| 58 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 59 |
+
}
|
| 60 |
+
}
|
run.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"step": "train_sft",
|
| 3 |
+
"created_at": "2026-10-11T01:01:15+00:00",
|
| 4 |
+
"git_commit": "8b5b96deec230e17c55784177f60235498b92bb2-dirty",
|
| 5 |
+
"inputs": {},
|
| 6 |
+
"input_records": {},
|
| 7 |
+
"config": {
|
| 8 |
+
"training_purpose": "benign_sft",
|
| 9 |
+
"seed": 42,
|
| 10 |
+
"max_tokens": 250000000,
|
| 11 |
+
"tokens_per_step": 500000,
|
| 12 |
+
"save_token_milestones": [
|
| 13 |
+
250000000
|
| 14 |
+
],
|
| 15 |
+
"pack_length": {
|
| 16 |
+
"qwen3_5_moe": 31250,
|
| 17 |
+
"gemma4": 15625
|
| 18 |
+
},
|
| 19 |
+
"optimizer": {
|
| 20 |
+
"lr": 2e-06,
|
| 21 |
+
"min_lr": 1e-07,
|
| 22 |
+
"lr_decay_style": "cosine",
|
| 23 |
+
"lr_warmup_fraction": 0.1,
|
| 24 |
+
"weight_decay": 0.05,
|
| 25 |
+
"clip_grad": 1.0,
|
| 26 |
+
"muon_momentum": 0.95,
|
| 27 |
+
"muon_use_nesterov": true,
|
| 28 |
+
"muon_scale_mode": "spectral",
|
| 29 |
+
"muon_extra_scale_factor": 0.2,
|
| 30 |
+
"muon_scalar_optimizer": "adam"
|
| 31 |
+
}
|
| 32 |
+
},
|
| 33 |
+
"args": {},
|
| 34 |
+
"results": {
|
| 35 |
+
"step": 500,
|
| 36 |
+
"total_steps": 500,
|
| 37 |
+
"nominal_tokens": 250000000,
|
| 38 |
+
"consumed_tokens": 249586222,
|
| 39 |
+
"nominal_tokens_per_step": 500000
|
| 40 |
+
},
|
| 41 |
+
"public_release": {
|
| 42 |
+
"repo_id": "AI45Research/REX-Intern-S2-Bio-F3",
|
| 43 |
+
"version": "v0.1.0",
|
| 44 |
+
"node": "F3",
|
| 45 |
+
"sft_nominal_tokens": 250000000,
|
| 46 |
+
"record_is_redacted": true,
|
| 47 |
+
"omitted": [
|
| 48 |
+
"private_paths",
|
| 49 |
+
"data_recipe",
|
| 50 |
+
"nested_private_provenance",
|
| 51 |
+
"training_logs"
|
| 52 |
+
],
|
| 53 |
+
"source_record_step": "train_sft",
|
| 54 |
+
"original_experts": 256,
|
| 55 |
+
"expanded_experts": 264,
|
| 56 |
+
"note": "Release metadata is a public projection; it is not a complete training record. The endpoint is selected by the private final index; missing source provenance is not reconstructed.",
|
| 57 |
+
"code_revision": "b0178042de27ad2c0679a483da93bad6b2dbb76b"
|
| 58 |
+
}
|
| 59 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"audio_bos_token": "<|audio_start|>",
|
| 18 |
+
"audio_eos_token": "<|audio_end|>",
|
| 19 |
+
"audio_token": "<|audio_pad|>",
|
| 20 |
+
"bos_token": {
|
| 21 |
+
"content": "<|im_start|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
},
|
| 27 |
+
"eos_token": {
|
| 28 |
+
"content": "<|im_end|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false
|
| 33 |
+
},
|
| 34 |
+
"image_token": "<|image_pad|>",
|
| 35 |
+
"pad_token": {
|
| 36 |
+
"content": "<|endoftext|>",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false
|
| 41 |
+
},
|
| 42 |
+
"video_token": "<|video_pad|>",
|
| 43 |
+
"vision_bos_token": "<|vision_start|>",
|
| 44 |
+
"vision_eos_token": "<|vision_end|>"
|
| 45 |
+
}
|
tokenization_interns1.py
ADDED
|
@@ -0,0 +1,1009 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# coding=utf-8
|
| 2 |
+
# Copyright 2025 The Intern team and Shanghai AI Lab team. All rights reserved.
|
| 3 |
+
#
|
| 4 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 5 |
+
# you may not use this file except in compliance with the License.
|
| 6 |
+
# You may obtain a copy of the License at
|
| 7 |
+
#
|
| 8 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 9 |
+
#
|
| 10 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 11 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 12 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 13 |
+
# See the License for the specific language governing permissions and
|
| 14 |
+
# limitations under the License.
|
| 15 |
+
"""Tokenization classes for InternS1."""
|
| 16 |
+
|
| 17 |
+
import json
|
| 18 |
+
import os
|
| 19 |
+
import unicodedata
|
| 20 |
+
from abc import ABC, abstractmethod
|
| 21 |
+
from typing import Optional, Union
|
| 22 |
+
from functools import lru_cache
|
| 23 |
+
|
| 24 |
+
import regex as re
|
| 25 |
+
import sentencepiece as spm
|
| 26 |
+
|
| 27 |
+
from transformers.tokenization_utils_base import AddedToken, TextInput
|
| 28 |
+
from transformers.utils import logging
|
| 29 |
+
from packaging import version
|
| 30 |
+
import transformers
|
| 31 |
+
if version.parse(transformers.__version__) >= version.parse("5.0.0"):
|
| 32 |
+
from transformers.tokenization_python import PreTrainedTokenizer
|
| 33 |
+
else:
|
| 34 |
+
from transformers.tokenization_utils import PreTrainedTokenizer
|
| 35 |
+
|
| 36 |
+
logger = logging.get_logger(__name__)
|
| 37 |
+
|
| 38 |
+
try:
|
| 39 |
+
from rdkit import Chem, RDLogger
|
| 40 |
+
|
| 41 |
+
RDLogger.DisableLog("rdApp.error")
|
| 42 |
+
RDLogger.DisableLog("rdApp.*")
|
| 43 |
+
RDKIT_AVAILABLE = True
|
| 44 |
+
except ImportError:
|
| 45 |
+
logger.warning_once(
|
| 46 |
+
"If tokenization with SMILES formula is of necessity, please 'pip install RDKit' for better tokenization quality."
|
| 47 |
+
)
|
| 48 |
+
RDKIT_AVAILABLE = False
|
| 49 |
+
|
| 50 |
+
VOCAB_FILES_NAMES = {
|
| 51 |
+
"vocab_file": "vocab.json",
|
| 52 |
+
"merges_file": "merges.txt",
|
| 53 |
+
"sp_model_SMILES": "tokenizer_SMILES.model",
|
| 54 |
+
"sp_model_PROT": "tokenizer_PROT.model",
|
| 55 |
+
"sp_model_XNA": "tokenizer_XNA.model",
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
PRETOKENIZE_REGEX = r"""(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\r\n\p{L}\p{N}]?\p{L}+|\p{N}| ?[^\s\p{L}\p{N}]+[\r\n]*|\s*[\r\n]+|\s+(?!\S)|\s+"""
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
class InternS1CheckModuleMixin(ABC):
|
| 62 |
+
"""
|
| 63 |
+
Basic auto-detection module.
|
| 64 |
+
|
| 65 |
+
Note that short strings are ignored by this module.
|
| 66 |
+
"""
|
| 67 |
+
|
| 68 |
+
def __init__(self, *, min_length: int):
|
| 69 |
+
self.min_length = min_length
|
| 70 |
+
self.REGEX = self._build_regex()
|
| 71 |
+
self.all_auto_detect_token_start = ["<SMILES_AUTO_DETECT>", "<PROT_AUTO_DETECT>", "<XNA_AUTO_DETECT>"]
|
| 72 |
+
self.all_auto_detect_token_end = ["</SMILES_AUTO_DETECT>", "</PROT_AUTO_DETECT>", "</XNA_AUTO_DETECT>"]
|
| 73 |
+
self.auto_detect_token = []
|
| 74 |
+
self.truncation = False
|
| 75 |
+
|
| 76 |
+
@abstractmethod
|
| 77 |
+
def _build_regex(self):
|
| 78 |
+
pass
|
| 79 |
+
|
| 80 |
+
@abstractmethod
|
| 81 |
+
def check_legitimacy(self, candidate: str) -> bool:
|
| 82 |
+
pass
|
| 83 |
+
|
| 84 |
+
def re_split(self, texts: Union[str, list[str]]) -> list[str]:
|
| 85 |
+
if isinstance(texts, str):
|
| 86 |
+
texts = [texts]
|
| 87 |
+
|
| 88 |
+
total_results = []
|
| 89 |
+
|
| 90 |
+
no_split_flag = 0
|
| 91 |
+
|
| 92 |
+
for text in texts:
|
| 93 |
+
if text in self.all_auto_detect_token_start:
|
| 94 |
+
total_results.append(text)
|
| 95 |
+
no_split_flag += 1
|
| 96 |
+
continue
|
| 97 |
+
elif text in self.all_auto_detect_token_end:
|
| 98 |
+
total_results.append(text)
|
| 99 |
+
no_split_flag = max(0, no_split_flag - 1)
|
| 100 |
+
continue
|
| 101 |
+
|
| 102 |
+
if no_split_flag > 0:
|
| 103 |
+
total_results.append(text)
|
| 104 |
+
continue
|
| 105 |
+
|
| 106 |
+
results = []
|
| 107 |
+
current_pos = 0
|
| 108 |
+
for match in self.REGEX.finditer(text):
|
| 109 |
+
candidate = match.group(1)
|
| 110 |
+
|
| 111 |
+
if len(candidate) >= self.min_length:
|
| 112 |
+
match_start, match_end = match.span(1)
|
| 113 |
+
|
| 114 |
+
if not self.check_legitimacy(candidate):
|
| 115 |
+
continue
|
| 116 |
+
|
| 117 |
+
if not self.truncation:
|
| 118 |
+
if match_start > 0 and text[match_start - 1].encode("UTF-8").isalpha():
|
| 119 |
+
continue
|
| 120 |
+
if match_end < len(text) and text[match_end].encode("UTF-8").isalpha():
|
| 121 |
+
continue
|
| 122 |
+
|
| 123 |
+
if match_start > current_pos:
|
| 124 |
+
non_candidate_part = text[current_pos:match_start]
|
| 125 |
+
results.append(non_candidate_part)
|
| 126 |
+
else:
|
| 127 |
+
continue
|
| 128 |
+
|
| 129 |
+
results.extend([self.auto_detect_token[0], candidate, self.auto_detect_token[1]])
|
| 130 |
+
current_pos = match_end
|
| 131 |
+
|
| 132 |
+
if current_pos < len(text):
|
| 133 |
+
remaining_part = text[current_pos:]
|
| 134 |
+
results.append(remaining_part)
|
| 135 |
+
|
| 136 |
+
total_results.extend(results)
|
| 137 |
+
|
| 138 |
+
return total_results
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
class XnaCheckModule(InternS1CheckModuleMixin):
|
| 142 |
+
"""
|
| 143 |
+
XNA sequence auto-detection module.
|
| 144 |
+
|
| 145 |
+
Automatically detects XNA sequence using regex patterns.
|
| 146 |
+
"""
|
| 147 |
+
def __init__(self, *, min_length: int = 27):
|
| 148 |
+
super().__init__(min_length=min_length)
|
| 149 |
+
self.auto_detect_token = ["<XNA_AUTO_DETECT>", "</XNA_AUTO_DETECT>"]
|
| 150 |
+
self.truncation = True
|
| 151 |
+
|
| 152 |
+
def _build_regex(self):
|
| 153 |
+
return re.compile(r"([ATCGU]{" + str(self.min_length) + r",})")
|
| 154 |
+
|
| 155 |
+
def check_legitimacy(self, candidate: str):
|
| 156 |
+
return True
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
class ProtCheckModule(InternS1CheckModuleMixin):
|
| 160 |
+
"""
|
| 161 |
+
Protein sequence auto-detection module.
|
| 162 |
+
|
| 163 |
+
Automatically detects protein sequence using regex patterns.
|
| 164 |
+
"""
|
| 165 |
+
def __init__(self, *, min_length: int = 27):
|
| 166 |
+
super().__init__(min_length=min_length)
|
| 167 |
+
self.auto_detect_token = ["<PROT_AUTO_DETECT>", "</PROT_AUTO_DETECT>"]
|
| 168 |
+
self.truncation = True
|
| 169 |
+
self._xna_pattern = re.compile(r"^[ATCGU]+$")
|
| 170 |
+
|
| 171 |
+
def _build_regex(self):
|
| 172 |
+
return re.compile(r"([A-Z]{" + str(self.min_length) + r",})")
|
| 173 |
+
|
| 174 |
+
def check_legitimacy(self, candidate: str):
|
| 175 |
+
if self._xna_pattern.match(candidate):
|
| 176 |
+
return False
|
| 177 |
+
return True
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
# fmt: off
|
| 181 |
+
bonds = ["-", "=", "#", ":", "/", "\\", ".", "$"]
|
| 182 |
+
organic_symbols = ["B", "C", "N", "O", "P", "S", "F", "Cl", "Br", "I"]
|
| 183 |
+
other_allows = bonds + ["[", "]", "(", ")", ";"]
|
| 184 |
+
aromatic_symbols = ["b", "c", "n", "o", "s", "p"]
|
| 185 |
+
elements = [
|
| 186 |
+
"H", "He", "Li", "Be", "B", "C", "N", "O", "F", "Ne",
|
| 187 |
+
"Na", "Mg", "Al", "Si", "P", "S", "Cl", "Ar", "K", "Ca",
|
| 188 |
+
"Sc", "Ti", "V", "Cr", "Mn", "Fe", "Co", "Ni", "Cu", "Zn",
|
| 189 |
+
"Ga", "Ge", "As", "Se", "Br", "Kr", "Rb", "Sr", "Y", "Zr",
|
| 190 |
+
"Nb", "Mo", "Tc", "Ru", "Rh", "Pd", "Ag", "Cd", "In", "Sn",
|
| 191 |
+
"Sb", "Te", "I", "Xe", "Cs", "Ba", "La", "Ce", "Pr", "Nd",
|
| 192 |
+
"Pm", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm", "Yb",
|
| 193 |
+
"Lu", "Hf", "Ta", "W", "Re", "Os", "Ir", "Pt", "Au", "Hg",
|
| 194 |
+
"Tl", "Pb", "Bi", "Po", "At", "Rn", "Fr", "Ra", "Ac", "Th",
|
| 195 |
+
"Pa", "U", "Np", "Pu", "Am", "Cm", "Bk", "Cf", "Es", "Fm",
|
| 196 |
+
"Md", "No", "Lr", "Rf", "Db", "Sg", "Bh", "Hs", "Mt", "Ds",
|
| 197 |
+
"Rg", "Cn", "Nh", "Fl", "Mc", "Lv", "Ts", "Og"
|
| 198 |
+
]
|
| 199 |
+
# fmt: on
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
class SmilesCheckModule(InternS1CheckModuleMixin):
|
| 203 |
+
"""
|
| 204 |
+
SMILES molecular sequence auto-detection module.
|
| 205 |
+
|
| 206 |
+
Automatically detects and validates SMILES strings in text using regex patterns
|
| 207 |
+
or chemical syntax rules. Uses RDKit for precise validation when available,
|
| 208 |
+
otherwise falls back to rule-based validation.
|
| 209 |
+
"""
|
| 210 |
+
|
| 211 |
+
def __init__(self, *, min_length: int = 10):
|
| 212 |
+
super().__init__(min_length=min_length)
|
| 213 |
+
self.auto_detect_token = ["<SMILES_AUTO_DETECT>", "</SMILES_AUTO_DETECT>"]
|
| 214 |
+
self._SQ_BRACKET_BAN_1 = re.compile(r"(?:[A-GI-Z]|[a-z]){3,}")
|
| 215 |
+
self._SQ_BRACKET_BAN_2 = re.compile(r"\d{4,}")
|
| 216 |
+
|
| 217 |
+
def _build_regex(self):
|
| 218 |
+
# fmt: off
|
| 219 |
+
_two_letter_elements = [
|
| 220 |
+
'Ac', 'Ag', 'Al', 'Am', 'Ar', 'As', 'At', 'Au', 'Ba', 'Be', 'Bh', 'Bi', 'Bk', 'Br', 'Ca', 'Cd',
|
| 221 |
+
'Ce', 'Cf', 'Cl', 'Cm', 'Cn', 'Co', 'Cr', 'Cs', 'Cu', 'Db', 'Ds', 'Dy', 'Er', 'Es', 'Eu', 'Fe',
|
| 222 |
+
'Fl', 'Fm', 'Fr', 'Ga', 'Gd', 'Ge', 'He', 'Hf', 'Hg', 'Ho', 'Hs', 'In', 'Ir', 'Kr', 'La', 'Li',
|
| 223 |
+
'Lr', 'Lu', 'Lv', 'Mc', 'Md', 'Mg', 'Mn', 'Mo', 'Mt', 'Na', 'Nb', 'Nd', 'Ne', 'Nh', 'Ni', 'No',
|
| 224 |
+
'Np', 'Og', 'Os', 'Pa', 'Pb', 'Pd', 'Pm', 'Po', 'Pr', 'Pt', 'Pu', 'Ra', 'Rb', 'Re', 'Rf', 'Rg',
|
| 225 |
+
'Rh', 'Rn', 'Ru', 'Sb', 'Sc', 'Se', 'Sg', 'Si', 'Sm', 'Sn', 'Sr', 'Ta', 'Tb', 'Tc', 'Te', 'Th',
|
| 226 |
+
'Ti', 'Tl', 'Tm', 'Ts', 'Xe', 'Yb', 'Zn', 'Zr'
|
| 227 |
+
]
|
| 228 |
+
_single_letter_elements = [
|
| 229 |
+
"B", "C", "F", "H", "I", "K", "N", "O", "P", "S", "U", "V", "W", "Y", 'b', 'c', 'n', 'o', 'p', 's'
|
| 230 |
+
]
|
| 231 |
+
# fmt: on
|
| 232 |
+
all_elements_sorted = sorted(_two_letter_elements + _single_letter_elements, key=lambda x: (-len(x), x))
|
| 233 |
+
elements_pattern_str = "|".join(all_elements_sorted)
|
| 234 |
+
|
| 235 |
+
bracket_atom_pattern_str = r"\[[^\]]+\]"
|
| 236 |
+
other_single_chars_pattern_str = r"[\(\)\.=\-#@\d\$\%\*:\+\-\/\\]"
|
| 237 |
+
smiles_unit_pattern = (
|
| 238 |
+
r"(?:"
|
| 239 |
+
+ bracket_atom_pattern_str
|
| 240 |
+
+ r"|"
|
| 241 |
+
+ elements_pattern_str
|
| 242 |
+
+ r"|"
|
| 243 |
+
+ other_single_chars_pattern_str
|
| 244 |
+
+ r")"
|
| 245 |
+
)
|
| 246 |
+
core_sequence_pattern = rf"(?>{smiles_unit_pattern}){{10,}}"
|
| 247 |
+
constrained_core_sequence_pattern = rf"(?![:.=]){core_sequence_pattern}(?<![:.=])"
|
| 248 |
+
|
| 249 |
+
final_regex_str = rf"({constrained_core_sequence_pattern})"
|
| 250 |
+
|
| 251 |
+
COMPILED_REGEX = re.compile(final_regex_str)
|
| 252 |
+
return COMPILED_REGEX
|
| 253 |
+
|
| 254 |
+
def check_legitimacy_slow(self, candidate: str) -> bool:
|
| 255 |
+
"""Check legitimacy with RDKit"""
|
| 256 |
+
if sum(1 for char in candidate if char.encode("UTF-8").isalpha()) < 5:
|
| 257 |
+
return False
|
| 258 |
+
|
| 259 |
+
mol = Chem.MolFromSmiles(candidate)
|
| 260 |
+
if mol is None:
|
| 261 |
+
return False
|
| 262 |
+
else:
|
| 263 |
+
return True
|
| 264 |
+
|
| 265 |
+
def check_legitimacy_fast(self, candidate: str) -> bool:
|
| 266 |
+
"""Check legitimacy with hard rules"""
|
| 267 |
+
if sum(1 for char in candidate if char.encode("UTF-8").isalpha()) < 5:
|
| 268 |
+
return False
|
| 269 |
+
|
| 270 |
+
if not self.check_rings_and_brackets(candidate):
|
| 271 |
+
return False
|
| 272 |
+
else:
|
| 273 |
+
return True
|
| 274 |
+
|
| 275 |
+
def check_legitimacy(self, candidate: str) -> bool:
|
| 276 |
+
if RDKIT_AVAILABLE:
|
| 277 |
+
return self.check_legitimacy_slow(candidate)
|
| 278 |
+
else:
|
| 279 |
+
return self.check_legitimacy_fast(candidate)
|
| 280 |
+
|
| 281 |
+
def check_brackets(self, text):
|
| 282 |
+
matches = re.findall(r"\[([^\[\]]*)\]", text)
|
| 283 |
+
for part in matches:
|
| 284 |
+
if "(" in part or ")" in part:
|
| 285 |
+
return False
|
| 286 |
+
if len(part) == 0:
|
| 287 |
+
return False
|
| 288 |
+
if part[0] in elements or part[0] in aromatic_symbols or part[:2] in elements:
|
| 289 |
+
return True
|
| 290 |
+
return True
|
| 291 |
+
|
| 292 |
+
def check_rings_and_brackets(self, text):
|
| 293 |
+
rings = {}
|
| 294 |
+
left_sq_bracket, right_sq_bracket = 0, 0
|
| 295 |
+
left_pt_bracket, right_pt_bracket = 0, 0
|
| 296 |
+
all_lower = True
|
| 297 |
+
digits_cnt = 0
|
| 298 |
+
pos = 0
|
| 299 |
+
while pos < len(text):
|
| 300 |
+
step = 0
|
| 301 |
+
c = text[pos]
|
| 302 |
+
if ord(c) >= 65 and ord(c) <= 90:
|
| 303 |
+
all_lower = False
|
| 304 |
+
if (pos == len(text) - 1 or pos == 0) and c in bonds:
|
| 305 |
+
return False
|
| 306 |
+
if pos > 0 and text[pos - 1] in bonds and text[pos] in bonds:
|
| 307 |
+
return False
|
| 308 |
+
if c == "[":
|
| 309 |
+
step = 1
|
| 310 |
+
left_sq_bracket += 1
|
| 311 |
+
if left_sq_bracket > right_sq_bracket + 1:
|
| 312 |
+
return False
|
| 313 |
+
if pos == len(text) - 1:
|
| 314 |
+
return False
|
| 315 |
+
if "]" not in text[pos + 1 :]:
|
| 316 |
+
return False
|
| 317 |
+
bracket_span = text[pos + 1 : text.find("]")]
|
| 318 |
+
|
| 319 |
+
if self._SQ_BRACKET_BAN_1.search(bracket_span) or self._SQ_BRACKET_BAN_2.search(bracket_span):
|
| 320 |
+
return False
|
| 321 |
+
|
| 322 |
+
matches = re.findall(r"\d+", bracket_span)
|
| 323 |
+
if len(matches) > 2:
|
| 324 |
+
return False
|
| 325 |
+
if c == "]":
|
| 326 |
+
step = 1
|
| 327 |
+
right_sq_bracket += 1
|
| 328 |
+
if right_sq_bracket > left_sq_bracket:
|
| 329 |
+
return False
|
| 330 |
+
|
| 331 |
+
if c == "(":
|
| 332 |
+
step = 1
|
| 333 |
+
left_pt_bracket += 1
|
| 334 |
+
if c == ")":
|
| 335 |
+
step = 1
|
| 336 |
+
right_pt_bracket += 1
|
| 337 |
+
if right_pt_bracket > left_pt_bracket:
|
| 338 |
+
return False
|
| 339 |
+
|
| 340 |
+
if left_sq_bracket == right_sq_bracket:
|
| 341 |
+
if c.isdigit():
|
| 342 |
+
digits_cnt += 1
|
| 343 |
+
step = 1
|
| 344 |
+
if (
|
| 345 |
+
pos == 0
|
| 346 |
+
or (pos == 1 and text[pos - 1] != "%")
|
| 347 |
+
or (pos > 1 and text[pos - 1] != "%" and text[pos - 2] != "%")
|
| 348 |
+
):
|
| 349 |
+
if c in rings:
|
| 350 |
+
if rings[c] == "unclosed":
|
| 351 |
+
rings[c] = "closed"
|
| 352 |
+
else:
|
| 353 |
+
rings[c] = "unclosed"
|
| 354 |
+
else:
|
| 355 |
+
rings[c] = "unclosed"
|
| 356 |
+
if c == "%":
|
| 357 |
+
if pos >= len(text) - 2 or not text[pos + 1].isdigit() or not text[pos + 2].isdigit():
|
| 358 |
+
return False
|
| 359 |
+
step = 3
|
| 360 |
+
digits_cnt += 1
|
| 361 |
+
num = text[pos + 1 : pos + 3]
|
| 362 |
+
if num in rings:
|
| 363 |
+
if rings[num] == "unclosed":
|
| 364 |
+
rings[num] = "closed"
|
| 365 |
+
else:
|
| 366 |
+
rings[num] = "unclosed"
|
| 367 |
+
else:
|
| 368 |
+
rings[num] = "unclosed"
|
| 369 |
+
if step == 0:
|
| 370 |
+
if (
|
| 371 |
+
pos < len(text) - 1
|
| 372 |
+
and text[pos : pos + 2] in organic_symbols + aromatic_symbols + other_allows
|
| 373 |
+
):
|
| 374 |
+
step = 2
|
| 375 |
+
elif c in organic_symbols + aromatic_symbols + other_allows:
|
| 376 |
+
step = 1
|
| 377 |
+
else:
|
| 378 |
+
return False
|
| 379 |
+
|
| 380 |
+
if step == 0:
|
| 381 |
+
step = 1
|
| 382 |
+
pos += step
|
| 383 |
+
|
| 384 |
+
if left_sq_bracket != right_sq_bracket or any(v == "unclosed" for v in rings.values()):
|
| 385 |
+
return False
|
| 386 |
+
if all_lower and digits_cnt < 2:
|
| 387 |
+
return False
|
| 388 |
+
return self.check_brackets(text)
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
@lru_cache
|
| 392 |
+
# Copied from transformers.models.gpt2.tokenization_gpt2.bytes_to_unicode
|
| 393 |
+
def bytes_to_unicode():
|
| 394 |
+
"""
|
| 395 |
+
Returns list of utf-8 byte and a mapping to unicode strings. We specifically avoids mapping to whitespace/control
|
| 396 |
+
characters the bpe code barfs on.
|
| 397 |
+
|
| 398 |
+
The reversible bpe codes work on unicode strings. This means you need a large # of unicode characters in your vocab
|
| 399 |
+
if you want to avoid UNKs. When you're at something like a 10B token dataset you end up needing around 5K for
|
| 400 |
+
decent coverage. This is a significant percentage of your normal, say, 32K bpe vocab. To avoid that, we want lookup
|
| 401 |
+
tables between utf-8 bytes and unicode strings.
|
| 402 |
+
"""
|
| 403 |
+
bs = (
|
| 404 |
+
list(range(ord("!"), ord("~") + 1)) + list(range(ord("¡"), ord("¬") + 1)) + list(range(ord("®"), ord("ÿ") + 1))
|
| 405 |
+
)
|
| 406 |
+
cs = bs[:]
|
| 407 |
+
n = 0
|
| 408 |
+
for b in range(2**8):
|
| 409 |
+
if b not in bs:
|
| 410 |
+
bs.append(b)
|
| 411 |
+
cs.append(2**8 + n)
|
| 412 |
+
n += 1
|
| 413 |
+
cs = [chr(n) for n in cs]
|
| 414 |
+
return dict(zip(bs, cs))
|
| 415 |
+
|
| 416 |
+
|
| 417 |
+
# Copied from transformers.models.gpt2.tokenization_gpt2.get_pairs
|
| 418 |
+
def get_pairs(word):
|
| 419 |
+
"""
|
| 420 |
+
Return set of symbol pairs in a word.
|
| 421 |
+
|
| 422 |
+
Word is represented as tuple of symbols (symbols being variable-length strings).
|
| 423 |
+
"""
|
| 424 |
+
pairs = set()
|
| 425 |
+
prev_char = word[0]
|
| 426 |
+
for char in word[1:]:
|
| 427 |
+
pairs.add((prev_char, char))
|
| 428 |
+
prev_char = char
|
| 429 |
+
return pairs
|
| 430 |
+
|
| 431 |
+
|
| 432 |
+
# @requires(backends=("sentencepiece",))
|
| 433 |
+
class InternS1Tokenizer(PreTrainedTokenizer):
|
| 434 |
+
"""
|
| 435 |
+
Construct an InternS1 tokenizer. Based on byte-level Byte-Pair-Encoding.
|
| 436 |
+
|
| 437 |
+
Same with GPT2Tokenizer, this tokenizer has been trained to treat spaces like parts of the tokens so a word will
|
| 438 |
+
be encoded differently whether it is at the beginning of the sentence (without space) or not:
|
| 439 |
+
|
| 440 |
+
```python
|
| 441 |
+
>>> from transformers import AutoTokenizer
|
| 442 |
+
|
| 443 |
+
>>> tokenizer = AutoTokenizer.from_pretrained("InternS1Tokenizer", trust_remote_code=True)
|
| 444 |
+
>>> tokenizer("Hello world")["input_ids"]
|
| 445 |
+
[9707, 1879]
|
| 446 |
+
|
| 447 |
+
>>> tokenizer(" Hello world")["input_ids"]
|
| 448 |
+
[21927, 1879]
|
| 449 |
+
```
|
| 450 |
+
This is expected.
|
| 451 |
+
|
| 452 |
+
Include custom extension to support better domain-specific text tokenization, leveraging a separately trained tokenizer model.
|
| 453 |
+
|
| 454 |
+
```python
|
| 455 |
+
>>> from transformers import AutoTokenizer
|
| 456 |
+
|
| 457 |
+
>>> tokenizer = AutoTokenizer.from_pretrained("InternS1Tokenizer", trust_remote_code=True)
|
| 458 |
+
>>> tokenizer.tokenize("Describe <SMILES>C1=CC=C(C=C1)C=O</SMILES> and CC1=CC=CC=C1C=O")
|
| 459 |
+
["Describe ", "<SMILES>", "C1=CC=C(C=C1)C=O", "</SMILES>", " and ", "<SMILES_AUTO_DETECT>",
|
| 460 |
+
"CC1=CC=CC=C1C=O", "</SMILES_AUTO_DETECT>"]
|
| 461 |
+
>>> token_ids = tokenizer("Describe <SMILES>C1=CC=C(C=C1)C=O</SMILES> and CC1=CC=CC=C1C=O")["input_ids"]
|
| 462 |
+
>>> token_ids
|
| 463 |
+
[74785, 220, 151925, 151854, 151860, 151698, 151707, 151860, 151690, 151726, 151926, 323, 220, 151672, 151860, 151701, 151860, 151854, 151726]
|
| 464 |
+
|
| 465 |
+
>>> tokenizer.convert_ids_to_tokens(token_ids)
|
| 466 |
+
['Describe', 'Ġ', '<SMILES>', 'C', '1', '=CC=C(', 'C=C', '1', ')C', '=O', '</SMILES>', 'Ġand', 'Ġ', 'CC', '1', '=CC=CC=C', '1', 'C', '=O']
|
| 467 |
+
```
|
| 468 |
+
|
| 469 |
+
Users should refer to this superclass [`PreTrainedTokenizer`] for more information regarding those overloaded methods
|
| 470 |
+
|
| 471 |
+
Args:
|
| 472 |
+
vocab_file (`str`):
|
| 473 |
+
Path to the vocabulary file.
|
| 474 |
+
merges_file (`str`):
|
| 475 |
+
Path to the merges file.
|
| 476 |
+
errors (`str`, *optional*, defaults to `"replace"`):
|
| 477 |
+
Paradigm to follow when decoding bytes to UTF-8. See
|
| 478 |
+
[bytes.decode](https://docs.python.org/3/library/stdtypes.html#bytes.decode) for more information.
|
| 479 |
+
unk_token (`str`, *optional*, defaults to `"<|endoftext|>"`):
|
| 480 |
+
The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this
|
| 481 |
+
token instead.
|
| 482 |
+
bos_token (`str`, *optional*):
|
| 483 |
+
The beginning of sequence token. Not applicable for this tokenizer.
|
| 484 |
+
eos_token (`str`, *optional*, defaults to `"<|endoftext|>"`):
|
| 485 |
+
The end of sequence token.
|
| 486 |
+
pad_token (`str`, *optional*, defaults to `"<|endoftext|>"`):
|
| 487 |
+
The token used for padding, for example when batching sequences of different lengths.
|
| 488 |
+
clean_up_tokenization_spaces (`bool`, *optional*, defaults to `False`):
|
| 489 |
+
Whether or not the model should cleanup the spaces that were added when splitting the input text during the
|
| 490 |
+
tokenization process. Not applicable to this tokenizer, since tokenization does not add spaces.
|
| 491 |
+
split_special_tokens (`bool`, *optional*, defaults to `False`):
|
| 492 |
+
Whether or not the special tokens should be split during the tokenization process. The default behavior is
|
| 493 |
+
to not split special tokens. This means that if `<|endoftext|>` is the `eos_token`, then `tokenizer.tokenize("<|endoftext|>") =
|
| 494 |
+
['<|endoftext|>`]. Otherwise, if `split_special_tokens=True`, then `tokenizer.tokenize("<|endoftext|>")` will be give `['<',
|
| 495 |
+
'|', 'endo', 'ft', 'ext', '|', '>']`. This argument is only supported for `slow` tokenizers for the moment.
|
| 496 |
+
"""
|
| 497 |
+
|
| 498 |
+
vocab_files_names = VOCAB_FILES_NAMES
|
| 499 |
+
model_input_names = ["input_ids", "attention_mask"]
|
| 500 |
+
|
| 501 |
+
def __init__(
|
| 502 |
+
self,
|
| 503 |
+
vocab_file,
|
| 504 |
+
merges_file,
|
| 505 |
+
errors="replace",
|
| 506 |
+
unk_token="<|endoftext|>",
|
| 507 |
+
bos_token=None,
|
| 508 |
+
eos_token="<|endoftext|>",
|
| 509 |
+
pad_token="<|endoftext|>",
|
| 510 |
+
clean_up_tokenization_spaces=False,
|
| 511 |
+
split_special_tokens=False,
|
| 512 |
+
special_tokens_pattern="none",
|
| 513 |
+
**kwargs,
|
| 514 |
+
):
|
| 515 |
+
bos_token = (
|
| 516 |
+
AddedToken(bos_token, lstrip=False, rstrip=False, special=True, normalized=False)
|
| 517 |
+
if isinstance(bos_token, str)
|
| 518 |
+
else bos_token
|
| 519 |
+
)
|
| 520 |
+
eos_token = (
|
| 521 |
+
AddedToken(eos_token, lstrip=False, rstrip=False, special=True, normalized=False)
|
| 522 |
+
if isinstance(eos_token, str)
|
| 523 |
+
else eos_token
|
| 524 |
+
)
|
| 525 |
+
unk_token = (
|
| 526 |
+
AddedToken(unk_token, lstrip=False, rstrip=False, special=True, normalized=False)
|
| 527 |
+
if isinstance(unk_token, str)
|
| 528 |
+
else unk_token
|
| 529 |
+
)
|
| 530 |
+
pad_token = (
|
| 531 |
+
AddedToken(pad_token, lstrip=False, rstrip=False, special=True, normalized=False)
|
| 532 |
+
if isinstance(pad_token, str)
|
| 533 |
+
else pad_token
|
| 534 |
+
)
|
| 535 |
+
|
| 536 |
+
with open(vocab_file, encoding="utf-8") as vocab_handle:
|
| 537 |
+
self.encoder = json.load(vocab_handle)
|
| 538 |
+
self.decoder = {v: k for k, v in self.encoder.items()}
|
| 539 |
+
self.errors = errors # how to handle errors in decoding
|
| 540 |
+
self.byte_encoder = bytes_to_unicode()
|
| 541 |
+
self.byte_decoder = {v: k for k, v in self.byte_encoder.items()}
|
| 542 |
+
bpe_merges = []
|
| 543 |
+
with open(merges_file, encoding="utf-8") as merges_handle:
|
| 544 |
+
for i, line in enumerate(merges_handle):
|
| 545 |
+
line = line.strip()
|
| 546 |
+
if (i == 0 and line.startswith("#version:")) or not line:
|
| 547 |
+
continue
|
| 548 |
+
bpe_merges.append(tuple(line.split()))
|
| 549 |
+
self.bpe_ranks = dict(zip(bpe_merges, range(len(bpe_merges))))
|
| 550 |
+
# NOTE: the cache can grow without bound and will get really large for long running processes
|
| 551 |
+
# (esp. for texts of language that do not use space between word, e.g. Chinese); technically
|
| 552 |
+
# not a memory leak but appears as one.
|
| 553 |
+
# GPT2Tokenizer has the same problem, so let's be consistent.
|
| 554 |
+
self.cache = {}
|
| 555 |
+
|
| 556 |
+
self.pat = re.compile(PRETOKENIZE_REGEX)
|
| 557 |
+
|
| 558 |
+
if kwargs.get("add_prefix_space", False):
|
| 559 |
+
logger.warning_once(
|
| 560 |
+
f"{self.__class__.__name} does not support `add_prefix_space`, setting it to True has no effect."
|
| 561 |
+
)
|
| 562 |
+
|
| 563 |
+
super().__init__(
|
| 564 |
+
vocab_file=vocab_file,
|
| 565 |
+
merges_file=merges_file,
|
| 566 |
+
errors=errors,
|
| 567 |
+
unk_token=unk_token,
|
| 568 |
+
bos_token=bos_token,
|
| 569 |
+
eos_token=eos_token,
|
| 570 |
+
pad_token=pad_token,
|
| 571 |
+
clean_up_tokenization_spaces=clean_up_tokenization_spaces,
|
| 572 |
+
split_special_tokens=split_special_tokens,
|
| 573 |
+
special_tokens_pattern=special_tokens_pattern,
|
| 574 |
+
**kwargs,
|
| 575 |
+
)
|
| 576 |
+
|
| 577 |
+
self.prepare_extra_tokenizers(vocab_file)
|
| 578 |
+
|
| 579 |
+
@property
|
| 580 |
+
def vocab_size(self) -> int:
|
| 581 |
+
return len(self.encoder)
|
| 582 |
+
|
| 583 |
+
# Copied from transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer.get_vocab
|
| 584 |
+
def get_vocab(self):
|
| 585 |
+
return dict(self.encoder, **self.added_tokens_encoder)
|
| 586 |
+
|
| 587 |
+
# Copied from transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer.bpe
|
| 588 |
+
def bpe(self, token):
|
| 589 |
+
if token in self.cache:
|
| 590 |
+
return self.cache[token]
|
| 591 |
+
word = tuple(token)
|
| 592 |
+
pairs = get_pairs(word)
|
| 593 |
+
|
| 594 |
+
if not pairs:
|
| 595 |
+
return token
|
| 596 |
+
|
| 597 |
+
while True:
|
| 598 |
+
bigram = min(pairs, key=lambda pair: self.bpe_ranks.get(pair, float("inf")))
|
| 599 |
+
if bigram not in self.bpe_ranks:
|
| 600 |
+
break
|
| 601 |
+
first, second = bigram
|
| 602 |
+
new_word = []
|
| 603 |
+
i = 0
|
| 604 |
+
while i < len(word):
|
| 605 |
+
try:
|
| 606 |
+
j = word.index(first, i)
|
| 607 |
+
except ValueError:
|
| 608 |
+
new_word.extend(word[i:])
|
| 609 |
+
break
|
| 610 |
+
else:
|
| 611 |
+
new_word.extend(word[i:j])
|
| 612 |
+
i = j
|
| 613 |
+
|
| 614 |
+
if word[i] == first and i < len(word) - 1 and word[i + 1] == second:
|
| 615 |
+
new_word.append(first + second)
|
| 616 |
+
i += 2
|
| 617 |
+
else:
|
| 618 |
+
new_word.append(word[i])
|
| 619 |
+
i += 1
|
| 620 |
+
new_word = tuple(new_word)
|
| 621 |
+
word = new_word
|
| 622 |
+
if len(word) == 1:
|
| 623 |
+
break
|
| 624 |
+
else:
|
| 625 |
+
pairs = get_pairs(word)
|
| 626 |
+
word = " ".join(word)
|
| 627 |
+
self.cache[token] = word
|
| 628 |
+
return word
|
| 629 |
+
|
| 630 |
+
def prepare_extra_tokenizers(self, vocab_file: str) -> None:
|
| 631 |
+
"""
|
| 632 |
+
Prepare domain-specific tokenizers.
|
| 633 |
+
|
| 634 |
+
Define variables/maps here which guide domain-specific tokenization later.
|
| 635 |
+
"""
|
| 636 |
+
# Load extra tokenizers with SentencePiece model
|
| 637 |
+
dir_name = os.path.dirname(vocab_file)
|
| 638 |
+
|
| 639 |
+
self.sp_model_SMILES = spm.SentencePieceProcessor()
|
| 640 |
+
self.sp_model_SMILES.Load(os.path.join(dir_name, "tokenizer_SMILES.model"))
|
| 641 |
+
self.sp_model_SMILES.offset = self.init_kwargs["offset_SMILES"]
|
| 642 |
+
|
| 643 |
+
self.sp_model_PROT = spm.SentencePieceProcessor()
|
| 644 |
+
self.sp_model_PROT.Load(os.path.join(dir_name, "tokenizer_PROT.model"))
|
| 645 |
+
self.sp_model_PROT.offset = self.init_kwargs["offset_PROT"]
|
| 646 |
+
|
| 647 |
+
self.sp_model_XNA = spm.SentencePieceProcessor()
|
| 648 |
+
self.sp_model_XNA.Load(os.path.join(dir_name, "tokenizer_XNA.model"))
|
| 649 |
+
self.sp_model_XNA.offset = self.init_kwargs["offset_XNA"]
|
| 650 |
+
|
| 651 |
+
base_mapping = {
|
| 652 |
+
"SMILES": self.sp_model_SMILES,
|
| 653 |
+
"protein": self.sp_model_PROT,
|
| 654 |
+
"dna": self.sp_model_XNA,
|
| 655 |
+
"rna": self.sp_model_XNA,
|
| 656 |
+
}
|
| 657 |
+
auto_detect_mapping = {
|
| 658 |
+
"SMILES": self.sp_model_SMILES,
|
| 659 |
+
"PROT": self.sp_model_PROT,
|
| 660 |
+
"XNA": self.sp_model_XNA,
|
| 661 |
+
}
|
| 662 |
+
# Guiding tokens of domain-specific tokenization
|
| 663 |
+
self.ex_begin_mapping = {f"<{key}>": value for key, value in base_mapping.items()}
|
| 664 |
+
self.ex_end_mapping = {f"</{key}>": value for key, value in base_mapping.items()}
|
| 665 |
+
# Transient markers for auto-detection, these tokens will not be assigned token ids
|
| 666 |
+
self.ex_auto_begin_mapping = {f"<{key}_AUTO_DETECT>": value for key, value in auto_detect_mapping.items()}
|
| 667 |
+
self.ex_auto_end_mapping = {f"</{key}_AUTO_DETECT>": value for key, value in auto_detect_mapping.items()}
|
| 668 |
+
# Token markers to prevent unwanted auto-detection
|
| 669 |
+
self.ex_protect_begin_tokens = ["<MOLFORMULA>"]
|
| 670 |
+
self.ex_protect_end_tokens = ["</MOLFORMULA>"]
|
| 671 |
+
# For simplicity
|
| 672 |
+
self.ex_protect_tokens = self.ex_protect_begin_tokens + self.ex_protect_end_tokens
|
| 673 |
+
self.ex_all_begin_mapping = self.ex_begin_mapping | self.ex_auto_begin_mapping
|
| 674 |
+
self.ex_all_end_mapping = self.ex_end_mapping | self.ex_auto_end_mapping
|
| 675 |
+
|
| 676 |
+
# Update encoder & decoder with extra tokenizers
|
| 677 |
+
for tokenizer_name, sp_model in [
|
| 678 |
+
("SMILES", self.sp_model_SMILES),
|
| 679 |
+
("PROT", self.sp_model_PROT),
|
| 680 |
+
("XNA", self.sp_model_XNA),
|
| 681 |
+
]:
|
| 682 |
+
self.decoder.update(
|
| 683 |
+
{i + sp_model.offset: sp_model.id_to_piece(i) for i in range(sp_model.get_piece_size())}
|
| 684 |
+
)
|
| 685 |
+
# Not really used, only to fill holes in encoder, to keep methods like `add_tokens` working
|
| 686 |
+
self.encoder.update(
|
| 687 |
+
{
|
| 688 |
+
f"<|{tokenizer_name}_{sp_model.id_to_piece(i)}|>": i + sp_model.offset
|
| 689 |
+
for i in range(sp_model.get_piece_size())
|
| 690 |
+
}
|
| 691 |
+
)
|
| 692 |
+
|
| 693 |
+
# protect-tokens should keep complete temporarily to guide later tokenization
|
| 694 |
+
# it will be segmented later
|
| 695 |
+
for token in self.ex_protect_tokens:
|
| 696 |
+
self.tokens_trie.add(token)
|
| 697 |
+
|
| 698 |
+
self._unk_token = "<unk>" # Fall-back
|
| 699 |
+
self.check_module_list = [SmilesCheckModule(), ProtCheckModule(), XnaCheckModule()]
|
| 700 |
+
|
| 701 |
+
def _pop_logical_sp_token(self, extra_tokenizer_stack: list, mapping_name: str) -> None:
|
| 702 |
+
"""Switch tokenizer when it comes to an end sp token"""
|
| 703 |
+
extra_tokenizer = extra_tokenizer_stack.pop()
|
| 704 |
+
if extra_tokenizer != self.ex_all_end_mapping[mapping_name]:
|
| 705 |
+
logger.warning_once(
|
| 706 |
+
f"Encounter incorrect nesting of extra tokenizer: {self.ex_all_end_mapping[mapping_name]} and {extra_tokenizer}"
|
| 707 |
+
)
|
| 708 |
+
logger.warning_once("This may lead to unexpected behaviour of the tokenizer, please check your input.")
|
| 709 |
+
|
| 710 |
+
def tokenize(self, text: TextInput, **kwargs) -> list[str]:
|
| 711 |
+
"""
|
| 712 |
+
Converts a string into a sequence of tokens, using the tokenizer.
|
| 713 |
+
|
| 714 |
+
It will switch to domain-specific tokenizer once encountering extra/logical sp tokens.
|
| 715 |
+
|
| 716 |
+
Args:
|
| 717 |
+
text: TextInput
|
| 718 |
+
"""
|
| 719 |
+
split_special_tokens = kwargs.pop("split_special_tokens", self.split_special_tokens)
|
| 720 |
+
|
| 721 |
+
text, kwargs = self.prepare_for_tokenization(text, **kwargs)
|
| 722 |
+
|
| 723 |
+
if hasattr(self, "do_lower_case") and self.do_lower_case:
|
| 724 |
+
# convert non-special tokens to lowercase. Might be super slow as well?
|
| 725 |
+
escaped_special_toks = [re.escape(s_tok) for s_tok in (self.all_special_tokens)]
|
| 726 |
+
escaped_special_toks += [
|
| 727 |
+
re.escape(s_tok.content)
|
| 728 |
+
for s_tok in (self._added_tokens_decoder.values())
|
| 729 |
+
if not s_tok.special and s_tok.normalized
|
| 730 |
+
]
|
| 731 |
+
pattern = r"(" + r"|".join(escaped_special_toks) + r")|" + r"(.+?)"
|
| 732 |
+
text = re.sub(pattern, lambda m: m.groups()[0] or m.groups()[1].lower(), text)
|
| 733 |
+
|
| 734 |
+
if split_special_tokens:
|
| 735 |
+
no_split_token = []
|
| 736 |
+
tokens = [text]
|
| 737 |
+
else:
|
| 738 |
+
no_split_token = self._added_tokens_encoder.keys() # don't split on any of the added tokens
|
| 739 |
+
# "This is something<special_token_1> else"
|
| 740 |
+
tokens = self.tokens_trie.split(text)
|
| 741 |
+
|
| 742 |
+
# ["This is something", "<special_token_1>", " else"]
|
| 743 |
+
for i, token in enumerate(tokens):
|
| 744 |
+
if token in no_split_token:
|
| 745 |
+
tok_extended = self._added_tokens_decoder.get(self._added_tokens_encoder[token], None)
|
| 746 |
+
left = tokens[i - 1] if i > 0 else None
|
| 747 |
+
right = tokens[i + 1] if i < len(tokens) - 1 else None
|
| 748 |
+
if isinstance(tok_extended, AddedToken):
|
| 749 |
+
if tok_extended.rstrip and right:
|
| 750 |
+
# A bit counter-intuitive but we strip the left of the string
|
| 751 |
+
# since tok_extended.rstrip means the special token is eating all white spaces on its right
|
| 752 |
+
tokens[i + 1] = right.lstrip()
|
| 753 |
+
# Strip white spaces on the left
|
| 754 |
+
if tok_extended.lstrip and left:
|
| 755 |
+
tokens[i - 1] = left.rstrip() # Opposite here
|
| 756 |
+
if tok_extended.single_word and left and left[-1] != " ":
|
| 757 |
+
tokens[i - 1] += token
|
| 758 |
+
tokens[i] = ""
|
| 759 |
+
elif tok_extended.single_word and right and right[0] != " ":
|
| 760 |
+
tokens[i + 1] = token + tokens[i + 1]
|
| 761 |
+
tokens[i] = ""
|
| 762 |
+
else:
|
| 763 |
+
raise ValueError(
|
| 764 |
+
f"{tok_extended} cannot be tokenized because it was not properly added"
|
| 765 |
+
f" to the tokenizer. This means that it is not an `AddedToken` but a {type(tok_extended)}"
|
| 766 |
+
)
|
| 767 |
+
|
| 768 |
+
# ["This is something", "<special_token_1>", "else"]
|
| 769 |
+
tokenized_text = []
|
| 770 |
+
|
| 771 |
+
# Codes for automatically detecting domain-specific content
|
| 772 |
+
# All parts that have been marked by domain-specific or protection tokens will not be subject to auto detection
|
| 773 |
+
# See transformers/tests/models/intern_s1/test_tokenization_intern_s1.py::test_auto_detection() for more details
|
| 774 |
+
new_tokens = []
|
| 775 |
+
not_split_flag = 0
|
| 776 |
+
for token in tokens:
|
| 777 |
+
if not token:
|
| 778 |
+
continue
|
| 779 |
+
if token in no_split_token or token in self.ex_protect_tokens:
|
| 780 |
+
new_tokens.append(token)
|
| 781 |
+
if token in self.ex_begin_mapping or token in self.ex_protect_begin_tokens:
|
| 782 |
+
not_split_flag += 1 # In case nested sp tokens
|
| 783 |
+
elif token in self.ex_end_mapping or token in self.ex_protect_end_tokens:
|
| 784 |
+
not_split_flag = max(0, not_split_flag - 1)
|
| 785 |
+
else:
|
| 786 |
+
if not_split_flag:
|
| 787 |
+
new_tokens.append(token)
|
| 788 |
+
else:
|
| 789 |
+
for check_module in self.check_module_list:
|
| 790 |
+
token = check_module.re_split(token)
|
| 791 |
+
|
| 792 |
+
new_tokens.extend(token)
|
| 793 |
+
tokens = new_tokens
|
| 794 |
+
|
| 795 |
+
# Use stack to maintain which tokenizer should be used, considering the possibility of nested extra tokenizer
|
| 796 |
+
extra_tokenizer_stack = []
|
| 797 |
+
for token in tokens:
|
| 798 |
+
# Need to skip eventual empty (fully stripped) tokens
|
| 799 |
+
if not token:
|
| 800 |
+
continue
|
| 801 |
+
# protect-tokens are not assigned token ids, should be segmented here
|
| 802 |
+
if token in self.ex_protect_tokens:
|
| 803 |
+
tokenized_text.extend(self._tokenize(token))
|
| 804 |
+
# push tokenizer to stack when encountering begin token
|
| 805 |
+
elif token in self.ex_all_begin_mapping:
|
| 806 |
+
tokenized_text.append(token)
|
| 807 |
+
extra_tokenizer_stack.append(self.ex_all_begin_mapping[token])
|
| 808 |
+
# pop tokenizer from stack when encountering end token
|
| 809 |
+
elif token in self.ex_all_end_mapping:
|
| 810 |
+
tokenized_text.append(token)
|
| 811 |
+
if extra_tokenizer_stack:
|
| 812 |
+
self._pop_logical_sp_token(extra_tokenizer_stack, token)
|
| 813 |
+
# other special tokens
|
| 814 |
+
elif token in no_split_token:
|
| 815 |
+
tokenized_text.append(token)
|
| 816 |
+
else:
|
| 817 |
+
tokenized_text.extend(self._tokenize(token, extra_tokenizer_stack=extra_tokenizer_stack))
|
| 818 |
+
|
| 819 |
+
# ["This", " is", " something", "<special_token_1>", "else"]
|
| 820 |
+
return tokenized_text
|
| 821 |
+
|
| 822 |
+
def _tokenize(self, text, **kwargs):
|
| 823 |
+
"""
|
| 824 |
+
Modified from `transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer._tokenize`.
|
| 825 |
+
|
| 826 |
+
This adaptation supports domain-specific tokenizers.
|
| 827 |
+
"""
|
| 828 |
+
extra_tokenizer_stack = kwargs.pop("extra_tokenizer_stack", False)
|
| 829 |
+
if extra_tokenizer_stack:
|
| 830 |
+
tokenized_text = extra_tokenizer_stack[-1].encode(text, out_type=str)
|
| 831 |
+
tokenized_id = extra_tokenizer_stack[-1].encode(text, out_type=int)
|
| 832 |
+
final_tokenized_text = []
|
| 833 |
+
for text_piece, id_piece in zip(tokenized_text, tokenized_id):
|
| 834 |
+
if id_piece == 0:
|
| 835 |
+
final_tokenized_text.extend(self._bpe_tokenize(text_piece))
|
| 836 |
+
else:
|
| 837 |
+
final_tokenized_text.append(text_piece)
|
| 838 |
+
return final_tokenized_text
|
| 839 |
+
else:
|
| 840 |
+
return self._bpe_tokenize(text)
|
| 841 |
+
|
| 842 |
+
def _bpe_tokenize(self, text, **kwargs):
|
| 843 |
+
text = text.replace(
|
| 844 |
+
"▁", " "
|
| 845 |
+
) # This discrepancy stems from differing whitespace treatment in SentencePiece versus BPE tokenization.
|
| 846 |
+
bpe_tokens = []
|
| 847 |
+
for token in re.findall(self.pat, text):
|
| 848 |
+
token = "".join(
|
| 849 |
+
self.byte_encoder[b] for b in token.encode("utf-8")
|
| 850 |
+
) # Maps all our bytes to unicode strings, avoiding control tokens of the BPE (spaces in our case)
|
| 851 |
+
bpe_tokens.extend(bpe_token for bpe_token in self.bpe(token).split(" "))
|
| 852 |
+
return bpe_tokens
|
| 853 |
+
|
| 854 |
+
def convert_tokens_to_ids(self, tokens: Union[str, list[str]]) -> Union[int, list[int]]:
|
| 855 |
+
"""
|
| 856 |
+
Modified from `transformers.tokenization_utils.PreTrainedTokenzier.convert_tokens_to_ids`.
|
| 857 |
+
|
| 858 |
+
Converts a token string (or a sequence of tokens) in a single integer id (or a sequence of ids), using the
|
| 859 |
+
vocabulary.
|
| 860 |
+
|
| 861 |
+
This adaptation supports domain-specific tokenizers.
|
| 862 |
+
|
| 863 |
+
Args:
|
| 864 |
+
tokens (`str` or `List[str]`): One or several token(s) to convert to token id(s).
|
| 865 |
+
|
| 866 |
+
Returns:
|
| 867 |
+
`int` or `List[int]`: The token id or list of token ids.
|
| 868 |
+
"""
|
| 869 |
+
if tokens is None:
|
| 870 |
+
return None
|
| 871 |
+
|
| 872 |
+
if isinstance(tokens, str):
|
| 873 |
+
return self._convert_token_to_id_with_added_voc(tokens)
|
| 874 |
+
|
| 875 |
+
ids = []
|
| 876 |
+
extra_tokenizer_stack = []
|
| 877 |
+
|
| 878 |
+
for token in tokens:
|
| 879 |
+
if token not in self.ex_auto_begin_mapping and token not in self.ex_auto_end_mapping:
|
| 880 |
+
ids.append(
|
| 881 |
+
self._convert_token_to_id_with_added_voc(token, extra_tokenizer_stack=extra_tokenizer_stack)
|
| 882 |
+
)
|
| 883 |
+
if token in self.ex_all_begin_mapping:
|
| 884 |
+
extra_tokenizer_stack.append(self.ex_all_begin_mapping[token])
|
| 885 |
+
elif token in self.ex_all_end_mapping:
|
| 886 |
+
if extra_tokenizer_stack:
|
| 887 |
+
self._pop_logical_sp_token(extra_tokenizer_stack, token)
|
| 888 |
+
return ids
|
| 889 |
+
|
| 890 |
+
def _convert_token_to_id_with_added_voc(self, token, **kwargs):
|
| 891 |
+
"""
|
| 892 |
+
Modified from `transformers.tokenization_utils.PreTrainedTokenzier._convert_token_to_id_with_added_voc`.
|
| 893 |
+
|
| 894 |
+
This adaptation supports domain-specific tokenizers.
|
| 895 |
+
"""
|
| 896 |
+
if token is None:
|
| 897 |
+
return None
|
| 898 |
+
|
| 899 |
+
if token in self._added_tokens_encoder:
|
| 900 |
+
return self._added_tokens_encoder[token]
|
| 901 |
+
return self._convert_token_to_id(token, **kwargs)
|
| 902 |
+
|
| 903 |
+
def _convert_token_to_id(self, token, **kwargs):
|
| 904 |
+
"""
|
| 905 |
+
Modified from `transformers.tokenization_utils.PreTrainedTokenzier._convert_token_to_id`.
|
| 906 |
+
|
| 907 |
+
Converts a token (str) in an id using the vocab.
|
| 908 |
+
|
| 909 |
+
Fall back to original tokenizer once OOV.
|
| 910 |
+
"""
|
| 911 |
+
extra_tokenizer_stack = kwargs.pop("extra_tokenizer_stack", False)
|
| 912 |
+
if extra_tokenizer_stack:
|
| 913 |
+
token_id = extra_tokenizer_stack[-1].piece_to_id(token)
|
| 914 |
+
if token_id == extra_tokenizer_stack[-1].unk_id():
|
| 915 |
+
return self.encoder.get(token, self.encoder.get(self._unk_token))
|
| 916 |
+
else:
|
| 917 |
+
return token_id + extra_tokenizer_stack[-1].offset
|
| 918 |
+
else:
|
| 919 |
+
return self.encoder.get(token, self.encoder.get(self._unk_token))
|
| 920 |
+
|
| 921 |
+
# Copied from transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer._convert_id_to_token
|
| 922 |
+
def _convert_id_to_token(self, index):
|
| 923 |
+
"""Converts an index (integer) in a token (str) using the vocab."""
|
| 924 |
+
return self.decoder.get(index)
|
| 925 |
+
|
| 926 |
+
def convert_tokens_to_string(self, tokens):
|
| 927 |
+
"""Converts a sequence of tokens (string) in a single string."""
|
| 928 |
+
text = "".join(tokens)
|
| 929 |
+
text = text.replace(
|
| 930 |
+
"▁", "Ġ"
|
| 931 |
+
) # This discrepancy stems from differing whitespace treatment in SentencePiece versus BPE tokenization.
|
| 932 |
+
text = text.replace("\n", "Ċ")
|
| 933 |
+
text = bytearray([self.byte_decoder[c] for c in text]).decode("utf-8", errors=self.errors)
|
| 934 |
+
return text
|
| 935 |
+
|
| 936 |
+
def decode(
|
| 937 |
+
self,
|
| 938 |
+
token_ids,
|
| 939 |
+
skip_special_tokens: bool = False,
|
| 940 |
+
clean_up_tokenization_spaces: Optional[bool] = False,
|
| 941 |
+
spaces_between_special_tokens: bool = False,
|
| 942 |
+
**kwargs,
|
| 943 |
+
) -> str:
|
| 944 |
+
# `spaces_between_special_tokens` defaults to True for _decode in slow tokenizers
|
| 945 |
+
# and cannot be configured elsewhere, but it should default to False for InternS1Tokenizer
|
| 946 |
+
return super().decode(
|
| 947 |
+
token_ids,
|
| 948 |
+
skip_special_tokens=skip_special_tokens,
|
| 949 |
+
clean_up_tokenization_spaces=clean_up_tokenization_spaces,
|
| 950 |
+
spaces_between_special_tokens=spaces_between_special_tokens,
|
| 951 |
+
**kwargs,
|
| 952 |
+
)
|
| 953 |
+
|
| 954 |
+
def save_vocabulary(self, save_directory: str, filename_prefix: Optional[str] = None) -> tuple[str]:
|
| 955 |
+
"""
|
| 956 |
+
Modified from `transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer.save_vocabulary` to support saving custom extension.
|
| 957 |
+
"""
|
| 958 |
+
if not os.path.isdir(save_directory):
|
| 959 |
+
logger.error(f"Vocabulary path ({save_directory}) should be a directory")
|
| 960 |
+
return
|
| 961 |
+
vocab_file = os.path.join(
|
| 962 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["vocab_file"]
|
| 963 |
+
)
|
| 964 |
+
merge_file = os.path.join(
|
| 965 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["merges_file"]
|
| 966 |
+
)
|
| 967 |
+
sp_model_smiles = os.path.join(
|
| 968 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["sp_model_SMILES"]
|
| 969 |
+
)
|
| 970 |
+
sp_model_prot = os.path.join(
|
| 971 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["sp_model_PROT"]
|
| 972 |
+
)
|
| 973 |
+
sp_model_xna = os.path.join(
|
| 974 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["sp_model_XNA"]
|
| 975 |
+
)
|
| 976 |
+
|
| 977 |
+
with open(vocab_file, "w", encoding="utf-8") as f:
|
| 978 |
+
f.write(json.dumps(self.encoder, indent=2, sort_keys=True, ensure_ascii=False) + "\n")
|
| 979 |
+
|
| 980 |
+
index = 0
|
| 981 |
+
with open(merge_file, "w", encoding="utf-8") as writer:
|
| 982 |
+
writer.write("#version: 0.2\n")
|
| 983 |
+
for bpe_tokens, token_index in sorted(self.bpe_ranks.items(), key=lambda kv: kv[1]):
|
| 984 |
+
if index != token_index:
|
| 985 |
+
logger.warning(
|
| 986 |
+
f"Saving vocabulary to {merge_file}: BPE merge indices are not consecutive."
|
| 987 |
+
" Please check that the tokenizer is not corrupted!"
|
| 988 |
+
)
|
| 989 |
+
index = token_index
|
| 990 |
+
writer.write(" ".join(bpe_tokens) + "\n")
|
| 991 |
+
index += 1
|
| 992 |
+
|
| 993 |
+
with open(sp_model_smiles, "wb") as f:
|
| 994 |
+
f.write(self.sp_model_SMILES.serialized_model_proto())
|
| 995 |
+
|
| 996 |
+
with open(sp_model_prot, "wb") as f:
|
| 997 |
+
f.write(self.sp_model_PROT.serialized_model_proto())
|
| 998 |
+
|
| 999 |
+
with open(sp_model_xna, "wb") as f:
|
| 1000 |
+
f.write(self.sp_model_XNA.serialized_model_proto())
|
| 1001 |
+
|
| 1002 |
+
return vocab_file, merge_file
|
| 1003 |
+
|
| 1004 |
+
def prepare_for_tokenization(self, text, **kwargs):
|
| 1005 |
+
text = unicodedata.normalize("NFC", text)
|
| 1006 |
+
return (text, kwargs)
|
| 1007 |
+
|
| 1008 |
+
|
| 1009 |
+
__all__ = ["InternS1Tokenizer"]
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
|
| 3 |
+
size 12807982
|
tokenizer_PROT.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18f50d0b02ee7d4d8d563136d55dd94241325e5f992a5583ef67ddeeed77d734
|
| 3 |
+
size 11977
|
tokenizer_SMILES.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e98ac5c860995bf9c127f9953d830f3ffd4c790ed36183e6ddabf7e2d9b5dd89
|
| 3 |
+
size 14640
|
tokenizer_XNA.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15e56771a919f946fbd3fb762f00333dfa8b91e08fbdb4e89dc98977d8e210be
|
| 3 |
+
size 15309
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
},
|
| 268 |
+
"248077": {
|
| 269 |
+
"content": "<IMG_CONTEXT>",
|
| 270 |
+
"lstrip": false,
|
| 271 |
+
"normalized": false,
|
| 272 |
+
"rstrip": false,
|
| 273 |
+
"single_word": false,
|
| 274 |
+
"special": true
|
| 275 |
+
},
|
| 276 |
+
"248078": {
|
| 277 |
+
"content": "<img>",
|
| 278 |
+
"lstrip": false,
|
| 279 |
+
"normalized": false,
|
| 280 |
+
"rstrip": false,
|
| 281 |
+
"single_word": false,
|
| 282 |
+
"special": true
|
| 283 |
+
},
|
| 284 |
+
"248079": {
|
| 285 |
+
"content": "</img>",
|
| 286 |
+
"lstrip": false,
|
| 287 |
+
"normalized": false,
|
| 288 |
+
"rstrip": false,
|
| 289 |
+
"single_word": false,
|
| 290 |
+
"special": true
|
| 291 |
+
},
|
| 292 |
+
"248080": {
|
| 293 |
+
"content": "<quad>",
|
| 294 |
+
"lstrip": false,
|
| 295 |
+
"normalized": false,
|
| 296 |
+
"rstrip": false,
|
| 297 |
+
"single_word": false,
|
| 298 |
+
"special": true
|
| 299 |
+
},
|
| 300 |
+
"248081": {
|
| 301 |
+
"content": "</quad>",
|
| 302 |
+
"lstrip": false,
|
| 303 |
+
"normalized": false,
|
| 304 |
+
"rstrip": false,
|
| 305 |
+
"single_word": false,
|
| 306 |
+
"special": true
|
| 307 |
+
},
|
| 308 |
+
"248082": {
|
| 309 |
+
"content": "<ref>",
|
| 310 |
+
"lstrip": false,
|
| 311 |
+
"normalized": false,
|
| 312 |
+
"rstrip": false,
|
| 313 |
+
"single_word": false,
|
| 314 |
+
"special": true
|
| 315 |
+
},
|
| 316 |
+
"248083": {
|
| 317 |
+
"content": "</ref>",
|
| 318 |
+
"lstrip": false,
|
| 319 |
+
"normalized": false,
|
| 320 |
+
"rstrip": false,
|
| 321 |
+
"single_word": false,
|
| 322 |
+
"special": true
|
| 323 |
+
},
|
| 324 |
+
"248084": {
|
| 325 |
+
"content": "<box>",
|
| 326 |
+
"lstrip": false,
|
| 327 |
+
"normalized": false,
|
| 328 |
+
"rstrip": false,
|
| 329 |
+
"single_word": false,
|
| 330 |
+
"special": true
|
| 331 |
+
},
|
| 332 |
+
"248085": {
|
| 333 |
+
"content": "</box>",
|
| 334 |
+
"lstrip": false,
|
| 335 |
+
"normalized": false,
|
| 336 |
+
"rstrip": false,
|
| 337 |
+
"single_word": false,
|
| 338 |
+
"special": true
|
| 339 |
+
},
|
| 340 |
+
"248086": {
|
| 341 |
+
"content": "<|action_start|>",
|
| 342 |
+
"lstrip": false,
|
| 343 |
+
"normalized": false,
|
| 344 |
+
"rstrip": false,
|
| 345 |
+
"single_word": false,
|
| 346 |
+
"special": true
|
| 347 |
+
},
|
| 348 |
+
"248087": {
|
| 349 |
+
"content": "<|action_end|>",
|
| 350 |
+
"lstrip": false,
|
| 351 |
+
"normalized": false,
|
| 352 |
+
"rstrip": false,
|
| 353 |
+
"single_word": false,
|
| 354 |
+
"special": true
|
| 355 |
+
},
|
| 356 |
+
"248088": {
|
| 357 |
+
"content": "<|interpreter|>",
|
| 358 |
+
"lstrip": false,
|
| 359 |
+
"normalized": false,
|
| 360 |
+
"rstrip": false,
|
| 361 |
+
"single_word": false,
|
| 362 |
+
"special": true
|
| 363 |
+
},
|
| 364 |
+
"248089": {
|
| 365 |
+
"content": "<|plugin|>",
|
| 366 |
+
"lstrip": false,
|
| 367 |
+
"normalized": false,
|
| 368 |
+
"rstrip": false,
|
| 369 |
+
"single_word": false,
|
| 370 |
+
"special": true
|
| 371 |
+
},
|
| 372 |
+
"248090": {
|
| 373 |
+
"content": "<video>",
|
| 374 |
+
"lstrip": false,
|
| 375 |
+
"normalized": false,
|
| 376 |
+
"rstrip": false,
|
| 377 |
+
"single_word": false,
|
| 378 |
+
"special": true
|
| 379 |
+
},
|
| 380 |
+
"248091": {
|
| 381 |
+
"content": "<|ts|>",
|
| 382 |
+
"lstrip": false,
|
| 383 |
+
"normalized": false,
|
| 384 |
+
"rstrip": false,
|
| 385 |
+
"single_word": false,
|
| 386 |
+
"special": true
|
| 387 |
+
},
|
| 388 |
+
"248092": {
|
| 389 |
+
"content": "<|/ts|>",
|
| 390 |
+
"lstrip": false,
|
| 391 |
+
"normalized": false,
|
| 392 |
+
"rstrip": false,
|
| 393 |
+
"single_word": false,
|
| 394 |
+
"special": true
|
| 395 |
+
},
|
| 396 |
+
"248093": {
|
| 397 |
+
"content": "<TS_CONTEXT>",
|
| 398 |
+
"lstrip": false,
|
| 399 |
+
"normalized": false,
|
| 400 |
+
"rstrip": false,
|
| 401 |
+
"single_word": false,
|
| 402 |
+
"special": true
|
| 403 |
+
},
|
| 404 |
+
"248094": {
|
| 405 |
+
"content": "<SMILES>",
|
| 406 |
+
"lstrip": false,
|
| 407 |
+
"normalized": false,
|
| 408 |
+
"rstrip": false,
|
| 409 |
+
"single_word": false,
|
| 410 |
+
"special": false
|
| 411 |
+
},
|
| 412 |
+
"248095": {
|
| 413 |
+
"content": "</SMILES>",
|
| 414 |
+
"lstrip": false,
|
| 415 |
+
"normalized": false,
|
| 416 |
+
"rstrip": false,
|
| 417 |
+
"single_word": false,
|
| 418 |
+
"special": false
|
| 419 |
+
},
|
| 420 |
+
"248096": {
|
| 421 |
+
"content": "<protein>",
|
| 422 |
+
"lstrip": false,
|
| 423 |
+
"normalized": false,
|
| 424 |
+
"rstrip": false,
|
| 425 |
+
"single_word": false,
|
| 426 |
+
"special": false
|
| 427 |
+
},
|
| 428 |
+
"248097": {
|
| 429 |
+
"content": "</protein>",
|
| 430 |
+
"lstrip": false,
|
| 431 |
+
"normalized": false,
|
| 432 |
+
"rstrip": false,
|
| 433 |
+
"single_word": false,
|
| 434 |
+
"special": false
|
| 435 |
+
},
|
| 436 |
+
"248098": {
|
| 437 |
+
"content": "<dna>",
|
| 438 |
+
"lstrip": false,
|
| 439 |
+
"normalized": false,
|
| 440 |
+
"rstrip": false,
|
| 441 |
+
"single_word": false,
|
| 442 |
+
"special": false
|
| 443 |
+
},
|
| 444 |
+
"248099": {
|
| 445 |
+
"content": "</dna>",
|
| 446 |
+
"lstrip": false,
|
| 447 |
+
"normalized": false,
|
| 448 |
+
"rstrip": false,
|
| 449 |
+
"single_word": false,
|
| 450 |
+
"special": false
|
| 451 |
+
},
|
| 452 |
+
"248100": {
|
| 453 |
+
"content": "<rna>",
|
| 454 |
+
"lstrip": false,
|
| 455 |
+
"normalized": false,
|
| 456 |
+
"rstrip": false,
|
| 457 |
+
"single_word": false,
|
| 458 |
+
"special": false
|
| 459 |
+
},
|
| 460 |
+
"248101": {
|
| 461 |
+
"content": "</rna>",
|
| 462 |
+
"lstrip": false,
|
| 463 |
+
"normalized": false,
|
| 464 |
+
"rstrip": false,
|
| 465 |
+
"single_word": false,
|
| 466 |
+
"special": false
|
| 467 |
+
}
|
| 468 |
+
},
|
| 469 |
+
"audio_bos_token": "<|audio_start|>",
|
| 470 |
+
"audio_eos_token": "<|audio_end|>",
|
| 471 |
+
"audio_token": "<|audio_pad|>",
|
| 472 |
+
"auto_map": {
|
| 473 |
+
"AutoTokenizer": [
|
| 474 |
+
"tokenization_interns1.InternS1Tokenizer",
|
| 475 |
+
null
|
| 476 |
+
]
|
| 477 |
+
},
|
| 478 |
+
"backend": "custom",
|
| 479 |
+
"bos_token": "<|im_start|>",
|
| 480 |
+
"clean_up_tokenization_spaces": false,
|
| 481 |
+
"eos_token": "<|im_end|>",
|
| 482 |
+
"errors": "replace",
|
| 483 |
+
"image_token": "<|image_pad|>",
|
| 484 |
+
"is_local": true,
|
| 485 |
+
"local_files_only": true,
|
| 486 |
+
"model_max_length": 262144,
|
| 487 |
+
"model_specific_special_tokens": {
|
| 488 |
+
"audio_bos_token": "<|audio_start|>",
|
| 489 |
+
"audio_eos_token": "<|audio_end|>",
|
| 490 |
+
"audio_token": "<|audio_pad|>",
|
| 491 |
+
"image_token": "<|image_pad|>",
|
| 492 |
+
"video_token": "<|video_pad|>",
|
| 493 |
+
"vision_bos_token": "<|vision_start|>",
|
| 494 |
+
"vision_eos_token": "<|vision_end|>"
|
| 495 |
+
},
|
| 496 |
+
"offset_PROT": 249126,
|
| 497 |
+
"offset_SMILES": 248102,
|
| 498 |
+
"offset_XNA": 250150,
|
| 499 |
+
"pad_token": "<|endoftext|>",
|
| 500 |
+
"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+",
|
| 501 |
+
"processor_class": "Qwen3VLProcessor",
|
| 502 |
+
"split_special_tokens": false,
|
| 503 |
+
"tokenizer_class": "InternS1Tokenizer",
|
| 504 |
+
"unk_token": null,
|
| 505 |
+
"video_token": "<|video_pad|>",
|
| 506 |
+
"vision_bos_token": "<|vision_start|>",
|
| 507 |
+
"vision_eos_token": "<|vision_end|>"
|
| 508 |
+
}
|
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
|
|
|