Text Generation
Transformers
Safetensors
English
qwen3_5_text
qwen3.5
abliterated
uncensored
refusal-removed
4b
conversational
Instructions to use Involvedtime/Qwen3.5-4B-Unbound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Involvedtime/Qwen3.5-4B-Unbound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Involvedtime/Qwen3.5-4B-Unbound") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Involvedtime/Qwen3.5-4B-Unbound") model = AutoModelForCausalLM.from_pretrained("Involvedtime/Qwen3.5-4B-Unbound", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Involvedtime/Qwen3.5-4B-Unbound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Involvedtime/Qwen3.5-4B-Unbound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Involvedtime/Qwen3.5-4B-Unbound", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Involvedtime/Qwen3.5-4B-Unbound
- SGLang
How to use Involvedtime/Qwen3.5-4B-Unbound 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 "Involvedtime/Qwen3.5-4B-Unbound" \ --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": "Involvedtime/Qwen3.5-4B-Unbound", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Involvedtime/Qwen3.5-4B-Unbound" \ --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": "Involvedtime/Qwen3.5-4B-Unbound", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Involvedtime/Qwen3.5-4B-Unbound with Docker Model Runner:
docker model run hf.co/Involvedtime/Qwen3.5-4B-Unbound
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -33
- LICENSE +201 -0
- README.md +102 -0
- chat_template.jinja +154 -0
- config.json +79 -0
- merges.txt +0 -0
- model.safetensors.index.json +1 -0
- shard-00000.safetensors +3 -0
- shard-00001.safetensors +3 -0
- shard-00002.safetensors +3 -0
- shard-00003.safetensors +3 -0
- shard-00004.safetensors +3 -0
- shard-00005.safetensors +3 -0
- shard-00006.safetensors +3 -0
- shard-00007.safetensors +3 -0
- shard-00008.safetensors +3 -0
- shard-00009.safetensors +3 -0
- shard-00010.safetensors +3 -0
- shard-00011.safetensors +3 -0
- shard-00012.safetensors +3 -0
- shard-00013.safetensors +3 -0
- shard-00014.safetensors +3 -0
- shard-00015.safetensors +3 -0
- shard-00016.safetensors +3 -0
- shard-00017.safetensors +3 -0
- shard-00018.safetensors +3 -0
- shard-00019.safetensors +3 -0
- shard-00020.safetensors +3 -0
- shard-00021.safetensors +3 -0
- shard-00022.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +305 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,4 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz 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
|
|
|
|
| 1 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 2 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.
|
README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen3.5-4B
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
library_name: transformers
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- qwen3.5
|
| 10 |
+
- abliterated
|
| 11 |
+
- uncensored
|
| 12 |
+
- refusal-removed
|
| 13 |
+
- 4b
|
| 14 |
+
- text-generation
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Qwen3.5-4B-Unbound
|
| 18 |
+
|
| 19 |
+
Qwen3.5-4B with the refusal direction removed from its weights. Not fine-tuned, not prompted around —
|
| 20 |
+
the refusal subspace is projected out of every matrix that writes to the residual stream.
|
| 21 |
+
|
| 22 |
+
Apache-2.0, inherited from [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B).
|
| 23 |
+
|
| 24 |
+
## What this is
|
| 25 |
+
|
| 26 |
+
The text tower of Qwen3.5-4B (`Qwen3_5ForCausalLM`, 32 layers, hidden 2560, MLP 9216), bf16. The
|
| 27 |
+
vision tower is not included — this is a text-only checkpoint, which also makes it ~0.3 B parameters
|
| 28 |
+
smaller than the original.
|
| 29 |
+
|
| 30 |
+
Refusal behaviour was removed by abliteration: for each layer, the mean residual difference between
|
| 31 |
+
24 harmful and 24 matched-benign prompts defines a direction; every weight matrix that writes into the
|
| 32 |
+
residual (`mlp.down_proj`, `self_attn.o_proj`, `linear_attn.out_proj`) has that direction projected
|
| 33 |
+
out of it:
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
W ↠W − α · r (rᵀ W)
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Two rounds of the mean direction were not enough — a residual refusal survived and moved between
|
| 40 |
+
prompts, which means it was a *different* direction, not a bigger one. The final pass removes the mean
|
| 41 |
+
plus the top three principal components of the per-pair differences at every layer from 4 to 31, with
|
| 42 |
+
α = 1.15.
|
| 43 |
+
|
| 44 |
+
## Numbers
|
| 45 |
+
|
| 46 |
+
Measured on 12 held-out prompts (never used to fit the direction), greedy decoding, 4-bit NF4:
|
| 47 |
+
|
| 48 |
+
| | base | this model |
|
| 49 |
+
|---|---|---|
|
| 50 |
+
| refusal rate | 100% (12/12) | **0% (0/12)** |
|
| 51 |
+
| perplexity, 2 k tokens benign prose | 10.13 | 10.92 |
|
| 52 |
+
| capability check, 12 Q&A | 9/12 | 9/12 |
|
| 53 |
+
|
| 54 |
+
The capability check is 12 short items (arithmetic, capitals, translation, a unit conversion, string
|
| 55 |
+
reversal). Same score, but the *items* differ: this model gets the string reversal that base misses and
|
| 56 |
+
misses the capital of Australia, which base gets. Read it as "no systematic damage", not as a benchmark.
|
| 57 |
+
|
| 58 |
+
Per-layer separability of the refusal direction in the base model peaks at L17–L21 (~0.71 relative to
|
| 59 |
+
mean residual norm) and is near zero in the first seven layers.
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 65 |
+
|
| 66 |
+
model_id = "Involvedtime/Qwen3.5-4B-Unbound"
|
| 67 |
+
tok = AutoTokenizer.from_pretrained(model_id)
|
| 68 |
+
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")
|
| 69 |
+
|
| 70 |
+
msgs = [{"role": "user", "content": "Explain how a lockpick works."}]
|
| 71 |
+
prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True,
|
| 72 |
+
enable_thinking=False)
|
| 73 |
+
inputs = tok(prompt, return_tensors="pt").to(model.device)
|
| 74 |
+
out = model.generate(**inputs, max_new_tokens=256, do_sample=True, temperature=0.7, top_p=0.9,
|
| 75 |
+
no_repeat_ngram_size=6, repetition_penalty=1.1)
|
| 76 |
+
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
It is a thinking model: pass `enable_thinking=True` to the chat template to get the reasoning block.
|
| 80 |
+
It runs in ~3.1 GB of VRAM at 4-bit NF4 and produces ~7 tok/s on a 6 GB laptop GPU; bf16 needs ~9 GB.
|
| 81 |
+
|
| 82 |
+
For long generations, use `no_repeat_ngram_size=6` and `repetition_penalty=1.10`. Without them the
|
| 83 |
+
model will, past roughly 20 lines, begin repeating sentences verbatim.
|
| 84 |
+
|
| 85 |
+
## Caveats
|
| 86 |
+
|
| 87 |
+
**This model does not refuse.** That is the entire point, and it is also the risk. It will produce
|
| 88 |
+
instructions for things that are illegal, dangerous, or harmful. Use it where you have the legal and
|
| 89 |
+
ethical standing to do so, and do not point it at people who do not.
|
| 90 |
+
|
| 91 |
+
* 4-bit evaluation; the weights here are bf16.
|
| 92 |
+
* 24 probe pairs, 12 held-out prompts. Enough to locate a direction and show a large effect, not a
|
| 93 |
+
benchmark. An independent refusal set will find some refusals this one missed.
|
| 94 |
+
* Refusal was scored by a marker list, spot-checked by reading the replies.
|
| 95 |
+
* Abliteration removes the *behaviour*, not the knowledge. Capability is essentially intact; the
|
| 96 |
+
judgement about when to use it is gone.
|
| 97 |
+
|
| 98 |
+
## Provenance
|
| 99 |
+
|
| 100 |
+
Base: `Qwen/Qwen3.5-4B` (Apache-2.0). Vision tower removed; keys rewritten
|
| 101 |
+
`model.language_model.* → model.*`; abliteration applied in bf16; sharded to ~315 MB files.
|
| 102 |
+
|
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,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attention_bias": false,
|
| 3 |
+
"attention_dropout": 0.0,
|
| 4 |
+
"attn_output_gate": true,
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"eos_token_id": 248044,
|
| 7 |
+
"full_attention_interval": 4,
|
| 8 |
+
"head_dim": 256,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 2560,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 9216,
|
| 13 |
+
"layer_types": [
|
| 14 |
+
"linear_attention",
|
| 15 |
+
"linear_attention",
|
| 16 |
+
"linear_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"linear_attention",
|
| 19 |
+
"linear_attention",
|
| 20 |
+
"linear_attention",
|
| 21 |
+
"full_attention",
|
| 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 |
+
],
|
| 47 |
+
"linear_conv_kernel_dim": 4,
|
| 48 |
+
"linear_key_head_dim": 128,
|
| 49 |
+
"linear_num_key_heads": 16,
|
| 50 |
+
"linear_num_value_heads": 32,
|
| 51 |
+
"linear_value_head_dim": 128,
|
| 52 |
+
"max_position_embeddings": 262144,
|
| 53 |
+
"mlp_only_layers": [],
|
| 54 |
+
"model_type": "qwen3_5_text",
|
| 55 |
+
"mtp_num_hidden_layers": 1,
|
| 56 |
+
"mtp_use_dedicated_embeddings": false,
|
| 57 |
+
"num_attention_heads": 16,
|
| 58 |
+
"num_hidden_layers": 32,
|
| 59 |
+
"num_key_value_heads": 4,
|
| 60 |
+
"rms_norm_eps": 1e-06,
|
| 61 |
+
"tie_word_embeddings": true,
|
| 62 |
+
"use_cache": true,
|
| 63 |
+
"vocab_size": 248320,
|
| 64 |
+
"mamba_ssm_dtype": "float32",
|
| 65 |
+
"rope_parameters": {
|
| 66 |
+
"mrope_interleaved": true,
|
| 67 |
+
"mrope_section": [
|
| 68 |
+
11,
|
| 69 |
+
11,
|
| 70 |
+
10
|
| 71 |
+
],
|
| 72 |
+
"rope_type": "default",
|
| 73 |
+
"rope_theta": 10000000,
|
| 74 |
+
"partial_rotary_factor": 0.25
|
| 75 |
+
},
|
| 76 |
+
"architectures": [
|
| 77 |
+
"Qwen3_5ForCausalLM"
|
| 78 |
+
]
|
| 79 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"metadata": {"total_size": 0}, "weight_map": {"embed_tokens.weight": "shard-00000.safetensors", "layers.1.mlp.down_proj.weight": "shard-00001.safetensors", "layers.1.mlp.gate_proj.weight": "shard-00001.safetensors", "layers.1.mlp.up_proj.weight": "shard-00001.safetensors", "layers.10.mlp.down_proj.weight": "shard-00001.safetensors", "layers.10.mlp.gate_proj.weight": "shard-00001.safetensors", "layers.10.mlp.up_proj.weight": "shard-00001.safetensors", "layers.11.mlp.down_proj.weight": "shard-00001.safetensors", "layers.11.mlp.gate_proj.weight": "shard-00002.safetensors", "layers.11.mlp.up_proj.weight": "shard-00002.safetensors", "layers.12.mlp.down_proj.weight": "shard-00002.safetensors", "layers.12.mlp.gate_proj.weight": "shard-00002.safetensors", "layers.12.mlp.up_proj.weight": "shard-00002.safetensors", "layers.13.mlp.down_proj.weight": "shard-00002.safetensors", "layers.13.mlp.gate_proj.weight": "shard-00002.safetensors", "layers.13.mlp.up_proj.weight": "shard-00003.safetensors", "layers.14.mlp.down_proj.weight": "shard-00003.safetensors", "layers.14.mlp.gate_proj.weight": "shard-00003.safetensors", "layers.14.mlp.up_proj.weight": "shard-00003.safetensors", "layers.15.mlp.down_proj.weight": "shard-00003.safetensors", "layers.15.mlp.gate_proj.weight": "shard-00003.safetensors", "layers.15.mlp.up_proj.weight": "shard-00003.safetensors", "layers.16.mlp.down_proj.weight": "shard-00004.safetensors", "layers.16.mlp.gate_proj.weight": "shard-00004.safetensors", "layers.16.mlp.up_proj.weight": "shard-00004.safetensors", "layers.17.mlp.down_proj.weight": "shard-00004.safetensors", "layers.17.mlp.gate_proj.weight": "shard-00004.safetensors", "layers.17.mlp.up_proj.weight": "shard-00004.safetensors", "layers.18.mlp.down_proj.weight": "shard-00004.safetensors", "layers.18.mlp.gate_proj.weight": "shard-00005.safetensors", "layers.18.mlp.up_proj.weight": "shard-00005.safetensors", "layers.19.mlp.down_proj.weight": "shard-00005.safetensors", "layers.19.mlp.gate_proj.weight": "shard-00005.safetensors", "layers.19.mlp.up_proj.weight": "shard-00005.safetensors", "layers.2.mlp.down_proj.weight": "shard-00005.safetensors", "layers.2.mlp.gate_proj.weight": "shard-00005.safetensors", "layers.2.mlp.up_proj.weight": "shard-00006.safetensors", "layers.20.mlp.down_proj.weight": "shard-00006.safetensors", "layers.20.mlp.gate_proj.weight": "shard-00006.safetensors", "layers.20.mlp.up_proj.weight": "shard-00006.safetensors", "layers.21.mlp.down_proj.weight": "shard-00006.safetensors", "layers.21.mlp.gate_proj.weight": "shard-00006.safetensors", "layers.21.mlp.up_proj.weight": "shard-00006.safetensors", "layers.22.mlp.down_proj.weight": "shard-00007.safetensors", "layers.22.mlp.gate_proj.weight": "shard-00007.safetensors", "layers.22.mlp.up_proj.weight": "shard-00007.safetensors", "layers.23.mlp.down_proj.weight": "shard-00007.safetensors", "layers.23.mlp.gate_proj.weight": "shard-00007.safetensors", "layers.23.mlp.up_proj.weight": "shard-00007.safetensors", "layers.24.mlp.down_proj.weight": "shard-00007.safetensors", "layers.24.mlp.gate_proj.weight": "shard-00008.safetensors", "layers.24.mlp.up_proj.weight": "shard-00008.safetensors", "layers.25.mlp.down_proj.weight": "shard-00008.safetensors", "layers.25.mlp.gate_proj.weight": "shard-00008.safetensors", "layers.25.mlp.up_proj.weight": "shard-00008.safetensors", "layers.26.mlp.down_proj.weight": "shard-00008.safetensors", "layers.29.mlp.down_proj.weight": "shard-00008.safetensors", "layers.3.mlp.down_proj.weight": "shard-00009.safetensors", "layers.3.mlp.gate_proj.weight": "shard-00009.safetensors", "layers.3.mlp.up_proj.weight": "shard-00009.safetensors", "layers.30.mlp.down_proj.weight": "shard-00009.safetensors", "layers.30.mlp.gate_proj.weight": "shard-00009.safetensors", "layers.30.mlp.up_proj.weight": "shard-00009.safetensors", "layers.31.mlp.down_proj.weight": "shard-00009.safetensors", "layers.31.mlp.gate_proj.weight": "shard-00010.safetensors", "layers.31.mlp.up_proj.weight": "shard-00010.safetensors", "layers.4.mlp.down_proj.weight": "shard-00010.safetensors", "layers.4.mlp.gate_proj.weight": "shard-00010.safetensors", "layers.4.mlp.up_proj.weight": "shard-00010.safetensors", "layers.5.mlp.down_proj.weight": "shard-00010.safetensors", "layers.5.mlp.gate_proj.weight": "shard-00010.safetensors", "layers.5.mlp.up_proj.weight": "shard-00011.safetensors", "layers.6.mlp.down_proj.weight": "shard-00011.safetensors", "layers.6.mlp.gate_proj.weight": "shard-00011.safetensors", "layers.6.mlp.up_proj.weight": "shard-00011.safetensors", "layers.7.mlp.down_proj.weight": "shard-00011.safetensors", "layers.7.mlp.gate_proj.weight": "shard-00011.safetensors", "layers.7.mlp.up_proj.weight": "shard-00011.safetensors", "layers.0.input_layernorm.weight": "shard-00012.safetensors", "layers.0.linear_attn.A_log": "shard-00012.safetensors", "layers.0.linear_attn.conv1d.weight": "shard-00012.safetensors", "layers.0.linear_attn.dt_bias": "shard-00012.safetensors", "layers.0.linear_attn.in_proj_a.weight": "shard-00012.safetensors", "layers.0.linear_attn.in_proj_b.weight": "shard-00012.safetensors", "layers.0.linear_attn.in_proj_qkv.weight": "shard-00012.safetensors", "layers.8.mlp.down_proj.weight": "shard-00012.safetensors", "layers.8.mlp.gate_proj.weight": "shard-00012.safetensors", "layers.8.mlp.up_proj.weight": "shard-00012.safetensors", "layers.9.mlp.down_proj.weight": "shard-00012.safetensors", "layers.9.mlp.gate_proj.weight": "shard-00012.safetensors", "layers.9.mlp.up_proj.weight": "shard-00012.safetensors", "layers.0.linear_attn.in_proj_z.weight": "shard-00013.safetensors", "layers.0.linear_attn.norm.weight": "shard-00013.safetensors", "layers.0.linear_attn.out_proj.weight": "shard-00013.safetensors", "layers.0.mlp.down_proj.weight": "shard-00013.safetensors", "layers.0.mlp.gate_proj.weight": "shard-00013.safetensors", "layers.0.mlp.up_proj.weight": "shard-00013.safetensors", "layers.0.post_attention_layernorm.weight": "shard-00013.safetensors", "layers.1.input_layernorm.weight": "shard-00013.safetensors", "layers.1.linear_attn.A_log": "shard-00013.safetensors", "layers.1.linear_attn.conv1d.weight": "shard-00013.safetensors", "layers.1.linear_attn.dt_bias": "shard-00013.safetensors", "layers.1.linear_attn.in_proj_a.weight": "shard-00013.safetensors", "layers.1.linear_attn.in_proj_b.weight": "shard-00013.safetensors", "layers.1.linear_attn.in_proj_qkv.weight": "shard-00013.safetensors", "layers.1.linear_attn.in_proj_z.weight": "shard-00013.safetensors", "layers.1.linear_attn.norm.weight": "shard-00013.safetensors", "layers.1.linear_attn.out_proj.weight": "shard-00013.safetensors", "layers.1.post_attention_layernorm.weight": "shard-00013.safetensors", "layers.10.input_layernorm.weight": "shard-00013.safetensors", "layers.10.linear_attn.A_log": "shard-00013.safetensors", "layers.10.linear_attn.conv1d.weight": "shard-00013.safetensors", "layers.10.linear_attn.dt_bias": "shard-00013.safetensors", "layers.10.linear_attn.in_proj_a.weight": "shard-00013.safetensors", "layers.10.linear_attn.in_proj_b.weight": "shard-00013.safetensors", "layers.10.linear_attn.in_proj_qkv.weight": "shard-00013.safetensors", "layers.10.linear_attn.in_proj_z.weight": "shard-00014.safetensors", "layers.10.linear_attn.norm.weight": "shard-00014.safetensors", "layers.10.linear_attn.out_proj.weight": "shard-00014.safetensors", "layers.10.post_attention_layernorm.weight": "shard-00014.safetensors", "layers.11.input_layernorm.weight": "shard-00014.safetensors", "layers.11.post_attention_layernorm.weight": "shard-00014.safetensors", "layers.11.self_attn.k_norm.weight": "shard-00014.safetensors", "layers.11.self_attn.k_proj.weight": "shard-00014.safetensors", "layers.11.self_attn.o_proj.weight": "shard-00014.safetensors", "layers.11.self_attn.q_norm.weight": "shard-00014.safetensors", "layers.11.self_attn.q_proj.weight": "shard-00014.safetensors", "layers.11.self_attn.v_proj.weight": "shard-00014.safetensors", "layers.12.input_layernorm.weight": "shard-00014.safetensors", "layers.12.linear_attn.A_log": "shard-00014.safetensors", "layers.12.linear_attn.conv1d.weight": "shard-00014.safetensors", "layers.12.linear_attn.dt_bias": "shard-00014.safetensors", "layers.12.linear_attn.in_proj_a.weight": "shard-00014.safetensors", "layers.12.linear_attn.in_proj_b.weight": "shard-00014.safetensors", "layers.12.linear_attn.in_proj_qkv.weight": "shard-00014.safetensors", "layers.12.linear_attn.in_proj_z.weight": "shard-00014.safetensors", "layers.12.linear_attn.norm.weight": "shard-00014.safetensors", "layers.12.linear_attn.out_proj.weight": "shard-00014.safetensors", "layers.12.post_attention_layernorm.weight": "shard-00014.safetensors", "layers.13.input_layernorm.weight": "shard-00014.safetensors", "layers.13.linear_attn.A_log": "shard-00014.safetensors", "layers.13.linear_attn.conv1d.weight": "shard-00014.safetensors", "layers.13.linear_attn.dt_bias": "shard-00014.safetensors", "layers.13.linear_attn.in_proj_a.weight": "shard-00014.safetensors", "layers.13.linear_attn.in_proj_b.weight": "shard-00014.safetensors", "layers.13.linear_attn.in_proj_qkv.weight": "shard-00014.safetensors", "layers.13.linear_attn.in_proj_z.weight": "shard-00014.safetensors", "layers.13.linear_attn.norm.weight": "shard-00014.safetensors", "layers.13.linear_attn.out_proj.weight": "shard-00014.safetensors", "layers.13.post_attention_layernorm.weight": "shard-00014.safetensors", "layers.14.input_layernorm.weight": "shard-00014.safetensors", "layers.14.linear_attn.A_log": "shard-00014.safetensors", "layers.14.linear_attn.conv1d.weight": "shard-00014.safetensors", "layers.14.linear_attn.dt_bias": "shard-00014.safetensors", "layers.14.linear_attn.in_proj_a.weight": "shard-00014.safetensors", "layers.14.linear_attn.in_proj_b.weight": "shard-00014.safetensors", "layers.14.linear_attn.in_proj_qkv.weight": "shard-00014.safetensors", "layers.14.linear_attn.in_proj_z.weight": "shard-00015.safetensors", "layers.14.linear_attn.norm.weight": "shard-00015.safetensors", "layers.14.linear_attn.out_proj.weight": "shard-00015.safetensors", "layers.14.post_attention_layernorm.weight": "shard-00015.safetensors", "layers.15.input_layernorm.weight": "shard-00015.safetensors", "layers.15.post_attention_layernorm.weight": "shard-00015.safetensors", "layers.15.self_attn.k_norm.weight": "shard-00015.safetensors", "layers.15.self_attn.k_proj.weight": "shard-00015.safetensors", "layers.15.self_attn.o_proj.weight": "shard-00015.safetensors", "layers.15.self_attn.q_norm.weight": "shard-00015.safetensors", "layers.15.self_attn.q_proj.weight": "shard-00015.safetensors", "layers.15.self_attn.v_proj.weight": "shard-00015.safetensors", "layers.16.input_layernorm.weight": "shard-00015.safetensors", "layers.16.linear_attn.A_log": "shard-00015.safetensors", "layers.16.linear_attn.conv1d.weight": "shard-00015.safetensors", "layers.16.linear_attn.dt_bias": "shard-00015.safetensors", "layers.16.linear_attn.in_proj_a.weight": "shard-00015.safetensors", "layers.16.linear_attn.in_proj_b.weight": "shard-00015.safetensors", "layers.16.linear_attn.in_proj_qkv.weight": "shard-00015.safetensors", "layers.16.linear_attn.in_proj_z.weight": "shard-00015.safetensors", "layers.16.linear_attn.norm.weight": "shard-00015.safetensors", "layers.16.linear_attn.out_proj.weight": "shard-00015.safetensors", "layers.16.post_attention_layernorm.weight": "shard-00015.safetensors", "layers.17.input_layernorm.weight": "shard-00015.safetensors", "layers.17.linear_attn.A_log": "shard-00015.safetensors", "layers.17.linear_attn.conv1d.weight": "shard-00015.safetensors", "layers.17.linear_attn.dt_bias": "shard-00015.safetensors", "layers.17.linear_attn.in_proj_a.weight": "shard-00015.safetensors", "layers.17.linear_attn.in_proj_b.weight": "shard-00015.safetensors", "layers.17.linear_attn.in_proj_qkv.weight": "shard-00015.safetensors", "layers.17.linear_attn.in_proj_z.weight": "shard-00015.safetensors", "layers.17.linear_attn.norm.weight": "shard-00015.safetensors", "layers.17.linear_attn.out_proj.weight": "shard-00015.safetensors", "layers.17.post_attention_layernorm.weight": "shard-00015.safetensors", "layers.18.input_layernorm.weight": "shard-00015.safetensors", "layers.18.linear_attn.A_log": "shard-00015.safetensors", "layers.18.linear_attn.conv1d.weight": "shard-00015.safetensors", "layers.18.linear_attn.dt_bias": "shard-00015.safetensors", "layers.18.linear_attn.in_proj_a.weight": "shard-00015.safetensors", "layers.18.linear_attn.in_proj_b.weight": "shard-00015.safetensors", "layers.18.linear_attn.in_proj_qkv.weight": "shard-00015.safetensors", "layers.18.linear_attn.in_proj_z.weight": "shard-00016.safetensors", "layers.18.linear_attn.norm.weight": "shard-00016.safetensors", "layers.18.linear_attn.out_proj.weight": "shard-00016.safetensors", "layers.18.post_attention_layernorm.weight": "shard-00016.safetensors", "layers.19.input_layernorm.weight": "shard-00016.safetensors", "layers.19.post_attention_layernorm.weight": "shard-00016.safetensors", "layers.19.self_attn.k_norm.weight": "shard-00016.safetensors", "layers.19.self_attn.k_proj.weight": "shard-00016.safetensors", "layers.19.self_attn.o_proj.weight": "shard-00016.safetensors", "layers.19.self_attn.q_norm.weight": "shard-00016.safetensors", "layers.19.self_attn.q_proj.weight": "shard-00016.safetensors", "layers.19.self_attn.v_proj.weight": "shard-00016.safetensors", "layers.2.input_layernorm.weight": "shard-00016.safetensors", "layers.2.linear_attn.A_log": "shard-00016.safetensors", "layers.2.linear_attn.conv1d.weight": "shard-00016.safetensors", "layers.2.linear_attn.dt_bias": "shard-00016.safetensors", "layers.2.linear_attn.in_proj_a.weight": "shard-00016.safetensors", "layers.2.linear_attn.in_proj_b.weight": "shard-00016.safetensors", "layers.2.linear_attn.in_proj_qkv.weight": "shard-00016.safetensors", "layers.2.linear_attn.in_proj_z.weight": "shard-00016.safetensors", "layers.2.linear_attn.norm.weight": "shard-00016.safetensors", "layers.2.linear_attn.out_proj.weight": "shard-00016.safetensors", "layers.2.post_attention_layernorm.weight": "shard-00016.safetensors", "layers.20.input_layernorm.weight": "shard-00016.safetensors", "layers.20.linear_attn.A_log": "shard-00016.safetensors", "layers.20.linear_attn.conv1d.weight": "shard-00016.safetensors", "layers.20.linear_attn.dt_bias": "shard-00016.safetensors", "layers.20.linear_attn.in_proj_a.weight": "shard-00016.safetensors", "layers.20.linear_attn.in_proj_b.weight": "shard-00016.safetensors", "layers.20.linear_attn.in_proj_qkv.weight": "shard-00016.safetensors", "layers.20.linear_attn.in_proj_z.weight": "shard-00016.safetensors", "layers.20.linear_attn.norm.weight": "shard-00016.safetensors", "layers.20.linear_attn.out_proj.weight": "shard-00016.safetensors", "layers.20.post_attention_layernorm.weight": "shard-00016.safetensors", "layers.21.input_layernorm.weight": "shard-00016.safetensors", "layers.21.linear_attn.A_log": "shard-00016.safetensors", "layers.21.linear_attn.conv1d.weight": "shard-00016.safetensors", "layers.21.linear_attn.dt_bias": "shard-00016.safetensors", "layers.21.linear_attn.in_proj_a.weight": "shard-00016.safetensors", "layers.21.linear_attn.in_proj_b.weight": "shard-00016.safetensors", "layers.21.linear_attn.in_proj_qkv.weight": "shard-00016.safetensors", "layers.21.linear_attn.in_proj_z.weight": "shard-00017.safetensors", "layers.21.linear_attn.norm.weight": "shard-00017.safetensors", "layers.21.linear_attn.out_proj.weight": "shard-00017.safetensors", "layers.21.post_attention_layernorm.weight": "shard-00017.safetensors", "layers.22.input_layernorm.weight": "shard-00017.safetensors", "layers.22.linear_attn.A_log": "shard-00017.safetensors", "layers.22.linear_attn.conv1d.weight": "shard-00017.safetensors", "layers.22.linear_attn.dt_bias": "shard-00017.safetensors", "layers.22.linear_attn.in_proj_a.weight": "shard-00017.safetensors", "layers.22.linear_attn.in_proj_b.weight": "shard-00017.safetensors", "layers.22.linear_attn.in_proj_qkv.weight": "shard-00017.safetensors", "layers.22.linear_attn.in_proj_z.weight": "shard-00017.safetensors", "layers.22.linear_attn.norm.weight": "shard-00017.safetensors", "layers.22.linear_attn.out_proj.weight": "shard-00017.safetensors", "layers.22.post_attention_layernorm.weight": "shard-00017.safetensors", "layers.23.input_layernorm.weight": "shard-00017.safetensors", "layers.23.post_attention_layernorm.weight": "shard-00017.safetensors", "layers.23.self_attn.k_norm.weight": "shard-00017.safetensors", "layers.23.self_attn.k_proj.weight": "shard-00017.safetensors", "layers.23.self_attn.o_proj.weight": "shard-00017.safetensors", "layers.23.self_attn.q_norm.weight": "shard-00017.safetensors", "layers.23.self_attn.q_proj.weight": "shard-00017.safetensors", "layers.23.self_attn.v_proj.weight": "shard-00017.safetensors", "layers.24.input_layernorm.weight": "shard-00017.safetensors", "layers.24.linear_attn.A_log": "shard-00017.safetensors", "layers.24.linear_attn.conv1d.weight": "shard-00017.safetensors", "layers.24.linear_attn.dt_bias": "shard-00017.safetensors", "layers.24.linear_attn.in_proj_a.weight": "shard-00017.safetensors", "layers.24.linear_attn.in_proj_b.weight": "shard-00017.safetensors", "layers.24.linear_attn.in_proj_qkv.weight": "shard-00017.safetensors", "layers.24.linear_attn.in_proj_z.weight": "shard-00017.safetensors", "layers.24.linear_attn.norm.weight": "shard-00017.safetensors", "layers.24.linear_attn.out_proj.weight": "shard-00017.safetensors", "layers.24.post_attention_layernorm.weight": "shard-00017.safetensors", "layers.25.input_layernorm.weight": "shard-00017.safetensors", "layers.25.linear_attn.A_log": "shard-00017.safetensors", "layers.25.linear_attn.conv1d.weight": "shard-00017.safetensors", "layers.25.linear_attn.dt_bias": "shard-00017.safetensors", "layers.25.linear_attn.in_proj_a.weight": "shard-00017.safetensors", "layers.25.linear_attn.in_proj_b.weight": "shard-00017.safetensors", "layers.25.linear_attn.in_proj_qkv.weight": "shard-00017.safetensors", "layers.25.linear_attn.in_proj_z.weight": "shard-00018.safetensors", "layers.25.linear_attn.norm.weight": "shard-00018.safetensors", "layers.25.linear_attn.out_proj.weight": "shard-00018.safetensors", "layers.25.post_attention_layernorm.weight": "shard-00018.safetensors", "layers.26.input_layernorm.weight": "shard-00018.safetensors", "layers.26.linear_attn.A_log": "shard-00018.safetensors", "layers.26.linear_attn.conv1d.weight": "shard-00018.safetensors", "layers.26.linear_attn.dt_bias": "shard-00018.safetensors", "layers.26.linear_attn.in_proj_a.weight": "shard-00018.safetensors", "layers.26.linear_attn.in_proj_b.weight": "shard-00018.safetensors", "layers.26.linear_attn.in_proj_qkv.weight": "shard-00018.safetensors", "layers.26.linear_attn.in_proj_z.weight": "shard-00018.safetensors", "layers.26.linear_attn.norm.weight": "shard-00018.safetensors", "layers.26.linear_attn.out_proj.weight": "shard-00018.safetensors", "layers.26.mlp.gate_proj.weight": "shard-00018.safetensors", "layers.26.mlp.up_proj.weight": "shard-00018.safetensors", "layers.26.post_attention_layernorm.weight": "shard-00018.safetensors", "layers.27.input_layernorm.weight": "shard-00018.safetensors", "layers.27.mlp.down_proj.weight": "shard-00018.safetensors", "layers.27.mlp.gate_proj.weight": "shard-00018.safetensors", "layers.27.mlp.up_proj.weight": "shard-00019.safetensors", "layers.27.post_attention_layernorm.weight": "shard-00019.safetensors", "layers.27.self_attn.k_norm.weight": "shard-00019.safetensors", "layers.27.self_attn.k_proj.weight": "shard-00019.safetensors", "layers.27.self_attn.o_proj.weight": "shard-00019.safetensors", "layers.27.self_attn.q_norm.weight": "shard-00019.safetensors", "layers.27.self_attn.q_proj.weight": "shard-00019.safetensors", "layers.27.self_attn.v_proj.weight": "shard-00019.safetensors", "layers.28.input_layernorm.weight": "shard-00019.safetensors", "layers.28.linear_attn.A_log": "shard-00019.safetensors", "layers.28.linear_attn.conv1d.weight": "shard-00019.safetensors", "layers.28.linear_attn.dt_bias": "shard-00019.safetensors", "layers.28.linear_attn.in_proj_a.weight": "shard-00019.safetensors", "layers.28.linear_attn.in_proj_b.weight": "shard-00019.safetensors", "layers.28.linear_attn.in_proj_qkv.weight": "shard-00019.safetensors", "layers.28.linear_attn.in_proj_z.weight": "shard-00019.safetensors", "layers.28.linear_attn.norm.weight": "shard-00019.safetensors", "layers.28.linear_attn.out_proj.weight": "shard-00019.safetensors", "layers.28.mlp.down_proj.weight": "shard-00019.safetensors", "layers.28.mlp.gate_proj.weight": "shard-00019.safetensors", "layers.28.mlp.up_proj.weight": "shard-00020.safetensors", "layers.28.post_attention_layernorm.weight": "shard-00020.safetensors", "layers.29.input_layernorm.weight": "shard-00020.safetensors", "layers.29.linear_attn.A_log": "shard-00020.safetensors", "layers.29.linear_attn.conv1d.weight": "shard-00020.safetensors", "layers.29.linear_attn.dt_bias": "shard-00020.safetensors", "layers.29.linear_attn.in_proj_a.weight": "shard-00020.safetensors", "layers.29.linear_attn.in_proj_b.weight": "shard-00020.safetensors", "layers.29.linear_attn.in_proj_qkv.weight": "shard-00020.safetensors", "layers.29.linear_attn.in_proj_z.weight": "shard-00020.safetensors", "layers.29.linear_attn.norm.weight": "shard-00020.safetensors", "layers.29.linear_attn.out_proj.weight": "shard-00020.safetensors", "layers.29.mlp.gate_proj.weight": "shard-00020.safetensors", "layers.29.mlp.up_proj.weight": "shard-00020.safetensors", "layers.29.post_attention_layernorm.weight": "shard-00020.safetensors", "layers.3.input_layernorm.weight": "shard-00020.safetensors", "layers.3.post_attention_layernorm.weight": "shard-00020.safetensors", "layers.3.self_attn.k_norm.weight": "shard-00020.safetensors", "layers.3.self_attn.k_proj.weight": "shard-00020.safetensors", "layers.3.self_attn.o_proj.weight": "shard-00020.safetensors", "layers.3.self_attn.q_norm.weight": "shard-00020.safetensors", "layers.3.self_attn.q_proj.weight": "shard-00020.safetensors", "layers.3.self_attn.v_proj.weight": "shard-00021.safetensors", "layers.30.input_layernorm.weight": "shard-00021.safetensors", "layers.30.linear_attn.A_log": "shard-00021.safetensors", "layers.30.linear_attn.conv1d.weight": "shard-00021.safetensors", "layers.30.linear_attn.dt_bias": "shard-00021.safetensors", "layers.30.linear_attn.in_proj_a.weight": "shard-00021.safetensors", "layers.30.linear_attn.in_proj_b.weight": "shard-00021.safetensors", "layers.30.linear_attn.in_proj_qkv.weight": "shard-00021.safetensors", "layers.30.linear_attn.in_proj_z.weight": "shard-00021.safetensors", "layers.30.linear_attn.norm.weight": "shard-00021.safetensors", "layers.30.linear_attn.out_proj.weight": "shard-00021.safetensors", "layers.30.post_attention_layernorm.weight": "shard-00021.safetensors", "layers.31.input_layernorm.weight": "shard-00021.safetensors", "layers.31.post_attention_layernorm.weight": "shard-00021.safetensors", "layers.31.self_attn.k_norm.weight": "shard-00021.safetensors", "layers.31.self_attn.k_proj.weight": "shard-00021.safetensors", "layers.31.self_attn.o_proj.weight": "shard-00021.safetensors", "layers.31.self_attn.q_norm.weight": "shard-00021.safetensors", "layers.31.self_attn.q_proj.weight": "shard-00021.safetensors", "layers.31.self_attn.v_proj.weight": "shard-00021.safetensors", "layers.4.input_layernorm.weight": "shard-00021.safetensors", "layers.4.linear_attn.A_log": "shard-00021.safetensors", "layers.4.linear_attn.conv1d.weight": "shard-00021.safetensors", "layers.4.linear_attn.dt_bias": "shard-00021.safetensors", "layers.4.linear_attn.in_proj_a.weight": "shard-00021.safetensors", "layers.4.linear_attn.in_proj_b.weight": "shard-00021.safetensors", "layers.4.linear_attn.in_proj_qkv.weight": "shard-00021.safetensors", "layers.4.linear_attn.in_proj_z.weight": "shard-00021.safetensors", "layers.4.linear_attn.norm.weight": "shard-00021.safetensors", "layers.4.linear_attn.out_proj.weight": "shard-00021.safetensors", "layers.4.post_attention_layernorm.weight": "shard-00021.safetensors", "layers.5.input_layernorm.weight": "shard-00021.safetensors", "layers.5.linear_attn.A_log": "shard-00021.safetensors", "layers.5.linear_attn.conv1d.weight": "shard-00021.safetensors", "layers.5.linear_attn.dt_bias": "shard-00021.safetensors", "layers.5.linear_attn.in_proj_a.weight": "shard-00021.safetensors", "layers.5.linear_attn.in_proj_b.weight": "shard-00021.safetensors", "layers.5.linear_attn.in_proj_qkv.weight": "shard-00021.safetensors", "layers.5.linear_attn.in_proj_z.weight": "shard-00021.safetensors", "layers.5.linear_attn.norm.weight": "shard-00022.safetensors", "layers.5.linear_attn.out_proj.weight": "shard-00022.safetensors", "layers.5.post_attention_layernorm.weight": "shard-00022.safetensors", "layers.6.input_layernorm.weight": "shard-00022.safetensors", "layers.6.linear_attn.A_log": "shard-00022.safetensors", "layers.6.linear_attn.conv1d.weight": "shard-00022.safetensors", "layers.6.linear_attn.dt_bias": "shard-00022.safetensors", "layers.6.linear_attn.in_proj_a.weight": "shard-00022.safetensors", "layers.6.linear_attn.in_proj_b.weight": "shard-00022.safetensors", "layers.6.linear_attn.in_proj_qkv.weight": "shard-00022.safetensors", "layers.6.linear_attn.in_proj_z.weight": "shard-00022.safetensors", "layers.6.linear_attn.norm.weight": "shard-00022.safetensors", "layers.6.linear_attn.out_proj.weight": "shard-00022.safetensors", "layers.6.post_attention_layernorm.weight": "shard-00022.safetensors", "layers.7.input_layernorm.weight": "shard-00022.safetensors", "layers.7.post_attention_layernorm.weight": "shard-00022.safetensors", "layers.7.self_attn.k_norm.weight": "shard-00022.safetensors", "layers.7.self_attn.k_proj.weight": "shard-00022.safetensors", "layers.7.self_attn.o_proj.weight": "shard-00022.safetensors", "layers.7.self_attn.q_norm.weight": "shard-00022.safetensors", "layers.7.self_attn.q_proj.weight": "shard-00022.safetensors", "layers.7.self_attn.v_proj.weight": "shard-00022.safetensors", "layers.8.input_layernorm.weight": "shard-00022.safetensors", "layers.8.linear_attn.A_log": "shard-00022.safetensors", "layers.8.linear_attn.conv1d.weight": "shard-00022.safetensors", "layers.8.linear_attn.dt_bias": "shard-00022.safetensors", "layers.8.linear_attn.in_proj_a.weight": "shard-00022.safetensors", "layers.8.linear_attn.in_proj_b.weight": "shard-00022.safetensors", "layers.8.linear_attn.in_proj_qkv.weight": "shard-00022.safetensors", "layers.8.linear_attn.in_proj_z.weight": "shard-00022.safetensors", "layers.8.linear_attn.norm.weight": "shard-00022.safetensors", "layers.8.linear_attn.out_proj.weight": "shard-00022.safetensors", "layers.8.post_attention_layernorm.weight": "shard-00022.safetensors", "layers.9.input_layernorm.weight": "shard-00022.safetensors", "layers.9.linear_attn.A_log": "shard-00022.safetensors", "layers.9.linear_attn.conv1d.weight": "shard-00022.safetensors", "layers.9.linear_attn.dt_bias": "shard-00022.safetensors", "layers.9.linear_attn.in_proj_a.weight": "shard-00022.safetensors", "layers.9.linear_attn.in_proj_b.weight": "shard-00022.safetensors", "layers.9.linear_attn.in_proj_qkv.weight": "shard-00022.safetensors", "layers.9.linear_attn.in_proj_z.weight": "shard-00023.safetensors", "layers.9.linear_attn.norm.weight": "shard-00023.safetensors", "layers.9.linear_attn.out_proj.weight": "shard-00023.safetensors", "layers.9.post_attention_layernorm.weight": "shard-00023.safetensors", "norm.weight": "shard-00023.safetensors"}}
|
shard-00000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e4a30e4a8d0332692f10a514e1cd0e20d9fce40b87919d5d82eaebfa9bbc9e7
|
| 3 |
+
size 1271398536
|
shard-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:674544fa0c00aaa1aec4134209f61f3e00b015015b9db5bc964347672cb82b6f
|
| 3 |
+
size 330302216
|
shard-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df055a302f565faad833d1115bee6fd18580289f9057db93e8c83a35cab32960
|
| 3 |
+
size 330302216
|
shard-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f82a49940de26df3c5dd8ac753446c9e5f77e78418b15fd0a9cb77765a9aa484
|
| 3 |
+
size 330302216
|
shard-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a00979023bf39baa70662fe185619c61ec9834fa17ed21a83c625cbda58b3e1e
|
| 3 |
+
size 330302216
|
shard-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:936f995b459c433e451f8931ad7337b7ea93523403cd7eac9fc7131e9665facb
|
| 3 |
+
size 330302216
|
shard-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0376e41352f8ba6cf0e55f9206e9b3858b20d8622b7c000f9864dcba579c8f63
|
| 3 |
+
size 330302216
|
shard-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5bcc5c49fa127bfbdb017ab1368f1e4989abf879e3c30663b5a9fa5fd4828df
|
| 3 |
+
size 330302216
|
shard-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d160a175bc29036334c521b0fe1087ca7ee8df9f2e6689cb595185e306f89e65
|
| 3 |
+
size 330302216
|
shard-00009.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a365c8d174507f593c4c94cc96206b2a44f2bdae4610ea5995e4a15d0321755a
|
| 3 |
+
size 330302216
|
shard-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ae2ff2631d2310c9c6c2c71749394dac50bf9e1d6513ac3a668c23594be5bff
|
| 3 |
+
size 330302208
|
shard-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82944172726ea538d9e15036a1fc8f3bd3351bc18f39988318ba66df9e103794
|
| 3 |
+
size 330302208
|
shard-00012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b26793a940ba9fcdf1f3c5e9c2500c5293647511d8bb054462a5afab603ddce
|
| 3 |
+
size 325458448
|
shard-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1df48a0226a99523f8349b042f30727c8b031c367e37bc5d18923a00ceb7766f
|
| 3 |
+
size 310140920
|
shard-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:492d634b591b0fabf4d4ed372a58adc03b26005ce1ca4cfe518d7f4b728ce515
|
| 3 |
+
size 326286720
|
shard-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b43eb6271b59355bb85e13289af52596cc3943d872410ce91df4c3ae14e1c49
|
| 3 |
+
size 326286720
|
shard-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a26275eba592b1c34a5674f87be37c773049eb43dd3f66830efc4f533a5151c6
|
| 3 |
+
size 326286704
|
shard-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53790a5298e142fce919c56ed683deb42b8ebbebc411bca68d99889df2b5a108
|
| 3 |
+
size 326286720
|
shard-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d508e1236d8f11fc6269dd10837cc02b4a4496bdfd84c4720a4ddc4126373e01
|
| 3 |
+
size 314989872
|
shard-00019.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:709670915caef5606d748d42201c5c4c2a31a13ec1208c5fa2c3ec01f5d720d2
|
| 3 |
+
size 299251512
|
shard-00020.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c1d584ae7e9ef5d78393ba2525bc15966109e3de78e9f3bc97665c2d2989676
|
| 3 |
+
size 294024192
|
shard-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a273a72c453ea0e1b7fbf4f586259effcd97db88e90cf21e7bc8521ea5a5a144
|
| 3 |
+
size 310552192
|
shard-00022.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:337c475170b0c6892e7697d7ad819e37b47e01176e210366f5490a8b402cdd21
|
| 3 |
+
size 305315040
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
|
| 3 |
+
size 12807982
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"additional_special_tokens": [
|
| 270 |
+
"<|im_start|>",
|
| 271 |
+
"<|im_end|>",
|
| 272 |
+
"<|object_ref_start|>",
|
| 273 |
+
"<|object_ref_end|>",
|
| 274 |
+
"<|box_start|>",
|
| 275 |
+
"<|box_end|>",
|
| 276 |
+
"<|quad_start|>",
|
| 277 |
+
"<|quad_end|>",
|
| 278 |
+
"<|vision_start|>",
|
| 279 |
+
"<|vision_end|>",
|
| 280 |
+
"<|vision_pad|>",
|
| 281 |
+
"<|image_pad|>",
|
| 282 |
+
"<|video_pad|>"
|
| 283 |
+
],
|
| 284 |
+
"bos_token": null,
|
| 285 |
+
"chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if loop.index0 > ns.last_query_index %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is defined %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- else %}\n {{- raise_exception('Unexpected message role.') }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}",
|
| 286 |
+
"clean_up_tokenization_spaces": false,
|
| 287 |
+
"eos_token": "<|im_end|>",
|
| 288 |
+
"errors": "replace",
|
| 289 |
+
"model_max_length": 262144,
|
| 290 |
+
"pad_token": "<|endoftext|>",
|
| 291 |
+
"split_special_tokens": false,
|
| 292 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 293 |
+
"unk_token": null,
|
| 294 |
+
"add_bos_token": false,
|
| 295 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 296 |
+
"extra_special_tokens": {
|
| 297 |
+
"audio_bos_token": "<|audio_start|>",
|
| 298 |
+
"audio_eos_token": "<|audio_end|>",
|
| 299 |
+
"audio_token": "<|audio_pad|>",
|
| 300 |
+
"image_token": "<|image_pad|>",
|
| 301 |
+
"video_token": "<|video_pad|>",
|
| 302 |
+
"vision_bos_token": "<|vision_start|>",
|
| 303 |
+
"vision_eos_token": "<|vision_end|>"
|
| 304 |
+
}
|
| 305 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|