Text Generation
Transformers
Safetensors
English
French
qwen4_exp
image-text-to-text
Mixture of Experts
nvfp4
vllm
canada
tool-use
speculative-decoding
conversational
8-bit precision
modelopt
Instructions to use rmonsurate/Maple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rmonsurate/Maple with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="rmonsurate/Maple") 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("rmonsurate/Maple") model = AutoModelForMultimodalLM.from_pretrained("rmonsurate/Maple", 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 rmonsurate/Maple with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rmonsurate/Maple" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rmonsurate/Maple", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/rmonsurate/Maple
- SGLang
How to use rmonsurate/Maple 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 "rmonsurate/Maple" \ --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": "rmonsurate/Maple", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "rmonsurate/Maple" \ --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": "rmonsurate/Maple", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use rmonsurate/Maple with Docker Model Runner:
docker model run hf.co/rmonsurate/Maple
Commit ·
63da27c
0
Parent(s):
Initial public release
Browse files- .gitattributes +36 -0
- LICENSE +16 -0
- README.md +94 -0
- SHA256SUMS +16 -0
- chat_template.jinja +170 -0
- config.json +907 -0
- generation_config.json +12 -0
- hf_quant_config.json +188 -0
- merges.txt +0 -0
- model-00000.safetensors +3 -0
- model-00001.safetensors +3 -0
- model-00002.safetensors +3 -0
- model-00003.safetensors +3 -0
- model-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +21 -0
- tokenizer.json +3 -0
- tokenizer_config.json +305 -0
- video_preprocessor_config.json +21 -0
- vocab.json +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Qwen Community License 1.0
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Qwen
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software, including the model weights, parameters, configuration files, inference code and associated documentation files (collectively, the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, sell, deploy, host, fine-tune, and create derivative works from (collectively, "Use" or "Using") copies of the Software; and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 6 |
+
|
| 7 |
+
1. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. If the Software (or any derivative works thereof) is Used for any of the licensee's commercial products or services that have more than 100,000,000 monthly active users or US$ 20,000,000 (or equivalent in other currencies) monthly revenue, respective model name must be prominently displayed on the user interface of such product or service; and,
|
| 8 |
+
|
| 9 |
+
2. If the licensee or any of its affiliates conducts a Model as a Service or AI Work Assistant business, the licensee shall obtain a separate license from Qwen before Using the Software or its derivative works for any commercial purpose. The foregoing requirement shall not apply to the licensee's internal Use of the Software, provided that such Use does not make the Software, its outputs, or its underlying model capabilities available to any third party.
|
| 10 |
+
|
| 11 |
+
"Model as a Service" means giving a third party access to language model inference or fine-tuning (e.g., via API or a hosted endpoint) in a manner that allows such third parties to exercise meaningful control over the inputs, parameters, or training data. This does not include the mere relaying of requests to models hosted by other third parties.
|
| 12 |
+
“AI Work Assistant” means an independent AI-powered product primarily designed for AI-assisted coding or office productivity (e.g., Qoder and QwenWork). It does not include: (a) a single-purpose AI tool (such as an AI translation tool); (b) an AI assistant primarily designed for a domain other than coding or office productivity (such as Taobao AI Shopping Assistant or AMap AI Chat); or (c) an AI assistant that is a feature of a product whose primary purpose is not AI-assisted coding or office productivity.
|
| 13 |
+
|
| 14 |
+
THE SOFTWARE AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL QWEN, ITS AFFILIATES OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE USE OF THE SOFTWARE MUST COMPLY WITH APPLICABLE LAWS AND REGULATIONS, AND MUST NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY.
|
| 15 |
+
|
| 16 |
+
For any questions regarding this license, please contact model-business@notice.qwencloud.com.
|
README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: qwen-community-1.0
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
base_model: rmonsurate/Victoria
|
| 6 |
+
base_model_relation: finetune
|
| 7 |
+
library_name: transformers
|
| 8 |
+
pipeline_tag: text-generation
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
- fr
|
| 12 |
+
tags:
|
| 13 |
+
- moe
|
| 14 |
+
- nvfp4
|
| 15 |
+
- vllm
|
| 16 |
+
- canada
|
| 17 |
+
- tool-use
|
| 18 |
+
- speculative-decoding
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Maple
|
| 22 |
+
|
| 23 |
+
Maple is a Canadian-first assistant model built on [Victoria](https://huggingface.co/rmonsurate/Victoria).
|
| 24 |
+
|
| 25 |
+
When an everyday question about tax, employment, benefits, immigration, health or housing does not name a country, Maple answers in Canadian terms by default. Given a web search tool, it looks things up and cites official Canadian sources. It also knows Canadian culture and answers in a polite Canadian tone, while still respecting a different jurisdiction when the user names one.
|
| 26 |
+
|
| 27 |
+
Maple is an NVFP4 model for vLLM on NVIDIA Blackwell GPUs, with 5.9B active parameters per token. `SHA256SUMS` lists the sha256 of every model file.
|
| 28 |
+
|
| 29 |
+
## Results
|
| 30 |
+
|
| 31 |
+
Everyday questions that do not name a country. An answer passes if it is framed in Canadian terms, answers the question directly, is correct against an official source, and covers the key caveats. A question with no answer counts as a fail. Scores are the average of two AI judges.
|
| 32 |
+
|
| 33 |
+
### Held-out test set (600 questions never seen in training)
|
| 34 |
+
|
| 35 |
+
| Answered and passed the full standard | Victoria | Maple |
|
| 36 |
+
|---|---|---|
|
| 37 |
+
| With web search | 6.6% | 21.8% |
|
| 38 |
+
| Without search | 1.3% | 7.5% |
|
| 39 |
+
|
| 40 |
+
With search, the gain is +15.2 points (95% CI +12.8 to +17.6). Without search, it is +6.2 points (95% CI +4.8 to +7.8).
|
| 41 |
+
|
| 42 |
+
### Dev set only: comparison with Qwen3.8-Flash-Next
|
| 43 |
+
|
| 44 |
+
| Dev set, without search | Victoria | Maple | Qwen3.8-Flash-Next |
|
| 45 |
+
|---|---|---|---|
|
| 46 |
+
| Everyday questions (200): answered and passed | 1.7% | 10.8% | 8.6% |
|
| 47 |
+
| Everyday questions: no answer | 19.0% | 17.5% | 1.0% |
|
| 48 |
+
| Canadian culture (100, multiple choice): answered correctly | 59% | 77% | 98% |
|
| 49 |
+
|
| 50 |
+
Caveats:
|
| 51 |
+
- All results are AI-judged; no human grading has been done yet.
|
| 52 |
+
- The Qwen3.8-Flash-Next comparison is on the dev set only and is not comparable with the held-out table above.
|
| 53 |
+
- Qwen3.8-Flash-Next is much stronger on Canadian culture and almost always gives an answer; Maple leads on answering an unmarked everyday question in Canadian terms to the full standard.
|
| 54 |
+
|
| 55 |
+
## Quick start
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
hf download rmonsurate/Maple --local-dir maple
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
NVFP4 on vLLM, one NVIDIA Blackwell GPU (B300 or B200), draft head on:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
vllm serve ./maple \
|
| 65 |
+
--served-model-name maple \
|
| 66 |
+
--tensor-parallel-size 1 \
|
| 67 |
+
--max-model-len 20480 \
|
| 68 |
+
--max-num-seqs 16 \
|
| 69 |
+
--max-num-batched-tokens 16384 \
|
| 70 |
+
--gpu-memory-utilization 0.80 \
|
| 71 |
+
--enable-prefix-caching \
|
| 72 |
+
--compilation-config '{"inductor_compile_config":{"triton.autotune_at_compile_time":false}}' \
|
| 73 |
+
--kernel-config '{"enable_flashinfer_autotune":false}' \
|
| 74 |
+
--trust-remote-code \
|
| 75 |
+
--enable-auto-tool-choice \
|
| 76 |
+
--tool-call-parser qwen3_coder \
|
| 77 |
+
--reasoning-parser qwen3 \
|
| 78 |
+
--speculative-config '{"method":"mtp","num_speculative_tokens":3}'
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
- The `--compilation-config` line is required: compile-time Triton autotuning on this model either hangs or blows out startup time.
|
| 82 |
+
- We ran vLLM from the Qwen3.8-Flash-Next vLLM image with two fixes backported for a prefix-caching crash on this architecture ([vllm#53798](https://github.com/vllm-project/vllm/pull/53798) and [vllm#54076](https://github.com/vllm-project/vllm/pull/54076)). On a vLLM without those fixes, leave out `--enable-prefix-caching`.
|
| 83 |
+
- Recommended sampling: thinking on, temperature 0.6, top_p 0.95, top_k 20.
|
| 84 |
+
- Give the model a web search tool. Its Canadian-first habit is strongest when it can look things up.
|
| 85 |
+
|
| 86 |
+
There is no GGUF build of Maple.
|
| 87 |
+
|
| 88 |
+
## License
|
| 89 |
+
|
| 90 |
+
Maple is a derivative work of Qwen3.8-Flash-Next by Farpoint Technologies and carries the same license, the [Qwen Community License 1.0](./LICENSE), whose full text ships in this repo as `LICENSE`. Two conditions travel with it: the copyright and permission notice must be included in all copies, and a licensee running a Model as a Service or AI Work Assistant business must obtain a separate license from Qwen before any commercial use. Attribution goes to Qwen for Qwen3.8-Flash-Next and to Farpoint for Victoria and Maple.
|
| 91 |
+
|
| 92 |
+
## Acknowledgements
|
| 93 |
+
|
| 94 |
+
Built on an 8x NVIDIA B300 system provided by Dell. Thanks to the Qwen team for Qwen3.8-Flash-Next and to the maintainers of vLLM.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
c3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041 chat_template.jinja
|
| 2 |
+
9aacc1d97e827121740f879cbdb96c5375a4623a2b2e3f43aa20794d09077ae5 config.json
|
| 3 |
+
e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e generation_config.json
|
| 4 |
+
e14f41b7ba69c6db23f6f66ea7ebb574ee79e38ab1ecf52c5502e0edec0c6b90 hf_quant_config.json
|
| 5 |
+
a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d merges.txt
|
| 6 |
+
f4e36d280740cf54a23f10a6dfd7dfd34e23a2ce0e1a8470c93d71e6161b5678 model-00000.safetensors
|
| 7 |
+
2776173dabe1fa3e9eb464e1deb122967c011a648d4535145d37f59047d10656 model-00001.safetensors
|
| 8 |
+
af5e857d3763d88ed622a7647d9fbbc4d4e4db2670be91471513133dab27b6fe model-00002.safetensors
|
| 9 |
+
38564f3b6c3f4bf237c63b22abc1ad6e54674b96eab1e4052b48e2fdec71b674 model-00003.safetensors
|
| 10 |
+
b254c25e73a126f2f5ccdb89a60e684f37fc789ea8162f612c12a30c603ec0c8 model-00004.safetensors
|
| 11 |
+
ab64df04f7c5532d0a0d8f652fd91a4c73f691f886a01e37f832cf1862671ecc model.safetensors.index.json
|
| 12 |
+
27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516 preprocessor_config.json
|
| 13 |
+
b11349aafa7cdc6a320767cf7ceb29ed82f7eda5d65e8e0819e76f0ce947bf27 tokenizer_config.json
|
| 14 |
+
0997f410c57a1f4e53b09e4be8f4a172d90edd9564368fb0847030937229b9f3 tokenizer.json
|
| 15 |
+
7768af27c1fafa9c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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen4ExpForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"image_token_id": 248056,
|
| 6 |
+
"language_model_only": false,
|
| 7 |
+
"model_type": "qwen4_exp",
|
| 8 |
+
"text_config": {
|
| 9 |
+
"attention_bias": false,
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bos_token_id": 248044,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 248044,
|
| 14 |
+
"full_attention_interval": 4,
|
| 15 |
+
"hc_count": 4,
|
| 16 |
+
"hc_lowrank": 320,
|
| 17 |
+
"head_dim": 256,
|
| 18 |
+
"heads_per_ngram": 8,
|
| 19 |
+
"hidden_act": "silu",
|
| 20 |
+
"hidden_size": 2560,
|
| 21 |
+
"indexer_budget": 2048,
|
| 22 |
+
"indexer_compress_ratio": 4,
|
| 23 |
+
"indexer_head_dim": 128,
|
| 24 |
+
"indexer_kv_heads": 1,
|
| 25 |
+
"indexer_n_heads": 4,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"layer_types": [
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"linear_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"linear_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"linear_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"linear_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"linear_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"linear_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"linear_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"linear_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"full_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"linear_attention",
|
| 62 |
+
"linear_attention",
|
| 63 |
+
"full_attention",
|
| 64 |
+
"linear_attention",
|
| 65 |
+
"linear_attention",
|
| 66 |
+
"linear_attention",
|
| 67 |
+
"full_attention",
|
| 68 |
+
"linear_attention",
|
| 69 |
+
"linear_attention",
|
| 70 |
+
"linear_attention",
|
| 71 |
+
"full_attention",
|
| 72 |
+
"linear_attention",
|
| 73 |
+
"linear_attention",
|
| 74 |
+
"linear_attention",
|
| 75 |
+
"full_attention"
|
| 76 |
+
],
|
| 77 |
+
"linear_conv_kernel_dim": 4,
|
| 78 |
+
"linear_key_head_dim": 128,
|
| 79 |
+
"linear_num_key_heads": 16,
|
| 80 |
+
"linear_num_value_heads": 48,
|
| 81 |
+
"linear_value_head_dim": 128,
|
| 82 |
+
"make_ngram_vocab_size_divisible_by": 128,
|
| 83 |
+
"mamba_ssm_dtype": "float32",
|
| 84 |
+
"max_position_embeddings": 262144,
|
| 85 |
+
"model_type": "qwen4_exp_text",
|
| 86 |
+
"moe_intermediate_size": 640,
|
| 87 |
+
"mtp": {
|
| 88 |
+
"hybrid": true,
|
| 89 |
+
"layer_types": [
|
| 90 |
+
"full_attention"
|
| 91 |
+
],
|
| 92 |
+
"mtp_use_hidden_state_from_layer": null,
|
| 93 |
+
"num_hidden_layers": 1,
|
| 94 |
+
"rope_theta": 10000000
|
| 95 |
+
},
|
| 96 |
+
"mtp_num_hidden_layers": 1,
|
| 97 |
+
"mtp_use_dedicated_embeddings": false,
|
| 98 |
+
"ngram_size": 3,
|
| 99 |
+
"ngram_vocab_size_base": 20000000,
|
| 100 |
+
"num_attention_heads": 24,
|
| 101 |
+
"num_experts": 288,
|
| 102 |
+
"num_experts_per_tok": 10,
|
| 103 |
+
"num_hidden_layers": 48,
|
| 104 |
+
"num_key_value_heads": 2,
|
| 105 |
+
"output_gate_type": "sigmoid",
|
| 106 |
+
"output_router_logits": false,
|
| 107 |
+
"pad_token_id": null,
|
| 108 |
+
"partial_rotary_factor": 0.25,
|
| 109 |
+
"ple_conv_kernel_size": 4,
|
| 110 |
+
"ple_embed_dim": 2560,
|
| 111 |
+
"ple_layer_ids": [
|
| 112 |
+
2
|
| 113 |
+
],
|
| 114 |
+
"rms_norm_eps": 1e-06,
|
| 115 |
+
"rope_parameters": {
|
| 116 |
+
"mrope_interleaved": true,
|
| 117 |
+
"mrope_section": [
|
| 118 |
+
11,
|
| 119 |
+
11,
|
| 120 |
+
10
|
| 121 |
+
],
|
| 122 |
+
"partial_rotary_factor": 0.25,
|
| 123 |
+
"rope_theta": 10000000,
|
| 124 |
+
"rope_type": "default"
|
| 125 |
+
},
|
| 126 |
+
"router_aux_loss_coef": 0.001,
|
| 127 |
+
"shared_expert_intermediate_size": 640,
|
| 128 |
+
"split_ngram_parts": 128,
|
| 129 |
+
"tie_word_embeddings": false,
|
| 130 |
+
"use_cache": true,
|
| 131 |
+
"vocab_size": 248320,
|
| 132 |
+
"quantization_config": {
|
| 133 |
+
"quant_algo": "W4A16_NVFP4",
|
| 134 |
+
"quant_method": "modelopt",
|
| 135 |
+
"kv_cache_quant_algo": null,
|
| 136 |
+
"group_size": 16,
|
| 137 |
+
"exclude_modules": [
|
| 138 |
+
"*attn_hyper_connection.block_inject_weight*",
|
| 139 |
+
"*attn_hyper_connection.input_mix_weight_down*",
|
| 140 |
+
"*attn_hyper_connection.input_mix_weight_up*",
|
| 141 |
+
"*conv1d*",
|
| 142 |
+
"*embed_tokens*",
|
| 143 |
+
"*hyper_connection*",
|
| 144 |
+
"*in_proj",
|
| 145 |
+
"*in_proj*",
|
| 146 |
+
"*in_proj_a",
|
| 147 |
+
"*in_proj_b",
|
| 148 |
+
"*in_proj_ba",
|
| 149 |
+
"*in_proj_qkv",
|
| 150 |
+
"*in_proj_qkvz",
|
| 151 |
+
"*in_proj_z",
|
| 152 |
+
"*indexer*",
|
| 153 |
+
"*linear_attn.conv1d*",
|
| 154 |
+
"*linear_attn.in_proj_a*",
|
| 155 |
+
"*linear_attn.in_proj_b*",
|
| 156 |
+
"*linear_attn.in_proj_qkv*",
|
| 157 |
+
"*linear_attn.in_proj_z*",
|
| 158 |
+
"*linear_attn.out_proj*",
|
| 159 |
+
"*mlp.gate*",
|
| 160 |
+
"*mlp.shared_expert.gate_proj*",
|
| 161 |
+
"*mlp.shared_expert.gate_up_proj",
|
| 162 |
+
"*mlp.shared_expert.up_proj*",
|
| 163 |
+
"*mlp.shared_expert_gate*",
|
| 164 |
+
"*mlp_hyper_connection.block_inject_weight*",
|
| 165 |
+
"*mlp_hyper_connection.input_mix_weight_down*",
|
| 166 |
+
"*mlp_hyper_connection.input_mix_weight_up*",
|
| 167 |
+
"*nextn*",
|
| 168 |
+
"*ngram*",
|
| 169 |
+
"*ple*",
|
| 170 |
+
"*ple.conv1d*",
|
| 171 |
+
"*ple.key_proj*",
|
| 172 |
+
"*ple.ple_embedding.ngram_embedding.shard_0*",
|
| 173 |
+
"*ple.ple_embedding.ngram_embedding.shard_1*",
|
| 174 |
+
"*ple.ple_embedding.ngram_embedding.shard_10*",
|
| 175 |
+
"*ple.ple_embedding.ngram_embedding.shard_100*",
|
| 176 |
+
"*ple.ple_embedding.ngram_embedding.shard_101*",
|
| 177 |
+
"*ple.ple_embedding.ngram_embedding.shard_102*",
|
| 178 |
+
"*ple.ple_embedding.ngram_embedding.shard_103*",
|
| 179 |
+
"*ple.ple_embedding.ngram_embedding.shard_104*",
|
| 180 |
+
"*ple.ple_embedding.ngram_embedding.shard_105*",
|
| 181 |
+
"*ple.ple_embedding.ngram_embedding.shard_106*",
|
| 182 |
+
"*ple.ple_embedding.ngram_embedding.shard_107*",
|
| 183 |
+
"*ple.ple_embedding.ngram_embedding.shard_108*",
|
| 184 |
+
"*ple.ple_embedding.ngram_embedding.shard_109*",
|
| 185 |
+
"*ple.ple_embedding.ngram_embedding.shard_11*",
|
| 186 |
+
"*ple.ple_embedding.ngram_embedding.shard_110*",
|
| 187 |
+
"*ple.ple_embedding.ngram_embedding.shard_111*",
|
| 188 |
+
"*ple.ple_embedding.ngram_embedding.shard_112*",
|
| 189 |
+
"*ple.ple_embedding.ngram_embedding.shard_113*",
|
| 190 |
+
"*ple.ple_embedding.ngram_embedding.shard_114*",
|
| 191 |
+
"*ple.ple_embedding.ngram_embedding.shard_115*",
|
| 192 |
+
"*ple.ple_embedding.ngram_embedding.shard_116*",
|
| 193 |
+
"*ple.ple_embedding.ngram_embedding.shard_117*",
|
| 194 |
+
"*ple.ple_embedding.ngram_embedding.shard_118*",
|
| 195 |
+
"*ple.ple_embedding.ngram_embedding.shard_119*",
|
| 196 |
+
"*ple.ple_embedding.ngram_embedding.shard_12*",
|
| 197 |
+
"*ple.ple_embedding.ngram_embedding.shard_120*",
|
| 198 |
+
"*ple.ple_embedding.ngram_embedding.shard_121*",
|
| 199 |
+
"*ple.ple_embedding.ngram_embedding.shard_122*",
|
| 200 |
+
"*ple.ple_embedding.ngram_embedding.shard_123*",
|
| 201 |
+
"*ple.ple_embedding.ngram_embedding.shard_124*",
|
| 202 |
+
"*ple.ple_embedding.ngram_embedding.shard_125*",
|
| 203 |
+
"*ple.ple_embedding.ngram_embedding.shard_126*",
|
| 204 |
+
"*ple.ple_embedding.ngram_embedding.shard_127*",
|
| 205 |
+
"*ple.ple_embedding.ngram_embedding.shard_13*",
|
| 206 |
+
"*ple.ple_embedding.ngram_embedding.shard_14*",
|
| 207 |
+
"*ple.ple_embedding.ngram_embedding.shard_15*",
|
| 208 |
+
"*ple.ple_embedding.ngram_embedding.shard_16*",
|
| 209 |
+
"*ple.ple_embedding.ngram_embedding.shard_17*",
|
| 210 |
+
"*ple.ple_embedding.ngram_embedding.shard_18*",
|
| 211 |
+
"*ple.ple_embedding.ngram_embedding.shard_19*",
|
| 212 |
+
"*ple.ple_embedding.ngram_embedding.shard_2*",
|
| 213 |
+
"*ple.ple_embedding.ngram_embedding.shard_20*",
|
| 214 |
+
"*ple.ple_embedding.ngram_embedding.shard_21*",
|
| 215 |
+
"*ple.ple_embedding.ngram_embedding.shard_22*",
|
| 216 |
+
"*ple.ple_embedding.ngram_embedding.shard_23*",
|
| 217 |
+
"*ple.ple_embedding.ngram_embedding.shard_24*",
|
| 218 |
+
"*ple.ple_embedding.ngram_embedding.shard_25*",
|
| 219 |
+
"*ple.ple_embedding.ngram_embedding.shard_26*",
|
| 220 |
+
"*ple.ple_embedding.ngram_embedding.shard_27*",
|
| 221 |
+
"*ple.ple_embedding.ngram_embedding.shard_28*",
|
| 222 |
+
"*ple.ple_embedding.ngram_embedding.shard_29*",
|
| 223 |
+
"*ple.ple_embedding.ngram_embedding.shard_3*",
|
| 224 |
+
"*ple.ple_embedding.ngram_embedding.shard_30*",
|
| 225 |
+
"*ple.ple_embedding.ngram_embedding.shard_31*",
|
| 226 |
+
"*ple.ple_embedding.ngram_embedding.shard_32*",
|
| 227 |
+
"*ple.ple_embedding.ngram_embedding.shard_33*",
|
| 228 |
+
"*ple.ple_embedding.ngram_embedding.shard_34*",
|
| 229 |
+
"*ple.ple_embedding.ngram_embedding.shard_35*",
|
| 230 |
+
"*ple.ple_embedding.ngram_embedding.shard_36*",
|
| 231 |
+
"*ple.ple_embedding.ngram_embedding.shard_37*",
|
| 232 |
+
"*ple.ple_embedding.ngram_embedding.shard_38*",
|
| 233 |
+
"*ple.ple_embedding.ngram_embedding.shard_39*",
|
| 234 |
+
"*ple.ple_embedding.ngram_embedding.shard_4*",
|
| 235 |
+
"*ple.ple_embedding.ngram_embedding.shard_40*",
|
| 236 |
+
"*ple.ple_embedding.ngram_embedding.shard_41*",
|
| 237 |
+
"*ple.ple_embedding.ngram_embedding.shard_42*",
|
| 238 |
+
"*ple.ple_embedding.ngram_embedding.shard_43*",
|
| 239 |
+
"*ple.ple_embedding.ngram_embedding.shard_44*",
|
| 240 |
+
"*ple.ple_embedding.ngram_embedding.shard_45*",
|
| 241 |
+
"*ple.ple_embedding.ngram_embedding.shard_46*",
|
| 242 |
+
"*ple.ple_embedding.ngram_embedding.shard_47*",
|
| 243 |
+
"*ple.ple_embedding.ngram_embedding.shard_48*",
|
| 244 |
+
"*ple.ple_embedding.ngram_embedding.shard_49*",
|
| 245 |
+
"*ple.ple_embedding.ngram_embedding.shard_5*",
|
| 246 |
+
"*ple.ple_embedding.ngram_embedding.shard_50*",
|
| 247 |
+
"*ple.ple_embedding.ngram_embedding.shard_51*",
|
| 248 |
+
"*ple.ple_embedding.ngram_embedding.shard_52*",
|
| 249 |
+
"*ple.ple_embedding.ngram_embedding.shard_53*",
|
| 250 |
+
"*ple.ple_embedding.ngram_embedding.shard_54*",
|
| 251 |
+
"*ple.ple_embedding.ngram_embedding.shard_55*",
|
| 252 |
+
"*ple.ple_embedding.ngram_embedding.shard_56*",
|
| 253 |
+
"*ple.ple_embedding.ngram_embedding.shard_57*",
|
| 254 |
+
"*ple.ple_embedding.ngram_embedding.shard_58*",
|
| 255 |
+
"*ple.ple_embedding.ngram_embedding.shard_59*",
|
| 256 |
+
"*ple.ple_embedding.ngram_embedding.shard_6*",
|
| 257 |
+
"*ple.ple_embedding.ngram_embedding.shard_60*",
|
| 258 |
+
"*ple.ple_embedding.ngram_embedding.shard_61*",
|
| 259 |
+
"*ple.ple_embedding.ngram_embedding.shard_62*",
|
| 260 |
+
"*ple.ple_embedding.ngram_embedding.shard_63*",
|
| 261 |
+
"*ple.ple_embedding.ngram_embedding.shard_64*",
|
| 262 |
+
"*ple.ple_embedding.ngram_embedding.shard_65*",
|
| 263 |
+
"*ple.ple_embedding.ngram_embedding.shard_66*",
|
| 264 |
+
"*ple.ple_embedding.ngram_embedding.shard_67*",
|
| 265 |
+
"*ple.ple_embedding.ngram_embedding.shard_68*",
|
| 266 |
+
"*ple.ple_embedding.ngram_embedding.shard_69*",
|
| 267 |
+
"*ple.ple_embedding.ngram_embedding.shard_7*",
|
| 268 |
+
"*ple.ple_embedding.ngram_embedding.shard_70*",
|
| 269 |
+
"*ple.ple_embedding.ngram_embedding.shard_71*",
|
| 270 |
+
"*ple.ple_embedding.ngram_embedding.shard_72*",
|
| 271 |
+
"*ple.ple_embedding.ngram_embedding.shard_73*",
|
| 272 |
+
"*ple.ple_embedding.ngram_embedding.shard_74*",
|
| 273 |
+
"*ple.ple_embedding.ngram_embedding.shard_75*",
|
| 274 |
+
"*ple.ple_embedding.ngram_embedding.shard_76*",
|
| 275 |
+
"*ple.ple_embedding.ngram_embedding.shard_77*",
|
| 276 |
+
"*ple.ple_embedding.ngram_embedding.shard_78*",
|
| 277 |
+
"*ple.ple_embedding.ngram_embedding.shard_79*",
|
| 278 |
+
"*ple.ple_embedding.ngram_embedding.shard_8*",
|
| 279 |
+
"*ple.ple_embedding.ngram_embedding.shard_80*",
|
| 280 |
+
"*ple.ple_embedding.ngram_embedding.shard_81*",
|
| 281 |
+
"*ple.ple_embedding.ngram_embedding.shard_82*",
|
| 282 |
+
"*ple.ple_embedding.ngram_embedding.shard_83*",
|
| 283 |
+
"*ple.ple_embedding.ngram_embedding.shard_84*",
|
| 284 |
+
"*ple.ple_embedding.ngram_embedding.shard_85*",
|
| 285 |
+
"*ple.ple_embedding.ngram_embedding.shard_86*",
|
| 286 |
+
"*ple.ple_embedding.ngram_embedding.shard_87*",
|
| 287 |
+
"*ple.ple_embedding.ngram_embedding.shard_88*",
|
| 288 |
+
"*ple.ple_embedding.ngram_embedding.shard_89*",
|
| 289 |
+
"*ple.ple_embedding.ngram_embedding.shard_9*",
|
| 290 |
+
"*ple.ple_embedding.ngram_embedding.shard_90*",
|
| 291 |
+
"*ple.ple_embedding.ngram_embedding.shard_91*",
|
| 292 |
+
"*ple.ple_embedding.ngram_embedding.shard_92*",
|
| 293 |
+
"*ple.ple_embedding.ngram_embedding.shard_93*",
|
| 294 |
+
"*ple.ple_embedding.ngram_embedding.shard_94*",
|
| 295 |
+
"*ple.ple_embedding.ngram_embedding.shard_95*",
|
| 296 |
+
"*ple.ple_embedding.ngram_embedding.shard_96*",
|
| 297 |
+
"*ple.ple_embedding.ngram_embedding.shard_97*",
|
| 298 |
+
"*ple.ple_embedding.ngram_embedding.shard_98*",
|
| 299 |
+
"*ple.ple_embedding.ngram_embedding.shard_99*",
|
| 300 |
+
"*ple.value_proj*",
|
| 301 |
+
"*self_attn.indexer.index_qk_proj*",
|
| 302 |
+
"*self_attn.k_proj",
|
| 303 |
+
"*self_attn.k_proj*",
|
| 304 |
+
"*self_attn.q_proj",
|
| 305 |
+
"*self_attn.q_proj*",
|
| 306 |
+
"*self_attn.qkv_proj",
|
| 307 |
+
"*self_attn.v_proj",
|
| 308 |
+
"*self_attn.v_proj*",
|
| 309 |
+
"*shared_expert_gate*",
|
| 310 |
+
"*visual*",
|
| 311 |
+
"embed_tokens",
|
| 312 |
+
"input_mix_weight_down",
|
| 313 |
+
"input_mix_weight_up",
|
| 314 |
+
"lm_head",
|
| 315 |
+
"mtp*",
|
| 316 |
+
"visual*"
|
| 317 |
+
],
|
| 318 |
+
"quantization": {
|
| 319 |
+
"quant_algo": "W4A16_NVFP4",
|
| 320 |
+
"quant_method": "modelopt",
|
| 321 |
+
"kv_cache_quant_algo": null,
|
| 322 |
+
"group_size": 16,
|
| 323 |
+
"exclude_modules": [
|
| 324 |
+
"*attn_hyper_connection.block_inject_weight*",
|
| 325 |
+
"*attn_hyper_connection.input_mix_weight_down*",
|
| 326 |
+
"*attn_hyper_connection.input_mix_weight_up*",
|
| 327 |
+
"*conv1d*",
|
| 328 |
+
"*embed_tokens*",
|
| 329 |
+
"*hyper_connection*",
|
| 330 |
+
"*in_proj",
|
| 331 |
+
"*in_proj*",
|
| 332 |
+
"*in_proj_a",
|
| 333 |
+
"*in_proj_b",
|
| 334 |
+
"*in_proj_ba",
|
| 335 |
+
"*in_proj_qkv",
|
| 336 |
+
"*in_proj_qkvz",
|
| 337 |
+
"*in_proj_z",
|
| 338 |
+
"*indexer*",
|
| 339 |
+
"*linear_attn.conv1d*",
|
| 340 |
+
"*linear_attn.in_proj_a*",
|
| 341 |
+
"*linear_attn.in_proj_b*",
|
| 342 |
+
"*linear_attn.in_proj_qkv*",
|
| 343 |
+
"*linear_attn.in_proj_z*",
|
| 344 |
+
"*linear_attn.out_proj*",
|
| 345 |
+
"*mlp.gate*",
|
| 346 |
+
"*mlp.shared_expert.gate_proj*",
|
| 347 |
+
"*mlp.shared_expert.gate_up_proj",
|
| 348 |
+
"*mlp.shared_expert.up_proj*",
|
| 349 |
+
"*mlp.shared_expert_gate*",
|
| 350 |
+
"*mlp_hyper_connection.block_inject_weight*",
|
| 351 |
+
"*mlp_hyper_connection.input_mix_weight_down*",
|
| 352 |
+
"*mlp_hyper_connection.input_mix_weight_up*",
|
| 353 |
+
"*nextn*",
|
| 354 |
+
"*ngram*",
|
| 355 |
+
"*ple*",
|
| 356 |
+
"*ple.conv1d*",
|
| 357 |
+
"*ple.key_proj*",
|
| 358 |
+
"*ple.ple_embedding.ngram_embedding.shard_0*",
|
| 359 |
+
"*ple.ple_embedding.ngram_embedding.shard_1*",
|
| 360 |
+
"*ple.ple_embedding.ngram_embedding.shard_10*",
|
| 361 |
+
"*ple.ple_embedding.ngram_embedding.shard_100*",
|
| 362 |
+
"*ple.ple_embedding.ngram_embedding.shard_101*",
|
| 363 |
+
"*ple.ple_embedding.ngram_embedding.shard_102*",
|
| 364 |
+
"*ple.ple_embedding.ngram_embedding.shard_103*",
|
| 365 |
+
"*ple.ple_embedding.ngram_embedding.shard_104*",
|
| 366 |
+
"*ple.ple_embedding.ngram_embedding.shard_105*",
|
| 367 |
+
"*ple.ple_embedding.ngram_embedding.shard_106*",
|
| 368 |
+
"*ple.ple_embedding.ngram_embedding.shard_107*",
|
| 369 |
+
"*ple.ple_embedding.ngram_embedding.shard_108*",
|
| 370 |
+
"*ple.ple_embedding.ngram_embedding.shard_109*",
|
| 371 |
+
"*ple.ple_embedding.ngram_embedding.shard_11*",
|
| 372 |
+
"*ple.ple_embedding.ngram_embedding.shard_110*",
|
| 373 |
+
"*ple.ple_embedding.ngram_embedding.shard_111*",
|
| 374 |
+
"*ple.ple_embedding.ngram_embedding.shard_112*",
|
| 375 |
+
"*ple.ple_embedding.ngram_embedding.shard_113*",
|
| 376 |
+
"*ple.ple_embedding.ngram_embedding.shard_114*",
|
| 377 |
+
"*ple.ple_embedding.ngram_embedding.shard_115*",
|
| 378 |
+
"*ple.ple_embedding.ngram_embedding.shard_116*",
|
| 379 |
+
"*ple.ple_embedding.ngram_embedding.shard_117*",
|
| 380 |
+
"*ple.ple_embedding.ngram_embedding.shard_118*",
|
| 381 |
+
"*ple.ple_embedding.ngram_embedding.shard_119*",
|
| 382 |
+
"*ple.ple_embedding.ngram_embedding.shard_12*",
|
| 383 |
+
"*ple.ple_embedding.ngram_embedding.shard_120*",
|
| 384 |
+
"*ple.ple_embedding.ngram_embedding.shard_121*",
|
| 385 |
+
"*ple.ple_embedding.ngram_embedding.shard_122*",
|
| 386 |
+
"*ple.ple_embedding.ngram_embedding.shard_123*",
|
| 387 |
+
"*ple.ple_embedding.ngram_embedding.shard_124*",
|
| 388 |
+
"*ple.ple_embedding.ngram_embedding.shard_125*",
|
| 389 |
+
"*ple.ple_embedding.ngram_embedding.shard_126*",
|
| 390 |
+
"*ple.ple_embedding.ngram_embedding.shard_127*",
|
| 391 |
+
"*ple.ple_embedding.ngram_embedding.shard_13*",
|
| 392 |
+
"*ple.ple_embedding.ngram_embedding.shard_14*",
|
| 393 |
+
"*ple.ple_embedding.ngram_embedding.shard_15*",
|
| 394 |
+
"*ple.ple_embedding.ngram_embedding.shard_16*",
|
| 395 |
+
"*ple.ple_embedding.ngram_embedding.shard_17*",
|
| 396 |
+
"*ple.ple_embedding.ngram_embedding.shard_18*",
|
| 397 |
+
"*ple.ple_embedding.ngram_embedding.shard_19*",
|
| 398 |
+
"*ple.ple_embedding.ngram_embedding.shard_2*",
|
| 399 |
+
"*ple.ple_embedding.ngram_embedding.shard_20*",
|
| 400 |
+
"*ple.ple_embedding.ngram_embedding.shard_21*",
|
| 401 |
+
"*ple.ple_embedding.ngram_embedding.shard_22*",
|
| 402 |
+
"*ple.ple_embedding.ngram_embedding.shard_23*",
|
| 403 |
+
"*ple.ple_embedding.ngram_embedding.shard_24*",
|
| 404 |
+
"*ple.ple_embedding.ngram_embedding.shard_25*",
|
| 405 |
+
"*ple.ple_embedding.ngram_embedding.shard_26*",
|
| 406 |
+
"*ple.ple_embedding.ngram_embedding.shard_27*",
|
| 407 |
+
"*ple.ple_embedding.ngram_embedding.shard_28*",
|
| 408 |
+
"*ple.ple_embedding.ngram_embedding.shard_29*",
|
| 409 |
+
"*ple.ple_embedding.ngram_embedding.shard_3*",
|
| 410 |
+
"*ple.ple_embedding.ngram_embedding.shard_30*",
|
| 411 |
+
"*ple.ple_embedding.ngram_embedding.shard_31*",
|
| 412 |
+
"*ple.ple_embedding.ngram_embedding.shard_32*",
|
| 413 |
+
"*ple.ple_embedding.ngram_embedding.shard_33*",
|
| 414 |
+
"*ple.ple_embedding.ngram_embedding.shard_34*",
|
| 415 |
+
"*ple.ple_embedding.ngram_embedding.shard_35*",
|
| 416 |
+
"*ple.ple_embedding.ngram_embedding.shard_36*",
|
| 417 |
+
"*ple.ple_embedding.ngram_embedding.shard_37*",
|
| 418 |
+
"*ple.ple_embedding.ngram_embedding.shard_38*",
|
| 419 |
+
"*ple.ple_embedding.ngram_embedding.shard_39*",
|
| 420 |
+
"*ple.ple_embedding.ngram_embedding.shard_4*",
|
| 421 |
+
"*ple.ple_embedding.ngram_embedding.shard_40*",
|
| 422 |
+
"*ple.ple_embedding.ngram_embedding.shard_41*",
|
| 423 |
+
"*ple.ple_embedding.ngram_embedding.shard_42*",
|
| 424 |
+
"*ple.ple_embedding.ngram_embedding.shard_43*",
|
| 425 |
+
"*ple.ple_embedding.ngram_embedding.shard_44*",
|
| 426 |
+
"*ple.ple_embedding.ngram_embedding.shard_45*",
|
| 427 |
+
"*ple.ple_embedding.ngram_embedding.shard_46*",
|
| 428 |
+
"*ple.ple_embedding.ngram_embedding.shard_47*",
|
| 429 |
+
"*ple.ple_embedding.ngram_embedding.shard_48*",
|
| 430 |
+
"*ple.ple_embedding.ngram_embedding.shard_49*",
|
| 431 |
+
"*ple.ple_embedding.ngram_embedding.shard_5*",
|
| 432 |
+
"*ple.ple_embedding.ngram_embedding.shard_50*",
|
| 433 |
+
"*ple.ple_embedding.ngram_embedding.shard_51*",
|
| 434 |
+
"*ple.ple_embedding.ngram_embedding.shard_52*",
|
| 435 |
+
"*ple.ple_embedding.ngram_embedding.shard_53*",
|
| 436 |
+
"*ple.ple_embedding.ngram_embedding.shard_54*",
|
| 437 |
+
"*ple.ple_embedding.ngram_embedding.shard_55*",
|
| 438 |
+
"*ple.ple_embedding.ngram_embedding.shard_56*",
|
| 439 |
+
"*ple.ple_embedding.ngram_embedding.shard_57*",
|
| 440 |
+
"*ple.ple_embedding.ngram_embedding.shard_58*",
|
| 441 |
+
"*ple.ple_embedding.ngram_embedding.shard_59*",
|
| 442 |
+
"*ple.ple_embedding.ngram_embedding.shard_6*",
|
| 443 |
+
"*ple.ple_embedding.ngram_embedding.shard_60*",
|
| 444 |
+
"*ple.ple_embedding.ngram_embedding.shard_61*",
|
| 445 |
+
"*ple.ple_embedding.ngram_embedding.shard_62*",
|
| 446 |
+
"*ple.ple_embedding.ngram_embedding.shard_63*",
|
| 447 |
+
"*ple.ple_embedding.ngram_embedding.shard_64*",
|
| 448 |
+
"*ple.ple_embedding.ngram_embedding.shard_65*",
|
| 449 |
+
"*ple.ple_embedding.ngram_embedding.shard_66*",
|
| 450 |
+
"*ple.ple_embedding.ngram_embedding.shard_67*",
|
| 451 |
+
"*ple.ple_embedding.ngram_embedding.shard_68*",
|
| 452 |
+
"*ple.ple_embedding.ngram_embedding.shard_69*",
|
| 453 |
+
"*ple.ple_embedding.ngram_embedding.shard_7*",
|
| 454 |
+
"*ple.ple_embedding.ngram_embedding.shard_70*",
|
| 455 |
+
"*ple.ple_embedding.ngram_embedding.shard_71*",
|
| 456 |
+
"*ple.ple_embedding.ngram_embedding.shard_72*",
|
| 457 |
+
"*ple.ple_embedding.ngram_embedding.shard_73*",
|
| 458 |
+
"*ple.ple_embedding.ngram_embedding.shard_74*",
|
| 459 |
+
"*ple.ple_embedding.ngram_embedding.shard_75*",
|
| 460 |
+
"*ple.ple_embedding.ngram_embedding.shard_76*",
|
| 461 |
+
"*ple.ple_embedding.ngram_embedding.shard_77*",
|
| 462 |
+
"*ple.ple_embedding.ngram_embedding.shard_78*",
|
| 463 |
+
"*ple.ple_embedding.ngram_embedding.shard_79*",
|
| 464 |
+
"*ple.ple_embedding.ngram_embedding.shard_8*",
|
| 465 |
+
"*ple.ple_embedding.ngram_embedding.shard_80*",
|
| 466 |
+
"*ple.ple_embedding.ngram_embedding.shard_81*",
|
| 467 |
+
"*ple.ple_embedding.ngram_embedding.shard_82*",
|
| 468 |
+
"*ple.ple_embedding.ngram_embedding.shard_83*",
|
| 469 |
+
"*ple.ple_embedding.ngram_embedding.shard_84*",
|
| 470 |
+
"*ple.ple_embedding.ngram_embedding.shard_85*",
|
| 471 |
+
"*ple.ple_embedding.ngram_embedding.shard_86*",
|
| 472 |
+
"*ple.ple_embedding.ngram_embedding.shard_87*",
|
| 473 |
+
"*ple.ple_embedding.ngram_embedding.shard_88*",
|
| 474 |
+
"*ple.ple_embedding.ngram_embedding.shard_89*",
|
| 475 |
+
"*ple.ple_embedding.ngram_embedding.shard_9*",
|
| 476 |
+
"*ple.ple_embedding.ngram_embedding.shard_90*",
|
| 477 |
+
"*ple.ple_embedding.ngram_embedding.shard_91*",
|
| 478 |
+
"*ple.ple_embedding.ngram_embedding.shard_92*",
|
| 479 |
+
"*ple.ple_embedding.ngram_embedding.shard_93*",
|
| 480 |
+
"*ple.ple_embedding.ngram_embedding.shard_94*",
|
| 481 |
+
"*ple.ple_embedding.ngram_embedding.shard_95*",
|
| 482 |
+
"*ple.ple_embedding.ngram_embedding.shard_96*",
|
| 483 |
+
"*ple.ple_embedding.ngram_embedding.shard_97*",
|
| 484 |
+
"*ple.ple_embedding.ngram_embedding.shard_98*",
|
| 485 |
+
"*ple.ple_embedding.ngram_embedding.shard_99*",
|
| 486 |
+
"*ple.value_proj*",
|
| 487 |
+
"*self_attn.indexer.index_qk_proj*",
|
| 488 |
+
"*self_attn.k_proj",
|
| 489 |
+
"*self_attn.k_proj*",
|
| 490 |
+
"*self_attn.q_proj",
|
| 491 |
+
"*self_attn.q_proj*",
|
| 492 |
+
"*self_attn.qkv_proj",
|
| 493 |
+
"*self_attn.v_proj",
|
| 494 |
+
"*self_attn.v_proj*",
|
| 495 |
+
"*shared_expert_gate*",
|
| 496 |
+
"*visual*",
|
| 497 |
+
"embed_tokens",
|
| 498 |
+
"input_mix_weight_down",
|
| 499 |
+
"input_mix_weight_up",
|
| 500 |
+
"lm_head",
|
| 501 |
+
"mtp*",
|
| 502 |
+
"visual*"
|
| 503 |
+
]
|
| 504 |
+
}
|
| 505 |
+
}
|
| 506 |
+
},
|
| 507 |
+
"tie_word_embeddings": false,
|
| 508 |
+
"transformers_version": "5.8.0.dev0",
|
| 509 |
+
"video_token_id": 248057,
|
| 510 |
+
"vision_config": {
|
| 511 |
+
"deepstack_visual_indexes": [],
|
| 512 |
+
"depth": 27,
|
| 513 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 514 |
+
"hidden_size": 1152,
|
| 515 |
+
"in_channels": 3,
|
| 516 |
+
"initializer_range": 0.02,
|
| 517 |
+
"intermediate_size": 4304,
|
| 518 |
+
"model_type": "qwen4_exp",
|
| 519 |
+
"num_heads": 16,
|
| 520 |
+
"num_position_embeddings": 2304,
|
| 521 |
+
"out_hidden_size": 2560,
|
| 522 |
+
"patch_size": 16,
|
| 523 |
+
"spatial_merge_size": 2,
|
| 524 |
+
"temporal_patch_size": 2
|
| 525 |
+
},
|
| 526 |
+
"vision_end_token_id": 248054,
|
| 527 |
+
"vision_start_token_id": 248053,
|
| 528 |
+
"reap288": {
|
| 529 |
+
"kept_per_layer": 288,
|
| 530 |
+
"source": "Qwen/Qwen3.8-Flash-Next",
|
| 531 |
+
"method": "REAP"
|
| 532 |
+
},
|
| 533 |
+
"quantization_config": {
|
| 534 |
+
"quant_algo": "W4A16_NVFP4",
|
| 535 |
+
"quant_method": "modelopt",
|
| 536 |
+
"kv_cache_quant_algo": null,
|
| 537 |
+
"group_size": 16,
|
| 538 |
+
"exclude_modules": [
|
| 539 |
+
"*attn_hyper_connection.block_inject_weight*",
|
| 540 |
+
"*attn_hyper_connection.input_mix_weight_down*",
|
| 541 |
+
"*attn_hyper_connection.input_mix_weight_up*",
|
| 542 |
+
"*conv1d*",
|
| 543 |
+
"*embed_tokens*",
|
| 544 |
+
"*hyper_connection*",
|
| 545 |
+
"*in_proj",
|
| 546 |
+
"*in_proj*",
|
| 547 |
+
"*in_proj_a",
|
| 548 |
+
"*in_proj_b",
|
| 549 |
+
"*in_proj_ba",
|
| 550 |
+
"*in_proj_qkv",
|
| 551 |
+
"*in_proj_qkvz",
|
| 552 |
+
"*in_proj_z",
|
| 553 |
+
"*indexer*",
|
| 554 |
+
"*linear_attn.conv1d*",
|
| 555 |
+
"*linear_attn.in_proj_a*",
|
| 556 |
+
"*linear_attn.in_proj_b*",
|
| 557 |
+
"*linear_attn.in_proj_qkv*",
|
| 558 |
+
"*linear_attn.in_proj_z*",
|
| 559 |
+
"*linear_attn.out_proj*",
|
| 560 |
+
"*mlp.gate*",
|
| 561 |
+
"*mlp.shared_expert.gate_proj*",
|
| 562 |
+
"*mlp.shared_expert.gate_up_proj",
|
| 563 |
+
"*mlp.shared_expert.up_proj*",
|
| 564 |
+
"*mlp.shared_expert_gate*",
|
| 565 |
+
"*mlp_hyper_connection.block_inject_weight*",
|
| 566 |
+
"*mlp_hyper_connection.input_mix_weight_down*",
|
| 567 |
+
"*mlp_hyper_connection.input_mix_weight_up*",
|
| 568 |
+
"*nextn*",
|
| 569 |
+
"*ngram*",
|
| 570 |
+
"*ple*",
|
| 571 |
+
"*ple.conv1d*",
|
| 572 |
+
"*ple.key_proj*",
|
| 573 |
+
"*ple.ple_embedding.ngram_embedding.shard_0*",
|
| 574 |
+
"*ple.ple_embedding.ngram_embedding.shard_1*",
|
| 575 |
+
"*ple.ple_embedding.ngram_embedding.shard_10*",
|
| 576 |
+
"*ple.ple_embedding.ngram_embedding.shard_100*",
|
| 577 |
+
"*ple.ple_embedding.ngram_embedding.shard_101*",
|
| 578 |
+
"*ple.ple_embedding.ngram_embedding.shard_102*",
|
| 579 |
+
"*ple.ple_embedding.ngram_embedding.shard_103*",
|
| 580 |
+
"*ple.ple_embedding.ngram_embedding.shard_104*",
|
| 581 |
+
"*ple.ple_embedding.ngram_embedding.shard_105*",
|
| 582 |
+
"*ple.ple_embedding.ngram_embedding.shard_106*",
|
| 583 |
+
"*ple.ple_embedding.ngram_embedding.shard_107*",
|
| 584 |
+
"*ple.ple_embedding.ngram_embedding.shard_108*",
|
| 585 |
+
"*ple.ple_embedding.ngram_embedding.shard_109*",
|
| 586 |
+
"*ple.ple_embedding.ngram_embedding.shard_11*",
|
| 587 |
+
"*ple.ple_embedding.ngram_embedding.shard_110*",
|
| 588 |
+
"*ple.ple_embedding.ngram_embedding.shard_111*",
|
| 589 |
+
"*ple.ple_embedding.ngram_embedding.shard_112*",
|
| 590 |
+
"*ple.ple_embedding.ngram_embedding.shard_113*",
|
| 591 |
+
"*ple.ple_embedding.ngram_embedding.shard_114*",
|
| 592 |
+
"*ple.ple_embedding.ngram_embedding.shard_115*",
|
| 593 |
+
"*ple.ple_embedding.ngram_embedding.shard_116*",
|
| 594 |
+
"*ple.ple_embedding.ngram_embedding.shard_117*",
|
| 595 |
+
"*ple.ple_embedding.ngram_embedding.shard_118*",
|
| 596 |
+
"*ple.ple_embedding.ngram_embedding.shard_119*",
|
| 597 |
+
"*ple.ple_embedding.ngram_embedding.shard_12*",
|
| 598 |
+
"*ple.ple_embedding.ngram_embedding.shard_120*",
|
| 599 |
+
"*ple.ple_embedding.ngram_embedding.shard_121*",
|
| 600 |
+
"*ple.ple_embedding.ngram_embedding.shard_122*",
|
| 601 |
+
"*ple.ple_embedding.ngram_embedding.shard_123*",
|
| 602 |
+
"*ple.ple_embedding.ngram_embedding.shard_124*",
|
| 603 |
+
"*ple.ple_embedding.ngram_embedding.shard_125*",
|
| 604 |
+
"*ple.ple_embedding.ngram_embedding.shard_126*",
|
| 605 |
+
"*ple.ple_embedding.ngram_embedding.shard_127*",
|
| 606 |
+
"*ple.ple_embedding.ngram_embedding.shard_13*",
|
| 607 |
+
"*ple.ple_embedding.ngram_embedding.shard_14*",
|
| 608 |
+
"*ple.ple_embedding.ngram_embedding.shard_15*",
|
| 609 |
+
"*ple.ple_embedding.ngram_embedding.shard_16*",
|
| 610 |
+
"*ple.ple_embedding.ngram_embedding.shard_17*",
|
| 611 |
+
"*ple.ple_embedding.ngram_embedding.shard_18*",
|
| 612 |
+
"*ple.ple_embedding.ngram_embedding.shard_19*",
|
| 613 |
+
"*ple.ple_embedding.ngram_embedding.shard_2*",
|
| 614 |
+
"*ple.ple_embedding.ngram_embedding.shard_20*",
|
| 615 |
+
"*ple.ple_embedding.ngram_embedding.shard_21*",
|
| 616 |
+
"*ple.ple_embedding.ngram_embedding.shard_22*",
|
| 617 |
+
"*ple.ple_embedding.ngram_embedding.shard_23*",
|
| 618 |
+
"*ple.ple_embedding.ngram_embedding.shard_24*",
|
| 619 |
+
"*ple.ple_embedding.ngram_embedding.shard_25*",
|
| 620 |
+
"*ple.ple_embedding.ngram_embedding.shard_26*",
|
| 621 |
+
"*ple.ple_embedding.ngram_embedding.shard_27*",
|
| 622 |
+
"*ple.ple_embedding.ngram_embedding.shard_28*",
|
| 623 |
+
"*ple.ple_embedding.ngram_embedding.shard_29*",
|
| 624 |
+
"*ple.ple_embedding.ngram_embedding.shard_3*",
|
| 625 |
+
"*ple.ple_embedding.ngram_embedding.shard_30*",
|
| 626 |
+
"*ple.ple_embedding.ngram_embedding.shard_31*",
|
| 627 |
+
"*ple.ple_embedding.ngram_embedding.shard_32*",
|
| 628 |
+
"*ple.ple_embedding.ngram_embedding.shard_33*",
|
| 629 |
+
"*ple.ple_embedding.ngram_embedding.shard_34*",
|
| 630 |
+
"*ple.ple_embedding.ngram_embedding.shard_35*",
|
| 631 |
+
"*ple.ple_embedding.ngram_embedding.shard_36*",
|
| 632 |
+
"*ple.ple_embedding.ngram_embedding.shard_37*",
|
| 633 |
+
"*ple.ple_embedding.ngram_embedding.shard_38*",
|
| 634 |
+
"*ple.ple_embedding.ngram_embedding.shard_39*",
|
| 635 |
+
"*ple.ple_embedding.ngram_embedding.shard_4*",
|
| 636 |
+
"*ple.ple_embedding.ngram_embedding.shard_40*",
|
| 637 |
+
"*ple.ple_embedding.ngram_embedding.shard_41*",
|
| 638 |
+
"*ple.ple_embedding.ngram_embedding.shard_42*",
|
| 639 |
+
"*ple.ple_embedding.ngram_embedding.shard_43*",
|
| 640 |
+
"*ple.ple_embedding.ngram_embedding.shard_44*",
|
| 641 |
+
"*ple.ple_embedding.ngram_embedding.shard_45*",
|
| 642 |
+
"*ple.ple_embedding.ngram_embedding.shard_46*",
|
| 643 |
+
"*ple.ple_embedding.ngram_embedding.shard_47*",
|
| 644 |
+
"*ple.ple_embedding.ngram_embedding.shard_48*",
|
| 645 |
+
"*ple.ple_embedding.ngram_embedding.shard_49*",
|
| 646 |
+
"*ple.ple_embedding.ngram_embedding.shard_5*",
|
| 647 |
+
"*ple.ple_embedding.ngram_embedding.shard_50*",
|
| 648 |
+
"*ple.ple_embedding.ngram_embedding.shard_51*",
|
| 649 |
+
"*ple.ple_embedding.ngram_embedding.shard_52*",
|
| 650 |
+
"*ple.ple_embedding.ngram_embedding.shard_53*",
|
| 651 |
+
"*ple.ple_embedding.ngram_embedding.shard_54*",
|
| 652 |
+
"*ple.ple_embedding.ngram_embedding.shard_55*",
|
| 653 |
+
"*ple.ple_embedding.ngram_embedding.shard_56*",
|
| 654 |
+
"*ple.ple_embedding.ngram_embedding.shard_57*",
|
| 655 |
+
"*ple.ple_embedding.ngram_embedding.shard_58*",
|
| 656 |
+
"*ple.ple_embedding.ngram_embedding.shard_59*",
|
| 657 |
+
"*ple.ple_embedding.ngram_embedding.shard_6*",
|
| 658 |
+
"*ple.ple_embedding.ngram_embedding.shard_60*",
|
| 659 |
+
"*ple.ple_embedding.ngram_embedding.shard_61*",
|
| 660 |
+
"*ple.ple_embedding.ngram_embedding.shard_62*",
|
| 661 |
+
"*ple.ple_embedding.ngram_embedding.shard_63*",
|
| 662 |
+
"*ple.ple_embedding.ngram_embedding.shard_64*",
|
| 663 |
+
"*ple.ple_embedding.ngram_embedding.shard_65*",
|
| 664 |
+
"*ple.ple_embedding.ngram_embedding.shard_66*",
|
| 665 |
+
"*ple.ple_embedding.ngram_embedding.shard_67*",
|
| 666 |
+
"*ple.ple_embedding.ngram_embedding.shard_68*",
|
| 667 |
+
"*ple.ple_embedding.ngram_embedding.shard_69*",
|
| 668 |
+
"*ple.ple_embedding.ngram_embedding.shard_7*",
|
| 669 |
+
"*ple.ple_embedding.ngram_embedding.shard_70*",
|
| 670 |
+
"*ple.ple_embedding.ngram_embedding.shard_71*",
|
| 671 |
+
"*ple.ple_embedding.ngram_embedding.shard_72*",
|
| 672 |
+
"*ple.ple_embedding.ngram_embedding.shard_73*",
|
| 673 |
+
"*ple.ple_embedding.ngram_embedding.shard_74*",
|
| 674 |
+
"*ple.ple_embedding.ngram_embedding.shard_75*",
|
| 675 |
+
"*ple.ple_embedding.ngram_embedding.shard_76*",
|
| 676 |
+
"*ple.ple_embedding.ngram_embedding.shard_77*",
|
| 677 |
+
"*ple.ple_embedding.ngram_embedding.shard_78*",
|
| 678 |
+
"*ple.ple_embedding.ngram_embedding.shard_79*",
|
| 679 |
+
"*ple.ple_embedding.ngram_embedding.shard_8*",
|
| 680 |
+
"*ple.ple_embedding.ngram_embedding.shard_80*",
|
| 681 |
+
"*ple.ple_embedding.ngram_embedding.shard_81*",
|
| 682 |
+
"*ple.ple_embedding.ngram_embedding.shard_82*",
|
| 683 |
+
"*ple.ple_embedding.ngram_embedding.shard_83*",
|
| 684 |
+
"*ple.ple_embedding.ngram_embedding.shard_84*",
|
| 685 |
+
"*ple.ple_embedding.ngram_embedding.shard_85*",
|
| 686 |
+
"*ple.ple_embedding.ngram_embedding.shard_86*",
|
| 687 |
+
"*ple.ple_embedding.ngram_embedding.shard_87*",
|
| 688 |
+
"*ple.ple_embedding.ngram_embedding.shard_88*",
|
| 689 |
+
"*ple.ple_embedding.ngram_embedding.shard_89*",
|
| 690 |
+
"*ple.ple_embedding.ngram_embedding.shard_9*",
|
| 691 |
+
"*ple.ple_embedding.ngram_embedding.shard_90*",
|
| 692 |
+
"*ple.ple_embedding.ngram_embedding.shard_91*",
|
| 693 |
+
"*ple.ple_embedding.ngram_embedding.shard_92*",
|
| 694 |
+
"*ple.ple_embedding.ngram_embedding.shard_93*",
|
| 695 |
+
"*ple.ple_embedding.ngram_embedding.shard_94*",
|
| 696 |
+
"*ple.ple_embedding.ngram_embedding.shard_95*",
|
| 697 |
+
"*ple.ple_embedding.ngram_embedding.shard_96*",
|
| 698 |
+
"*ple.ple_embedding.ngram_embedding.shard_97*",
|
| 699 |
+
"*ple.ple_embedding.ngram_embedding.shard_98*",
|
| 700 |
+
"*ple.ple_embedding.ngram_embedding.shard_99*",
|
| 701 |
+
"*ple.value_proj*",
|
| 702 |
+
"*self_attn.indexer.index_qk_proj*",
|
| 703 |
+
"*self_attn.k_proj",
|
| 704 |
+
"*self_attn.k_proj*",
|
| 705 |
+
"*self_attn.q_proj",
|
| 706 |
+
"*self_attn.q_proj*",
|
| 707 |
+
"*self_attn.qkv_proj",
|
| 708 |
+
"*self_attn.v_proj",
|
| 709 |
+
"*self_attn.v_proj*",
|
| 710 |
+
"*shared_expert_gate*",
|
| 711 |
+
"*visual*",
|
| 712 |
+
"embed_tokens",
|
| 713 |
+
"input_mix_weight_down",
|
| 714 |
+
"input_mix_weight_up",
|
| 715 |
+
"lm_head",
|
| 716 |
+
"mtp*",
|
| 717 |
+
"visual*"
|
| 718 |
+
],
|
| 719 |
+
"quantization": {
|
| 720 |
+
"quant_algo": "W4A16_NVFP4",
|
| 721 |
+
"quant_method": "modelopt",
|
| 722 |
+
"kv_cache_quant_algo": null,
|
| 723 |
+
"group_size": 16,
|
| 724 |
+
"exclude_modules": [
|
| 725 |
+
"*attn_hyper_connection.block_inject_weight*",
|
| 726 |
+
"*attn_hyper_connection.input_mix_weight_down*",
|
| 727 |
+
"*attn_hyper_connection.input_mix_weight_up*",
|
| 728 |
+
"*conv1d*",
|
| 729 |
+
"*embed_tokens*",
|
| 730 |
+
"*hyper_connection*",
|
| 731 |
+
"*in_proj",
|
| 732 |
+
"*in_proj*",
|
| 733 |
+
"*in_proj_a",
|
| 734 |
+
"*in_proj_b",
|
| 735 |
+
"*in_proj_ba",
|
| 736 |
+
"*in_proj_qkv",
|
| 737 |
+
"*in_proj_qkvz",
|
| 738 |
+
"*in_proj_z",
|
| 739 |
+
"*indexer*",
|
| 740 |
+
"*linear_attn.conv1d*",
|
| 741 |
+
"*linear_attn.in_proj_a*",
|
| 742 |
+
"*linear_attn.in_proj_b*",
|
| 743 |
+
"*linear_attn.in_proj_qkv*",
|
| 744 |
+
"*linear_attn.in_proj_z*",
|
| 745 |
+
"*linear_attn.out_proj*",
|
| 746 |
+
"*mlp.gate*",
|
| 747 |
+
"*mlp.shared_expert.gate_proj*",
|
| 748 |
+
"*mlp.shared_expert.gate_up_proj",
|
| 749 |
+
"*mlp.shared_expert.up_proj*",
|
| 750 |
+
"*mlp.shared_expert_gate*",
|
| 751 |
+
"*mlp_hyper_connection.block_inject_weight*",
|
| 752 |
+
"*mlp_hyper_connection.input_mix_weight_down*",
|
| 753 |
+
"*mlp_hyper_connection.input_mix_weight_up*",
|
| 754 |
+
"*nextn*",
|
| 755 |
+
"*ngram*",
|
| 756 |
+
"*ple*",
|
| 757 |
+
"*ple.conv1d*",
|
| 758 |
+
"*ple.key_proj*",
|
| 759 |
+
"*ple.ple_embedding.ngram_embedding.shard_0*",
|
| 760 |
+
"*ple.ple_embedding.ngram_embedding.shard_1*",
|
| 761 |
+
"*ple.ple_embedding.ngram_embedding.shard_10*",
|
| 762 |
+
"*ple.ple_embedding.ngram_embedding.shard_100*",
|
| 763 |
+
"*ple.ple_embedding.ngram_embedding.shard_101*",
|
| 764 |
+
"*ple.ple_embedding.ngram_embedding.shard_102*",
|
| 765 |
+
"*ple.ple_embedding.ngram_embedding.shard_103*",
|
| 766 |
+
"*ple.ple_embedding.ngram_embedding.shard_104*",
|
| 767 |
+
"*ple.ple_embedding.ngram_embedding.shard_105*",
|
| 768 |
+
"*ple.ple_embedding.ngram_embedding.shard_106*",
|
| 769 |
+
"*ple.ple_embedding.ngram_embedding.shard_107*",
|
| 770 |
+
"*ple.ple_embedding.ngram_embedding.shard_108*",
|
| 771 |
+
"*ple.ple_embedding.ngram_embedding.shard_109*",
|
| 772 |
+
"*ple.ple_embedding.ngram_embedding.shard_11*",
|
| 773 |
+
"*ple.ple_embedding.ngram_embedding.shard_110*",
|
| 774 |
+
"*ple.ple_embedding.ngram_embedding.shard_111*",
|
| 775 |
+
"*ple.ple_embedding.ngram_embedding.shard_112*",
|
| 776 |
+
"*ple.ple_embedding.ngram_embedding.shard_113*",
|
| 777 |
+
"*ple.ple_embedding.ngram_embedding.shard_114*",
|
| 778 |
+
"*ple.ple_embedding.ngram_embedding.shard_115*",
|
| 779 |
+
"*ple.ple_embedding.ngram_embedding.shard_116*",
|
| 780 |
+
"*ple.ple_embedding.ngram_embedding.shard_117*",
|
| 781 |
+
"*ple.ple_embedding.ngram_embedding.shard_118*",
|
| 782 |
+
"*ple.ple_embedding.ngram_embedding.shard_119*",
|
| 783 |
+
"*ple.ple_embedding.ngram_embedding.shard_12*",
|
| 784 |
+
"*ple.ple_embedding.ngram_embedding.shard_120*",
|
| 785 |
+
"*ple.ple_embedding.ngram_embedding.shard_121*",
|
| 786 |
+
"*ple.ple_embedding.ngram_embedding.shard_122*",
|
| 787 |
+
"*ple.ple_embedding.ngram_embedding.shard_123*",
|
| 788 |
+
"*ple.ple_embedding.ngram_embedding.shard_124*",
|
| 789 |
+
"*ple.ple_embedding.ngram_embedding.shard_125*",
|
| 790 |
+
"*ple.ple_embedding.ngram_embedding.shard_126*",
|
| 791 |
+
"*ple.ple_embedding.ngram_embedding.shard_127*",
|
| 792 |
+
"*ple.ple_embedding.ngram_embedding.shard_13*",
|
| 793 |
+
"*ple.ple_embedding.ngram_embedding.shard_14*",
|
| 794 |
+
"*ple.ple_embedding.ngram_embedding.shard_15*",
|
| 795 |
+
"*ple.ple_embedding.ngram_embedding.shard_16*",
|
| 796 |
+
"*ple.ple_embedding.ngram_embedding.shard_17*",
|
| 797 |
+
"*ple.ple_embedding.ngram_embedding.shard_18*",
|
| 798 |
+
"*ple.ple_embedding.ngram_embedding.shard_19*",
|
| 799 |
+
"*ple.ple_embedding.ngram_embedding.shard_2*",
|
| 800 |
+
"*ple.ple_embedding.ngram_embedding.shard_20*",
|
| 801 |
+
"*ple.ple_embedding.ngram_embedding.shard_21*",
|
| 802 |
+
"*ple.ple_embedding.ngram_embedding.shard_22*",
|
| 803 |
+
"*ple.ple_embedding.ngram_embedding.shard_23*",
|
| 804 |
+
"*ple.ple_embedding.ngram_embedding.shard_24*",
|
| 805 |
+
"*ple.ple_embedding.ngram_embedding.shard_25*",
|
| 806 |
+
"*ple.ple_embedding.ngram_embedding.shard_26*",
|
| 807 |
+
"*ple.ple_embedding.ngram_embedding.shard_27*",
|
| 808 |
+
"*ple.ple_embedding.ngram_embedding.shard_28*",
|
| 809 |
+
"*ple.ple_embedding.ngram_embedding.shard_29*",
|
| 810 |
+
"*ple.ple_embedding.ngram_embedding.shard_3*",
|
| 811 |
+
"*ple.ple_embedding.ngram_embedding.shard_30*",
|
| 812 |
+
"*ple.ple_embedding.ngram_embedding.shard_31*",
|
| 813 |
+
"*ple.ple_embedding.ngram_embedding.shard_32*",
|
| 814 |
+
"*ple.ple_embedding.ngram_embedding.shard_33*",
|
| 815 |
+
"*ple.ple_embedding.ngram_embedding.shard_34*",
|
| 816 |
+
"*ple.ple_embedding.ngram_embedding.shard_35*",
|
| 817 |
+
"*ple.ple_embedding.ngram_embedding.shard_36*",
|
| 818 |
+
"*ple.ple_embedding.ngram_embedding.shard_37*",
|
| 819 |
+
"*ple.ple_embedding.ngram_embedding.shard_38*",
|
| 820 |
+
"*ple.ple_embedding.ngram_embedding.shard_39*",
|
| 821 |
+
"*ple.ple_embedding.ngram_embedding.shard_4*",
|
| 822 |
+
"*ple.ple_embedding.ngram_embedding.shard_40*",
|
| 823 |
+
"*ple.ple_embedding.ngram_embedding.shard_41*",
|
| 824 |
+
"*ple.ple_embedding.ngram_embedding.shard_42*",
|
| 825 |
+
"*ple.ple_embedding.ngram_embedding.shard_43*",
|
| 826 |
+
"*ple.ple_embedding.ngram_embedding.shard_44*",
|
| 827 |
+
"*ple.ple_embedding.ngram_embedding.shard_45*",
|
| 828 |
+
"*ple.ple_embedding.ngram_embedding.shard_46*",
|
| 829 |
+
"*ple.ple_embedding.ngram_embedding.shard_47*",
|
| 830 |
+
"*ple.ple_embedding.ngram_embedding.shard_48*",
|
| 831 |
+
"*ple.ple_embedding.ngram_embedding.shard_49*",
|
| 832 |
+
"*ple.ple_embedding.ngram_embedding.shard_5*",
|
| 833 |
+
"*ple.ple_embedding.ngram_embedding.shard_50*",
|
| 834 |
+
"*ple.ple_embedding.ngram_embedding.shard_51*",
|
| 835 |
+
"*ple.ple_embedding.ngram_embedding.shard_52*",
|
| 836 |
+
"*ple.ple_embedding.ngram_embedding.shard_53*",
|
| 837 |
+
"*ple.ple_embedding.ngram_embedding.shard_54*",
|
| 838 |
+
"*ple.ple_embedding.ngram_embedding.shard_55*",
|
| 839 |
+
"*ple.ple_embedding.ngram_embedding.shard_56*",
|
| 840 |
+
"*ple.ple_embedding.ngram_embedding.shard_57*",
|
| 841 |
+
"*ple.ple_embedding.ngram_embedding.shard_58*",
|
| 842 |
+
"*ple.ple_embedding.ngram_embedding.shard_59*",
|
| 843 |
+
"*ple.ple_embedding.ngram_embedding.shard_6*",
|
| 844 |
+
"*ple.ple_embedding.ngram_embedding.shard_60*",
|
| 845 |
+
"*ple.ple_embedding.ngram_embedding.shard_61*",
|
| 846 |
+
"*ple.ple_embedding.ngram_embedding.shard_62*",
|
| 847 |
+
"*ple.ple_embedding.ngram_embedding.shard_63*",
|
| 848 |
+
"*ple.ple_embedding.ngram_embedding.shard_64*",
|
| 849 |
+
"*ple.ple_embedding.ngram_embedding.shard_65*",
|
| 850 |
+
"*ple.ple_embedding.ngram_embedding.shard_66*",
|
| 851 |
+
"*ple.ple_embedding.ngram_embedding.shard_67*",
|
| 852 |
+
"*ple.ple_embedding.ngram_embedding.shard_68*",
|
| 853 |
+
"*ple.ple_embedding.ngram_embedding.shard_69*",
|
| 854 |
+
"*ple.ple_embedding.ngram_embedding.shard_7*",
|
| 855 |
+
"*ple.ple_embedding.ngram_embedding.shard_70*",
|
| 856 |
+
"*ple.ple_embedding.ngram_embedding.shard_71*",
|
| 857 |
+
"*ple.ple_embedding.ngram_embedding.shard_72*",
|
| 858 |
+
"*ple.ple_embedding.ngram_embedding.shard_73*",
|
| 859 |
+
"*ple.ple_embedding.ngram_embedding.shard_74*",
|
| 860 |
+
"*ple.ple_embedding.ngram_embedding.shard_75*",
|
| 861 |
+
"*ple.ple_embedding.ngram_embedding.shard_76*",
|
| 862 |
+
"*ple.ple_embedding.ngram_embedding.shard_77*",
|
| 863 |
+
"*ple.ple_embedding.ngram_embedding.shard_78*",
|
| 864 |
+
"*ple.ple_embedding.ngram_embedding.shard_79*",
|
| 865 |
+
"*ple.ple_embedding.ngram_embedding.shard_8*",
|
| 866 |
+
"*ple.ple_embedding.ngram_embedding.shard_80*",
|
| 867 |
+
"*ple.ple_embedding.ngram_embedding.shard_81*",
|
| 868 |
+
"*ple.ple_embedding.ngram_embedding.shard_82*",
|
| 869 |
+
"*ple.ple_embedding.ngram_embedding.shard_83*",
|
| 870 |
+
"*ple.ple_embedding.ngram_embedding.shard_84*",
|
| 871 |
+
"*ple.ple_embedding.ngram_embedding.shard_85*",
|
| 872 |
+
"*ple.ple_embedding.ngram_embedding.shard_86*",
|
| 873 |
+
"*ple.ple_embedding.ngram_embedding.shard_87*",
|
| 874 |
+
"*ple.ple_embedding.ngram_embedding.shard_88*",
|
| 875 |
+
"*ple.ple_embedding.ngram_embedding.shard_89*",
|
| 876 |
+
"*ple.ple_embedding.ngram_embedding.shard_9*",
|
| 877 |
+
"*ple.ple_embedding.ngram_embedding.shard_90*",
|
| 878 |
+
"*ple.ple_embedding.ngram_embedding.shard_91*",
|
| 879 |
+
"*ple.ple_embedding.ngram_embedding.shard_92*",
|
| 880 |
+
"*ple.ple_embedding.ngram_embedding.shard_93*",
|
| 881 |
+
"*ple.ple_embedding.ngram_embedding.shard_94*",
|
| 882 |
+
"*ple.ple_embedding.ngram_embedding.shard_95*",
|
| 883 |
+
"*ple.ple_embedding.ngram_embedding.shard_96*",
|
| 884 |
+
"*ple.ple_embedding.ngram_embedding.shard_97*",
|
| 885 |
+
"*ple.ple_embedding.ngram_embedding.shard_98*",
|
| 886 |
+
"*ple.ple_embedding.ngram_embedding.shard_99*",
|
| 887 |
+
"*ple.value_proj*",
|
| 888 |
+
"*self_attn.indexer.index_qk_proj*",
|
| 889 |
+
"*self_attn.k_proj",
|
| 890 |
+
"*self_attn.k_proj*",
|
| 891 |
+
"*self_attn.q_proj",
|
| 892 |
+
"*self_attn.q_proj*",
|
| 893 |
+
"*self_attn.qkv_proj",
|
| 894 |
+
"*self_attn.v_proj",
|
| 895 |
+
"*self_attn.v_proj*",
|
| 896 |
+
"*shared_expert_gate*",
|
| 897 |
+
"*visual*",
|
| 898 |
+
"embed_tokens",
|
| 899 |
+
"input_mix_weight_down",
|
| 900 |
+
"input_mix_weight_up",
|
| 901 |
+
"lm_head",
|
| 902 |
+
"mtp*",
|
| 903 |
+
"visual*"
|
| 904 |
+
]
|
| 905 |
+
}
|
| 906 |
+
}
|
| 907 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 248044,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
248046,
|
| 6 |
+
248044
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 248044,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95
|
| 12 |
+
}
|
hf_quant_config.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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algo": "W4A16_NVFP4",
|
| 4 |
+
"kv_cache_quant_algo": null,
|
| 5 |
+
"group_size": 16,
|
| 6 |
+
"exclude_modules": [
|
| 7 |
+
"*attn_hyper_connection.block_inject_weight*",
|
| 8 |
+
"*attn_hyper_connection.input_mix_weight_down*",
|
| 9 |
+
"*attn_hyper_connection.input_mix_weight_up*",
|
| 10 |
+
"*conv1d*",
|
| 11 |
+
"*embed_tokens*",
|
| 12 |
+
"*hyper_connection*",
|
| 13 |
+
"*in_proj",
|
| 14 |
+
"*in_proj*",
|
| 15 |
+
"*in_proj_a",
|
| 16 |
+
"*in_proj_b",
|
| 17 |
+
"*in_proj_ba",
|
| 18 |
+
"*in_proj_qkv",
|
| 19 |
+
"*in_proj_qkvz",
|
| 20 |
+
"*in_proj_z",
|
| 21 |
+
"*indexer*",
|
| 22 |
+
"*linear_attn.conv1d*",
|
| 23 |
+
"*linear_attn.in_proj_a*",
|
| 24 |
+
"*linear_attn.in_proj_b*",
|
| 25 |
+
"*linear_attn.in_proj_qkv*",
|
| 26 |
+
"*linear_attn.in_proj_z*",
|
| 27 |
+
"*linear_attn.out_proj*",
|
| 28 |
+
"*mlp.gate*",
|
| 29 |
+
"*mlp.shared_expert.gate_proj*",
|
| 30 |
+
"*mlp.shared_expert.gate_up_proj",
|
| 31 |
+
"*mlp.shared_expert.up_proj*",
|
| 32 |
+
"*mlp.shared_expert_gate*",
|
| 33 |
+
"*mlp_hyper_connection.block_inject_weight*",
|
| 34 |
+
"*mlp_hyper_connection.input_mix_weight_down*",
|
| 35 |
+
"*mlp_hyper_connection.input_mix_weight_up*",
|
| 36 |
+
"*nextn*",
|
| 37 |
+
"*ngram*",
|
| 38 |
+
"*ple*",
|
| 39 |
+
"*ple.conv1d*",
|
| 40 |
+
"*ple.key_proj*",
|
| 41 |
+
"*ple.ple_embedding.ngram_embedding.shard_0*",
|
| 42 |
+
"*ple.ple_embedding.ngram_embedding.shard_1*",
|
| 43 |
+
"*ple.ple_embedding.ngram_embedding.shard_10*",
|
| 44 |
+
"*ple.ple_embedding.ngram_embedding.shard_100*",
|
| 45 |
+
"*ple.ple_embedding.ngram_embedding.shard_101*",
|
| 46 |
+
"*ple.ple_embedding.ngram_embedding.shard_102*",
|
| 47 |
+
"*ple.ple_embedding.ngram_embedding.shard_103*",
|
| 48 |
+
"*ple.ple_embedding.ngram_embedding.shard_104*",
|
| 49 |
+
"*ple.ple_embedding.ngram_embedding.shard_105*",
|
| 50 |
+
"*ple.ple_embedding.ngram_embedding.shard_106*",
|
| 51 |
+
"*ple.ple_embedding.ngram_embedding.shard_107*",
|
| 52 |
+
"*ple.ple_embedding.ngram_embedding.shard_108*",
|
| 53 |
+
"*ple.ple_embedding.ngram_embedding.shard_109*",
|
| 54 |
+
"*ple.ple_embedding.ngram_embedding.shard_11*",
|
| 55 |
+
"*ple.ple_embedding.ngram_embedding.shard_110*",
|
| 56 |
+
"*ple.ple_embedding.ngram_embedding.shard_111*",
|
| 57 |
+
"*ple.ple_embedding.ngram_embedding.shard_112*",
|
| 58 |
+
"*ple.ple_embedding.ngram_embedding.shard_113*",
|
| 59 |
+
"*ple.ple_embedding.ngram_embedding.shard_114*",
|
| 60 |
+
"*ple.ple_embedding.ngram_embedding.shard_115*",
|
| 61 |
+
"*ple.ple_embedding.ngram_embedding.shard_116*",
|
| 62 |
+
"*ple.ple_embedding.ngram_embedding.shard_117*",
|
| 63 |
+
"*ple.ple_embedding.ngram_embedding.shard_118*",
|
| 64 |
+
"*ple.ple_embedding.ngram_embedding.shard_119*",
|
| 65 |
+
"*ple.ple_embedding.ngram_embedding.shard_12*",
|
| 66 |
+
"*ple.ple_embedding.ngram_embedding.shard_120*",
|
| 67 |
+
"*ple.ple_embedding.ngram_embedding.shard_121*",
|
| 68 |
+
"*ple.ple_embedding.ngram_embedding.shard_122*",
|
| 69 |
+
"*ple.ple_embedding.ngram_embedding.shard_123*",
|
| 70 |
+
"*ple.ple_embedding.ngram_embedding.shard_124*",
|
| 71 |
+
"*ple.ple_embedding.ngram_embedding.shard_125*",
|
| 72 |
+
"*ple.ple_embedding.ngram_embedding.shard_126*",
|
| 73 |
+
"*ple.ple_embedding.ngram_embedding.shard_127*",
|
| 74 |
+
"*ple.ple_embedding.ngram_embedding.shard_13*",
|
| 75 |
+
"*ple.ple_embedding.ngram_embedding.shard_14*",
|
| 76 |
+
"*ple.ple_embedding.ngram_embedding.shard_15*",
|
| 77 |
+
"*ple.ple_embedding.ngram_embedding.shard_16*",
|
| 78 |
+
"*ple.ple_embedding.ngram_embedding.shard_17*",
|
| 79 |
+
"*ple.ple_embedding.ngram_embedding.shard_18*",
|
| 80 |
+
"*ple.ple_embedding.ngram_embedding.shard_19*",
|
| 81 |
+
"*ple.ple_embedding.ngram_embedding.shard_2*",
|
| 82 |
+
"*ple.ple_embedding.ngram_embedding.shard_20*",
|
| 83 |
+
"*ple.ple_embedding.ngram_embedding.shard_21*",
|
| 84 |
+
"*ple.ple_embedding.ngram_embedding.shard_22*",
|
| 85 |
+
"*ple.ple_embedding.ngram_embedding.shard_23*",
|
| 86 |
+
"*ple.ple_embedding.ngram_embedding.shard_24*",
|
| 87 |
+
"*ple.ple_embedding.ngram_embedding.shard_25*",
|
| 88 |
+
"*ple.ple_embedding.ngram_embedding.shard_26*",
|
| 89 |
+
"*ple.ple_embedding.ngram_embedding.shard_27*",
|
| 90 |
+
"*ple.ple_embedding.ngram_embedding.shard_28*",
|
| 91 |
+
"*ple.ple_embedding.ngram_embedding.shard_29*",
|
| 92 |
+
"*ple.ple_embedding.ngram_embedding.shard_3*",
|
| 93 |
+
"*ple.ple_embedding.ngram_embedding.shard_30*",
|
| 94 |
+
"*ple.ple_embedding.ngram_embedding.shard_31*",
|
| 95 |
+
"*ple.ple_embedding.ngram_embedding.shard_32*",
|
| 96 |
+
"*ple.ple_embedding.ngram_embedding.shard_33*",
|
| 97 |
+
"*ple.ple_embedding.ngram_embedding.shard_34*",
|
| 98 |
+
"*ple.ple_embedding.ngram_embedding.shard_35*",
|
| 99 |
+
"*ple.ple_embedding.ngram_embedding.shard_36*",
|
| 100 |
+
"*ple.ple_embedding.ngram_embedding.shard_37*",
|
| 101 |
+
"*ple.ple_embedding.ngram_embedding.shard_38*",
|
| 102 |
+
"*ple.ple_embedding.ngram_embedding.shard_39*",
|
| 103 |
+
"*ple.ple_embedding.ngram_embedding.shard_4*",
|
| 104 |
+
"*ple.ple_embedding.ngram_embedding.shard_40*",
|
| 105 |
+
"*ple.ple_embedding.ngram_embedding.shard_41*",
|
| 106 |
+
"*ple.ple_embedding.ngram_embedding.shard_42*",
|
| 107 |
+
"*ple.ple_embedding.ngram_embedding.shard_43*",
|
| 108 |
+
"*ple.ple_embedding.ngram_embedding.shard_44*",
|
| 109 |
+
"*ple.ple_embedding.ngram_embedding.shard_45*",
|
| 110 |
+
"*ple.ple_embedding.ngram_embedding.shard_46*",
|
| 111 |
+
"*ple.ple_embedding.ngram_embedding.shard_47*",
|
| 112 |
+
"*ple.ple_embedding.ngram_embedding.shard_48*",
|
| 113 |
+
"*ple.ple_embedding.ngram_embedding.shard_49*",
|
| 114 |
+
"*ple.ple_embedding.ngram_embedding.shard_5*",
|
| 115 |
+
"*ple.ple_embedding.ngram_embedding.shard_50*",
|
| 116 |
+
"*ple.ple_embedding.ngram_embedding.shard_51*",
|
| 117 |
+
"*ple.ple_embedding.ngram_embedding.shard_52*",
|
| 118 |
+
"*ple.ple_embedding.ngram_embedding.shard_53*",
|
| 119 |
+
"*ple.ple_embedding.ngram_embedding.shard_54*",
|
| 120 |
+
"*ple.ple_embedding.ngram_embedding.shard_55*",
|
| 121 |
+
"*ple.ple_embedding.ngram_embedding.shard_56*",
|
| 122 |
+
"*ple.ple_embedding.ngram_embedding.shard_57*",
|
| 123 |
+
"*ple.ple_embedding.ngram_embedding.shard_58*",
|
| 124 |
+
"*ple.ple_embedding.ngram_embedding.shard_59*",
|
| 125 |
+
"*ple.ple_embedding.ngram_embedding.shard_6*",
|
| 126 |
+
"*ple.ple_embedding.ngram_embedding.shard_60*",
|
| 127 |
+
"*ple.ple_embedding.ngram_embedding.shard_61*",
|
| 128 |
+
"*ple.ple_embedding.ngram_embedding.shard_62*",
|
| 129 |
+
"*ple.ple_embedding.ngram_embedding.shard_63*",
|
| 130 |
+
"*ple.ple_embedding.ngram_embedding.shard_64*",
|
| 131 |
+
"*ple.ple_embedding.ngram_embedding.shard_65*",
|
| 132 |
+
"*ple.ple_embedding.ngram_embedding.shard_66*",
|
| 133 |
+
"*ple.ple_embedding.ngram_embedding.shard_67*",
|
| 134 |
+
"*ple.ple_embedding.ngram_embedding.shard_68*",
|
| 135 |
+
"*ple.ple_embedding.ngram_embedding.shard_69*",
|
| 136 |
+
"*ple.ple_embedding.ngram_embedding.shard_7*",
|
| 137 |
+
"*ple.ple_embedding.ngram_embedding.shard_70*",
|
| 138 |
+
"*ple.ple_embedding.ngram_embedding.shard_71*",
|
| 139 |
+
"*ple.ple_embedding.ngram_embedding.shard_72*",
|
| 140 |
+
"*ple.ple_embedding.ngram_embedding.shard_73*",
|
| 141 |
+
"*ple.ple_embedding.ngram_embedding.shard_74*",
|
| 142 |
+
"*ple.ple_embedding.ngram_embedding.shard_75*",
|
| 143 |
+
"*ple.ple_embedding.ngram_embedding.shard_76*",
|
| 144 |
+
"*ple.ple_embedding.ngram_embedding.shard_77*",
|
| 145 |
+
"*ple.ple_embedding.ngram_embedding.shard_78*",
|
| 146 |
+
"*ple.ple_embedding.ngram_embedding.shard_79*",
|
| 147 |
+
"*ple.ple_embedding.ngram_embedding.shard_8*",
|
| 148 |
+
"*ple.ple_embedding.ngram_embedding.shard_80*",
|
| 149 |
+
"*ple.ple_embedding.ngram_embedding.shard_81*",
|
| 150 |
+
"*ple.ple_embedding.ngram_embedding.shard_82*",
|
| 151 |
+
"*ple.ple_embedding.ngram_embedding.shard_83*",
|
| 152 |
+
"*ple.ple_embedding.ngram_embedding.shard_84*",
|
| 153 |
+
"*ple.ple_embedding.ngram_embedding.shard_85*",
|
| 154 |
+
"*ple.ple_embedding.ngram_embedding.shard_86*",
|
| 155 |
+
"*ple.ple_embedding.ngram_embedding.shard_87*",
|
| 156 |
+
"*ple.ple_embedding.ngram_embedding.shard_88*",
|
| 157 |
+
"*ple.ple_embedding.ngram_embedding.shard_89*",
|
| 158 |
+
"*ple.ple_embedding.ngram_embedding.shard_9*",
|
| 159 |
+
"*ple.ple_embedding.ngram_embedding.shard_90*",
|
| 160 |
+
"*ple.ple_embedding.ngram_embedding.shard_91*",
|
| 161 |
+
"*ple.ple_embedding.ngram_embedding.shard_92*",
|
| 162 |
+
"*ple.ple_embedding.ngram_embedding.shard_93*",
|
| 163 |
+
"*ple.ple_embedding.ngram_embedding.shard_94*",
|
| 164 |
+
"*ple.ple_embedding.ngram_embedding.shard_95*",
|
| 165 |
+
"*ple.ple_embedding.ngram_embedding.shard_96*",
|
| 166 |
+
"*ple.ple_embedding.ngram_embedding.shard_97*",
|
| 167 |
+
"*ple.ple_embedding.ngram_embedding.shard_98*",
|
| 168 |
+
"*ple.ple_embedding.ngram_embedding.shard_99*",
|
| 169 |
+
"*ple.value_proj*",
|
| 170 |
+
"*self_attn.indexer.index_qk_proj*",
|
| 171 |
+
"*self_attn.k_proj",
|
| 172 |
+
"*self_attn.k_proj*",
|
| 173 |
+
"*self_attn.q_proj",
|
| 174 |
+
"*self_attn.q_proj*",
|
| 175 |
+
"*self_attn.qkv_proj",
|
| 176 |
+
"*self_attn.v_proj",
|
| 177 |
+
"*self_attn.v_proj*",
|
| 178 |
+
"*shared_expert_gate*",
|
| 179 |
+
"*visual*",
|
| 180 |
+
"embed_tokens",
|
| 181 |
+
"input_mix_weight_down",
|
| 182 |
+
"input_mix_weight_up",
|
| 183 |
+
"lm_head",
|
| 184 |
+
"mtp*",
|
| 185 |
+
"visual*"
|
| 186 |
+
]
|
| 187 |
+
}
|
| 188 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4e36d280740cf54a23f10a6dfd7dfd34e23a2ce0e1a8470c93d71e6161b5678
|
| 3 |
+
size 39193869560
|
model-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2776173dabe1fa3e9eb464e1deb122967c011a648d4535145d37f59047d10656
|
| 3 |
+
size 39709656480
|
model-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af5e857d3763d88ed622a7647d9fbbc4d4e4db2670be91471513133dab27b6fe
|
| 3 |
+
size 40000200112
|
model-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38564f3b6c3f4bf237c63b22abc1ad6e54674b96eab1e4052b48e2fdec71b674
|
| 3 |
+
size 32071634008
|
model-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b254c25e73a126f2f5ccdb89a60e684f37fc789ea8162f612c12a30c603ec0c8
|
| 3 |
+
size 3011148976
|
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 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0997f410c57a1f4e53b09e4be8f4a172d90edd9564368fb0847030937229b9f3
|
| 3 |
+
size 12809320
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"additional_special_tokens": [
|
| 270 |
+
"<|im_start|>",
|
| 271 |
+
"<|im_end|>",
|
| 272 |
+
"<|object_ref_start|>",
|
| 273 |
+
"<|object_ref_end|>",
|
| 274 |
+
"<|box_start|>",
|
| 275 |
+
"<|box_end|>",
|
| 276 |
+
"<|quad_start|>",
|
| 277 |
+
"<|quad_end|>",
|
| 278 |
+
"<|vision_start|>",
|
| 279 |
+
"<|vision_end|>",
|
| 280 |
+
"<|vision_pad|>",
|
| 281 |
+
"<|image_pad|>",
|
| 282 |
+
"<|video_pad|>"
|
| 283 |
+
],
|
| 284 |
+
"bos_token": null,
|
| 285 |
+
"chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- set reasoning_instructions = '' %}\n{%- if enable_thinking is undefined or enable_thinking is true %}\n {%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}\n {%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}\n {{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}\n {%- endif %}\n {%- if resolved_reasoning_effort == 'xhigh' %}\n {%- 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.' %}\n {%- elif resolved_reasoning_effort == 'low' %}\n {%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}\n {%- endif %}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {%- if reasoning_instructions %}\n {{- reasoning_instructions + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '<|im_start|>system\\n' + (reasoning_instructions + '\\n\\n' if reasoning_instructions else '') + content + '<|im_end|>\\n' }}\n {%- elif reasoning_instructions %}\n {{- '<|im_start|>system\\n' + reasoning_instructions + '<|im_end|>\\n' }}\n {%- endif %}\n {%- elif reasoning_instructions %}\n {{- '<|im_start|>system\\n' + reasoning_instructions + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {%- if loop.first %}\n {%- if content|trim %}\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- else %}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- else %}\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n {%- endif %}\n {%- if tool_call.arguments is defined and tool_call.arguments != '' %}\n {%- for args_name, args_value in tool_call.arguments|items %}\n {{- '<parameter=' + args_name + '>\\n' }}\n {%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}\n {{- args_value }}\n {{- '\\n</parameter>\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '</function>\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n {{- '<|im_end|>\\n' }}\n {%- elif loop.last %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- else %}\n {{- raise_exception('Unexpected message role.') }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- else %}\n {{- '<think>\\n' }}\n {%- endif %}\n{%- endif %}",
|
| 286 |
+
"clean_up_tokenization_spaces": false,
|
| 287 |
+
"eos_token": "<|im_end|>",
|
| 288 |
+
"errors": "replace",
|
| 289 |
+
"model_max_length": 262144,
|
| 290 |
+
"pad_token": "<|endoftext|>",
|
| 291 |
+
"split_special_tokens": false,
|
| 292 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 293 |
+
"unk_token": null,
|
| 294 |
+
"add_bos_token": false,
|
| 295 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 296 |
+
"extra_special_tokens": {
|
| 297 |
+
"audio_bos_token": "<|audio_start|>",
|
| 298 |
+
"audio_eos_token": "<|audio_end|>",
|
| 299 |
+
"audio_token": "<|audio_pad|>",
|
| 300 |
+
"image_token": "<|image_pad|>",
|
| 301 |
+
"video_token": "<|video_pad|>",
|
| 302 |
+
"vision_bos_token": "<|vision_start|>",
|
| 303 |
+
"vision_eos_token": "<|vision_end|>"
|
| 304 |
+
}
|
| 305 |
+
}
|
video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 25165824,
|
| 4 |
+
"shortest_edge": 4096
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 21 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|