Publish sealed OmniLion BF16 native vLLM release
Browse filesPrivate release. Exact allowlisted payload verified before upload.
- .gitattributes +2 -34
- LICENSES.md +33 -0
- PROVENANCE.md +74 -0
- README.md +88 -0
- chat_template.jinja +154 -0
- config.json +186 -0
- configuration.json +1 -0
- generation_config.json +12 -0
- merges.txt +0 -0
- model-00001-of-00016.safetensors +3 -0
- model-00002-of-00016.safetensors +3 -0
- model-00003-of-00016.safetensors +3 -0
- model-00004-of-00016.safetensors +3 -0
- model-00005-of-00016.safetensors +3 -0
- model-00006-of-00016.safetensors +3 -0
- model-00007-of-00016.safetensors +3 -0
- model-00008-of-00016.safetensors +3 -0
- model-00009-of-00016.safetensors +3 -0
- model-00010-of-00016.safetensors +3 -0
- model-00011-of-00016.safetensors +3 -0
- model-00012-of-00016.safetensors +3 -0
- model-00013-of-00016.safetensors +3 -0
- model-00014-of-00016.safetensors +3 -0
- model-00015-of-00016.safetensors +3 -0
- model-00016-of-00016.safetensors +3 -0
- model.safetensors.index.json +0 -0
- omnilion_vllm_plugin-0.1.0-py3-none-any.whl +0 -0
- preprocessor_config.json +35 -0
- release-manifest.json +163 -0
- release-policy.json +7 -0
- runtime-requirements.txt +10 -0
- standardization_receipt.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +305 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,3 @@
|
|
| 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 |
-
|
| 27 |
-
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.whl filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSES.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Component licenses
|
| 2 |
+
|
| 3 |
+
OmniLion combines independently licensed components. No single relicensing
|
| 4 |
+
statement in this repository overrides their original terms.
|
| 5 |
+
|
| 6 |
+
## Decoder and visual tower
|
| 7 |
+
|
| 8 |
+
`aisingapore/Qwen-SEA-LION-v4.5-27B-IT` identifies its license as **MIT** and
|
| 9 |
+
links to the Qwen3.6 license:
|
| 10 |
+
|
| 11 |
+
- Model card: https://huggingface.co/aisingapore/Qwen-SEA-LION-v4.5-27B-IT
|
| 12 |
+
- License link: https://huggingface.co/Qwen/Qwen3.6-27B/blob/main/LICENSE
|
| 13 |
+
- Pinned source revision: `544e416f68a5700c7577547ad48e351e7d294116`
|
| 14 |
+
|
| 15 |
+
## Audio tower and processor
|
| 16 |
+
|
| 17 |
+
`Qwen/Qwen3-ASR-1.7B-hf` is licensed under **Apache License 2.0**:
|
| 18 |
+
|
| 19 |
+
- Model card: https://huggingface.co/Qwen/Qwen3-ASR-1.7B-hf
|
| 20 |
+
- Pinned source revision: `bcd2b5b7f32b480ab5790554cfa8347f246a14f3`
|
| 21 |
+
|
| 22 |
+
## OmniLion plugin and trained additions
|
| 23 |
+
|
| 24 |
+
The `omnilion-vllm-plugin` source and wheel are distributed under Apache-2.0.
|
| 25 |
+
The trained P21 projector and materialized adapter-derived additions are
|
| 26 |
+
provided subject to the repository's component-license obligations and the
|
| 27 |
+
applicable training-data/use-rights review.
|
| 28 |
+
|
| 29 |
+
Training datasets and evaluation media are not included.
|
| 30 |
+
|
| 31 |
+
Users are responsible for reviewing the linked upstream licenses and ensuring
|
| 32 |
+
that their distribution and use comply with all applicable terms. This file is
|
| 33 |
+
a provenance aid, not legal advice.
|
PROVENANCE.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OmniLion provenance
|
| 2 |
+
|
| 3 |
+
## Components
|
| 4 |
+
|
| 5 |
+
| Component | Source | Immutable revision | Role |
|
| 6 |
+
|---|---|---|---|
|
| 7 |
+
| Decoder and visual tower | `aisingapore/Qwen-SEA-LION-v4.5-27B-IT` | `544e416f68a5700c7577547ad48e351e7d294116` | Qwen3.6 language model, tokenizer, chat template, image/video tower, visual merger and MRoPE behavior |
|
| 8 |
+
| Audio tower and processor | `Qwen/Qwen3-ASR-1.7B-hf` | `bcd2b5b7f32b480ab5790554cfa8347f246a14f3` | 16 kHz mono feature extraction and Qwen3-ASR audio encoding |
|
| 9 |
+
| P21 projector | OmniLion trained checkpoint | accepted generation `step_049291_1789014139367389200` | Projects 1,024-dimensional audio states to the decoder's 5,120-dimensional embedding space |
|
| 10 |
+
|
| 11 |
+
## Derived-weight construction
|
| 12 |
+
|
| 13 |
+
The accepted Deep-rsLoRA decoder derivative was materialized into the BF16
|
| 14 |
+
SEA-LION decoder using FP32 adapter accumulation and BF16 output:
|
| 15 |
+
|
| 16 |
+
```text
|
| 17 |
+
adapter tensors 992
|
| 18 |
+
merged linear layers 496
|
| 19 |
+
decoder shards 15
|
| 20 |
+
source conversion false
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
The original explicit-adapter source remains separate. Runtime LoRA is not
|
| 24 |
+
required and explicit adapter tensors are not included in this repository.
|
| 25 |
+
|
| 26 |
+
The Qwen3-ASR tower and trained projector are stored in shard 16 under
|
| 27 |
+
`model.audio_tower.*` and `model.multi_modal_projector.*`. Existing SEA-LION
|
| 28 |
+
visual tensors remain in the original decoder/vision shards; they were not
|
| 29 |
+
removed or replaced.
|
| 30 |
+
|
| 31 |
+
## Source payload hashes
|
| 32 |
+
|
| 33 |
+
```text
|
| 34 |
+
audio_tower.safetensors
|
| 35 |
+
e221c86dc79bb40950cf569de223df0e69ec24c569c6097247930ee039d19236
|
| 36 |
+
|
| 37 |
+
decoder_deep_lora.safetensors
|
| 38 |
+
eadb5cbec7c65b6393d28a7a770703bccddc5e8127ac3379597945c3f48c5551
|
| 39 |
+
|
| 40 |
+
target_projector.safetensors
|
| 41 |
+
f8795f377dd00350b91e0c8a46691b3ce5002db6c07b8b70d37cc2b3e3b44f29
|
| 42 |
+
|
| 43 |
+
accepted checkpoint state
|
| 44 |
+
9c5ac1acf5a9d59242a7de45df10f260597433d0f22d55ce61c634cc64aa0b31
|
| 45 |
+
|
| 46 |
+
integrated shard 16
|
| 47 |
+
b94688df24a524f2a63b9518e9518dbeadb3eccdccc6abaa3401b34cd1d4a85e
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
The repository's `standardization_receipt.json` records the decoder shard
|
| 51 |
+
hashes and integrated-shard source hashes. `release-manifest.json` inventories
|
| 52 |
+
all payload files intended for publication.
|
| 53 |
+
|
| 54 |
+
## Runtime architecture
|
| 55 |
+
|
| 56 |
+
```text
|
| 57 |
+
audio
|
| 58 |
+
→ Qwen3-ASR feature extractor and encoder
|
| 59 |
+
→ trained RMSNorm / Linear / squared-ReLU / Linear projector
|
| 60 |
+
→ Qwen3.6 token embedding stream
|
| 61 |
+
|
| 62 |
+
image or video
|
| 63 |
+
→ SEA-LION visual tower and merger
|
| 64 |
+
→ Qwen3.6 visual MRoPE positions and embedding stream
|
| 65 |
+
|
| 66 |
+
joint video plus audio
|
| 67 |
+
→ both towers
|
| 68 |
+
→ deterministic visual then audio placeholder/embedding merge
|
| 69 |
+
→ Qwen3.6 decoder
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
Internal `model_type: qwen3_5` is the Transformers/vLLM compatibility
|
| 73 |
+
implementation used by the Qwen3.6 lineage. It is not a claim that the public
|
| 74 |
+
decoder lineage changed to Qwen3.5.
|
README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: mixed-mit-apache-2.0
|
| 4 |
+
license_link: https://huggingface.co/LLJYY/OmniLion/blob/main/LICENSES.md
|
| 5 |
+
library_name: vllm
|
| 6 |
+
pipeline_tag: any-to-any
|
| 7 |
+
base_model:
|
| 8 |
+
- aisingapore/Qwen-SEA-LION-v4.5-27B-IT
|
| 9 |
+
- Qwen/Qwen3-ASR-1.7B-hf
|
| 10 |
+
tags:
|
| 11 |
+
- vllm
|
| 12 |
+
- multimodal
|
| 13 |
+
- qwen3.6
|
| 14 |
+
- sea-lion
|
| 15 |
+
- qwen3-asr
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# OmniLion
|
| 19 |
+
|
| 20 |
+
OmniLion combines the SEA-LION/Qwen3.6 language and vision model with a
|
| 21 |
+
Qwen3-ASR audio encoder and a trained audio projector.
|
| 22 |
+
|
| 23 |
+
A single native vLLM process supports:
|
| 24 |
+
|
| 25 |
+
- text → text
|
| 26 |
+
- image → text
|
| 27 |
+
- video → text
|
| 28 |
+
- audio → text
|
| 29 |
+
- joint video + audio → text
|
| 30 |
+
|
| 31 |
+
This is a Hugging Face SafeTensors model, not GGUF. The matching vLLM plugin is
|
| 32 |
+
required.
|
| 33 |
+
|
| 34 |
+
## Install
|
| 35 |
+
|
| 36 |
+
The verified runtime is Linux ARM64 on NVIDIA GB10 with Python 3.12, vLLM
|
| 37 |
+
0.29.0, PyTorch 2.13.0+cu129, and Transformers 5.17.0. Install the appropriate
|
| 38 |
+
vLLM/PyTorch build for your platform first, then install the included plugin:
|
| 39 |
+
|
| 40 |
+
```sh
|
| 41 |
+
python -m pip install --no-deps ./omnilion_vllm_plugin-0.1.0-py3-none-any.whl
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Serve
|
| 45 |
+
|
| 46 |
+
```sh
|
| 47 |
+
export VLLM_PLUGINS=omnilion
|
| 48 |
+
export PYTHONNOUSERSITE=1
|
| 49 |
+
|
| 50 |
+
vllm serve LLJYY/OmniLion \
|
| 51 |
+
--served-model-name OmniLion \
|
| 52 |
+
--host 127.0.0.1 \
|
| 53 |
+
--port 8002 \
|
| 54 |
+
--dtype bfloat16 \
|
| 55 |
+
--max-model-len 8192 \
|
| 56 |
+
--max-num-seqs 1 \
|
| 57 |
+
--gpu-memory-utilization 0.65 \
|
| 58 |
+
--limit-mm-per-prompt '{"image":1,"video":1,"audio":1}' \
|
| 59 |
+
--media-io-kwargs '{"video":{"num_frames":30}}' \
|
| 60 |
+
--chat-template-content-format string \
|
| 61 |
+
--enforce-eager
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
Use `/v1/chat/completions` with `model: "OmniLion"`. OpenAI-compatible content
|
| 65 |
+
parts are `image_url`, `video_url`, and `input_audio`. For joint AV, place the
|
| 66 |
+
video and audio parts before the text instruction in the same user message.
|
| 67 |
+
Audio is limited to 30 seconds per item in this release.
|
| 68 |
+
|
| 69 |
+
## Thinking
|
| 70 |
+
|
| 71 |
+
OmniLion keeps Qwen3.6's thinking behavior enabled for normal requests. Clients
|
| 72 |
+
can pass `chat_template_kwargs: {"enable_thinking": false}` for strict-format,
|
| 73 |
+
low-latency, or deterministic health-check calls.
|
| 74 |
+
|
| 75 |
+
## Notes
|
| 76 |
+
|
| 77 |
+
- The release was verified with text, image, video, audio, and joint-AV requests
|
| 78 |
+
through one vLLM process and through LiteLLM.
|
| 79 |
+
- Only BF16 on the pinned GB10 runtime is release-verified.
|
| 80 |
+
- The model can hallucinate and inherits the safety and bias limitations of its
|
| 81 |
+
components and subsequent training.
|
| 82 |
+
- Training data and evaluation media are not included.
|
| 83 |
+
- Keep raw vLLM private; put an authenticated gateway such as LiteLLM in front
|
| 84 |
+
for networked deployment.
|
| 85 |
+
|
| 86 |
+
Exact files and hashes are in [release-manifest.json](release-manifest.json).
|
| 87 |
+
Lineage is in [PROVENANCE.md](PROVENANCE.md), and component terms are in
|
| 88 |
+
[LICENSES.md](LICENSES.md).
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "OmniLion",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"OmniLionForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"image_token_id": 248056,
|
| 7 |
+
"language_model_only": false,
|
| 8 |
+
"model_type": "qwen3_5",
|
| 9 |
+
"omnilion": {
|
| 10 |
+
"accepted_generation": "step_049291_1789014139367389200",
|
| 11 |
+
"accepted_state_sha256": "9c5ac1acf5a9d59242a7de45df10f260597433d0f22d55ce61c634cc64aa0b31",
|
| 12 |
+
"adapter_materialized": true,
|
| 13 |
+
"adapter_source_sha256": "eadb5cbec7c65b6393d28a7a770703bccddc5e8127ac3379597945c3f48c5551",
|
| 14 |
+
"audio_tower": "Qwen/Qwen3-ASR-1.7B-hf",
|
| 15 |
+
"audio_tower_revision": "bcd2b5b7f32b480ab5790554cfa8347f246a14f3",
|
| 16 |
+
"decoder_model": "Qwen-SEA-LION-v4.5-27B-IT",
|
| 17 |
+
"decoder_revision": "544e416f68a5700c7577547ad48e351e7d294116",
|
| 18 |
+
"deep_rslora_alpha": 16.0,
|
| 19 |
+
"deep_rslora_scaling": "alpha_over_sqrt_rank",
|
| 20 |
+
"foundation_family": "Qwen3.6-27B",
|
| 21 |
+
"merge_accumulator_dtype": "float32",
|
| 22 |
+
"merged_linear_count": 496,
|
| 23 |
+
"name": "OmniLion",
|
| 24 |
+
"output_dtype": "bfloat16",
|
| 25 |
+
"transformers_compatibility_architecture": "Qwen3_5ForConditionalGeneration",
|
| 26 |
+
"transformers_compatibility_model_type": "qwen3_5"
|
| 27 |
+
},
|
| 28 |
+
"text_config": {
|
| 29 |
+
"attention_bias": false,
|
| 30 |
+
"attention_dropout": 0.0,
|
| 31 |
+
"attn_output_gate": true,
|
| 32 |
+
"bos_token_id": 248044,
|
| 33 |
+
"dtype": "bfloat16",
|
| 34 |
+
"eos_token_id": 248044,
|
| 35 |
+
"full_attention_interval": 4,
|
| 36 |
+
"head_dim": 256,
|
| 37 |
+
"hidden_act": "silu",
|
| 38 |
+
"hidden_size": 5120,
|
| 39 |
+
"initializer_range": 0.02,
|
| 40 |
+
"intermediate_size": 17408,
|
| 41 |
+
"layer_types": [
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"linear_attention",
|
| 55 |
+
"linear_attention",
|
| 56 |
+
"linear_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"linear_attention",
|
| 59 |
+
"linear_attention",
|
| 60 |
+
"linear_attention",
|
| 61 |
+
"full_attention",
|
| 62 |
+
"linear_attention",
|
| 63 |
+
"linear_attention",
|
| 64 |
+
"linear_attention",
|
| 65 |
+
"full_attention",
|
| 66 |
+
"linear_attention",
|
| 67 |
+
"linear_attention",
|
| 68 |
+
"linear_attention",
|
| 69 |
+
"full_attention",
|
| 70 |
+
"linear_attention",
|
| 71 |
+
"linear_attention",
|
| 72 |
+
"linear_attention",
|
| 73 |
+
"full_attention",
|
| 74 |
+
"linear_attention",
|
| 75 |
+
"linear_attention",
|
| 76 |
+
"linear_attention",
|
| 77 |
+
"full_attention",
|
| 78 |
+
"linear_attention",
|
| 79 |
+
"linear_attention",
|
| 80 |
+
"linear_attention",
|
| 81 |
+
"full_attention",
|
| 82 |
+
"linear_attention",
|
| 83 |
+
"linear_attention",
|
| 84 |
+
"linear_attention",
|
| 85 |
+
"full_attention",
|
| 86 |
+
"linear_attention",
|
| 87 |
+
"linear_attention",
|
| 88 |
+
"linear_attention",
|
| 89 |
+
"full_attention",
|
| 90 |
+
"linear_attention",
|
| 91 |
+
"linear_attention",
|
| 92 |
+
"linear_attention",
|
| 93 |
+
"full_attention",
|
| 94 |
+
"linear_attention",
|
| 95 |
+
"linear_attention",
|
| 96 |
+
"linear_attention",
|
| 97 |
+
"full_attention",
|
| 98 |
+
"linear_attention",
|
| 99 |
+
"linear_attention",
|
| 100 |
+
"linear_attention",
|
| 101 |
+
"full_attention",
|
| 102 |
+
"linear_attention",
|
| 103 |
+
"linear_attention",
|
| 104 |
+
"linear_attention",
|
| 105 |
+
"full_attention"
|
| 106 |
+
],
|
| 107 |
+
"linear_conv_kernel_dim": 4,
|
| 108 |
+
"linear_key_head_dim": 128,
|
| 109 |
+
"linear_num_key_heads": 16,
|
| 110 |
+
"linear_num_value_heads": 48,
|
| 111 |
+
"linear_value_head_dim": 128,
|
| 112 |
+
"mamba_ssm_dtype": "float32",
|
| 113 |
+
"max_position_embeddings": 262144,
|
| 114 |
+
"model_type": "qwen3_5_text",
|
| 115 |
+
"mtp_num_hidden_layers": 1,
|
| 116 |
+
"mtp_use_dedicated_embeddings": false,
|
| 117 |
+
"num_attention_heads": 24,
|
| 118 |
+
"num_hidden_layers": 64,
|
| 119 |
+
"num_key_value_heads": 4,
|
| 120 |
+
"output_gate_type": "swish",
|
| 121 |
+
"pad_token_id": null,
|
| 122 |
+
"partial_rotary_factor": 0.25,
|
| 123 |
+
"rms_norm_eps": 1e-06,
|
| 124 |
+
"rope_parameters": {
|
| 125 |
+
"mrope_interleaved": true,
|
| 126 |
+
"mrope_section": [
|
| 127 |
+
11,
|
| 128 |
+
11,
|
| 129 |
+
10
|
| 130 |
+
],
|
| 131 |
+
"partial_rotary_factor": 0.25,
|
| 132 |
+
"rope_theta": 10000000,
|
| 133 |
+
"rope_type": "default"
|
| 134 |
+
},
|
| 135 |
+
"tie_word_embeddings": false,
|
| 136 |
+
"use_cache": true,
|
| 137 |
+
"vocab_size": 248320
|
| 138 |
+
},
|
| 139 |
+
"tie_word_embeddings": false,
|
| 140 |
+
"transformers_version": "4.57.1",
|
| 141 |
+
"video_token_id": 248057,
|
| 142 |
+
"vision_config": {
|
| 143 |
+
"deepstack_visual_indexes": [],
|
| 144 |
+
"depth": 27,
|
| 145 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 146 |
+
"hidden_size": 1152,
|
| 147 |
+
"in_channels": 3,
|
| 148 |
+
"initializer_range": 0.02,
|
| 149 |
+
"intermediate_size": 4304,
|
| 150 |
+
"model_type": "qwen3_5",
|
| 151 |
+
"num_heads": 16,
|
| 152 |
+
"num_position_embeddings": 2304,
|
| 153 |
+
"out_hidden_size": 5120,
|
| 154 |
+
"patch_size": 16,
|
| 155 |
+
"spatial_merge_size": 2,
|
| 156 |
+
"temporal_patch_size": 2
|
| 157 |
+
},
|
| 158 |
+
"vision_end_token_id": 248054,
|
| 159 |
+
"vision_start_token_id": 248053,
|
| 160 |
+
"omnilion_artifact": "BF16",
|
| 161 |
+
"omnilion_audio_config": {
|
| 162 |
+
"activation_dropout": 0,
|
| 163 |
+
"activation_function": "gelu",
|
| 164 |
+
"attention_dropout": 0,
|
| 165 |
+
"conv_chunksize": 500,
|
| 166 |
+
"d_model": 1024,
|
| 167 |
+
"downsample_hidden_size": 480,
|
| 168 |
+
"dropout": 0,
|
| 169 |
+
"encoder_attention_heads": 16,
|
| 170 |
+
"encoder_ffn_dim": 4096,
|
| 171 |
+
"encoder_layers": 24,
|
| 172 |
+
"initializer_range": 0.02,
|
| 173 |
+
"max_position_embeddings": 13,
|
| 174 |
+
"model_type": "qwen3_asr_encoder",
|
| 175 |
+
"n_window": 50,
|
| 176 |
+
"n_window_infer": 800,
|
| 177 |
+
"num_key_value_heads": 16,
|
| 178 |
+
"num_mel_bins": 128,
|
| 179 |
+
"output_dim": 2048,
|
| 180 |
+
"scale_embedding": false
|
| 181 |
+
},
|
| 182 |
+
"omnilion_audio_token": "<|audio_pad|>",
|
| 183 |
+
"omnilion_audio_token_id": 248076,
|
| 184 |
+
"omnilion_plugin_version": "0.1.0",
|
| 185 |
+
"omnilion_schema_version": 1
|
| 186 |
+
}
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"framework":"Pytorch","task":"image-text-to-text"}
|
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 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eae8f740ce3670f244a41180745c3023bcd999421f227d24444497a4ec5fa953
|
| 3 |
+
size 3968861320
|
model-00002-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45db02dfcfa2fc2b8e330d8e97c105b63b02b24feb75835a53da05a48ec6200c
|
| 3 |
+
size 3921677104
|
model-00003-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16c786e65761346a8b07f8de5021676986bbe35094a857ce37edfd4135d34e2f
|
| 3 |
+
size 3921677096
|
model-00004-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0df707eb39f1b3073a35b1a6d961e05f3dd98b35e66fee8bf9a10f57a07f300
|
| 3 |
+
size 3921677096
|
model-00005-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cce00d08f6195cb517ef6bad00e4c1197d8a6f6117cf394eab00c6d0b42ccd07
|
| 3 |
+
size 3921677080
|
model-00006-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b44ab63c1b10f7cb5d77e34daed7722e027da44f7b360972bcae7662004abe8d
|
| 3 |
+
size 3900710856
|
model-00007-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09aebd510b096f188ef335dfc5c94f15f275163bab98491b9dae0712f62ac243
|
| 3 |
+
size 3994391944
|
model-00008-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebceaf460b4c2e93c5483e19cb9e702e617229363eef0e6dd14f1e0e4db31c46
|
| 3 |
+
size 3879219744
|
model-00009-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ff2e2e786e7f87f2b368ac77a787e306bc8cfb4db175349618f4bdb1976e33a
|
| 3 |
+
size 3921677104
|
model-00010-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b937ed577f89bcd1682ca3a78d3ba3f9de9ebb56984c45a20faa8db3d31b077
|
| 3 |
+
size 3921677096
|
model-00011-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3699e1608e5a15981049732907687236f3e8ffb305af62f331a9294c2fc29430
|
| 3 |
+
size 3921677104
|
model-00012-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e58c7c080c41376e5d6a2b1e4cc64103597ab74ef4a45ceb99e8e18147d75c7f
|
| 3 |
+
size 3921677104
|
model-00013-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7548ee183fd2f3e4ea506be039a9c941e103245f42812defb5a51e76184755d
|
| 3 |
+
size 3995081816
|
model-00014-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb875383202273799c609b7ce423bcb37767d52614ee3bed474d83bd37dff010
|
| 3 |
+
size 3942652920
|
model-00015-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47c3f9e98be925b63b3237684db1fe422b9a27426e5f7e83582a49bfde285c6c
|
| 3 |
+
size 508670536
|
model-00016-of-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b94688df24a524f2a63b9518e9518dbeadb3eccdccc6abaa3401b34cd1d4a85e
|
| 3 |
+
size 679038784
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
omnilion_vllm_plugin-0.1.0-py3-none-any.whl
ADDED
|
Binary file (12.4 kB). View file
|
|
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"chunk_length": 30,
|
| 22 |
+
"dither": 0.0,
|
| 23 |
+
"feature_extractor_type": "Qwen3ASRFeatureExtractor",
|
| 24 |
+
"feature_size": 128,
|
| 25 |
+
"hop_length": 160,
|
| 26 |
+
"min_length": 8000,
|
| 27 |
+
"n_fft": 400,
|
| 28 |
+
"n_samples": 480000,
|
| 29 |
+
"n_window": 50,
|
| 30 |
+
"nb_max_frames": 3000,
|
| 31 |
+
"padding_side": "right",
|
| 32 |
+
"padding_value": 0.0,
|
| 33 |
+
"return_attention_mask": true,
|
| 34 |
+
"sampling_rate": 16000
|
| 35 |
+
}
|
release-manifest.json
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"hub_repository": "LLJYY/OmniLion",
|
| 3 |
+
"payload_bytes": 56265129412,
|
| 4 |
+
"payload_files": {
|
| 5 |
+
".gitattributes": {
|
| 6 |
+
"bytes": 92,
|
| 7 |
+
"sha256": "802484551351c5d01f3e3f0c32926a83870833795b283bf23eb61e099dc0eb65"
|
| 8 |
+
},
|
| 9 |
+
"LICENSES.md": {
|
| 10 |
+
"bytes": 1308,
|
| 11 |
+
"sha256": "18bcfae23555ebf006233a43dfd5e04f593019bd453701038787937e3687d882"
|
| 12 |
+
},
|
| 13 |
+
"PROVENANCE.md": {
|
| 14 |
+
"bytes": 2701,
|
| 15 |
+
"sha256": "34926573bbe11d9f8a7ed2edf2763fc76dabe45d741d3f918db408c9ad9a5e1f"
|
| 16 |
+
},
|
| 17 |
+
"README.md": {
|
| 18 |
+
"bytes": 2638,
|
| 19 |
+
"sha256": "96e90b852dae4552f21bdea758a8f9892c09ea38735e1e1725c49b2fe0b34c89"
|
| 20 |
+
},
|
| 21 |
+
"chat_template.jinja": {
|
| 22 |
+
"bytes": 7764,
|
| 23 |
+
"sha256": "e84f32a23fdda27689f868aa4a1a5621f41133e51a48d7f3efcbea2839574259"
|
| 24 |
+
},
|
| 25 |
+
"config.json": {
|
| 26 |
+
"bytes": 5359,
|
| 27 |
+
"sha256": "5efde091546eb7a1d6fe825525785705d26ae904cdcaa806d27dbf9875795cc7"
|
| 28 |
+
},
|
| 29 |
+
"configuration.json": {
|
| 30 |
+
"bytes": 51,
|
| 31 |
+
"sha256": "2d4464e2ead06bc9bc718c781309ad1e7baded626d66e8dcdc8b469ba185faf0"
|
| 32 |
+
},
|
| 33 |
+
"generation_config.json": {
|
| 34 |
+
"bytes": 202,
|
| 35 |
+
"sha256": "e70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e"
|
| 36 |
+
},
|
| 37 |
+
"merges.txt": {
|
| 38 |
+
"bytes": 3353259,
|
| 39 |
+
"sha256": "a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d"
|
| 40 |
+
},
|
| 41 |
+
"model-00001-of-00016.safetensors": {
|
| 42 |
+
"bytes": 3968861320,
|
| 43 |
+
"sha256": "eae8f740ce3670f244a41180745c3023bcd999421f227d24444497a4ec5fa953"
|
| 44 |
+
},
|
| 45 |
+
"model-00002-of-00016.safetensors": {
|
| 46 |
+
"bytes": 3921677104,
|
| 47 |
+
"sha256": "45db02dfcfa2fc2b8e330d8e97c105b63b02b24feb75835a53da05a48ec6200c"
|
| 48 |
+
},
|
| 49 |
+
"model-00003-of-00016.safetensors": {
|
| 50 |
+
"bytes": 3921677096,
|
| 51 |
+
"sha256": "16c786e65761346a8b07f8de5021676986bbe35094a857ce37edfd4135d34e2f"
|
| 52 |
+
},
|
| 53 |
+
"model-00004-of-00016.safetensors": {
|
| 54 |
+
"bytes": 3921677096,
|
| 55 |
+
"sha256": "e0df707eb39f1b3073a35b1a6d961e05f3dd98b35e66fee8bf9a10f57a07f300"
|
| 56 |
+
},
|
| 57 |
+
"model-00005-of-00016.safetensors": {
|
| 58 |
+
"bytes": 3921677080,
|
| 59 |
+
"sha256": "cce00d08f6195cb517ef6bad00e4c1197d8a6f6117cf394eab00c6d0b42ccd07"
|
| 60 |
+
},
|
| 61 |
+
"model-00006-of-00016.safetensors": {
|
| 62 |
+
"bytes": 3900710856,
|
| 63 |
+
"sha256": "b44ab63c1b10f7cb5d77e34daed7722e027da44f7b360972bcae7662004abe8d"
|
| 64 |
+
},
|
| 65 |
+
"model-00007-of-00016.safetensors": {
|
| 66 |
+
"bytes": 3994391944,
|
| 67 |
+
"sha256": "09aebd510b096f188ef335dfc5c94f15f275163bab98491b9dae0712f62ac243"
|
| 68 |
+
},
|
| 69 |
+
"model-00008-of-00016.safetensors": {
|
| 70 |
+
"bytes": 3879219744,
|
| 71 |
+
"sha256": "ebceaf460b4c2e93c5483e19cb9e702e617229363eef0e6dd14f1e0e4db31c46"
|
| 72 |
+
},
|
| 73 |
+
"model-00009-of-00016.safetensors": {
|
| 74 |
+
"bytes": 3921677104,
|
| 75 |
+
"sha256": "0ff2e2e786e7f87f2b368ac77a787e306bc8cfb4db175349618f4bdb1976e33a"
|
| 76 |
+
},
|
| 77 |
+
"model-00010-of-00016.safetensors": {
|
| 78 |
+
"bytes": 3921677096,
|
| 79 |
+
"sha256": "8b937ed577f89bcd1682ca3a78d3ba3f9de9ebb56984c45a20faa8db3d31b077"
|
| 80 |
+
},
|
| 81 |
+
"model-00011-of-00016.safetensors": {
|
| 82 |
+
"bytes": 3921677104,
|
| 83 |
+
"sha256": "3699e1608e5a15981049732907687236f3e8ffb305af62f331a9294c2fc29430"
|
| 84 |
+
},
|
| 85 |
+
"model-00012-of-00016.safetensors": {
|
| 86 |
+
"bytes": 3921677104,
|
| 87 |
+
"sha256": "e58c7c080c41376e5d6a2b1e4cc64103597ab74ef4a45ceb99e8e18147d75c7f"
|
| 88 |
+
},
|
| 89 |
+
"model-00013-of-00016.safetensors": {
|
| 90 |
+
"bytes": 3995081816,
|
| 91 |
+
"sha256": "e7548ee183fd2f3e4ea506be039a9c941e103245f42812defb5a51e76184755d"
|
| 92 |
+
},
|
| 93 |
+
"model-00014-of-00016.safetensors": {
|
| 94 |
+
"bytes": 3942652920,
|
| 95 |
+
"sha256": "bb875383202273799c609b7ce423bcb37767d52614ee3bed474d83bd37dff010"
|
| 96 |
+
},
|
| 97 |
+
"model-00015-of-00016.safetensors": {
|
| 98 |
+
"bytes": 508670536,
|
| 99 |
+
"sha256": "47c3f9e98be925b63b3237684db1fe422b9a27426e5f7e83582a49bfde285c6c"
|
| 100 |
+
},
|
| 101 |
+
"model-00016-of-00016.safetensors": {
|
| 102 |
+
"bytes": 679038784,
|
| 103 |
+
"sha256": "b94688df24a524f2a63b9518e9518dbeadb3eccdccc6abaa3401b34cd1d4a85e"
|
| 104 |
+
},
|
| 105 |
+
"model.safetensors.index.json": {
|
| 106 |
+
"bytes": 148114,
|
| 107 |
+
"sha256": "ce39cc3d704ba2659fb8f4a29e01c411119394bd4aede5bce19349b7eed7ae35"
|
| 108 |
+
},
|
| 109 |
+
"omnilion_vllm_plugin-0.1.0-py3-none-any.whl": {
|
| 110 |
+
"bytes": 12362,
|
| 111 |
+
"sha256": "989711f66d16fb7f1e6e943c7b73babf0ab53018abf45276889ab89bd2a1df07"
|
| 112 |
+
},
|
| 113 |
+
"preprocessor_config.json": {
|
| 114 |
+
"bytes": 690,
|
| 115 |
+
"sha256": "b20176d59d1be5f3593464969e21be10d0ff2af8a492d235009feaa400e697e2"
|
| 116 |
+
},
|
| 117 |
+
"release-policy.json": {
|
| 118 |
+
"bytes": 179,
|
| 119 |
+
"sha256": "e9c3138da4141554cc3d04a099c85d70520520074f87b1ce13de0e75ad387b94"
|
| 120 |
+
},
|
| 121 |
+
"runtime-requirements.txt": {
|
| 122 |
+
"bytes": 270,
|
| 123 |
+
"sha256": "6e17df77dd203485b2bf110b7ab5e3d6643ce5f84c09775200fb7d9b144a5067"
|
| 124 |
+
},
|
| 125 |
+
"standardization_receipt.json": {
|
| 126 |
+
"bytes": 2258,
|
| 127 |
+
"sha256": "f0ce55410f37a624becefa6fb72b45c9323d6d3cd1a469c8c26f201154b80ff9"
|
| 128 |
+
},
|
| 129 |
+
"tokenizer.json": {
|
| 130 |
+
"bytes": 12807982,
|
| 131 |
+
"sha256": "5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42"
|
| 132 |
+
},
|
| 133 |
+
"tokenizer_config.json": {
|
| 134 |
+
"bytes": 16720,
|
| 135 |
+
"sha256": "f4d969585e55cec902abe1300d760cef06866ae807de8c6fb7a98394c37c066b"
|
| 136 |
+
},
|
| 137 |
+
"vocab.json": {
|
| 138 |
+
"bytes": 6722759,
|
| 139 |
+
"sha256": "ce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003"
|
| 140 |
+
}
|
| 141 |
+
},
|
| 142 |
+
"schema_version": 1,
|
| 143 |
+
"status": "PASS_OMNILION_BF16_RELEASE_SEAL",
|
| 144 |
+
"summary": {
|
| 145 |
+
"architecture": "OmniLionForConditionalGeneration",
|
| 146 |
+
"artifact": "BF16",
|
| 147 |
+
"component_tensors": {
|
| 148 |
+
"audio_tower": 393,
|
| 149 |
+
"projector": 3,
|
| 150 |
+
"visual": 333
|
| 151 |
+
},
|
| 152 |
+
"plugin_wheel": {
|
| 153 |
+
"file": "omnilion_vllm_plugin-0.1.0-py3-none-any.whl",
|
| 154 |
+
"sha256": "989711f66d16fb7f1e6e943c7b73babf0ab53018abf45276889ab89bd2a1df07"
|
| 155 |
+
},
|
| 156 |
+
"shards": 16,
|
| 157 |
+
"tensor_dtypes": {
|
| 158 |
+
"BF16": 1595
|
| 159 |
+
},
|
| 160 |
+
"tensors": 1595
|
| 161 |
+
},
|
| 162 |
+
"visibility": "private"
|
| 163 |
+
}
|
release-policy.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"evaluation_media_included": false,
|
| 3 |
+
"hub_repository": "LLJYY/OmniLion",
|
| 4 |
+
"public_release_authorized": false,
|
| 5 |
+
"training_data_included": false,
|
| 6 |
+
"visibility": "private"
|
| 7 |
+
}
|
runtime-requirements.txt
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Verified OmniLion BF16 runtime
|
| 2 |
+
python==3.12.*
|
| 3 |
+
vllm==0.29.0
|
| 4 |
+
transformers==5.17.0
|
| 5 |
+
soundfile==0.13.1
|
| 6 |
+
ninja==1.13.0
|
| 7 |
+
# PyTorch build is platform-specific; verified on ARM64 CUDA 12.9:
|
| 8 |
+
torch==2.13.0+cu129
|
| 9 |
+
# Install the matching wheel separately:
|
| 10 |
+
omnilion-vllm-plugin==0.1.0
|
standardization_receipt.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifact": "OmniLion-BF16",
|
| 3 |
+
"architecture": "OmniLionForConditionalGeneration",
|
| 4 |
+
"audio_tensors": 393,
|
| 5 |
+
"projector_tensors": 3,
|
| 6 |
+
"decoder_shards_reused_byte_for_byte": true,
|
| 7 |
+
"decoder_shards": {
|
| 8 |
+
"model-00001-of-00016.safetensors": "eae8f740ce3670f244a41180745c3023bcd999421f227d24444497a4ec5fa953",
|
| 9 |
+
"model-00002-of-00016.safetensors": "45db02dfcfa2fc2b8e330d8e97c105b63b02b24feb75835a53da05a48ec6200c",
|
| 10 |
+
"model-00003-of-00016.safetensors": "16c786e65761346a8b07f8de5021676986bbe35094a857ce37edfd4135d34e2f",
|
| 11 |
+
"model-00004-of-00016.safetensors": "e0df707eb39f1b3073a35b1a6d961e05f3dd98b35e66fee8bf9a10f57a07f300",
|
| 12 |
+
"model-00005-of-00016.safetensors": "cce00d08f6195cb517ef6bad00e4c1197d8a6f6117cf394eab00c6d0b42ccd07",
|
| 13 |
+
"model-00006-of-00016.safetensors": "b44ab63c1b10f7cb5d77e34daed7722e027da44f7b360972bcae7662004abe8d",
|
| 14 |
+
"model-00007-of-00016.safetensors": "09aebd510b096f188ef335dfc5c94f15f275163bab98491b9dae0712f62ac243",
|
| 15 |
+
"model-00008-of-00016.safetensors": "ebceaf460b4c2e93c5483e19cb9e702e617229363eef0e6dd14f1e0e4db31c46",
|
| 16 |
+
"model-00009-of-00016.safetensors": "0ff2e2e786e7f87f2b368ac77a787e306bc8cfb4db175349618f4bdb1976e33a",
|
| 17 |
+
"model-00010-of-00016.safetensors": "8b937ed577f89bcd1682ca3a78d3ba3f9de9ebb56984c45a20faa8db3d31b077",
|
| 18 |
+
"model-00011-of-00016.safetensors": "3699e1608e5a15981049732907687236f3e8ffb305af62f331a9294c2fc29430",
|
| 19 |
+
"model-00012-of-00016.safetensors": "e58c7c080c41376e5d6a2b1e4cc64103597ab74ef4a45ceb99e8e18147d75c7f",
|
| 20 |
+
"model-00013-of-00016.safetensors": "e7548ee183fd2f3e4ea506be039a9c941e103245f42812defb5a51e76184755d",
|
| 21 |
+
"model-00014-of-00016.safetensors": "bb875383202273799c609b7ce423bcb37767d52614ee3bed474d83bd37dff010",
|
| 22 |
+
"model-00015-of-00016.safetensors": "47c3f9e98be925b63b3237684db1fe422b9a27426e5f7e83582a49bfde285c6c"
|
| 23 |
+
},
|
| 24 |
+
"integrated_audio_projector_shard": {
|
| 25 |
+
"file": "model-00016-of-00016.safetensors",
|
| 26 |
+
"sha256": "b94688df24a524f2a63b9518e9518dbeadb3eccdccc6abaa3401b34cd1d4a85e",
|
| 27 |
+
"source_audio_tower_sha256": "e221c86dc79bb40950cf569de223df0e69ec24c569c6097247930ee039d19236",
|
| 28 |
+
"source_projector_sha256": "f8795f377dd00350b91e0c8a46691b3ce5002db6c07b8b70d37cc2b3e3b44f29"
|
| 29 |
+
},
|
| 30 |
+
"status": "OMNILION_BF16_NATIVE_LAYOUT_ASSEMBLED"
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
|
| 3 |
+
size 12807982
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"additional_special_tokens": [
|
| 270 |
+
"<|im_start|>",
|
| 271 |
+
"<|im_end|>",
|
| 272 |
+
"<|object_ref_start|>",
|
| 273 |
+
"<|object_ref_end|>",
|
| 274 |
+
"<|box_start|>",
|
| 275 |
+
"<|box_end|>",
|
| 276 |
+
"<|quad_start|>",
|
| 277 |
+
"<|quad_end|>",
|
| 278 |
+
"<|vision_start|>",
|
| 279 |
+
"<|vision_end|>",
|
| 280 |
+
"<|vision_pad|>",
|
| 281 |
+
"<|image_pad|>",
|
| 282 |
+
"<|video_pad|>"
|
| 283 |
+
],
|
| 284 |
+
"bos_token": null,
|
| 285 |
+
"chat_template": "{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\n {%- if content is string %}\n {{- content }}\n {%- elif content is iterable and content is not mapping %}\n {%- for item in content %}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain images.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\n {%- elif 'video' in item or item.type == 'video' %}\n {%- if is_system_content %}\n {{- raise_exception('System message cannot contain videos.') }}\n {%- endif %}\n {%- if do_vision_count %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- endif %}\n {%- if add_vision_id %}\n {{- 'Video ' ~ video_count.value ~ ': ' }}\n {%- endif %}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\n {%- elif 'text' in item %}\n {{- item.text }}\n {%- else %}\n {{- raise_exception('Unexpected item type in content.') }}\n {%- endif %}\n {%- endfor %}\n {%- elif content is none or content is undefined %}\n {{- '' }}\n {%- else %}\n {{- raise_exception('Unexpected content type.') }}\n {%- endif %}\n{%- endmacro %}\n{%- if not messages %}\n {{- raise_exception('No messages provided.') }}\n{%- endif %}\n{%- if tools and tools is iterable and tools is not mapping %}\n {{- '<|im_start|>system\\n' }}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\" }}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {%- if content %}\n {{- '\\n\\n' + content }}\n {%- endif %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {%- set content = render_content(messages[0].content, false, true)|trim %}\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" %}\n {%- set content = render_content(message.content, false)|trim %}\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.multi_step_tool %}\n {{- raise_exception('No user query found in messages.') }}\n{%- endif %}\n{%- for message in messages %}\n {%- set content = render_content(message.content, true)|trim %}\n {%- if message.role == \"system\" %}\n {%- if not loop.first %}\n {{- raise_exception('System message must be at the beginning.') }}\n {%- endif %}\n {%- elif message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- set reasoning_content = reasoning_content|trim %}\n {%- if (preserve_thinking is defined and 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 %}\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": "Qwen3_5Tokenizer",
|
| 293 |
+
"unk_token": null,
|
| 294 |
+
"add_bos_token": false,
|
| 295 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 296 |
+
"extra_special_tokens": {
|
| 297 |
+
"audio_bos_token": "<|audio_start|>",
|
| 298 |
+
"audio_eos_token": "<|audio_end|>",
|
| 299 |
+
"audio_token": "<|audio_pad|>",
|
| 300 |
+
"image_token": "<|image_pad|>",
|
| 301 |
+
"video_token": "<|video_pad|>",
|
| 302 |
+
"vision_bos_token": "<|vision_start|>",
|
| 303 |
+
"vision_eos_token": "<|vision_end|>"
|
| 304 |
+
}
|
| 305 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|