Image-Text-to-Text
Transformers
Safetensors
English
multilingual
qwen3_5
gptq
int4
w4a16
4-bit precision
quantized
vllm
intel-xpu
arc-pro-b70
mtp
speculative-decoding
gated-deltanet
tool-calling
conversational
Instructions to use bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16") 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("bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16") model = AutoModelForMultimodalLM.from_pretrained("bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16", 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 bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16", "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/bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16
- SGLang
How to use bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16 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 "bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16" \ --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": "bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16", "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 "bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16" \ --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": "bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16", "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 bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16 with Docker Model Runner:
docker model run hf.co/bjonor/Swift-1.5-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- CHECKSUMS.sha256 +6 -0
- LICENSE +233 -0
- LICENSE-APACHE-2.0 +202 -0
- NOTICE +24 -0
- README.md +282 -0
- chat_template.jinja +170 -0
- config.json +201 -0
- generation_config.json +13 -0
- merges.txt +0 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +21 -0
- processor_config.json +61 -0
- quant_log.csv +401 -0
- quantize_config.json +50 -0
- tokenizer.json +3 -0
- tokenizer_config.json +33 -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
|
CHECKSUMS.sha256
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
7e5bdcd7b5823541039d60c369dc1f3e5b15c58681aae37805b5ba21d0273bd9 model-00001-of-00005.safetensors
|
| 2 |
+
7a6be7cb019b2de460fcb28748cf5c3c187a672d2688332b75acef70417a3e4d model-00002-of-00005.safetensors
|
| 3 |
+
8ede155bb216a27d9fb703b1abe18c36ea8b6d24a372ccc442abc7d48e3beb67 model-00003-of-00005.safetensors
|
| 4 |
+
dbe268299f1e31a1c0ae1c91f8f4276527f1187b3a0cb7ecbe57d0642b4ea448 model-00004-of-00005.safetensors
|
| 5 |
+
5e28d12c0a428d926e0cf280c265c11a9328e3721ef545cfc0eb28fb1c87ffcc model-00005-of-00005.safetensors
|
| 6 |
+
d511a969b32a16f1890326dadd4d04039779cebce7458b8e5d2ce7f3ce2550ed model.safetensors.index.json
|
LICENSE
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Swift Open License v1.0
|
| 2 |
+
|
| 3 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 4 |
+
|
| 5 |
+
1. Definitions.
|
| 6 |
+
|
| 7 |
+
"License" shall mean the terms and conditions for use, reproduction, and
|
| 8 |
+
distribution as defined by this document.
|
| 9 |
+
|
| 10 |
+
"Licensor" shall mean UkisAI.
|
| 11 |
+
|
| 12 |
+
"Legal Entity" shall mean the union of the acting entity and all other entities
|
| 13 |
+
that control, are controlled by, or are under common control with that entity.
|
| 14 |
+
For the purposes of this definition, "control" means (i) the power, direct or
|
| 15 |
+
indirect, to cause the direction or management of such entity, whether by
|
| 16 |
+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 17 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 18 |
+
|
| 19 |
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
| 20 |
+
permissions granted by this License.
|
| 21 |
+
|
| 22 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 23 |
+
including but not limited to software source code, documentation source,
|
| 24 |
+
configuration files, and model weights in an unquantized, trainable format.
|
| 25 |
+
|
| 26 |
+
"Object" form shall mean any form resulting from mechanical transformation or
|
| 27 |
+
translation of a Source form, including but not limited to compiled object
|
| 28 |
+
code, generated documentation, quantized or otherwise converted model weights,
|
| 29 |
+
and conversions to other media types or file formats.
|
| 30 |
+
|
| 31 |
+
"Base Model" shall mean the Qwen3.8-27B model, Copyright 2026 Alibaba Cloud,
|
| 32 |
+
made available at https://huggingface.co/Qwen/Qwen3.8-27B, including its
|
| 33 |
+
weights, configuration, tokenizer, and chat template, in any form.
|
| 34 |
+
|
| 35 |
+
"Base Model License" shall mean the Apache License, Version 2.0, under which
|
| 36 |
+
the Base Model is made available. A copy is distributed with the Work in the
|
| 37 |
+
file LICENSE-APACHE-2.0.
|
| 38 |
+
|
| 39 |
+
"Swift Contribution" shall mean the modifications to the Base Model authored
|
| 40 |
+
by Licensor, in any form, including without limitation adapted model weights,
|
| 41 |
+
weight deltas, model weights to the extent they differ from the Base Model, and
|
| 42 |
+
any configuration, documentation, and evaluation materials created by Licensor
|
| 43 |
+
and distributed with the Work.
|
| 44 |
+
|
| 45 |
+
"Work" shall mean the Swift Contribution together with, to the extent of
|
| 46 |
+
Licensor's rights therein, the Derivative Work of the Base Model made available
|
| 47 |
+
by Licensor under this License (as indicated by a copyright notice that is
|
| 48 |
+
included in or attached to the work), in any format made available by Licensor.
|
| 49 |
+
|
| 50 |
+
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
| 51 |
+
is based on (or derived from) the Work and for which the editorial revisions,
|
| 52 |
+
annotations, elaborations, or other modifications represent, as a whole, an
|
| 53 |
+
original work of authorship. For the purposes of this License, Derivative Works
|
| 54 |
+
shall not include works that remain separable from, or merely link (or bind by
|
| 55 |
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
| 56 |
+
|
| 57 |
+
"Contribution" shall mean any work of authorship, including the original
|
| 58 |
+
version of the Work and any modifications or additions to that Work or
|
| 59 |
+
Derivative Works thereof, that is intentionally submitted to Licensor for
|
| 60 |
+
inclusion in the Work by the copyright owner or by an individual or Legal
|
| 61 |
+
Entity authorized to submit on behalf of the copyright owner. For the purposes
|
| 62 |
+
of this definition, "submitted" means any form of electronic, verbal, or
|
| 63 |
+
written communication sent to the Licensor or its representatives, including
|
| 64 |
+
but not limited to communication on electronic mailing lists, source code
|
| 65 |
+
control systems, and issue tracking systems that are managed by, or on behalf
|
| 66 |
+
of, the Licensor for the purpose of discussing and improving the Work, but
|
| 67 |
+
excluding communication that is conspicuously marked or otherwise designated in
|
| 68 |
+
writing by the copyright owner as "Not a Contribution."
|
| 69 |
+
|
| 70 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
| 71 |
+
of whom a Contribution has been received by Licensor and subsequently
|
| 72 |
+
incorporated within the Work.
|
| 73 |
+
|
| 74 |
+
"Commercial Use" shall mean any use of the Work or a Derivative Work for direct
|
| 75 |
+
or indirect commercial advantage or monetary compensation.
|
| 76 |
+
|
| 77 |
+
"Qualified Non-Profit Organization" shall mean a Legal Entity that is organized
|
| 78 |
+
and operated exclusively for religious, charitable, scientific, testing for
|
| 79 |
+
public safety, literary, or educational purposes, and which is exempt from
|
| 80 |
+
federal income tax under Section 501(c)(3) of the United States Internal
|
| 81 |
+
Revenue Code of 1986, as amended, or any equivalent non-profit or charitable
|
| 82 |
+
organization in a foreign jurisdiction.
|
| 83 |
+
|
| 84 |
+
"Non-Commercial or Research Purposes" shall mean purposes that do not involve
|
| 85 |
+
any use of the Work or a Derivative Work for Commercial Use.
|
| 86 |
+
|
| 87 |
+
"Threshold" shall mean gross revenue of one million United States dollars
|
| 88 |
+
(US$1,000,000) or more, measured over the most recently completed fiscal year
|
| 89 |
+
of You together with every Legal Entity that controls, is controlled by, or is
|
| 90 |
+
under common control with You.
|
| 91 |
+
|
| 92 |
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
| 93 |
+
License, including the Commercial Use limitation set forth in Section 5, each
|
| 94 |
+
Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
| 95 |
+
no-charge, royalty-free, irrevocable copyright license to reproduce, prepare
|
| 96 |
+
Derivative Works of, publicly display, publicly perform, sublicense, and
|
| 97 |
+
distribute the Work and such Derivative Works in Source or Object form.
|
| 98 |
+
|
| 99 |
+
3. Grant of Patent License. Subject to the terms and conditions of this
|
| 100 |
+
License, including the Commercial Use limitation set forth in Section 5, each
|
| 101 |
+
Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
| 102 |
+
no-charge, royalty-free, irrevocable (except as stated in this section) patent
|
| 103 |
+
license to make, have made, use, offer to sell, sell, import, and otherwise
|
| 104 |
+
transfer the Work, where such license applies only to those patent claims
|
| 105 |
+
licensable by such Contributor that are necessarily infringed by their
|
| 106 |
+
Contribution(s) alone or by combination of their Contribution(s) with the Work
|
| 107 |
+
to which such Contribution(s) was submitted. If You institute patent litigation
|
| 108 |
+
against any entity (including a cross-claim or counterclaim in a lawsuit)
|
| 109 |
+
alleging that the Work or a Contribution incorporated within the Work
|
| 110 |
+
constitutes direct or contributory patent infringement, then any patent
|
| 111 |
+
licenses granted to You under this License for that Work shall terminate as of
|
| 112 |
+
the date such litigation is filed.
|
| 113 |
+
|
| 114 |
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
| 115 |
+
Derivative Works thereof in any medium, with or without modifications, and in
|
| 116 |
+
Source or Object form, provided that You meet the following conditions:
|
| 117 |
+
|
| 118 |
+
(a) You must give any other recipients of the Work or Derivative Works a copy
|
| 119 |
+
of this License; and
|
| 120 |
+
|
| 121 |
+
(b) You must cause any modified files to carry prominent notices stating that
|
| 122 |
+
You changed the files; and
|
| 123 |
+
|
| 124 |
+
(c) You must retain, in the Source form of any Derivative Works that You
|
| 125 |
+
distribute, all copyright, patent, trademark, and attribution notices from the
|
| 126 |
+
Source form of the Work, excluding those notices that do not pertain to any
|
| 127 |
+
part of the Derivative Works; and
|
| 128 |
+
|
| 129 |
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then
|
| 130 |
+
any Derivative Works that You distribute must include a readable copy of the
|
| 131 |
+
attribution notices contained within such NOTICE file, excluding those notices
|
| 132 |
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
| 133 |
+
following places: within a NOTICE text file distributed as part of the
|
| 134 |
+
Derivative Works; within the Source form or documentation, if provided along
|
| 135 |
+
with the Derivative Works; or, within a display generated by the Derivative
|
| 136 |
+
Works, if and wherever such third-party notices normally appear. The contents
|
| 137 |
+
of the NOTICE file are for informational purposes only and do not modify the
|
| 138 |
+
License. You may add Your own attribution notices within Derivative Works that
|
| 139 |
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
| 140 |
+
provided that such additional attribution notices cannot be construed as
|
| 141 |
+
modifying the License; and
|
| 142 |
+
|
| 143 |
+
(e) If the copy You distribute contains any portion of the Base Model
|
| 144 |
+
(including merged, quantized, or otherwise converted weights that incorporate
|
| 145 |
+
the Base Model), You must also give recipients a copy of the Base Model License
|
| 146 |
+
and must comply with the Base Model License with respect to the Base Model.
|
| 147 |
+
|
| 148 |
+
You may add Your own copyright statement to Your modifications and may provide
|
| 149 |
+
additional or different license terms and conditions for use, reproduction, or
|
| 150 |
+
distribution of Your modifications, or for any such Derivative Works as a
|
| 151 |
+
whole, provided Your use, reproduction, and distribution of the Work otherwise
|
| 152 |
+
complies with the conditions stated in this License, and provided that Section
|
| 153 |
+
5 continues to apply to the Swift Contribution contained in any such
|
| 154 |
+
Derivative Works.
|
| 155 |
+
|
| 156 |
+
5. Commercial Use Limitation.
|
| 157 |
+
|
| 158 |
+
(a) The rights granted under this License for Commercial Use are conditioned
|
| 159 |
+
upon You or Your Legal Entity not exceeding the Threshold.
|
| 160 |
+
|
| 161 |
+
(b) Any Commercial Use of the Work or a Derivative Work by a Legal Entity that
|
| 162 |
+
exceeds the Threshold is not licensed under this License.
|
| 163 |
+
|
| 164 |
+
(c) The Threshold shall not apply to a Qualified Non-Profit Organization's use
|
| 165 |
+
of the Work or a Derivative Work for Non-Commercial or Research Purposes.
|
| 166 |
+
|
| 167 |
+
(d) A Legal Entity that exceeds the Threshold may obtain a separate written
|
| 168 |
+
license for Commercial Use from Licensor (the "Swift Enterprise License").
|
| 169 |
+
Contact: https://ukisai.com/contact.
|
| 170 |
+
|
| 171 |
+
6. Base Model Rights. The Work incorporates the Base Model. Nothing in this
|
| 172 |
+
License limits, restricts, conditions, or modifies any rights You have in the
|
| 173 |
+
Base Model under the Base Model License, and the Base Model remains available
|
| 174 |
+
to You from its licensor under the Base Model License. Sections 5 and 12 of
|
| 175 |
+
this License apply solely to the Swift Contribution and to the Work or any
|
| 176 |
+
Derivative Work to the extent it contains, incorporates, or is derived from the
|
| 177 |
+
Swift Contribution.
|
| 178 |
+
|
| 179 |
+
7. Submission of Contributions. Unless You explicitly state otherwise, any
|
| 180 |
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
| 181 |
+
Licensor shall be under the terms and conditions of this License, without any
|
| 182 |
+
additional terms or conditions. Notwithstanding the above, nothing herein shall
|
| 183 |
+
supersede or modify the terms of any separate license agreement you may have
|
| 184 |
+
executed with Licensor regarding such Contributions.
|
| 185 |
+
|
| 186 |
+
8. Trademarks. This License does not grant permission to use the trade names,
|
| 187 |
+
trademarks, service marks, or product names of the Licensor (including "UkisAI"
|
| 188 |
+
and "Swift"), except for the reasonable and customary use in describing the
|
| 189 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 190 |
+
|
| 191 |
+
9. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
| 192 |
+
writing, Licensor provides the Work (and each Contributor provides its
|
| 193 |
+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 194 |
+
KIND, either express or implied, including, without limitation, any warranties
|
| 195 |
+
or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 196 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 197 |
+
appropriateness of using or redistributing the Work and assume any risks
|
| 198 |
+
associated with Your exercise of permissions under this License.
|
| 199 |
+
|
| 200 |
+
10. Limitation of Liability. In no event and under no legal theory, whether in
|
| 201 |
+
tort (including negligence), contract, or otherwise, unless required by
|
| 202 |
+
applicable law (such as deliberate and grossly negligent acts) or agreed to in
|
| 203 |
+
writing, shall any Contributor be liable to You for damages, including any
|
| 204 |
+
direct, indirect, special, incidental, or consequential damages of any
|
| 205 |
+
character arising as a result of this License or out of the use or inability to
|
| 206 |
+
use the Work (including but not limited to damages for loss of goodwill, work
|
| 207 |
+
stoppage, computer failure or malfunction, or any and all other commercial
|
| 208 |
+
damages or losses), even if such Contributor has been advised of the
|
| 209 |
+
possibility of such damages.
|
| 210 |
+
|
| 211 |
+
11. Accepting Warranty or Additional Liability. While redistributing the Work
|
| 212 |
+
or Derivative Works thereof, You may choose to offer, and charge a fee for,
|
| 213 |
+
acceptance of support, warranty, indemnity, or other liability obligations
|
| 214 |
+
and/or rights consistent with this License. However, in accepting such
|
| 215 |
+
obligations, You may act only on Your own behalf and on Your sole
|
| 216 |
+
responsibility, not on behalf of any other Contributor, and only if You agree
|
| 217 |
+
to indemnify, defend, and hold each Contributor harmless for any liability
|
| 218 |
+
incurred by, or claims asserted against, such Contributor by reason of your
|
| 219 |
+
accepting any such warranty or additional liability.
|
| 220 |
+
|
| 221 |
+
12. Termination. This License will terminate automatically and immediately if
|
| 222 |
+
You fail to comply with any of its terms and conditions. Upon termination, You
|
| 223 |
+
must cease all use of the Swift Contribution and of any Work or Derivative
|
| 224 |
+
Works containing it, and delete all copies in Your possession. Termination does
|
| 225 |
+
not affect Your rights in the Base Model under the Base Model License.
|
| 226 |
+
|
| 227 |
+
END OF TERMS AND CONDITIONS
|
| 228 |
+
|
| 229 |
+
APPENDIX: Notice for redistributors (quantizations, conversions, merges).
|
| 230 |
+
|
| 231 |
+
Copyright 2026 UkisAI. Swift Contribution licensed under the Swift Open
|
| 232 |
+
License v1.0 (https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-27b/blob/main/LICENSE).
|
| 233 |
+
Derivative of Qwen3.8-27B, Copyright 2026 Alibaba Cloud, Apache License 2.0.
|
LICENSE-APACHE-2.0
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.
|
NOTICE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Swift 1.5 Qwen3.8-27B
|
| 2 |
+
Copyright 2026 UkisAI
|
| 3 |
+
|
| 4 |
+
UkisAI's contribution (the "Swift Contribution") is licensed under the
|
| 5 |
+
Swift Open License v1.0. See LICENSE.
|
| 6 |
+
|
| 7 |
+
This model is a Derivative Work of Qwen3.8-27B
|
| 8 |
+
https://huggingface.co/Qwen/Qwen3.8-27B
|
| 9 |
+
Copyright 2026 Alibaba Cloud
|
| 10 |
+
Licensed under the Apache License, Version 2.0. See LICENSE-APACHE-2.0.
|
| 11 |
+
|
| 12 |
+
Swift 1.5 continues UkisAI's Swift 1.0 model, itself a Qwen3.8-27B
|
| 13 |
+
derivative. The full release incorporates the Qwen3.8-27B Base Model and
|
| 14 |
+
UkisAI's Swift 1.0 and Swift 1.5 contributions.
|
| 15 |
+
|
| 16 |
+
Changes made by UkisAI (Apache License 2.0, Section 4(b) change notice):
|
| 17 |
+
- model-*.safetensors, model.safetensors.index.json: the model weights from
|
| 18 |
+
Swift 1.0 were further adapted by UkisAI using additional post-training
|
| 19 |
+
methods.
|
| 20 |
+
- README.md: replaced. LICENSE and NOTICE added.
|
| 21 |
+
- All other files (config.json, generation_config.json, chat_template.jinja,
|
| 22 |
+
tokenizer.json, tokenizer_config.json, vocab.json, merges.txt,
|
| 23 |
+
preprocessor_config.json, video_preprocessor_config.json) are retained from
|
| 24 |
+
the parent model and remain available under Apache License, Version 2.0.
|
README.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: swift-open-license-1.0
|
| 4 |
+
license_link: https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-27b/blob/main/LICENSE
|
| 5 |
+
base_model: ukisai/Swift-1.5-Qwen3.8-27b
|
| 6 |
+
base_model_relation: quantized
|
| 7 |
+
library_name: transformers
|
| 8 |
+
pipeline_tag: image-text-to-text
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
- multilingual
|
| 12 |
+
datasets:
|
| 13 |
+
- HuggingFaceH4/ultrachat_200k
|
| 14 |
+
tags:
|
| 15 |
+
- gptq
|
| 16 |
+
- int4
|
| 17 |
+
- w4a16
|
| 18 |
+
- 4-bit
|
| 19 |
+
- quantized
|
| 20 |
+
- vllm
|
| 21 |
+
- intel-xpu
|
| 22 |
+
- arc-pro-b70
|
| 23 |
+
- mtp
|
| 24 |
+
- speculative-decoding
|
| 25 |
+
- gated-deltanet
|
| 26 |
+
- qwen3_5
|
| 27 |
+
- tool-calling
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# Swift 1.5 Qwen3.8-27B — GPTQ INT4 (W4A16, group-128, symmetric) + BF16 MTP head
|
| 31 |
+
|
| 32 |
+
Unofficial 4-bit GPTQ quantization of
|
| 33 |
+
[`ukisai/Swift-1.5-Qwen3.8-27b`](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-27b)
|
| 34 |
+
for low-VRAM inference, with the MTP (multi-token-prediction) draft head and the
|
| 35 |
+
vision tower deliberately **kept unquantized**. Produced with `gptqmodel 7.3.2`
|
| 36 |
+
on an Intel Arc Pro B70 (30.3 GiB VRAM), ~2.4 h wall time. Quantization
|
| 37 |
+
contract is identical to the Swift 1.0 artifact
|
| 38 |
+
[`bjonor/Swift-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16`](https://huggingface.co/bjonor/Swift-Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16).
|
| 39 |
+
|
| 40 |
+
This model is **not affiliated with, endorsed by, or supported by UkisAI or
|
| 41 |
+
Alibaba Cloud**. It is a community quantization; the licence terms of the base
|
| 42 |
+
models below continue to apply (see [License](#license-and-attribution)).
|
| 43 |
+
|
| 44 |
+
> **Runtime status (2026-09-25).** Verified on the stock
|
| 45 |
+
> `vllm/vllm-openai-xpu:nightly` (`0.29.1rc1.dev422+gd05da62e9.xpu`,
|
| 46 |
+
> `vllm-xpu-kernels 0.1.14.1`) with the two runtime patches from the recipe
|
| 47 |
+
> repo: ready in 131 s, MTP-3 mean acceptance length 3.04 (68.0%), solo decode
|
| 48 |
+
> 61.0 tok/s (p512/g128, median n=5), endpoint + streaming smoke test PASS.
|
| 49 |
+
> `patch_mtp_boundary.py` is still required for requests that end exactly at
|
| 50 |
+
> `--max-model-len`; mixed prefill + spec-decode batches run without the GDN
|
| 51 |
+
> split-dispatch backport on this stack.
|
| 52 |
+
|
| 53 |
+
## Model details
|
| 54 |
+
|
| 55 |
+
| | |
|
| 56 |
+
|---|---|
|
| 57 |
+
| Base (fine-tune) | `ukisai/Swift-1.5-Qwen3.8-27b` (Swift Open License v1.0) |
|
| 58 |
+
| Base (original) | `Qwen/Qwen3.8-27B` (Apache-2.0), Copyright 2026 Alibaba Cloud |
|
| 59 |
+
| Architecture | `Qwen3_5ForConditionalGeneration`, 64 layers (hybrid Gated-DeltaNet linear attention + full attention every 4th layer), hidden 5120, 24 Q / 4 KV heads, head_dim 256, 248,320 vocab |
|
| 60 |
+
| Quantization | GPTQ, 4-bit weights, 16-bit activations (W4A16), `group_size=128`, `sym=true`, `desc_act=false`, `lm_head` not quantized |
|
| 61 |
+
| Preserved unquantized | 15 `mtp.*` tensors (BF16 draft head), 333 `model.visual.*` tensors |
|
| 62 |
+
| Quantized modules | 400 (all linear projections of the 64 language layers) |
|
| 63 |
+
| Checkpoint size | ~19 GB, 5 safetensors shards (2399 tensors) |
|
| 64 |
+
| Native context | 262,144 tokens (validated serving up to 131,072) |
|
| 65 |
+
| Quantizer | `gptqmodel 7.3.2` (torch 2.9.1+xpu) |
|
| 66 |
+
| Source revision | `bc7a1e10b689648585a3ef41494c8d84cf77271a` |
|
| 67 |
+
| Calibration | `HuggingFaceH4/ultrachat_200k` `train_sft[:256]`, truncated to 2048 tokens |
|
| 68 |
+
| Calibration revision | `8049631c405ae6576f93f445c6b8166f76f5505a` |
|
| 69 |
+
| Code | quantization, verification and Intel-XPU serving recipe: [BjornNordblom/intel-arc-b70-quant](https://github.com/BjornNordblom/intel-arc-b70-quant); serving patches from [SergiioB/intel-arc-pro-b70-inference-cookbook](https://github.com/SergiioB/intel-arc-pro-b70-inference-cookbook) |
|
| 70 |
+
|
| 71 |
+
The `quantize_config.json` is field-for-field identical to the community
|
| 72 |
+
reference artifact
|
| 73 |
+
[`SergiioB/Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16`](https://huggingface.co/SergiioB/Qwen3.8-27B-GPTQ-Int4-sym-G128-MTP-BF16)
|
| 74 |
+
except for the quant-time-only `meta.offload_to_disk` flag. Note that the reference artifact
|
| 75 |
+
quantizes the **base** Qwen3.8-27B; this repository quantizes the **Swift 1.5**
|
| 76 |
+
fine-tune.
|
| 77 |
+
|
| 78 |
+
## What was changed vs the source checkpoint
|
| 79 |
+
|
| 80 |
+
- All linear projections of the language model → GPTQ INT4 (W4A16, g128, sym,
|
| 81 |
+
`desc_act=false`).
|
| 82 |
+
- `mtp.*` draft tensors (15) and `model.visual.*` vision tensors (333) kept in
|
| 83 |
+
their original dtype; the `dynamic` exclusion `{"-:.*mtp.*": {}}` in
|
| 84 |
+
`quantize_config.json` records this.
|
| 85 |
+
- Added: `quantize_config.json`, `quant_log.csv` (per-module quantization timings).
|
| 86 |
+
- Unchanged: `config.json`, `generation_config.json`, `chat_template.jinja`,
|
| 87 |
+
`tokenizer.json`, `tokenizer_config.json`, `vocab.json`, `merges.txt`,
|
| 88 |
+
`processor_config.json`, `video_preprocessor_config.json`.
|
| 89 |
+
- Added licence files: `LICENSE` (Swift Open License v1.0),
|
| 90 |
+
`LICENSE-APACHE-2.0`, `NOTICE`.
|
| 91 |
+
|
| 92 |
+
## Quantization details
|
| 93 |
+
|
| 94 |
+
| | |
|
| 95 |
+
|---|---|
|
| 96 |
+
| Method | GPTQ (gptqmodel 7.3.2), true-sequential, static groups off |
|
| 97 |
+
| Bits / group | 4-bit / 128, symmetric, `desc_act=false` |
|
| 98 |
+
| Damping | `damp_percent=0.05`, `damp_auto_increment=0.01`, Hessian staging FP32 |
|
| 99 |
+
| Fallback | RTN for modules exceeding a 0.5% error threshold (none reported) |
|
| 100 |
+
| Calibration | 256 UltraChat-SFT samples, ≤2048 tokens each |
|
| 101 |
+
| Pack format | `int32`, `checkpoint_format=gptq`, `lm_head=false` |
|
| 102 |
+
| Wall time | 2.38 h on one Arc Pro B70; host i9-13900K, 64 GB RAM |
|
| 103 |
+
| Verification | contract check (`VERIFY PASS`), local serve + endpoint/streaming smoke test (`SMOKE PASS`) — see the GitHub repo |
|
| 104 |
+
|
| 105 |
+
## How to use
|
| 106 |
+
|
| 107 |
+
### vLLM (Intel XPU) — tested configuration
|
| 108 |
+
|
| 109 |
+
`vllm/vllm-openai-xpu:nightly` (`0.29.1rc1.dev422+gd05da62e9.xpu`,
|
| 110 |
+
`vllm-xpu-kernels 0.1.14.1`), with `patch_mtp_nightly.py` and
|
| 111 |
+
`patch_mtp_boundary.py` applied at container start (`launch.sh` does this
|
| 112 |
+
automatically):
|
| 113 |
+
|
| 114 |
+
```bash
|
| 115 |
+
vllm serve <this-repo> \
|
| 116 |
+
--quantization gptq --dtype float16 --max-model-len 131072 \
|
| 117 |
+
--gpu-memory-utilization 0.94 --kv-cache-dtype fp8 \
|
| 118 |
+
--max-num-seqs 2 --max-num-batched-tokens 8192 --enable-prefix-caching \
|
| 119 |
+
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
|
| 120 |
+
--enable-auto-tool-choice --tool-call-parser qwen3_xml \
|
| 121 |
+
--language-model-only
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
Measured on this artifact: ready after 131 s, mean acceptance length 3.04
|
| 125 |
+
(avg draft acceptance 68.0%), solo decode 61.0 tok/s median (n=5), short-prompt
|
| 126 |
+
TTFT ~0.2 s, endpoint and streaming smoke tests pass. The pinned
|
| 127 |
+
`vllm 0.27.2rc1.dev77+gac7509e2b.xpu` / `vllm-xpu-kernels 0.1.12.3` stack with
|
| 128 |
+
the derived `vllm-xpu-gdn-split:0.1.12.3-p1` image also works
|
| 129 |
+
(`--max-num-seqs 1`).
|
| 130 |
+
|
| 131 |
+
Notes for this base model on XPU:
|
| 132 |
+
|
| 133 |
+
- **MTP draft must be built unquantized.** The checkpoint flags this via the
|
| 134 |
+
`dynamic` exclusion; the runtime patch (or `B70_MTP_BF16_DRAFT=1`) enforces it
|
| 135 |
+
on XPU builds.
|
| 136 |
+
- **`patch_mtp_boundary.py`.** With spec decoding enabled, an unpatched engine
|
| 137 |
+
dies when a request runs to exactly `--max-model-len`
|
| 138 |
+
(`EngineDeadError: Expected spec_token == num_spec_decodes *
|
| 139 |
+
(num_speculative_tokens + 1)` — the final draft group is truncated).
|
| 140 |
+
- **Mixed-batch limitation (pinned stack only).** `vllm-xpu-kernels` < 0.1.14.1
|
| 141 |
+
abort the engine when speculative-decode tokens and prefill tokens land in the
|
| 142 |
+
same invocation. Use `--max-num-seqs 1`, kernels ≥ 0.1.14.1, or the Python
|
| 143 |
+
split-dispatch backport used by the pinned derived image. Not needed on the
|
| 144 |
+
nightly stack above.
|
| 145 |
+
- `--kv-cache-dtype fp8` is a serving choice, not part of the checkpoint.
|
| 146 |
+
|
| 147 |
+
Full reproduction path — pinned environments, `quant_swift.py` /
|
| 148 |
+
`verify_quant.py`, `launch.sh` (MTP and vision flags), the XPU patches and the
|
| 149 |
+
benchmark harness — is in the
|
| 150 |
+
[recipe repository](https://github.com/BjornNordblom/intel-arc-b70-quant).
|
| 151 |
+
|
| 152 |
+
### Transformers
|
| 153 |
+
|
| 154 |
+
GPTQ checkpoints need a GPTQ-capable loader (`gptqmodel` or `auto-gptq`) and
|
| 155 |
+
`transformers` ≥ 4.5x. The `mtp.*` tensors are not used by `transformers`
|
| 156 |
+
inference and can be ignored.
|
| 157 |
+
|
| 158 |
+
## Evaluation
|
| 159 |
+
|
| 160 |
+
What was actually measured on this artifact (host: Arc Pro B70, vLLM XPU
|
| 161 |
+
nightly, MTP 3 speculative tokens, fp8 KV cache, `--max-num-seqs 2`):
|
| 162 |
+
|
| 163 |
+
| Check | Result |
|
| 164 |
+
|---|---|
|
| 165 |
+
| Quantization contract (`verify_quant.py`) | PASS — bits 4, group 128, sym, `desc_act=false`, 15 MTP tensors preserved, 333 vision tensors, 400 modules quantized, `lm_head` untouched |
|
| 166 |
+
| Local serve + endpoint/streaming test (`test_serve.py`) | PASS (`SMOKE PASS`) |
|
| 167 |
+
| Warm-up time to `/v1/models` | 131 s |
|
| 168 |
+
| Decode, p512/g128, median of 5 | 61.0 tok/s (range 60.4–61.0) |
|
| 169 |
+
| MTP draft acceptance | mean acceptance length 3.04, Avg draft acceptance 68.0% |
|
| 170 |
+
| Solo TTFT (short prompt) | ~0.2–0.3 s |
|
| 171 |
+
|
| 172 |
+
**No standard quality benchmarks (MMLU, GPQA, AIME, IFBench, perplexity) were
|
| 173 |
+
run on this quantized artifact by the uploader**, and the concurrency harness
|
| 174 |
+
(12-request storm / mixed batches) was validated on the Swift 1.0 artifact of
|
| 175 |
+
the same architecture and contract, not re-run here. UkisAI publishes INT4
|
| 176 |
+
W4A16 evaluations for the base model (GPQA-Diamond 88.38%, IFBench 71.25%,
|
| 177 |
+
AIME 2026 84.00%) which are indicative but were measured on a different
|
| 178 |
+
quantization pipeline. Treat accuracy figures as unverified for this artifact.
|
| 179 |
+
|
| 180 |
+
## Intended use and out-of-scope
|
| 181 |
+
|
| 182 |
+
- Intended: local inference and evaluation of the Swift 1.5 fine-tune on
|
| 183 |
+
Intel XPU / low-VRAM setups, including agent-style tool calling via
|
| 184 |
+
`qwen3_xml`.
|
| 185 |
+
- Out of scope: any safety-critical, medical, legal, or production decision
|
| 186 |
+
making; anything requiring verified accuracy on this specific checkpoint;
|
| 187 |
+
vision/multimodal use — the vision tower is preserved but **was not validated**
|
| 188 |
+
(serving was tested language-only), and training data provenance is inherited
|
| 189 |
+
from the base models.
|
| 190 |
+
- No safety alignment or red-teaming was performed by the uploader. Behavioural
|
| 191 |
+
risks of the base models (bias, hallucinations, prompt-injection
|
| 192 |
+
susceptibility) also apply here and may be amplified by quantization.
|
| 193 |
+
|
| 194 |
+
## Limitations
|
| 195 |
+
|
| 196 |
+
- Quantization is lossy; per-module error was not published beyond the RTN
|
| 197 |
+
fallback threshold report.
|
| 198 |
+
- The MTP draft head only works in runtimes that can build it unquantized (see
|
| 199 |
+
above); otherwise disable speculative decoding.
|
| 200 |
+
- Exporting to other formats (GGUF/AWQ) from this checkpoint is untested.
|
| 201 |
+
- Multimodal inputs are structurally supported but untested.
|
| 202 |
+
- Long-context behaviour was validated to 131,072 tokens, not to the native
|
| 203 |
+
262,144; the concurrency storm was not re-run on this artifact (see above).
|
| 204 |
+
|
| 205 |
+
## Environmental impact
|
| 206 |
+
|
| 207 |
+
One quantization run: ~2.4 h on a single Arc Pro B70 (230 W board power cap) —
|
| 208 |
+
roughly **0.55 kWh** board energy, plus host overhead (i9-13900K, 64 GB RAM).
|
| 209 |
+
Serving costs depend on runtime and context length.
|
| 210 |
+
|
| 211 |
+
## License and attribution
|
| 212 |
+
|
| 213 |
+
The following notice is required by the Swift Open License v1.0 for
|
| 214 |
+
redistributors of quantizations/conversions/merges (verbatim from the base
|
| 215 |
+
model's LICENSE appendix):
|
| 216 |
+
|
| 217 |
+
> Copyright 2026 UkisAI. Swift Contribution licensed under the Swift Open
|
| 218 |
+
> License v1.0 (https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-27b/blob/main/LICENSE).
|
| 219 |
+
> Derivative of Qwen3.8-27B, Copyright 2026 Alibaba Cloud, Apache License 2.0.
|
| 220 |
+
|
| 221 |
+
Included files: [`LICENSE`](LICENSE) (Swift Open License v1.0, governs the Swift
|
| 222 |
+
Contribution), [`LICENSE-APACHE-2.0`](LICENSE-APACHE-2.0) (governs Qwen3.8-27B
|
| 223 |
+
and the files unmodified from it), [`NOTICE`](NOTICE) (what UkisAI changed).
|
| 224 |
+
|
| 225 |
+
Key terms to be aware of:
|
| 226 |
+
|
| 227 |
+
- **Commercial-use threshold.** Personal, research, educational, evaluation and
|
| 228 |
+
commercial use are free for individuals and organisations with gross annual
|
| 229 |
+
revenue (including affiliates) up to **US$1,000,000**. Above that threshold,
|
| 230 |
+
commercial use of the Swift Contribution requires a separate Swift Enterprise
|
| 231 |
+
License from UkisAI. Nothing in the Swift Open License limits your rights in
|
| 232 |
+
Qwen3.8-27B itself, which remains Apache-2.0.
|
| 233 |
+
- **No trademark rights.** The licence grants no rights to the "UkisAI" name or
|
| 234 |
+
marks; this card uses them only for attribution.
|
| 235 |
+
- **Termination.** Non-compliance terminates the licence for the Swift
|
| 236 |
+
Contribution; rights in the base model under Apache-2.0 are unaffected.
|
| 237 |
+
|
| 238 |
+
Addendum for this quantization (the uploader's modification notice):
|
| 239 |
+
|
| 240 |
+
> GPTQ INT4 quantization of the Swift Contribution by Bjorn Nordblom, 2026,
|
| 241 |
+
> distributed under the same Swift Open License v1.0 terms that apply to the
|
| 242 |
+
> Swift Contribution. No additional rights are granted.
|
| 243 |
+
|
| 244 |
+
## Citation
|
| 245 |
+
|
| 246 |
+
```bibtex
|
| 247 |
+
@misc{swift-1.5-qwen3.8-27b-gptq-int4,
|
| 248 |
+
title = {Swift 1.5 Qwen3.8-27B GPTQ INT4 (W4A16, group-128, symmetric) with preserved BF16 MTP head},
|
| 249 |
+
author = {Nordblom, Bjorn},
|
| 250 |
+
year = {2026},
|
| 251 |
+
howpublished = {Hugging Face},
|
| 252 |
+
note = {Quantization of ukisai/Swift-1.5-Qwen3.8-27b},
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
@misc{swift-1.5-qwen3.8-27b,
|
| 256 |
+
title = {Swift 1.5 Qwen3.8-27B},
|
| 257 |
+
author = {UkisAI},
|
| 258 |
+
year = {2026},
|
| 259 |
+
url = {https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-27b}
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
@misc{qwen3.8-27b,
|
| 263 |
+
title = {Qwen3.8-27B},
|
| 264 |
+
author = {Alibaba Cloud},
|
| 265 |
+
year = {2026},
|
| 266 |
+
url = {https://huggingface.co/Qwen/Qwen3.8-27B}
|
| 267 |
+
}
|
| 268 |
+
```
|
| 269 |
+
|
| 270 |
+
## Acknowledgements
|
| 271 |
+
|
| 272 |
+
- UkisAI for the Swift 1.5 fine-tune and the licence terms above.
|
| 273 |
+
- Alibaba Cloud / Qwen for Qwen3.8-27B (Apache-2.0).
|
| 274 |
+
- The `gptqmodel` project for the quantizer.
|
| 275 |
+
- SergiioB's [intel-arc-pro-b70-inference-cookbook](https://github.com/SergiioB/intel-arc-pro-b70-inference-cookbook)
|
| 276 |
+
for the Intel Arc Pro B70 XPU serving patches (MTP BF16 draft, GDN boundary
|
| 277 |
+
handling, mixed-batch split-dispatch backport); the copies vendored in the
|
| 278 |
+
recipe repo are MIT, Copyright (c) 2026 SergiioB.
|
| 279 |
+
|
| 280 |
+
## Model card contact
|
| 281 |
+
|
| 282 |
+
Issues and questions: https://github.com/BjornNordblom/intel-arc-b70-quant/issues
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- set reasoning_instructions = '' %}
|
| 46 |
+
{%- if enable_thinking is undefined or enable_thinking is true %}
|
| 47 |
+
{%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
|
| 48 |
+
{%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
|
| 49 |
+
{{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- if resolved_reasoning_effort == 'xhigh' %}
|
| 52 |
+
{%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
|
| 53 |
+
{%- elif resolved_reasoning_effort == 'low' %}
|
| 54 |
+
{%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 58 |
+
{{- '<|im_start|>system\n' }}
|
| 59 |
+
{%- if reasoning_instructions %}
|
| 60 |
+
{{- reasoning_instructions + '\n\n' }}
|
| 61 |
+
{%- endif %}
|
| 62 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 63 |
+
{%- for tool in tools %}
|
| 64 |
+
{{- "\n" }}
|
| 65 |
+
{{- tool | tojson }}
|
| 66 |
+
{%- endfor %}
|
| 67 |
+
{{- "\n</tools>" }}
|
| 68 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 69 |
+
{%- if messages[0].role == 'system' %}
|
| 70 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 71 |
+
{%- if content %}
|
| 72 |
+
{{- '\n\n' + content }}
|
| 73 |
+
{%- endif %}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{{- '<|im_end|>\n' }}
|
| 76 |
+
{%- else %}
|
| 77 |
+
{%- if messages[0].role == 'system' %}
|
| 78 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 79 |
+
{%- if content %}
|
| 80 |
+
{{- '<|im_start|>system\n' + (reasoning_instructions + '\n\n' if reasoning_instructions else '') + content + '<|im_end|>\n' }}
|
| 81 |
+
{%- elif reasoning_instructions %}
|
| 82 |
+
{{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
|
| 83 |
+
{%- endif %}
|
| 84 |
+
{%- elif reasoning_instructions %}
|
| 85 |
+
{{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- endif %}
|
| 88 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 89 |
+
{%- for message in messages[::-1] %}
|
| 90 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 91 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 92 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 93 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 94 |
+
{%- set ns.multi_step_tool = false %}
|
| 95 |
+
{%- set ns.last_query_index = index %}
|
| 96 |
+
{%- endif %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endfor %}
|
| 99 |
+
{%- if ns.multi_step_tool %}
|
| 100 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 101 |
+
{%- endif %}
|
| 102 |
+
{%- for message in messages %}
|
| 103 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 104 |
+
{%- if message.role == "system" %}
|
| 105 |
+
{%- if not loop.first %}
|
| 106 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 107 |
+
{%- endif %}
|
| 108 |
+
{%- elif message.role == "user" %}
|
| 109 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 110 |
+
{%- elif message.role == "assistant" %}
|
| 111 |
+
{%- set reasoning_content = '' %}
|
| 112 |
+
{%- if message.reasoning_content is string %}
|
| 113 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 114 |
+
{%- endif %}
|
| 115 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 116 |
+
{%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}
|
| 117 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 118 |
+
{%- else %}
|
| 119 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 120 |
+
{%- endif %}
|
| 121 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 122 |
+
{%- for tool_call in message.tool_calls %}
|
| 123 |
+
{%- if tool_call.function is defined %}
|
| 124 |
+
{%- set tool_call = tool_call.function %}
|
| 125 |
+
{%- endif %}
|
| 126 |
+
{%- if loop.first %}
|
| 127 |
+
{%- if content|trim %}
|
| 128 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 129 |
+
{%- else %}
|
| 130 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 131 |
+
{%- endif %}
|
| 132 |
+
{%- else %}
|
| 133 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{%- if tool_call.arguments is defined and tool_call.arguments != '' %}
|
| 136 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 137 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 138 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 139 |
+
{{- args_value }}
|
| 140 |
+
{{- '\n</parameter>\n' }}
|
| 141 |
+
{%- endfor %}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{{- '</function>\n</tool_call>' }}
|
| 144 |
+
{%- endfor %}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{{- '<|im_end|>\n' }}
|
| 147 |
+
{%- elif message.role == "tool" %}
|
| 148 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 149 |
+
{{- '<|im_start|>user' }}
|
| 150 |
+
{%- endif %}
|
| 151 |
+
{{- '\n<tool_response>\n' }}
|
| 152 |
+
{{- content }}
|
| 153 |
+
{{- '\n</tool_response>' }}
|
| 154 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 155 |
+
{{- '<|im_end|>\n' }}
|
| 156 |
+
{%- elif loop.last %}
|
| 157 |
+
{{- '<|im_end|>\n' }}
|
| 158 |
+
{%- endif %}
|
| 159 |
+
{%- else %}
|
| 160 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 161 |
+
{%- endif %}
|
| 162 |
+
{%- endfor %}
|
| 163 |
+
{%- if add_generation_prompt %}
|
| 164 |
+
{{- '<|im_start|>assistant\n' }}
|
| 165 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 166 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 167 |
+
{%- else %}
|
| 168 |
+
{{- '<think>\n' }}
|
| 169 |
+
{%- endif %}
|
| 170 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "float16",
|
| 6 |
+
"image_token_id": 248056,
|
| 7 |
+
"language_model_only": false,
|
| 8 |
+
"model_type": "qwen3_5",
|
| 9 |
+
"quantization_config": {
|
| 10 |
+
"bits": 4,
|
| 11 |
+
"checkpoint_format": "gptq",
|
| 12 |
+
"desc_act": false,
|
| 13 |
+
"dynamic": {
|
| 14 |
+
"-:.*mtp.*": {}
|
| 15 |
+
},
|
| 16 |
+
"format": "gptq",
|
| 17 |
+
"group_size": 128,
|
| 18 |
+
"lm_head": false,
|
| 19 |
+
"meta": {
|
| 20 |
+
"act_group_aware": true,
|
| 21 |
+
"auto_forward_data_parallel": true,
|
| 22 |
+
"damp_auto_increment": 0.01,
|
| 23 |
+
"damp_percent": 0.05,
|
| 24 |
+
"dense_vram_strategy": "exclusive",
|
| 25 |
+
"dense_vram_strategy_devices": null,
|
| 26 |
+
"fallback": {
|
| 27 |
+
"smooth": null,
|
| 28 |
+
"strategy": "rtn",
|
| 29 |
+
"threshold": "0.5%"
|
| 30 |
+
},
|
| 31 |
+
"foem": null,
|
| 32 |
+
"gc_mode": "interval",
|
| 33 |
+
"gptaq": null,
|
| 34 |
+
"hessian": {
|
| 35 |
+
"chunk_bytes": null,
|
| 36 |
+
"chunk_size": null,
|
| 37 |
+
"staging_dtype": "float32"
|
| 38 |
+
},
|
| 39 |
+
"mock_quantization": false,
|
| 40 |
+
"moe_vram_strategy": "exclusive",
|
| 41 |
+
"moe_vram_strategy_devices": null,
|
| 42 |
+
"mse": 0.0,
|
| 43 |
+
"offload_to_disk": true,
|
| 44 |
+
"offload_to_disk_path": "/tmp/gptqmodel_71ep49kt",
|
| 45 |
+
"pack_impl": "cpu",
|
| 46 |
+
"quantizer": [
|
| 47 |
+
"gptqmodel:7.3.2"
|
| 48 |
+
],
|
| 49 |
+
"static_groups": false,
|
| 50 |
+
"true_sequential": true,
|
| 51 |
+
"uri": "https://github.com/modelcloud/gptqmodel",
|
| 52 |
+
"wait_for_submodule_finalizers": false
|
| 53 |
+
},
|
| 54 |
+
"method": "gptq",
|
| 55 |
+
"pack_dtype": "int32",
|
| 56 |
+
"quant_method": "gptq",
|
| 57 |
+
"sym": true
|
| 58 |
+
},
|
| 59 |
+
"rope_parameters": {
|
| 60 |
+
"rope_theta": 10000.0,
|
| 61 |
+
"rope_type": "default"
|
| 62 |
+
},
|
| 63 |
+
"text_config": {
|
| 64 |
+
"attention_bias": false,
|
| 65 |
+
"attention_dropout": 0.0,
|
| 66 |
+
"attn_output_gate": true,
|
| 67 |
+
"bos_token_id": 248044,
|
| 68 |
+
"dtype": "float16",
|
| 69 |
+
"eos_token_id": 248044,
|
| 70 |
+
"full_attention_interval": 4,
|
| 71 |
+
"head_dim": 256,
|
| 72 |
+
"hidden_act": "silu",
|
| 73 |
+
"hidden_size": 5120,
|
| 74 |
+
"initializer_range": 0.02,
|
| 75 |
+
"intermediate_size": 17408,
|
| 76 |
+
"layer_types": [
|
| 77 |
+
"linear_attention",
|
| 78 |
+
"linear_attention",
|
| 79 |
+
"linear_attention",
|
| 80 |
+
"full_attention",
|
| 81 |
+
"linear_attention",
|
| 82 |
+
"linear_attention",
|
| 83 |
+
"linear_attention",
|
| 84 |
+
"full_attention",
|
| 85 |
+
"linear_attention",
|
| 86 |
+
"linear_attention",
|
| 87 |
+
"linear_attention",
|
| 88 |
+
"full_attention",
|
| 89 |
+
"linear_attention",
|
| 90 |
+
"linear_attention",
|
| 91 |
+
"linear_attention",
|
| 92 |
+
"full_attention",
|
| 93 |
+
"linear_attention",
|
| 94 |
+
"linear_attention",
|
| 95 |
+
"linear_attention",
|
| 96 |
+
"full_attention",
|
| 97 |
+
"linear_attention",
|
| 98 |
+
"linear_attention",
|
| 99 |
+
"linear_attention",
|
| 100 |
+
"full_attention",
|
| 101 |
+
"linear_attention",
|
| 102 |
+
"linear_attention",
|
| 103 |
+
"linear_attention",
|
| 104 |
+
"full_attention",
|
| 105 |
+
"linear_attention",
|
| 106 |
+
"linear_attention",
|
| 107 |
+
"linear_attention",
|
| 108 |
+
"full_attention",
|
| 109 |
+
"linear_attention",
|
| 110 |
+
"linear_attention",
|
| 111 |
+
"linear_attention",
|
| 112 |
+
"full_attention",
|
| 113 |
+
"linear_attention",
|
| 114 |
+
"linear_attention",
|
| 115 |
+
"linear_attention",
|
| 116 |
+
"full_attention",
|
| 117 |
+
"linear_attention",
|
| 118 |
+
"linear_attention",
|
| 119 |
+
"linear_attention",
|
| 120 |
+
"full_attention",
|
| 121 |
+
"linear_attention",
|
| 122 |
+
"linear_attention",
|
| 123 |
+
"linear_attention",
|
| 124 |
+
"full_attention",
|
| 125 |
+
"linear_attention",
|
| 126 |
+
"linear_attention",
|
| 127 |
+
"linear_attention",
|
| 128 |
+
"full_attention",
|
| 129 |
+
"linear_attention",
|
| 130 |
+
"linear_attention",
|
| 131 |
+
"linear_attention",
|
| 132 |
+
"full_attention",
|
| 133 |
+
"linear_attention",
|
| 134 |
+
"linear_attention",
|
| 135 |
+
"linear_attention",
|
| 136 |
+
"full_attention",
|
| 137 |
+
"linear_attention",
|
| 138 |
+
"linear_attention",
|
| 139 |
+
"linear_attention",
|
| 140 |
+
"full_attention"
|
| 141 |
+
],
|
| 142 |
+
"linear_conv_kernel_dim": 4,
|
| 143 |
+
"linear_key_head_dim": 128,
|
| 144 |
+
"linear_num_key_heads": 16,
|
| 145 |
+
"linear_num_value_heads": 48,
|
| 146 |
+
"linear_value_head_dim": 128,
|
| 147 |
+
"mamba_ssm_dtype": "float32",
|
| 148 |
+
"max_position_embeddings": 262144,
|
| 149 |
+
"model_type": "qwen3_5_text",
|
| 150 |
+
"mtp_num_hidden_layers": 1,
|
| 151 |
+
"mtp_use_dedicated_embeddings": false,
|
| 152 |
+
"num_attention_heads": 24,
|
| 153 |
+
"num_hidden_layers": 64,
|
| 154 |
+
"num_key_value_heads": 4,
|
| 155 |
+
"output_gate_type": "swish",
|
| 156 |
+
"pad_token_id": 248044,
|
| 157 |
+
"partial_rotary_factor": 0.25,
|
| 158 |
+
"rms_norm_eps": 1e-06,
|
| 159 |
+
"rope_parameters": {
|
| 160 |
+
"mrope_interleaved": true,
|
| 161 |
+
"mrope_section": [
|
| 162 |
+
11,
|
| 163 |
+
11,
|
| 164 |
+
10
|
| 165 |
+
],
|
| 166 |
+
"partial_rotary_factor": 0.25,
|
| 167 |
+
"rope_theta": 10000000,
|
| 168 |
+
"rope_type": "default"
|
| 169 |
+
},
|
| 170 |
+
"tie_word_embeddings": false,
|
| 171 |
+
"use_cache": true,
|
| 172 |
+
"vocab_size": 248320
|
| 173 |
+
},
|
| 174 |
+
"tie_word_embeddings": false,
|
| 175 |
+
"transformers_version": "5.17.0",
|
| 176 |
+
"use_cache": false,
|
| 177 |
+
"video_token_id": 248057,
|
| 178 |
+
"vision_config": {
|
| 179 |
+
"deepstack_visual_indexes": [],
|
| 180 |
+
"depth": 27,
|
| 181 |
+
"dtype": "float16",
|
| 182 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 183 |
+
"hidden_size": 1152,
|
| 184 |
+
"in_channels": 3,
|
| 185 |
+
"initializer_range": 0.02,
|
| 186 |
+
"intermediate_size": 4304,
|
| 187 |
+
"model_type": "qwen3_5_vision",
|
| 188 |
+
"num_heads": 16,
|
| 189 |
+
"num_position_embeddings": 2304,
|
| 190 |
+
"out_hidden_size": 5120,
|
| 191 |
+
"patch_size": 16,
|
| 192 |
+
"rope_parameters": {
|
| 193 |
+
"rope_theta": 10000.0,
|
| 194 |
+
"rope_type": "axial"
|
| 195 |
+
},
|
| 196 |
+
"spatial_merge_size": 2,
|
| 197 |
+
"temporal_patch_size": 2
|
| 198 |
+
},
|
| 199 |
+
"vision_end_token_id": 248054,
|
| 200 |
+
"vision_start_token_id": 248053
|
| 201 |
+
}
|
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": "5.17.0"
|
| 13 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e5bdcd7b5823541039d60c369dc1f3e5b15c58681aae37805b5ba21d0273bd9
|
| 3 |
+
size 3516828472
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a6be7cb019b2de460fcb28748cf5c3c187a672d2688332b75acef70417a3e4d
|
| 3 |
+
size 4278206560
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ede155bb216a27d9fb703b1abe18c36ea8b6d24a372ccc442abc7d48e3beb67
|
| 3 |
+
size 4258595144
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbe268299f1e31a1c0ae1c91f8f4276527f1187b3a0cb7ecbe57d0642b4ea448
|
| 3 |
+
size 4284981464
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e28d12c0a428d926e0cf280c265c11a9328e3721ef545cfc0eb28fb1c87ffcc
|
| 3 |
+
size 3220838576
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"max_video_tokens": 768,
|
| 48 |
+
"merge_size": 2,
|
| 49 |
+
"min_frames": 4,
|
| 50 |
+
"patch_size": 16,
|
| 51 |
+
"resample": 3,
|
| 52 |
+
"rescale_factor": 0.00392156862745098,
|
| 53 |
+
"return_metadata": false,
|
| 54 |
+
"size": {
|
| 55 |
+
"longest_edge": 25165824,
|
| 56 |
+
"shortest_edge": 4096
|
| 57 |
+
},
|
| 58 |
+
"temporal_patch_size": 2,
|
| 59 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 60 |
+
}
|
| 61 |
+
}
|
quant_log.csv
ADDED
|
@@ -0,0 +1,401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
layer,module,loss,samples,damp,time
|
| 2 |
+
0,linear_attn.in_proj_qkv,0.0001875134,0.05000,5.047
|
| 3 |
+
0,linear_attn.in_proj_z,0.0001219498,0.05000,3.600
|
| 4 |
+
0,linear_attn.out_proj,0.0000000920,0.05000,4.258
|
| 5 |
+
0,mlp.gate_proj,0.0000010980,0.05000,3.746
|
| 6 |
+
0,mlp.up_proj,0.0000010106,0.05000,3.669
|
| 7 |
+
0,mlp.down_proj,0.0000000115,0.05000,19.200
|
| 8 |
+
1,linear_attn.in_proj_qkv,0.0000084260,0.05000,3.346
|
| 9 |
+
1,linear_attn.in_proj_z,0.0000051752,0.05000,3.416
|
| 10 |
+
1,linear_attn.out_proj,0.0000000282,0.05000,4.682
|
| 11 |
+
1,mlp.gate_proj,0.0000023540,0.05000,3.646
|
| 12 |
+
1,mlp.up_proj,0.0000022396,0.05000,3.718
|
| 13 |
+
1,mlp.down_proj,0.0000000182,0.05000,20.068
|
| 14 |
+
2,linear_attn.in_proj_qkv,0.0000121940,0.05000,3.467
|
| 15 |
+
2,linear_attn.in_proj_z,0.0000073475,0.05000,3.411
|
| 16 |
+
2,linear_attn.out_proj,0.0000000391,0.05000,4.300
|
| 17 |
+
2,mlp.gate_proj,0.0000040483,0.05000,3.674
|
| 18 |
+
2,mlp.up_proj,0.0000038140,0.05000,3.634
|
| 19 |
+
2,mlp.down_proj,0.0000000655,0.05000,19.269
|
| 20 |
+
3,self_attn.q_proj,0.0001245274,0.05000,3.450
|
| 21 |
+
3,self_attn.k_proj,0.0000093706,0.05000,3.433
|
| 22 |
+
3,self_attn.v_proj,0.0000091947,0.05000,3.280
|
| 23 |
+
3,self_attn.o_proj,0.0000000376,0.05000,4.429
|
| 24 |
+
3,mlp.gate_proj,0.0000048537,0.05000,3.547
|
| 25 |
+
3,mlp.up_proj,0.0000046599,0.05000,3.600
|
| 26 |
+
3,mlp.down_proj,0.0000000507,0.05000,19.803
|
| 27 |
+
4,linear_attn.in_proj_qkv,0.0000161314,0.05000,3.433
|
| 28 |
+
4,linear_attn.in_proj_z,0.0000103027,0.05000,3.310
|
| 29 |
+
4,linear_attn.out_proj,0.0000000642,0.05000,4.370
|
| 30 |
+
4,mlp.gate_proj,0.0000063627,0.05000,3.589
|
| 31 |
+
4,mlp.up_proj,0.0000061244,0.05000,3.665
|
| 32 |
+
4,mlp.down_proj,0.0000000622,0.05000,19.850
|
| 33 |
+
5,linear_attn.in_proj_qkv,0.0000202413,0.05000,3.477
|
| 34 |
+
5,linear_attn.in_proj_z,0.0000130437,0.05000,3.470
|
| 35 |
+
5,linear_attn.out_proj,0.0000000874,0.05000,4.543
|
| 36 |
+
5,mlp.gate_proj,0.0000081832,0.05000,3.618
|
| 37 |
+
5,mlp.up_proj,0.0000077181,0.05000,3.498
|
| 38 |
+
5,mlp.down_proj,0.0000001141,0.05000,19.969
|
| 39 |
+
6,linear_attn.in_proj_qkv,0.0000313215,0.05000,3.374
|
| 40 |
+
6,linear_attn.in_proj_z,0.0000185133,0.05000,3.341
|
| 41 |
+
6,linear_attn.out_proj,0.0000001314,0.05000,4.669
|
| 42 |
+
6,mlp.gate_proj,0.0000115287,0.05000,3.430
|
| 43 |
+
6,mlp.up_proj,0.0000107106,0.05000,3.399
|
| 44 |
+
6,mlp.down_proj,0.0000002139,0.05000,20.095
|
| 45 |
+
7,self_attn.q_proj,0.0001071727,0.05000,3.423
|
| 46 |
+
7,self_attn.k_proj,0.0000090592,0.05000,3.281
|
| 47 |
+
7,self_attn.v_proj,0.0000082231,0.05000,3.469
|
| 48 |
+
7,self_attn.o_proj,0.0000000970,0.05000,4.524
|
| 49 |
+
7,mlp.gate_proj,0.0000131028,0.05000,3.629
|
| 50 |
+
7,mlp.up_proj,0.0000122297,0.05000,3.713
|
| 51 |
+
7,mlp.down_proj,0.0000002466,0.05000,19.859
|
| 52 |
+
8,linear_attn.in_proj_qkv,0.0000335370,0.05000,3.352
|
| 53 |
+
8,linear_attn.in_proj_z,0.0000210466,0.05000,3.441
|
| 54 |
+
8,linear_attn.out_proj,0.0000001906,0.05000,4.541
|
| 55 |
+
8,mlp.gate_proj,0.0000147287,0.05000,3.623
|
| 56 |
+
8,mlp.up_proj,0.0000138598,0.05000,3.664
|
| 57 |
+
8,mlp.down_proj,0.0000002837,0.05000,19.632
|
| 58 |
+
9,linear_attn.in_proj_qkv,0.0000346269,0.05000,3.424
|
| 59 |
+
9,linear_attn.in_proj_z,0.0000209249,0.05000,3.386
|
| 60 |
+
9,linear_attn.out_proj,0.0000001952,0.05000,4.513
|
| 61 |
+
9,mlp.gate_proj,0.0000161662,0.05000,3.607
|
| 62 |
+
9,mlp.up_proj,0.0000152838,0.05000,3.539
|
| 63 |
+
9,mlp.down_proj,0.0000003229,0.05000,19.837
|
| 64 |
+
10,linear_attn.in_proj_qkv,0.0000363469,0.05000,3.374
|
| 65 |
+
10,linear_attn.in_proj_z,0.0000213424,0.05000,3.382
|
| 66 |
+
10,linear_attn.out_proj,0.0000002151,0.05000,4.175
|
| 67 |
+
10,mlp.gate_proj,0.0000166966,0.05000,3.580
|
| 68 |
+
10,mlp.up_proj,0.0000157878,0.05000,3.585
|
| 69 |
+
10,mlp.down_proj,0.0000003487,0.05000,20.049
|
| 70 |
+
11,self_attn.q_proj,0.0000967023,0.05000,3.419
|
| 71 |
+
11,self_attn.k_proj,0.0000086262,0.05000,3.336
|
| 72 |
+
11,self_attn.v_proj,0.0000077083,0.05000,3.357
|
| 73 |
+
11,self_attn.o_proj,0.0000001601,0.05000,4.715
|
| 74 |
+
11,mlp.gate_proj,0.0000174285,0.05000,3.607
|
| 75 |
+
11,mlp.up_proj,0.0000166466,0.05000,3.737
|
| 76 |
+
11,mlp.down_proj,0.0000003840,0.05000,19.760
|
| 77 |
+
12,linear_attn.in_proj_qkv,0.0000407387,0.05000,3.362
|
| 78 |
+
12,linear_attn.in_proj_z,0.0000238910,0.05000,3.374
|
| 79 |
+
12,linear_attn.out_proj,0.0000003256,0.05000,4.657
|
| 80 |
+
12,mlp.gate_proj,0.0000179439,0.05000,3.618
|
| 81 |
+
12,mlp.up_proj,0.0000170767,0.05000,3.622
|
| 82 |
+
12,mlp.down_proj,0.0000004221,0.05000,20.026
|
| 83 |
+
13,linear_attn.in_proj_qkv,0.0000423863,0.05000,3.368
|
| 84 |
+
13,linear_attn.in_proj_z,0.0000236715,0.05000,3.375
|
| 85 |
+
13,linear_attn.out_proj,0.0000003480,0.05000,4.511
|
| 86 |
+
13,mlp.gate_proj,0.0000190767,0.05000,3.586
|
| 87 |
+
13,mlp.up_proj,0.0000182304,0.05000,3.604
|
| 88 |
+
13,mlp.down_proj,0.0000004818,0.05000,19.904
|
| 89 |
+
14,linear_attn.in_proj_qkv,0.0000465315,0.05000,3.408
|
| 90 |
+
14,linear_attn.in_proj_z,0.0000267258,0.05000,3.322
|
| 91 |
+
14,linear_attn.out_proj,0.0000004123,0.05000,4.219
|
| 92 |
+
14,mlp.gate_proj,0.0000201285,0.05000,3.596
|
| 93 |
+
14,mlp.up_proj,0.0000193038,0.05000,3.657
|
| 94 |
+
14,mlp.down_proj,0.0000005295,0.05000,19.878
|
| 95 |
+
15,self_attn.q_proj,0.0000810775,0.05000,3.366
|
| 96 |
+
15,self_attn.k_proj,0.0000073659,0.05000,3.278
|
| 97 |
+
15,self_attn.v_proj,0.0000070440,0.05000,3.321
|
| 98 |
+
15,self_attn.o_proj,0.0000002425,0.05000,4.318
|
| 99 |
+
15,mlp.gate_proj,0.0000225692,0.05000,3.584
|
| 100 |
+
15,mlp.up_proj,0.0000218241,0.05000,3.645
|
| 101 |
+
15,mlp.down_proj,0.0000006127,0.05000,19.794
|
| 102 |
+
16,linear_attn.in_proj_qkv,0.0000488206,0.05000,3.356
|
| 103 |
+
16,linear_attn.in_proj_z,0.0000276689,0.05000,3.421
|
| 104 |
+
16,linear_attn.out_proj,0.0000004429,0.05000,4.732
|
| 105 |
+
16,mlp.gate_proj,0.0000247896,0.05000,3.730
|
| 106 |
+
16,mlp.up_proj,0.0000237803,0.05000,3.626
|
| 107 |
+
16,mlp.down_proj,0.0000007197,0.05000,19.901
|
| 108 |
+
17,linear_attn.in_proj_qkv,0.0000550496,0.05000,3.323
|
| 109 |
+
17,linear_attn.in_proj_z,0.0000277792,0.05000,3.372
|
| 110 |
+
17,linear_attn.out_proj,0.0000006079,0.05000,4.200
|
| 111 |
+
17,mlp.gate_proj,0.0000282144,0.05000,3.658
|
| 112 |
+
17,mlp.up_proj,0.0000270485,0.05000,3.605
|
| 113 |
+
17,mlp.down_proj,0.0000009754,0.05000,19.268
|
| 114 |
+
18,linear_attn.in_proj_qkv,0.0000591723,0.05000,3.503
|
| 115 |
+
18,linear_attn.in_proj_z,0.0000325143,0.05000,3.412
|
| 116 |
+
18,linear_attn.out_proj,0.0000007184,0.05000,4.206
|
| 117 |
+
18,mlp.gate_proj,0.0000343047,0.05000,3.497
|
| 118 |
+
18,mlp.up_proj,0.0000316996,0.05000,3.419
|
| 119 |
+
18,mlp.down_proj,0.0000015595,0.05000,19.809
|
| 120 |
+
19,self_attn.q_proj,0.0000946438,0.05000,3.407
|
| 121 |
+
19,self_attn.k_proj,0.0000091042,0.05000,3.320
|
| 122 |
+
19,self_attn.v_proj,0.0000105348,0.05000,3.377
|
| 123 |
+
19,self_attn.o_proj,0.0000009657,0.05000,4.229
|
| 124 |
+
19,mlp.gate_proj,0.0000413419,0.05000,3.388
|
| 125 |
+
19,mlp.up_proj,0.0000390534,0.05000,3.399
|
| 126 |
+
19,mlp.down_proj,0.0000020981,0.05000,19.962
|
| 127 |
+
20,linear_attn.in_proj_qkv,0.0001012108,0.05000,3.451
|
| 128 |
+
20,linear_attn.in_proj_z,0.0000563891,0.05000,3.368
|
| 129 |
+
20,linear_attn.out_proj,0.0000010806,0.05000,4.386
|
| 130 |
+
20,mlp.gate_proj,0.0000497572,0.05000,3.443
|
| 131 |
+
20,mlp.up_proj,0.0000463250,0.05000,3.386
|
| 132 |
+
20,mlp.down_proj,0.0000024770,0.05000,20.195
|
| 133 |
+
21,linear_attn.in_proj_qkv,0.0001247596,0.05000,3.436
|
| 134 |
+
21,linear_attn.in_proj_z,0.0000784595,0.05000,3.401
|
| 135 |
+
21,linear_attn.out_proj,0.0000013137,0.05000,4.319
|
| 136 |
+
21,mlp.gate_proj,0.0000543633,0.05000,3.718
|
| 137 |
+
21,mlp.up_proj,0.0000509195,0.05000,3.614
|
| 138 |
+
21,mlp.down_proj,0.0000026210,0.05000,19.802
|
| 139 |
+
22,linear_attn.in_proj_qkv,0.0001078710,0.05000,3.400
|
| 140 |
+
22,linear_attn.in_proj_z,0.0000651087,0.05000,3.387
|
| 141 |
+
22,linear_attn.out_proj,0.0000012218,0.05000,4.314
|
| 142 |
+
22,mlp.gate_proj,0.0000638888,0.05000,3.407
|
| 143 |
+
22,mlp.up_proj,0.0000570901,0.05000,3.380
|
| 144 |
+
22,mlp.down_proj,0.0000030183,0.05000,20.060
|
| 145 |
+
23,self_attn.q_proj,0.0001202280,0.05000,3.482
|
| 146 |
+
23,self_attn.k_proj,0.0000128030,0.05000,3.452
|
| 147 |
+
23,self_attn.v_proj,0.0000132724,0.05000,3.405
|
| 148 |
+
23,self_attn.o_proj,0.0000012097,0.05000,4.359
|
| 149 |
+
23,mlp.gate_proj,0.0000644577,0.05000,3.418
|
| 150 |
+
23,mlp.up_proj,0.0000598883,0.05000,3.353
|
| 151 |
+
23,mlp.down_proj,0.0000030069,0.05000,20.250
|
| 152 |
+
24,linear_attn.in_proj_qkv,0.0001046689,0.05000,3.412
|
| 153 |
+
24,linear_attn.in_proj_z,0.0000585030,0.05000,3.381
|
| 154 |
+
24,linear_attn.out_proj,0.0000015503,0.05000,4.701
|
| 155 |
+
24,mlp.gate_proj,0.0000698194,0.05000,3.404
|
| 156 |
+
24,mlp.up_proj,0.0000649239,0.05000,3.475
|
| 157 |
+
24,mlp.down_proj,0.0000033530,0.05000,19.889
|
| 158 |
+
25,linear_attn.in_proj_qkv,0.0001064825,0.05000,3.407
|
| 159 |
+
25,linear_attn.in_proj_z,0.0000553369,0.05000,3.377
|
| 160 |
+
25,linear_attn.out_proj,0.0000016094,0.05000,4.492
|
| 161 |
+
25,mlp.gate_proj,0.0000675068,0.05000,3.567
|
| 162 |
+
25,mlp.up_proj,0.0000659441,0.05000,3.429
|
| 163 |
+
25,mlp.down_proj,0.0000032718,0.05000,19.717
|
| 164 |
+
26,linear_attn.in_proj_qkv,0.0000975879,0.05000,3.365
|
| 165 |
+
26,linear_attn.in_proj_z,0.0000485795,0.05000,3.338
|
| 166 |
+
26,linear_attn.out_proj,0.0000018329,0.05000,4.444
|
| 167 |
+
26,mlp.gate_proj,0.0000635161,0.05000,3.491
|
| 168 |
+
26,mlp.up_proj,0.0000651426,0.05000,3.401
|
| 169 |
+
26,mlp.down_proj,0.0000033969,0.05000,20.069
|
| 170 |
+
27,self_attn.q_proj,0.0001110294,0.05000,3.429
|
| 171 |
+
27,self_attn.k_proj,0.0000121089,0.05000,3.430
|
| 172 |
+
27,self_attn.v_proj,0.0000107309,0.05000,3.403
|
| 173 |
+
27,self_attn.o_proj,0.0000024848,0.05000,4.664
|
| 174 |
+
27,mlp.gate_proj,0.0000640733,0.05000,3.401
|
| 175 |
+
27,mlp.up_proj,0.0000679464,0.05000,3.364
|
| 176 |
+
27,mlp.down_proj,0.0000034249,0.05000,19.875
|
| 177 |
+
28,linear_attn.in_proj_qkv,0.0000930331,0.05000,3.377
|
| 178 |
+
28,linear_attn.in_proj_z,0.0000434331,0.05000,3.378
|
| 179 |
+
28,linear_attn.out_proj,0.0000023051,0.05000,4.631
|
| 180 |
+
28,mlp.gate_proj,0.0000606052,0.05000,3.504
|
| 181 |
+
28,mlp.up_proj,0.0000653091,0.05000,3.444
|
| 182 |
+
28,mlp.down_proj,0.0000033410,0.05000,19.783
|
| 183 |
+
29,linear_attn.in_proj_qkv,0.0000982330,0.05000,3.512
|
| 184 |
+
29,linear_attn.in_proj_z,0.0000446388,0.05000,3.456
|
| 185 |
+
29,linear_attn.out_proj,0.0000019755,0.05000,4.796
|
| 186 |
+
29,mlp.gate_proj,0.0000600239,0.05000,3.465
|
| 187 |
+
29,mlp.up_proj,0.0000650754,0.05000,3.389
|
| 188 |
+
29,mlp.down_proj,0.0000033489,0.05000,19.986
|
| 189 |
+
30,linear_attn.in_proj_qkv,0.0000990092,0.05000,3.499
|
| 190 |
+
30,linear_attn.in_proj_z,0.0000460740,0.05000,3.535
|
| 191 |
+
30,linear_attn.out_proj,0.0000027713,0.05000,4.290
|
| 192 |
+
30,mlp.gate_proj,0.0000586988,0.05000,3.450
|
| 193 |
+
30,mlp.up_proj,0.0000652214,0.05000,3.376
|
| 194 |
+
30,mlp.down_proj,0.0000035167,0.05000,19.259
|
| 195 |
+
31,self_attn.q_proj,0.0000996605,0.05000,3.587
|
| 196 |
+
31,self_attn.k_proj,0.0000111569,0.05000,3.340
|
| 197 |
+
31,self_attn.v_proj,0.0000124979,0.05000,3.284
|
| 198 |
+
31,self_attn.o_proj,0.0000032841,0.05000,4.588
|
| 199 |
+
31,mlp.gate_proj,0.0000621026,0.05000,3.393
|
| 200 |
+
31,mlp.up_proj,0.0000705350,0.05000,3.489
|
| 201 |
+
31,mlp.down_proj,0.0000037427,0.05000,19.898
|
| 202 |
+
32,linear_attn.in_proj_qkv,0.0001034332,0.05000,3.390
|
| 203 |
+
32,linear_attn.in_proj_z,0.0000447437,0.05000,3.362
|
| 204 |
+
32,linear_attn.out_proj,0.0000026840,0.05000,4.558
|
| 205 |
+
32,mlp.gate_proj,0.0000665092,0.05000,3.422
|
| 206 |
+
32,mlp.up_proj,0.0000758465,0.05000,3.577
|
| 207 |
+
32,mlp.down_proj,0.0000040324,0.05000,19.879
|
| 208 |
+
33,linear_attn.in_proj_qkv,0.0001229125,0.05000,3.355
|
| 209 |
+
33,linear_attn.in_proj_z,0.0000498881,0.05000,3.414
|
| 210 |
+
33,linear_attn.out_proj,0.0000030164,0.05000,4.420
|
| 211 |
+
33,mlp.gate_proj,0.0000694197,0.05000,3.448
|
| 212 |
+
33,mlp.up_proj,0.0000796794,0.05000,3.428
|
| 213 |
+
33,mlp.down_proj,0.0000043031,0.05000,20.073
|
| 214 |
+
34,linear_attn.in_proj_qkv,0.0001209657,0.05000,3.436
|
| 215 |
+
34,linear_attn.in_proj_z,0.0000544027,0.05000,3.406
|
| 216 |
+
34,linear_attn.out_proj,0.0000033173,0.05000,4.549
|
| 217 |
+
34,mlp.gate_proj,0.0000794162,0.05000,3.515
|
| 218 |
+
34,mlp.up_proj,0.0000881450,0.05000,3.428
|
| 219 |
+
34,mlp.down_proj,0.0000062640,0.05000,19.175
|
| 220 |
+
35,self_attn.q_proj,0.0001283740,0.05000,3.400
|
| 221 |
+
35,self_attn.k_proj,0.0000142974,0.05000,3.401
|
| 222 |
+
35,self_attn.v_proj,0.0000204211,0.05000,3.369
|
| 223 |
+
35,self_attn.o_proj,0.0000063107,0.05000,4.471
|
| 224 |
+
35,mlp.gate_proj,0.0000847984,0.05000,3.419
|
| 225 |
+
35,mlp.up_proj,0.0000938787,0.05000,3.488
|
| 226 |
+
35,mlp.down_proj,0.0000076465,0.05000,19.097
|
| 227 |
+
36,linear_attn.in_proj_qkv,0.0001809431,0.05000,3.504
|
| 228 |
+
36,linear_attn.in_proj_z,0.0000895336,0.05000,3.301
|
| 229 |
+
36,linear_attn.out_proj,0.0000028699,0.05000,4.181
|
| 230 |
+
36,mlp.gate_proj,0.0000981509,0.05000,3.593
|
| 231 |
+
36,mlp.up_proj,0.0000969824,0.05000,3.487
|
| 232 |
+
36,mlp.down_proj,0.0000073422,0.05000,20.034
|
| 233 |
+
37,linear_attn.in_proj_qkv,0.0002049499,0.05000,3.467
|
| 234 |
+
37,linear_attn.in_proj_z,0.0001139284,0.05000,3.508
|
| 235 |
+
37,linear_attn.out_proj,0.0000033859,0.05000,4.287
|
| 236 |
+
37,mlp.gate_proj,0.0001021835,0.05000,3.434
|
| 237 |
+
37,mlp.up_proj,0.0000994810,0.05000,3.357
|
| 238 |
+
37,mlp.down_proj,0.0000070346,0.05000,19.804
|
| 239 |
+
38,linear_attn.in_proj_qkv,0.0001840009,0.05000,3.448
|
| 240 |
+
38,linear_attn.in_proj_z,0.0001053962,0.05000,3.354
|
| 241 |
+
38,linear_attn.out_proj,0.0000024888,0.05000,4.276
|
| 242 |
+
38,mlp.gate_proj,0.0001379317,0.05000,3.462
|
| 243 |
+
38,mlp.up_proj,0.0001161506,0.05000,3.504
|
| 244 |
+
38,mlp.down_proj,0.0000075581,0.05000,19.357
|
| 245 |
+
39,self_attn.q_proj,0.0001642478,0.05000,3.467
|
| 246 |
+
39,self_attn.k_proj,0.0000188702,0.05000,3.282
|
| 247 |
+
39,self_attn.v_proj,0.0000230175,0.05000,3.260
|
| 248 |
+
39,self_attn.o_proj,0.0000039576,0.05000,4.550
|
| 249 |
+
39,mlp.gate_proj,0.0001248991,0.05000,3.423
|
| 250 |
+
39,mlp.up_proj,0.0001127895,0.05000,3.417
|
| 251 |
+
39,mlp.down_proj,0.0000069542,0.05000,20.119
|
| 252 |
+
40,linear_attn.in_proj_qkv,0.0001818389,0.05000,3.438
|
| 253 |
+
40,linear_attn.in_proj_z,0.0000989128,0.05000,3.392
|
| 254 |
+
40,linear_attn.out_proj,0.0000029743,0.05000,4.769
|
| 255 |
+
40,mlp.gate_proj,0.0001330623,0.05000,3.499
|
| 256 |
+
40,mlp.up_proj,0.0001182550,0.05000,3.486
|
| 257 |
+
40,mlp.down_proj,0.0000066820,0.05000,19.767
|
| 258 |
+
41,linear_attn.in_proj_qkv,0.0001613590,0.05000,3.386
|
| 259 |
+
41,linear_attn.in_proj_z,0.0000869866,0.05000,3.452
|
| 260 |
+
41,linear_attn.out_proj,0.0000025391,0.05000,4.466
|
| 261 |
+
41,mlp.gate_proj,0.0001135433,0.05000,3.511
|
| 262 |
+
41,mlp.up_proj,0.0001116996,0.05000,3.454
|
| 263 |
+
41,mlp.down_proj,0.0000064351,0.05000,19.248
|
| 264 |
+
42,linear_attn.in_proj_qkv,0.0001493634,0.05000,3.397
|
| 265 |
+
42,linear_attn.in_proj_z,0.0000771783,0.05000,3.443
|
| 266 |
+
42,linear_attn.out_proj,0.0000033930,0.05000,4.281
|
| 267 |
+
42,mlp.gate_proj,0.0001023805,0.05000,3.387
|
| 268 |
+
42,mlp.up_proj,0.0001074726,0.05000,3.393
|
| 269 |
+
42,mlp.down_proj,0.0000069609,0.05000,19.069
|
| 270 |
+
43,self_attn.q_proj,0.0001514830,0.05000,3.455
|
| 271 |
+
43,self_attn.k_proj,0.0000182187,0.05000,3.363
|
| 272 |
+
43,self_attn.v_proj,0.0000218411,0.05000,3.391
|
| 273 |
+
43,self_attn.o_proj,0.0000057885,0.05000,4.624
|
| 274 |
+
43,mlp.gate_proj,0.0000955749,0.05000,3.441
|
| 275 |
+
43,mlp.up_proj,0.0001049484,0.05000,3.429
|
| 276 |
+
43,mlp.down_proj,0.0000066124,0.05000,19.695
|
| 277 |
+
44,linear_attn.in_proj_qkv,0.0001365754,0.05000,3.384
|
| 278 |
+
44,linear_attn.in_proj_z,0.0000657620,0.05000,3.459
|
| 279 |
+
44,linear_attn.out_proj,0.0000043672,0.05000,4.584
|
| 280 |
+
44,mlp.gate_proj,0.0000941076,0.05000,3.366
|
| 281 |
+
44,mlp.up_proj,0.0001041225,0.05000,3.420
|
| 282 |
+
44,mlp.down_proj,0.0000070493,0.05000,19.959
|
| 283 |
+
45,linear_attn.in_proj_qkv,0.0001355476,0.05000,3.469
|
| 284 |
+
45,linear_attn.in_proj_z,0.0000649521,0.05000,3.456
|
| 285 |
+
45,linear_attn.out_proj,0.0000033597,0.05000,4.204
|
| 286 |
+
45,mlp.gate_proj,0.0000928877,0.05000,3.572
|
| 287 |
+
45,mlp.up_proj,0.0001034922,0.05000,3.487
|
| 288 |
+
45,mlp.down_proj,0.0000071431,0.05000,19.906
|
| 289 |
+
46,linear_attn.in_proj_qkv,0.0001428744,0.05000,3.356
|
| 290 |
+
46,linear_attn.in_proj_z,0.0000694136,0.05000,3.323
|
| 291 |
+
46,linear_attn.out_proj,0.0000057727,0.05000,4.411
|
| 292 |
+
46,mlp.gate_proj,0.0000918290,0.05000,3.408
|
| 293 |
+
46,mlp.up_proj,0.0001048476,0.05000,3.408
|
| 294 |
+
46,mlp.down_proj,0.0000081377,0.05000,19.062
|
| 295 |
+
47,self_attn.q_proj,0.0001520523,0.05000,3.417
|
| 296 |
+
47,self_attn.k_proj,0.0000169538,0.05000,3.526
|
| 297 |
+
47,self_attn.v_proj,0.0000261542,0.05000,3.514
|
| 298 |
+
47,self_attn.o_proj,0.0000056634,0.05000,4.737
|
| 299 |
+
47,mlp.gate_proj,0.0001000843,0.05000,3.477
|
| 300 |
+
47,mlp.up_proj,0.0001137528,0.05000,3.391
|
| 301 |
+
47,mlp.down_proj,0.0000092483,0.05000,18.996
|
| 302 |
+
48,linear_attn.in_proj_qkv,0.0001542266,0.05000,3.352
|
| 303 |
+
48,linear_attn.in_proj_z,0.0000721988,0.05000,3.324
|
| 304 |
+
48,linear_attn.out_proj,0.0000055275,0.05000,4.236
|
| 305 |
+
48,mlp.gate_proj,0.0001116088,0.05000,3.401
|
| 306 |
+
48,mlp.up_proj,0.0001255251,0.05000,3.413
|
| 307 |
+
48,mlp.down_proj,0.0000115547,0.05000,19.409
|
| 308 |
+
49,linear_attn.in_proj_qkv,0.0001860563,0.05000,3.407
|
| 309 |
+
49,linear_attn.in_proj_z,0.0000772959,0.05000,3.422
|
| 310 |
+
49,linear_attn.out_proj,0.0000066156,0.05000,4.669
|
| 311 |
+
49,mlp.gate_proj,0.0001232557,0.05000,3.485
|
| 312 |
+
49,mlp.up_proj,0.0001360974,0.05000,3.471
|
| 313 |
+
49,mlp.down_proj,0.0000155663,0.05000,19.225
|
| 314 |
+
50,linear_attn.in_proj_qkv,0.0001931200,0.05000,3.414
|
| 315 |
+
50,linear_attn.in_proj_z,0.0000869541,0.05000,3.489
|
| 316 |
+
50,linear_attn.out_proj,0.0000105768,0.05000,4.412
|
| 317 |
+
50,mlp.gate_proj,0.0001528666,0.05000,3.497
|
| 318 |
+
50,mlp.up_proj,0.0001599340,0.05000,3.381
|
| 319 |
+
50,mlp.down_proj,0.0000279666,0.05000,19.065
|
| 320 |
+
51,self_attn.q_proj,0.0002079514,0.05000,3.382
|
| 321 |
+
51,self_attn.k_proj,0.0000235831,0.05000,3.360
|
| 322 |
+
51,self_attn.v_proj,0.0000562244,0.05000,3.317
|
| 323 |
+
51,self_attn.o_proj,0.0000166848,0.05000,4.648
|
| 324 |
+
51,mlp.gate_proj,0.0001683190,0.05000,3.497
|
| 325 |
+
51,mlp.up_proj,0.0001833826,0.05000,3.424
|
| 326 |
+
51,mlp.down_proj,0.0000371511,0.05000,19.151
|
| 327 |
+
52,linear_attn.in_proj_qkv,0.0003039086,0.05000,3.355
|
| 328 |
+
52,linear_attn.in_proj_z,0.0001354950,0.05000,3.369
|
| 329 |
+
52,linear_attn.out_proj,0.0000116350,0.05000,4.238
|
| 330 |
+
52,mlp.gate_proj,0.0002092390,0.05000,3.672
|
| 331 |
+
52,mlp.up_proj,0.0002001853,0.05000,3.496
|
| 332 |
+
52,mlp.down_proj,0.0000364823,0.05000,19.271
|
| 333 |
+
53,linear_attn.in_proj_qkv,0.0003039866,0.05000,3.393
|
| 334 |
+
53,linear_attn.in_proj_z,0.0001456938,0.05000,3.427
|
| 335 |
+
53,linear_attn.out_proj,0.0000130828,0.05000,4.290
|
| 336 |
+
53,mlp.gate_proj,0.0002350519,0.05000,3.645
|
| 337 |
+
53,mlp.up_proj,0.0002151209,0.05000,3.720
|
| 338 |
+
53,mlp.down_proj,0.0000394850,0.05000,20.022
|
| 339 |
+
54,linear_attn.in_proj_qkv,0.0002977225,0.05000,3.598
|
| 340 |
+
54,linear_attn.in_proj_z,0.0001563214,0.05000,3.557
|
| 341 |
+
54,linear_attn.out_proj,0.0000133356,0.05000,4.270
|
| 342 |
+
54,mlp.gate_proj,0.0003014571,0.05000,3.595
|
| 343 |
+
54,mlp.up_proj,0.0002609173,0.05000,3.608
|
| 344 |
+
54,mlp.down_proj,0.0000583155,0.05000,19.488
|
| 345 |
+
55,self_attn.q_proj,0.0002922807,0.05000,3.472
|
| 346 |
+
55,self_attn.k_proj,0.0000363570,0.05000,3.429
|
| 347 |
+
55,self_attn.v_proj,0.0000761034,0.05000,3.313
|
| 348 |
+
55,self_attn.o_proj,0.0000175325,0.05000,4.336
|
| 349 |
+
55,mlp.gate_proj,0.0002877440,0.05000,3.679
|
| 350 |
+
55,mlp.up_proj,0.0002615125,0.05000,3.660
|
| 351 |
+
55,mlp.down_proj,0.0000485600,0.05000,19.807
|
| 352 |
+
56,linear_attn.in_proj_qkv,0.0003531279,0.05000,3.485
|
| 353 |
+
56,linear_attn.in_proj_z,0.0001725986,0.05000,3.544
|
| 354 |
+
56,linear_attn.out_proj,0.0000224370,0.05000,4.217
|
| 355 |
+
56,mlp.gate_proj,0.0003217152,0.05000,3.547
|
| 356 |
+
56,mlp.up_proj,0.0002847938,0.05000,3.508
|
| 357 |
+
56,mlp.down_proj,0.0000474346,0.05000,19.400
|
| 358 |
+
57,linear_attn.in_proj_qkv,0.0003828646,0.05000,3.537
|
| 359 |
+
57,linear_attn.in_proj_z,0.0001851699,0.05000,3.507
|
| 360 |
+
57,linear_attn.out_proj,0.0000195164,0.05000,4.272
|
| 361 |
+
57,mlp.gate_proj,0.0003790990,0.05000,3.603
|
| 362 |
+
57,mlp.up_proj,0.0003301217,0.05000,3.602
|
| 363 |
+
57,mlp.down_proj,0.0000483391,0.05000,19.424
|
| 364 |
+
58,linear_attn.in_proj_qkv,0.0003668988,0.05000,3.448
|
| 365 |
+
58,linear_attn.in_proj_z,0.0001938522,0.05000,3.573
|
| 366 |
+
58,linear_attn.out_proj,0.0000176786,0.05000,4.290
|
| 367 |
+
58,mlp.gate_proj,0.0004433212,0.05000,3.719
|
| 368 |
+
58,mlp.up_proj,0.0003853720,0.05000,3.494
|
| 369 |
+
58,mlp.down_proj,0.0000620007,0.05000,19.614
|
| 370 |
+
59,self_attn.q_proj,0.0003708352,0.05000,3.431
|
| 371 |
+
59,self_attn.k_proj,0.0000490168,0.05000,3.433
|
| 372 |
+
59,self_attn.v_proj,0.0001720313,0.05000,3.233
|
| 373 |
+
59,self_attn.o_proj,0.0000512811,0.05000,4.266
|
| 374 |
+
59,mlp.gate_proj,0.0004437143,0.05000,3.502
|
| 375 |
+
59,mlp.up_proj,0.0003945673,0.05000,3.576
|
| 376 |
+
59,mlp.down_proj,0.0000747544,0.05000,19.553
|
| 377 |
+
60,linear_attn.in_proj_qkv,0.0004550224,0.05000,3.575
|
| 378 |
+
60,linear_attn.in_proj_z,0.0002112488,0.05000,3.486
|
| 379 |
+
60,linear_attn.out_proj,0.0000401903,0.05000,4.246
|
| 380 |
+
60,mlp.gate_proj,0.0004452997,0.05000,3.741
|
| 381 |
+
60,mlp.up_proj,0.0003993977,0.05000,3.663
|
| 382 |
+
60,mlp.down_proj,0.0000850615,0.05000,19.659
|
| 383 |
+
61,linear_attn.in_proj_qkv,0.0003298280,0.05000,3.599
|
| 384 |
+
61,linear_attn.in_proj_z,0.0001861431,0.05000,3.686
|
| 385 |
+
61,linear_attn.out_proj,0.0000387131,0.05000,4.322
|
| 386 |
+
61,mlp.gate_proj,0.0004690023,0.05000,3.480
|
| 387 |
+
61,mlp.up_proj,0.0004204754,0.05000,3.439
|
| 388 |
+
61,mlp.down_proj,0.0000991856,0.05000,19.613
|
| 389 |
+
62,linear_attn.in_proj_qkv,0.0003626746,0.05000,3.421
|
| 390 |
+
62,linear_attn.in_proj_z,0.0001904491,0.05000,3.449
|
| 391 |
+
62,linear_attn.out_proj,0.0001057322,0.05000,4.374
|
| 392 |
+
62,mlp.gate_proj,0.0004196932,0.05000,3.465
|
| 393 |
+
62,mlp.up_proj,0.0003783500,0.05000,3.509
|
| 394 |
+
62,mlp.down_proj,0.0001432450,0.05000,19.549
|
| 395 |
+
63,self_attn.q_proj,0.0003314561,0.05000,3.495
|
| 396 |
+
63,self_attn.k_proj,0.0000469694,0.05000,3.293
|
| 397 |
+
63,self_attn.v_proj,0.0001386396,0.05000,3.369
|
| 398 |
+
63,self_attn.o_proj,0.0001186404,0.05000,4.551
|
| 399 |
+
63,mlp.gate_proj,0.0003601319,0.05000,3.554
|
| 400 |
+
63,mlp.up_proj,0.0003123934,0.05000,3.514
|
| 401 |
+
63,mlp.down_proj,0.0003064664,0.05000,19.412
|
quantize_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bits": 4,
|
| 3 |
+
"dynamic": {
|
| 4 |
+
"-:.*mtp.*": {}
|
| 5 |
+
},
|
| 6 |
+
"group_size": 128,
|
| 7 |
+
"desc_act": false,
|
| 8 |
+
"lm_head": false,
|
| 9 |
+
"method": "gptq",
|
| 10 |
+
"quant_method": "gptq",
|
| 11 |
+
"format": "gptq",
|
| 12 |
+
"checkpoint_format": "gptq",
|
| 13 |
+
"pack_dtype": "int32",
|
| 14 |
+
"meta": {
|
| 15 |
+
"quantizer": [
|
| 16 |
+
"gptqmodel:7.3.2"
|
| 17 |
+
],
|
| 18 |
+
"uri": "https://github.com/modelcloud/gptqmodel",
|
| 19 |
+
"damp_percent": 0.05,
|
| 20 |
+
"damp_auto_increment": 0.01,
|
| 21 |
+
"static_groups": false,
|
| 22 |
+
"true_sequential": true,
|
| 23 |
+
"mse": 0.0,
|
| 24 |
+
"gptaq": null,
|
| 25 |
+
"foem": null,
|
| 26 |
+
"act_group_aware": true,
|
| 27 |
+
"fallback": {
|
| 28 |
+
"strategy": "rtn",
|
| 29 |
+
"threshold": "0.5%",
|
| 30 |
+
"smooth": null
|
| 31 |
+
},
|
| 32 |
+
"offload_to_disk": true,
|
| 33 |
+
"offload_to_disk_path": null,
|
| 34 |
+
"pack_impl": "cpu",
|
| 35 |
+
"gc_mode": "interval",
|
| 36 |
+
"wait_for_submodule_finalizers": false,
|
| 37 |
+
"auto_forward_data_parallel": true,
|
| 38 |
+
"dense_vram_strategy": "exclusive",
|
| 39 |
+
"dense_vram_strategy_devices": null,
|
| 40 |
+
"moe_vram_strategy": "exclusive",
|
| 41 |
+
"moe_vram_strategy_devices": null,
|
| 42 |
+
"mock_quantization": false,
|
| 43 |
+
"hessian": {
|
| 44 |
+
"chunk_size": null,
|
| 45 |
+
"chunk_bytes": null,
|
| 46 |
+
"staging_dtype": "float32"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"sym": true
|
| 50 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f399b3cd12fa270d51457bb749fb30863521e8359b8a27059c71b6c2f7d6dd6c
|
| 3 |
+
size 19989424
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"audio_bos_token": "<|audio_start|>",
|
| 4 |
+
"audio_eos_token": "<|audio_end|>",
|
| 5 |
+
"audio_token": "<|audio_pad|>",
|
| 6 |
+
"backend": "tokenizers",
|
| 7 |
+
"bos_token": null,
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"eos_token": "<|im_end|>",
|
| 10 |
+
"errors": "replace",
|
| 11 |
+
"image_token": "<|image_pad|>",
|
| 12 |
+
"is_local": true,
|
| 13 |
+
"local_files_only": false,
|
| 14 |
+
"model_max_length": 262144,
|
| 15 |
+
"model_specific_special_tokens": {
|
| 16 |
+
"audio_bos_token": "<|audio_start|>",
|
| 17 |
+
"audio_eos_token": "<|audio_end|>",
|
| 18 |
+
"audio_token": "<|audio_pad|>",
|
| 19 |
+
"image_token": "<|image_pad|>",
|
| 20 |
+
"video_token": "<|video_pad|>",
|
| 21 |
+
"vision_bos_token": "<|vision_start|>",
|
| 22 |
+
"vision_eos_token": "<|vision_end|>"
|
| 23 |
+
},
|
| 24 |
+
"pad_token": "<|endoftext|>",
|
| 25 |
+
"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+",
|
| 26 |
+
"processor_class": "Qwen3VLProcessor",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null,
|
| 30 |
+
"video_token": "<|video_pad|>",
|
| 31 |
+
"vision_bos_token": "<|vision_start|>",
|
| 32 |
+
"vision_eos_token": "<|vision_end|>"
|
| 33 |
+
}
|
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
|
|
|