Image-Text-to-Text
MLX
Safetensors
qwen3_5
decision-model
decision-making
calibration
jevbench
apple-silicon
glide
conversational
Instructions to use netprojects/GLiDE-mlx-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/GLiDE-mlx-8bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("netprojects/GLiDE-mlx-8bit") config = load_config("netprojects/GLiDE-mlx-8bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use netprojects/GLiDE-mlx-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/GLiDE-mlx-8bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "netprojects/GLiDE-mlx-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/GLiDE-mlx-8bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/GLiDE-mlx-8bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default netprojects/GLiDE-mlx-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/GLiDE-mlx-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/GLiDE-mlx-8bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "netprojects/GLiDE-mlx-8bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
GLiDE v1.2 (fastino/GLiDE d199b6d) MLX 8-bit: weights, card, Fastino Community License files
Browse files- .gitattributes +1 -0
- LICENSE +39 -0
- NOTICE +12 -0
- README.md +64 -0
- chat_template.jinja +170 -0
- config.json +159 -0
- decision_config.json +522 -0
- generation_config.json +13 -0
- licenses/Qwen3.8-27B-LICENSE +202 -0
- model-00001-of-00006.safetensors +3 -0
- model-00002-of-00006.safetensors +3 -0
- model-00003-of-00006.safetensors +3 -0
- model-00004-of-00006.safetensors +3 -0
- model-00005-of-00006.safetensors +3 -0
- model-00006-of-00006.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +21 -0
- readout.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +32 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Fastino Community License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Fastino Inc.
|
| 4 |
+
|
| 5 |
+
GLiDE is a modified version of Qwen3.8-27B, developed by Alibaba Cloud and licensed under the Apache License, Version 2.0. Qwen3.8-27B and any other third-party components included with the Software remain subject to their original licenses, and nothing in this license limits any rights granted under those licenses. This license applies only to the modifications, model weights, and other contributions made by Fastino Inc.
|
| 6 |
+
|
| 7 |
+
This license applies to versions of the Software first released by Fastino Inc. on or after September 30, 2026.
|
| 8 |
+
|
| 9 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of the GLiDE model, including its weights and associated software and documentation (the "Software"), to deal in the Software, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or provide copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 10 |
+
|
| 11 |
+
1. The above copyright notice and this permission notice, together with a copy of the Apache License, Version 2.0 and all copyright and NOTICE files accompanying Qwen3.8-27B, shall be included in all copies or substantial portions of the Software.
|
| 12 |
+
|
| 13 |
+
2. If the Software (or any Derivative Work thereof) is used in Production for any Commercial Use by an entity whose Annual Revenue exceeds 10,000,000 US dollars (or the equivalent in other currencies), such entity shall obtain a separate written commercial agreement from Fastino Inc. by contacting hello@fastino.ai with the subject line "GLiDE licensing: commercial agreement request".
|
| 14 |
+
|
| 15 |
+
3. Annual Revenue is measured over the preceding twelve (12) months and reassessed at the end of each fiscal quarter. An entity that first exceeds the threshold in Section 2 while already using the Software in Production may continue such use for ninety (90) days after the end of the quarter in which the threshold was exceeded, during which it shall request a commercial agreement. If no commercial agreement is in place at the end of that period, the entity's right to use the Software in Production for Commercial Use terminates.
|
| 16 |
+
|
| 17 |
+
4. If the Software (or any Derivative Work thereof) is used for any Commercial Use, you shall prominently display "Built with Fastino GLiDE" on a related website, user interface, about page, or product documentation.
|
| 18 |
+
|
| 19 |
+
5. If you create, distribute, or otherwise make available any Derivative Work:
|
| 20 |
+
|
| 21 |
+
a. you shall include a copy of this license with such Derivative Work;
|
| 22 |
+
|
| 23 |
+
b. you shall distribute such Derivative Work only under the terms of this license, and any recipient or user of such Derivative Work shall be bound by Sections 2 through 4 as a condition of its use; and
|
| 24 |
+
|
| 25 |
+
c. Sections 2 through 4 shall apply to any use of a Derivative Work, regardless of whether such Derivative Work was created, modified, or hosted by you or by a third party.
|
| 26 |
+
|
| 27 |
+
6. For purposes of this license:
|
| 28 |
+
|
| 29 |
+
a. "Commercial Use" means any use of the Software or any Derivative Work that is primarily intended for commercial advantage or monetary compensation, including without limitation: (i) offering products or services to third parties for a fee which utilize, incorporate, or rely on the Software or its Derivative Works; (ii) the commercial use of APIs provided by or for the Software or its Derivative Works, whether in a cloud-based, hosted, or other similar environment; and (iii) the use of the Software or its Derivative Works in the internal operations of a for-profit entity.
|
| 30 |
+
|
| 31 |
+
b. "Production" means any deployment of the Software or a Derivative Work that serves end users, customers, or employees, or supports business operations, whether offered for a fee or free of charge, including internal tools and customer-facing services. Production does not include evaluation, testing, benchmarking, or research, or a pilot lasting no more than ninety (90) days that does not serve paying customers.
|
| 32 |
+
|
| 33 |
+
c. "Annual Revenue" means the aggregate, consolidated gross revenue of an entity and all of its Affiliates over the preceding twelve (12) months.
|
| 34 |
+
|
| 35 |
+
d. "Affiliate" means any entity that directly or indirectly controls, is controlled by, or is under common control with another entity, where "control" means ownership of more than fifty percent (50%) of the voting interests of an entity or the power to direct its management and policies.
|
| 36 |
+
|
| 37 |
+
e. "Derivative Work" means any modification of, or work based on, the Software, including without limitation fine-tuned, instruction-tuned, merged, quantized, or pruned versions of its model weights, and any model distilled using its model weights.
|
| 38 |
+
|
| 39 |
+
THE SOFTWARE IS 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 THE AUTHORS 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.
|
NOTICE
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
GLiDE
|
| 2 |
+
Developed by Fastino Inc.
|
| 3 |
+
https://fastino.ai
|
| 4 |
+
https://huggingface.co/fastino/GLiDE
|
| 5 |
+
|
| 6 |
+
GLiDE is a modified version of Qwen3.8-27B developed by Alibaba Cloud.
|
| 7 |
+
Fastino modified the base model for decision modeling. Fastino contributions
|
| 8 |
+
are subject to the Fastino Community License in LICENSE.
|
| 9 |
+
|
| 10 |
+
Qwen3.8-27B: Copyright 2026 Alibaba Cloud.
|
| 11 |
+
The original upstream license is preserved in licenses/Qwen3.8-27B-LICENSE.
|
| 12 |
+
Qwen and other third-party components remain subject to their original licenses.
|
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: fastino-community
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
base_model: fastino/GLiDE
|
| 6 |
+
base_model_relation: quantized
|
| 7 |
+
library_name: mlx
|
| 8 |
+
pipeline_tag: image-text-to-text
|
| 9 |
+
tags: [mlx, decision-model, decision-making, calibration, jevbench, qwen3_5, apple-silicon, glide]
|
| 10 |
+
---
|
| 11 |
+
# GLiDE — MLX 8-bit
|
| 12 |
+
|
| 13 |
+
An 8-bit MLX conversion (affine, group size 64) of [fastino/GLiDE](https://huggingface.co/fastino/GLiDE) (GLiDE v1.2, revision `d199b6d`), Fastino's decision model built on Qwen3.8-27B, for Apple Silicon. 28.2 GB of weights.
|
| 14 |
+
|
| 15 |
+
**Built with Fastino GLiDE.** Published by [NetProjects](https://netprojects.com) (Internet Projects Ltd). Not affiliated with Fastino.
|
| 16 |
+
|
| 17 |
+
GLiDE is a **decision model**, not a chat model. Give it a state (text, JSON or images) and typed questions (`choice`, `noul` for yes / no, `score`) and it returns a probability for every option, in one forward pass per question. Nothing is generated.
|
| 18 |
+
|
| 19 |
+
> **Serve it with [glide-mlx](https://github.com/internet-projects/glide-mlx), not with `mlx_lm.server` or a plain `mlx_vlm` generate call.** GLiDE reads its answer from a separate 255-way readout (`readout.safetensors`) and lets its full-attention layers read the whole prompt in both directions; generic MLX snippets do neither.
|
| 20 |
+
|
| 21 |
+
## Results (MacBook Pro M5 Max, 128 GB, 29 October 2026)
|
| 22 |
+
|
| 23 |
+
| | this checkpoint |
|
| 24 |
+
|---|---|
|
| 25 |
+
| Same top answer as Fastino's own PyTorch code (bf16) | **202 / 204** questions; probability difference mean 0.002 |
|
| 26 |
+
| Same top answer as the original weights on MLX (bf16) | **204 / 204** |
|
| 27 |
+
| JevBench public (231, JevBench v1.2.1, `--adapter typesafe`) | **215 / 231** (easy 48/48 · standard 72/72 · hard 95/111) |
|
| 28 |
+
| Time per JevBench item (prompts up to about 4K tokens) | 0.74 s median |
|
| 29 |
+
|
| 30 |
+
The two answers that differ from Fastino's code are near-ties in the reference itself (top-two margin 0.018 and 0.000). The comparison set has 72 requests with 204 questions: text and JSON states of 30 to 1,500 words, 12 image requests, and all three question types. Practically identical to the original weights; the recommended MLX build.
|
| 31 |
+
|
| 32 |
+
## What is kept as in the original
|
| 33 |
+
|
| 34 |
+
- **Reading:** the 16 full-attention layers see the whole prompt (no causal mask), the 48 Gated DeltaNet layers keep their recurrence, as GLiDE's `noncausal_full_attention`.
|
| 35 |
+
- **Answer:** the last token's hidden state goes through GLiDE's 255-way readout, kept at its original precision; softmax over the options at the temperature in `decision_config.json`.
|
| 36 |
+
- **Prompts and images:** GLiDE's own `prompt.py` and `images.py`, unchanged; the vision encoder stays at its original precision.
|
| 37 |
+
- **API:** the same `POST /v1/systemone` request and response format as GLiDE's server.
|
| 38 |
+
|
| 39 |
+
## Use
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
git clone https://github.com/internet-projects/glide-mlx && cd glide-mlx
|
| 43 |
+
uv venv --python 3.12 .venv && uv pip install --python .venv/bin/python -r requirements.txt
|
| 44 |
+
hf download netprojects/GLiDE-mlx-8bit --local-dir glide-mlx-8bit
|
| 45 |
+
.venv/bin/python -m glide_mlx.server --model glide-mlx-8bit --port 8790 # http://127.0.0.1:8790/v1/systemone
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
curl -s localhost:8790/v1/systemone -H 'Content-Type: application/json' -d '{
|
| 50 |
+
"state": "Order 123 arrived broken and the customer wants their money back.",
|
| 51 |
+
"questions": {"intent": {"type": "choice", "instructions": "What does the customer want?",
|
| 52 |
+
"criteria": {"refund": "A refund", "exchange": "An exchange", "info": "Information"}},
|
| 53 |
+
"angry": {"type": "noul", "instructions": "Is the customer angry?"}}}'
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
Python: `from glide_mlx import GlideMLX; g = GlideMLX.from_pretrained("glide-mlx-8bit"); g.decide(state, questions)`.
|
| 57 |
+
|
| 58 |
+
**Smaller:** [netprojects/GLiDE-mlx-4bit](https://huggingface.co/netprojects/GLiDE-mlx-4bit) (15.3 GB). **Full precision:** the original [fastino/GLiDE](https://huggingface.co/fastino/GLiDE) folder loads directly with the same code.
|
| 59 |
+
|
| 60 |
+
## License
|
| 61 |
+
|
| 62 |
+
GLiDE is licensed under the **Fastino Community License** (`LICENSE`, `NOTICE`, `licenses/Qwen3.8-27B-LICENSE` are included). This conversion is a Derivative Work under that license and is distributed under the same terms. In short: commercial use requires displaying "Built with Fastino GLiDE" (section 4), and production commercial use by an entity with annual revenue above USD 10 million requires a separate agreement with Fastino (sections 2–3). Read the license for the full terms.
|
| 63 |
+
|
| 64 |
+
Credits: Fastino (GLiDE), Qwen team (Qwen3.8-27B, Apache-2.0), MLX and mlx-vlm. Conversion by Paris Michalas, Partner at [NetProjects](https://netprojects.com). Not affiliated with Fastino.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- set reasoning_instructions = '' %}
|
| 46 |
+
{%- if enable_thinking is undefined or enable_thinking is true %}
|
| 47 |
+
{%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
|
| 48 |
+
{%- if resolved_reasoning_effort not in ('xhigh', 'medium', 'low') %}
|
| 49 |
+
{{- raise_exception('Unexpected reasoning effort ' ~ reasoning_effort ~ '. Supported types are xhigh (default), medium, and low.') }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- if resolved_reasoning_effort == 'xhigh' %}
|
| 52 |
+
{%- set reasoning_instructions = 'Reasoning effort is set to xhigh. Please think carefully through the task, validate key assumptions, consider plausible alternatives, and prioritize correctness, consistency, and clarity in the final answer.' %}
|
| 53 |
+
{%- elif resolved_reasoning_effort == 'low' %}
|
| 54 |
+
{%- set reasoning_instructions = 'Reasoning effort is set to low. Keep your thinking brief and focused, moving directly to the conclusion without unnecessary elaboration.' %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 58 |
+
{{- '<|im_start|>system\n' }}
|
| 59 |
+
{%- if reasoning_instructions %}
|
| 60 |
+
{{- reasoning_instructions + '\n\n' }}
|
| 61 |
+
{%- endif %}
|
| 62 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 63 |
+
{%- for tool in tools %}
|
| 64 |
+
{{- "\n" }}
|
| 65 |
+
{{- tool | tojson }}
|
| 66 |
+
{%- endfor %}
|
| 67 |
+
{{- "\n</tools>" }}
|
| 68 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 69 |
+
{%- if messages[0].role == 'system' %}
|
| 70 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 71 |
+
{%- if content %}
|
| 72 |
+
{{- '\n\n' + content }}
|
| 73 |
+
{%- endif %}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{{- '<|im_end|>\n' }}
|
| 76 |
+
{%- else %}
|
| 77 |
+
{%- if messages[0].role == 'system' %}
|
| 78 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 79 |
+
{%- if content %}
|
| 80 |
+
{{- '<|im_start|>system\n' + (reasoning_instructions + '\n\n' if reasoning_instructions else '') + content + '<|im_end|>\n' }}
|
| 81 |
+
{%- elif reasoning_instructions %}
|
| 82 |
+
{{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
|
| 83 |
+
{%- endif %}
|
| 84 |
+
{%- elif reasoning_instructions %}
|
| 85 |
+
{{- '<|im_start|>system\n' + reasoning_instructions + '<|im_end|>\n' }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- endif %}
|
| 88 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 89 |
+
{%- for message in messages[::-1] %}
|
| 90 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 91 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 92 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 93 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 94 |
+
{%- set ns.multi_step_tool = false %}
|
| 95 |
+
{%- set ns.last_query_index = index %}
|
| 96 |
+
{%- endif %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endfor %}
|
| 99 |
+
{%- if ns.multi_step_tool %}
|
| 100 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 101 |
+
{%- endif %}
|
| 102 |
+
{%- for message in messages %}
|
| 103 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 104 |
+
{%- if message.role == "system" %}
|
| 105 |
+
{%- if not loop.first %}
|
| 106 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 107 |
+
{%- endif %}
|
| 108 |
+
{%- elif message.role == "user" %}
|
| 109 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 110 |
+
{%- elif message.role == "assistant" %}
|
| 111 |
+
{%- set reasoning_content = '' %}
|
| 112 |
+
{%- if message.reasoning_content is string %}
|
| 113 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 114 |
+
{%- endif %}
|
| 115 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 116 |
+
{%- if preserve_thinking is undefined or preserve_thinking is true or loop.index0 > ns.last_query_index %}
|
| 117 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 118 |
+
{%- else %}
|
| 119 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 120 |
+
{%- endif %}
|
| 121 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 122 |
+
{%- for tool_call in message.tool_calls %}
|
| 123 |
+
{%- if tool_call.function is defined %}
|
| 124 |
+
{%- set tool_call = tool_call.function %}
|
| 125 |
+
{%- endif %}
|
| 126 |
+
{%- if loop.first %}
|
| 127 |
+
{%- if content|trim %}
|
| 128 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 129 |
+
{%- else %}
|
| 130 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 131 |
+
{%- endif %}
|
| 132 |
+
{%- else %}
|
| 133 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{%- if tool_call.arguments is defined and tool_call.arguments != '' %}
|
| 136 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 137 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 138 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 139 |
+
{{- args_value }}
|
| 140 |
+
{{- '\n</parameter>\n' }}
|
| 141 |
+
{%- endfor %}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{{- '</function>\n</tool_call>' }}
|
| 144 |
+
{%- endfor %}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{{- '<|im_end|>\n' }}
|
| 147 |
+
{%- elif message.role == "tool" %}
|
| 148 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 149 |
+
{{- '<|im_start|>user' }}
|
| 150 |
+
{%- endif %}
|
| 151 |
+
{{- '\n<tool_response>\n' }}
|
| 152 |
+
{{- content }}
|
| 153 |
+
{{- '\n</tool_response>' }}
|
| 154 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 155 |
+
{{- '<|im_end|>\n' }}
|
| 156 |
+
{%- elif loop.last %}
|
| 157 |
+
{{- '<|im_end|>\n' }}
|
| 158 |
+
{%- endif %}
|
| 159 |
+
{%- else %}
|
| 160 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 161 |
+
{%- endif %}
|
| 162 |
+
{%- endfor %}
|
| 163 |
+
{%- if add_generation_prompt %}
|
| 164 |
+
{{- '<|im_start|>assistant\n' }}
|
| 165 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 166 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 167 |
+
{%- else %}
|
| 168 |
+
{{- '<think>\n' }}
|
| 169 |
+
{%- endif %}
|
| 170 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"glide_mlx": {
|
| 6 |
+
"source": "fastino/GLiDE",
|
| 7 |
+
"revision": "d199b6d7e04523d87986b8b68cd62272ed1cefc0",
|
| 8 |
+
"bits": 8,
|
| 9 |
+
"attn_bits": null,
|
| 10 |
+
"gate_bits": null,
|
| 11 |
+
"embed_bits": null,
|
| 12 |
+
"kept_original_precision": [
|
| 13 |
+
"vision encoder",
|
| 14 |
+
"norms",
|
| 15 |
+
"DeltaNet conv1d/A_log/dt_bias",
|
| 16 |
+
"readout"
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
"image_token_id": 248056,
|
| 20 |
+
"language_model_only": false,
|
| 21 |
+
"model_type": "qwen3_5",
|
| 22 |
+
"quantization": {
|
| 23 |
+
"group_size": 64,
|
| 24 |
+
"bits": 8,
|
| 25 |
+
"mode": "affine"
|
| 26 |
+
},
|
| 27 |
+
"text_config": {
|
| 28 |
+
"attention_bias": false,
|
| 29 |
+
"attention_dropout": 0.0,
|
| 30 |
+
"attn_output_gate": true,
|
| 31 |
+
"bos_token_id": 248044,
|
| 32 |
+
"dtype": "bfloat16",
|
| 33 |
+
"eos_token_id": 248044,
|
| 34 |
+
"full_attention_interval": 4,
|
| 35 |
+
"head_dim": 256,
|
| 36 |
+
"hidden_act": "silu",
|
| 37 |
+
"hidden_size": 5120,
|
| 38 |
+
"initializer_range": 0.02,
|
| 39 |
+
"intermediate_size": 17408,
|
| 40 |
+
"layer_types": [
|
| 41 |
+
"linear_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"full_attention",
|
| 45 |
+
"linear_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"linear_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"full_attention",
|
| 53 |
+
"linear_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"linear_attention",
|
| 56 |
+
"full_attention",
|
| 57 |
+
"linear_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"linear_attention",
|
| 60 |
+
"full_attention",
|
| 61 |
+
"linear_attention",
|
| 62 |
+
"linear_attention",
|
| 63 |
+
"linear_attention",
|
| 64 |
+
"full_attention",
|
| 65 |
+
"linear_attention",
|
| 66 |
+
"linear_attention",
|
| 67 |
+
"linear_attention",
|
| 68 |
+
"full_attention",
|
| 69 |
+
"linear_attention",
|
| 70 |
+
"linear_attention",
|
| 71 |
+
"linear_attention",
|
| 72 |
+
"full_attention",
|
| 73 |
+
"linear_attention",
|
| 74 |
+
"linear_attention",
|
| 75 |
+
"linear_attention",
|
| 76 |
+
"full_attention",
|
| 77 |
+
"linear_attention",
|
| 78 |
+
"linear_attention",
|
| 79 |
+
"linear_attention",
|
| 80 |
+
"full_attention",
|
| 81 |
+
"linear_attention",
|
| 82 |
+
"linear_attention",
|
| 83 |
+
"linear_attention",
|
| 84 |
+
"full_attention",
|
| 85 |
+
"linear_attention",
|
| 86 |
+
"linear_attention",
|
| 87 |
+
"linear_attention",
|
| 88 |
+
"full_attention",
|
| 89 |
+
"linear_attention",
|
| 90 |
+
"linear_attention",
|
| 91 |
+
"linear_attention",
|
| 92 |
+
"full_attention",
|
| 93 |
+
"linear_attention",
|
| 94 |
+
"linear_attention",
|
| 95 |
+
"linear_attention",
|
| 96 |
+
"full_attention",
|
| 97 |
+
"linear_attention",
|
| 98 |
+
"linear_attention",
|
| 99 |
+
"linear_attention",
|
| 100 |
+
"full_attention",
|
| 101 |
+
"linear_attention",
|
| 102 |
+
"linear_attention",
|
| 103 |
+
"linear_attention",
|
| 104 |
+
"full_attention"
|
| 105 |
+
],
|
| 106 |
+
"linear_conv_kernel_dim": 4,
|
| 107 |
+
"linear_key_head_dim": 128,
|
| 108 |
+
"linear_num_key_heads": 16,
|
| 109 |
+
"linear_num_value_heads": 48,
|
| 110 |
+
"linear_value_head_dim": 128,
|
| 111 |
+
"mamba_ssm_dtype": "float32",
|
| 112 |
+
"max_position_embeddings": 262144,
|
| 113 |
+
"model_type": "qwen3_5_text",
|
| 114 |
+
"mtp_num_hidden_layers": 1,
|
| 115 |
+
"mtp_use_dedicated_embeddings": false,
|
| 116 |
+
"num_attention_heads": 24,
|
| 117 |
+
"num_hidden_layers": 64,
|
| 118 |
+
"num_key_value_heads": 4,
|
| 119 |
+
"output_gate_type": "swish",
|
| 120 |
+
"pad_token_id": null,
|
| 121 |
+
"partial_rotary_factor": 0.25,
|
| 122 |
+
"rms_norm_eps": 1e-06,
|
| 123 |
+
"rope_parameters": {
|
| 124 |
+
"mrope_interleaved": true,
|
| 125 |
+
"mrope_section": [
|
| 126 |
+
11,
|
| 127 |
+
11,
|
| 128 |
+
10
|
| 129 |
+
],
|
| 130 |
+
"partial_rotary_factor": 0.25,
|
| 131 |
+
"rope_theta": 10000000,
|
| 132 |
+
"rope_type": "default"
|
| 133 |
+
},
|
| 134 |
+
"tie_word_embeddings": false,
|
| 135 |
+
"use_cache": true,
|
| 136 |
+
"vocab_size": 248320
|
| 137 |
+
},
|
| 138 |
+
"tie_word_embeddings": false,
|
| 139 |
+
"transformers_version": "5.8.0.dev0",
|
| 140 |
+
"video_token_id": 248057,
|
| 141 |
+
"vision_config": {
|
| 142 |
+
"deepstack_visual_indexes": [],
|
| 143 |
+
"depth": 27,
|
| 144 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 145 |
+
"hidden_size": 1152,
|
| 146 |
+
"in_channels": 3,
|
| 147 |
+
"initializer_range": 0.02,
|
| 148 |
+
"intermediate_size": 4304,
|
| 149 |
+
"model_type": "qwen3_5",
|
| 150 |
+
"num_heads": 16,
|
| 151 |
+
"num_position_embeddings": 2304,
|
| 152 |
+
"out_hidden_size": 5120,
|
| 153 |
+
"patch_size": 16,
|
| 154 |
+
"spatial_merge_size": 2,
|
| 155 |
+
"temporal_patch_size": 2
|
| 156 |
+
},
|
| 157 |
+
"vision_end_token_id": 248054,
|
| 158 |
+
"vision_start_token_id": 248053
|
| 159 |
+
}
|
decision_config.json
ADDED
|
@@ -0,0 +1,522 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"attention_mode": "noncausal_full_attention",
|
| 4 |
+
"pooling": "last",
|
| 5 |
+
"prompt_format": "glide-v1",
|
| 6 |
+
"temperature": 1.0,
|
| 7 |
+
"image_inputs": "Images are given as state parts of type image_url (data URLs). Each image becomes <|vision_start|><|image_pad|> x n<|vision_end|> before the state text, with multimodal rotary positions, in the same single forward pass.",
|
| 8 |
+
"codes": [
|
| 9 |
+
"A",
|
| 10 |
+
"B",
|
| 11 |
+
"C",
|
| 12 |
+
"D",
|
| 13 |
+
"E",
|
| 14 |
+
"F",
|
| 15 |
+
"G",
|
| 16 |
+
"H",
|
| 17 |
+
"I",
|
| 18 |
+
"J",
|
| 19 |
+
"K",
|
| 20 |
+
"L",
|
| 21 |
+
"M",
|
| 22 |
+
"N",
|
| 23 |
+
"O",
|
| 24 |
+
"P",
|
| 25 |
+
"Q",
|
| 26 |
+
"R",
|
| 27 |
+
"S",
|
| 28 |
+
"T",
|
| 29 |
+
"U",
|
| 30 |
+
"V",
|
| 31 |
+
"W",
|
| 32 |
+
"X",
|
| 33 |
+
"Y",
|
| 34 |
+
"Z",
|
| 35 |
+
"AA",
|
| 36 |
+
"AB",
|
| 37 |
+
"AC",
|
| 38 |
+
"AD",
|
| 39 |
+
"AE",
|
| 40 |
+
"AF",
|
| 41 |
+
"AG",
|
| 42 |
+
"AH",
|
| 43 |
+
"AI",
|
| 44 |
+
"AJ",
|
| 45 |
+
"AK",
|
| 46 |
+
"AL",
|
| 47 |
+
"AM",
|
| 48 |
+
"AN",
|
| 49 |
+
"AO",
|
| 50 |
+
"AP",
|
| 51 |
+
"AQ",
|
| 52 |
+
"AR",
|
| 53 |
+
"AS",
|
| 54 |
+
"AT",
|
| 55 |
+
"AU",
|
| 56 |
+
"AV",
|
| 57 |
+
"AW",
|
| 58 |
+
"AX",
|
| 59 |
+
"AY",
|
| 60 |
+
"AZ",
|
| 61 |
+
"BA",
|
| 62 |
+
"BB",
|
| 63 |
+
"BC",
|
| 64 |
+
"BD",
|
| 65 |
+
"BE",
|
| 66 |
+
"BF",
|
| 67 |
+
"BG",
|
| 68 |
+
"BH",
|
| 69 |
+
"BI",
|
| 70 |
+
"BJ",
|
| 71 |
+
"BK",
|
| 72 |
+
"BL",
|
| 73 |
+
"BM",
|
| 74 |
+
"BN",
|
| 75 |
+
"BO",
|
| 76 |
+
"BP",
|
| 77 |
+
"BR",
|
| 78 |
+
"BS",
|
| 79 |
+
"BT",
|
| 80 |
+
"BU",
|
| 81 |
+
"BV",
|
| 82 |
+
"BW",
|
| 83 |
+
"BX",
|
| 84 |
+
"BY",
|
| 85 |
+
"CA",
|
| 86 |
+
"CB",
|
| 87 |
+
"CC",
|
| 88 |
+
"CD",
|
| 89 |
+
"CE",
|
| 90 |
+
"CF",
|
| 91 |
+
"CG",
|
| 92 |
+
"CH",
|
| 93 |
+
"CI",
|
| 94 |
+
"CK",
|
| 95 |
+
"CL",
|
| 96 |
+
"CM",
|
| 97 |
+
"CN",
|
| 98 |
+
"CO",
|
| 99 |
+
"CP",
|
| 100 |
+
"CR",
|
| 101 |
+
"CS",
|
| 102 |
+
"CT",
|
| 103 |
+
"CU",
|
| 104 |
+
"CV",
|
| 105 |
+
"CW",
|
| 106 |
+
"CX",
|
| 107 |
+
"CY",
|
| 108 |
+
"DA",
|
| 109 |
+
"DB",
|
| 110 |
+
"DC",
|
| 111 |
+
"DD",
|
| 112 |
+
"DE",
|
| 113 |
+
"DF",
|
| 114 |
+
"DG",
|
| 115 |
+
"DH",
|
| 116 |
+
"DI",
|
| 117 |
+
"DJ",
|
| 118 |
+
"DK",
|
| 119 |
+
"DL",
|
| 120 |
+
"DM",
|
| 121 |
+
"DN",
|
| 122 |
+
"DO",
|
| 123 |
+
"DP",
|
| 124 |
+
"DR",
|
| 125 |
+
"DS",
|
| 126 |
+
"DT",
|
| 127 |
+
"DU",
|
| 128 |
+
"DV",
|
| 129 |
+
"DW",
|
| 130 |
+
"DX",
|
| 131 |
+
"DY",
|
| 132 |
+
"EA",
|
| 133 |
+
"EB",
|
| 134 |
+
"EC",
|
| 135 |
+
"ED",
|
| 136 |
+
"EE",
|
| 137 |
+
"EF",
|
| 138 |
+
"EG",
|
| 139 |
+
"EH",
|
| 140 |
+
"EI",
|
| 141 |
+
"EK",
|
| 142 |
+
"EL",
|
| 143 |
+
"EM",
|
| 144 |
+
"EN",
|
| 145 |
+
"EO",
|
| 146 |
+
"EP",
|
| 147 |
+
"EQ",
|
| 148 |
+
"ER",
|
| 149 |
+
"ES",
|
| 150 |
+
"ET",
|
| 151 |
+
"EU",
|
| 152 |
+
"EV",
|
| 153 |
+
"EW",
|
| 154 |
+
"EX",
|
| 155 |
+
"EZ",
|
| 156 |
+
"FA",
|
| 157 |
+
"FB",
|
| 158 |
+
"FC",
|
| 159 |
+
"FD",
|
| 160 |
+
"FE",
|
| 161 |
+
"FF",
|
| 162 |
+
"FG",
|
| 163 |
+
"FH",
|
| 164 |
+
"FI",
|
| 165 |
+
"FK",
|
| 166 |
+
"FL",
|
| 167 |
+
"FM",
|
| 168 |
+
"FN",
|
| 169 |
+
"FO",
|
| 170 |
+
"FP",
|
| 171 |
+
"FR",
|
| 172 |
+
"FS",
|
| 173 |
+
"FT",
|
| 174 |
+
"FU",
|
| 175 |
+
"FW",
|
| 176 |
+
"FX",
|
| 177 |
+
"FY",
|
| 178 |
+
"GA",
|
| 179 |
+
"GB",
|
| 180 |
+
"GC",
|
| 181 |
+
"GD",
|
| 182 |
+
"GE",
|
| 183 |
+
"GF",
|
| 184 |
+
"GG",
|
| 185 |
+
"GH",
|
| 186 |
+
"GI",
|
| 187 |
+
"GL",
|
| 188 |
+
"GM",
|
| 189 |
+
"GN",
|
| 190 |
+
"GO",
|
| 191 |
+
"GP",
|
| 192 |
+
"GR",
|
| 193 |
+
"GS",
|
| 194 |
+
"GT",
|
| 195 |
+
"GU",
|
| 196 |
+
"GV",
|
| 197 |
+
"GW",
|
| 198 |
+
"GX",
|
| 199 |
+
"GY",
|
| 200 |
+
"HA",
|
| 201 |
+
"HB",
|
| 202 |
+
"HC",
|
| 203 |
+
"HD",
|
| 204 |
+
"HE",
|
| 205 |
+
"HF",
|
| 206 |
+
"HG",
|
| 207 |
+
"HH",
|
| 208 |
+
"HI",
|
| 209 |
+
"HK",
|
| 210 |
+
"HL",
|
| 211 |
+
"HM",
|
| 212 |
+
"HN",
|
| 213 |
+
"HO",
|
| 214 |
+
"HP",
|
| 215 |
+
"HQ",
|
| 216 |
+
"HR",
|
| 217 |
+
"HS",
|
| 218 |
+
"HT",
|
| 219 |
+
"HU",
|
| 220 |
+
"HV",
|
| 221 |
+
"HW",
|
| 222 |
+
"HX",
|
| 223 |
+
"HY",
|
| 224 |
+
"HZ",
|
| 225 |
+
"IA",
|
| 226 |
+
"IB",
|
| 227 |
+
"IC",
|
| 228 |
+
"ID",
|
| 229 |
+
"IE",
|
| 230 |
+
"IF",
|
| 231 |
+
"IG",
|
| 232 |
+
"IH",
|
| 233 |
+
"II",
|
| 234 |
+
"IJ",
|
| 235 |
+
"IK",
|
| 236 |
+
"IL",
|
| 237 |
+
"IM",
|
| 238 |
+
"IN",
|
| 239 |
+
"IO",
|
| 240 |
+
"IP",
|
| 241 |
+
"IQ",
|
| 242 |
+
"IR",
|
| 243 |
+
"IS",
|
| 244 |
+
"IT",
|
| 245 |
+
"IU",
|
| 246 |
+
"IV",
|
| 247 |
+
"IW",
|
| 248 |
+
"IX",
|
| 249 |
+
"IZ",
|
| 250 |
+
"JA",
|
| 251 |
+
"JB",
|
| 252 |
+
"JC",
|
| 253 |
+
"JD",
|
| 254 |
+
"JE",
|
| 255 |
+
"JI",
|
| 256 |
+
"JJ",
|
| 257 |
+
"JK",
|
| 258 |
+
"JM",
|
| 259 |
+
"JO",
|
| 260 |
+
"JP",
|
| 261 |
+
"JR",
|
| 262 |
+
"JS",
|
| 263 |
+
"JT"
|
| 264 |
+
],
|
| 265 |
+
"token_ids": [
|
| 266 |
+
32,
|
| 267 |
+
33,
|
| 268 |
+
34,
|
| 269 |
+
35,
|
| 270 |
+
36,
|
| 271 |
+
37,
|
| 272 |
+
38,
|
| 273 |
+
39,
|
| 274 |
+
40,
|
| 275 |
+
41,
|
| 276 |
+
42,
|
| 277 |
+
43,
|
| 278 |
+
44,
|
| 279 |
+
45,
|
| 280 |
+
46,
|
| 281 |
+
47,
|
| 282 |
+
48,
|
| 283 |
+
49,
|
| 284 |
+
50,
|
| 285 |
+
51,
|
| 286 |
+
52,
|
| 287 |
+
53,
|
| 288 |
+
54,
|
| 289 |
+
55,
|
| 290 |
+
56,
|
| 291 |
+
57,
|
| 292 |
+
5840,
|
| 293 |
+
1803,
|
| 294 |
+
1646,
|
| 295 |
+
1745,
|
| 296 |
+
13276,
|
| 297 |
+
8018,
|
| 298 |
+
1825,
|
| 299 |
+
28946,
|
| 300 |
+
15015,
|
| 301 |
+
29595,
|
| 302 |
+
11568,
|
| 303 |
+
939,
|
| 304 |
+
1354,
|
| 305 |
+
1058,
|
| 306 |
+
18183,
|
| 307 |
+
2456,
|
| 308 |
+
88898,
|
| 309 |
+
905,
|
| 310 |
+
1846,
|
| 311 |
+
802,
|
| 312 |
+
33869,
|
| 313 |
+
7839,
|
| 314 |
+
14006,
|
| 315 |
+
2860,
|
| 316 |
+
2926,
|
| 317 |
+
22828,
|
| 318 |
+
6844,
|
| 319 |
+
9798,
|
| 320 |
+
4738,
|
| 321 |
+
9265,
|
| 322 |
+
11261,
|
| 323 |
+
19278,
|
| 324 |
+
36513,
|
| 325 |
+
93801,
|
| 326 |
+
8335,
|
| 327 |
+
14544,
|
| 328 |
+
85266,
|
| 329 |
+
9110,
|
| 330 |
+
28000,
|
| 331 |
+
15137,
|
| 332 |
+
4525,
|
| 333 |
+
25261,
|
| 334 |
+
12717,
|
| 335 |
+
7116,
|
| 336 |
+
17078,
|
| 337 |
+
14497,
|
| 338 |
+
57339,
|
| 339 |
+
74909,
|
| 340 |
+
52072,
|
| 341 |
+
19305,
|
| 342 |
+
4887,
|
| 343 |
+
12607,
|
| 344 |
+
3580,
|
| 345 |
+
6281,
|
| 346 |
+
2036,
|
| 347 |
+
9362,
|
| 348 |
+
8533,
|
| 349 |
+
2080,
|
| 350 |
+
10911,
|
| 351 |
+
2925,
|
| 352 |
+
3040,
|
| 353 |
+
9690,
|
| 354 |
+
27731,
|
| 355 |
+
8023,
|
| 356 |
+
6901,
|
| 357 |
+
8702,
|
| 358 |
+
6211,
|
| 359 |
+
1123,
|
| 360 |
+
16307,
|
| 361 |
+
18990,
|
| 362 |
+
64045,
|
| 363 |
+
63037,
|
| 364 |
+
33380,
|
| 365 |
+
6151,
|
| 366 |
+
3392,
|
| 367 |
+
5449,
|
| 368 |
+
3967,
|
| 369 |
+
1113,
|
| 370 |
+
5095,
|
| 371 |
+
51923,
|
| 372 |
+
49600,
|
| 373 |
+
17099,
|
| 374 |
+
51483,
|
| 375 |
+
17756,
|
| 376 |
+
16037,
|
| 377 |
+
8135,
|
| 378 |
+
30237,
|
| 379 |
+
5683,
|
| 380 |
+
9992,
|
| 381 |
+
7444,
|
| 382 |
+
5751,
|
| 383 |
+
10284,
|
| 384 |
+
20887,
|
| 385 |
+
59884,
|
| 386 |
+
52396,
|
| 387 |
+
16103,
|
| 388 |
+
67547,
|
| 389 |
+
18535,
|
| 390 |
+
8006,
|
| 391 |
+
7263,
|
| 392 |
+
1425,
|
| 393 |
+
6878,
|
| 394 |
+
14453,
|
| 395 |
+
9097,
|
| 396 |
+
44072,
|
| 397 |
+
76089,
|
| 398 |
+
68720,
|
| 399 |
+
2662,
|
| 400 |
+
2629,
|
| 401 |
+
923,
|
| 402 |
+
6548,
|
| 403 |
+
8924,
|
| 404 |
+
52194,
|
| 405 |
+
622,
|
| 406 |
+
1515,
|
| 407 |
+
1300,
|
| 408 |
+
37523,
|
| 409 |
+
44473,
|
| 410 |
+
36530,
|
| 411 |
+
3152,
|
| 412 |
+
93924,
|
| 413 |
+
3505,
|
| 414 |
+
15731,
|
| 415 |
+
6542,
|
| 416 |
+
14176,
|
| 417 |
+
11091,
|
| 418 |
+
1686,
|
| 419 |
+
11660,
|
| 420 |
+
80440,
|
| 421 |
+
18836,
|
| 422 |
+
26132,
|
| 423 |
+
5934,
|
| 424 |
+
24794,
|
| 425 |
+
40229,
|
| 426 |
+
3660,
|
| 427 |
+
11361,
|
| 428 |
+
10191,
|
| 429 |
+
8225,
|
| 430 |
+
3860,
|
| 431 |
+
78413,
|
| 432 |
+
17680,
|
| 433 |
+
15900,
|
| 434 |
+
78138,
|
| 435 |
+
15653,
|
| 436 |
+
5213,
|
| 437 |
+
22150,
|
| 438 |
+
39500,
|
| 439 |
+
10460,
|
| 440 |
+
35131,
|
| 441 |
+
21563,
|
| 442 |
+
43194,
|
| 443 |
+
27127,
|
| 444 |
+
3697,
|
| 445 |
+
20011,
|
| 446 |
+
24368,
|
| 447 |
+
15058,
|
| 448 |
+
23658,
|
| 449 |
+
8362,
|
| 450 |
+
16035,
|
| 451 |
+
24583,
|
| 452 |
+
52857,
|
| 453 |
+
38403,
|
| 454 |
+
60456,
|
| 455 |
+
81519,
|
| 456 |
+
40097,
|
| 457 |
+
16522,
|
| 458 |
+
29722,
|
| 459 |
+
21756,
|
| 460 |
+
18567,
|
| 461 |
+
1736,
|
| 462 |
+
48043,
|
| 463 |
+
87013,
|
| 464 |
+
22456,
|
| 465 |
+
23165,
|
| 466 |
+
55523,
|
| 467 |
+
13097,
|
| 468 |
+
50397,
|
| 469 |
+
41741,
|
| 470 |
+
23073,
|
| 471 |
+
6401,
|
| 472 |
+
86538,
|
| 473 |
+
16585,
|
| 474 |
+
11622,
|
| 475 |
+
2464,
|
| 476 |
+
84982,
|
| 477 |
+
75516,
|
| 478 |
+
36984,
|
| 479 |
+
58795,
|
| 480 |
+
47217,
|
| 481 |
+
59675,
|
| 482 |
+
5681,
|
| 483 |
+
3151,
|
| 484 |
+
1271,
|
| 485 |
+
887,
|
| 486 |
+
5203,
|
| 487 |
+
2685,
|
| 488 |
+
1849,
|
| 489 |
+
72470,
|
| 490 |
+
5370,
|
| 491 |
+
74063,
|
| 492 |
+
27629,
|
| 493 |
+
1655,
|
| 494 |
+
1728,
|
| 495 |
+
669,
|
| 496 |
+
3682,
|
| 497 |
+
3191,
|
| 498 |
+
59865,
|
| 499 |
+
2712,
|
| 500 |
+
1580,
|
| 501 |
+
922,
|
| 502 |
+
77243,
|
| 503 |
+
2990,
|
| 504 |
+
78493,
|
| 505 |
+
5228,
|
| 506 |
+
2750,
|
| 507 |
+
42711,
|
| 508 |
+
44568,
|
| 509 |
+
56402,
|
| 510 |
+
48236,
|
| 511 |
+
38993,
|
| 512 |
+
43559,
|
| 513 |
+
61250,
|
| 514 |
+
32942,
|
| 515 |
+
86302,
|
| 516 |
+
25310,
|
| 517 |
+
26313,
|
| 518 |
+
81770,
|
| 519 |
+
12185,
|
| 520 |
+
78382
|
| 521 |
+
]
|
| 522 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 248044,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
248046,
|
| 6 |
+
248044
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 248044,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "5.17.0"
|
| 13 |
+
}
|
licenses/Qwen3.8-27B-LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright 2026 Alibaba Cloud
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
model-00001-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f491ec315764f84fd3ecd1b0a2c757c2718f1e9842ba2dc06f38b7cb144c373
|
| 3 |
+
size 5317707581
|
model-00002-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2eec9243c1835fec7089bb6c01a591eef373180fe3ded879007b0dc0c12b87f
|
| 3 |
+
size 5354102610
|
model-00003-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fa98b21be4f51e210039e4392a6bb9e6dea093f11605cdafe7fe5e4a0fda8f6
|
| 3 |
+
size 5354184694
|
model-00004-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5746d448356366b52016012892d4e03b06edf42bd8edcfe49c1a5910e60468
|
| 3 |
+
size 5337309653
|
model-00005-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce3be0a6022e98c7786b2aeb06d58c36fda623844fa35f05a69257a580259030
|
| 3 |
+
size 5292848464
|
model-00006-of-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31415812f4d6d1ce20570b9a509f129e365263fe070255042c033934fee6bcc5
|
| 3 |
+
size 1494204340
|
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 |
+
}
|
readout.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:801e3114fb7857e779644d7e1afa8b6afd04d78c87043360a4e8e07f0376347e
|
| 3 |
+
size 2611288
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
|
| 3 |
+
size 19989325
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"audio_bos_token": "<|audio_start|>",
|
| 4 |
+
"audio_eos_token": "<|audio_end|>",
|
| 5 |
+
"audio_token": "<|audio_pad|>",
|
| 6 |
+
"backend": "tokenizers",
|
| 7 |
+
"bos_token": null,
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"eos_token": "<|im_end|>",
|
| 10 |
+
"errors": "replace",
|
| 11 |
+
"image_token": "<|image_pad|>",
|
| 12 |
+
"is_local": true,
|
| 13 |
+
"local_files_only": false,
|
| 14 |
+
"model_max_length": 262144,
|
| 15 |
+
"model_specific_special_tokens": {
|
| 16 |
+
"audio_bos_token": "<|audio_start|>",
|
| 17 |
+
"audio_eos_token": "<|audio_end|>",
|
| 18 |
+
"audio_token": "<|audio_pad|>",
|
| 19 |
+
"image_token": "<|image_pad|>",
|
| 20 |
+
"video_token": "<|video_pad|>",
|
| 21 |
+
"vision_bos_token": "<|vision_start|>",
|
| 22 |
+
"vision_eos_token": "<|vision_end|>"
|
| 23 |
+
},
|
| 24 |
+
"pad_token": "<|endoftext|>",
|
| 25 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 26 |
+
"split_special_tokens": false,
|
| 27 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 28 |
+
"unk_token": null,
|
| 29 |
+
"video_token": "<|video_pad|>",
|
| 30 |
+
"vision_bos_token": "<|vision_start|>",
|
| 31 |
+
"vision_eos_token": "<|vision_end|>"
|
| 32 |
+
}
|