Image-Text-to-Text
Transformers
Safetensors
qwen3_vl
vision-language
multimodal
qwen
qwen3
nvfp4
fp4
quantized
awq
vllm
blackwell
cuda13
optimized
inference
conversational
8-bit precision
modelopt
Instructions to use cybermotaz/Qwen3-VL-32B-Instruct-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cybermotaz/Qwen3-VL-32B-Instruct-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="cybermotaz/Qwen3-VL-32B-Instruct-NVFP4") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("cybermotaz/Qwen3-VL-32B-Instruct-NVFP4") model = AutoModelForMultimodalLM.from_pretrained("cybermotaz/Qwen3-VL-32B-Instruct-NVFP4") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cybermotaz/Qwen3-VL-32B-Instruct-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cybermotaz/Qwen3-VL-32B-Instruct-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cybermotaz/Qwen3-VL-32B-Instruct-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/cybermotaz/Qwen3-VL-32B-Instruct-NVFP4
- SGLang
How to use cybermotaz/Qwen3-VL-32B-Instruct-NVFP4 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "cybermotaz/Qwen3-VL-32B-Instruct-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cybermotaz/Qwen3-VL-32B-Instruct-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "cybermotaz/Qwen3-VL-32B-Instruct-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cybermotaz/Qwen3-VL-32B-Instruct-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use cybermotaz/Qwen3-VL-32B-Instruct-NVFP4 with Docker Model Runner:
docker model run hf.co/cybermotaz/Qwen3-VL-32B-Instruct-NVFP4
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +396 -0
- added_tokens.json +28 -0
- chat_template.jinja +120 -0
- config.json +76 -0
- generation_config.json +13 -0
- hf_quant_config.json +17 -0
- merges.txt +0 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +39 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +240 -0
- video_preprocessor_config.json +41 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: qwen
|
| 4 |
+
license_link: https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct/blob/main/LICENSE
|
| 5 |
+
base_model: Qwen/Qwen3-VL-32B-Instruct
|
| 6 |
+
tags:
|
| 7 |
+
- vision-language
|
| 8 |
+
- multimodal
|
| 9 |
+
- qwen
|
| 10 |
+
- qwen3
|
| 11 |
+
- nvfp4
|
| 12 |
+
- fp4
|
| 13 |
+
- quantized
|
| 14 |
+
- awq
|
| 15 |
+
- vllm
|
| 16 |
+
- blackwell
|
| 17 |
+
- cuda13
|
| 18 |
+
- optimized
|
| 19 |
+
- inference
|
| 20 |
+
library_name: transformers
|
| 21 |
+
pipeline_tag: image-text-to-text
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
<div align="center">
|
| 25 |
+
|
| 26 |
+
# 🦌 ELK-AI | Qwen3-VL-32B-Instruct-NVFP4
|
| 27 |
+
|
| 28 |
+
### **Alibaba's Flagship 32B Vision-Language Model — Now 3x Smaller**
|
| 29 |
+
|
| 30 |
+
**NVFP4 AWQ_FULL Quantization | 21 GB (was 62 GB) | <0.3% Accuracy Loss**
|
| 31 |
+
|
| 32 |
+
[](https://hub.docker.com/r/elkaioptimization/qwen3vl-32b-nvfp4)
|
| 33 |
+
[](https://developer.nvidia.com/cuda-toolkit)
|
| 34 |
+
[](https://www.nvidia.com/dgx-spark)
|
| 35 |
+
[](https://github.com/vllm-project/vllm)
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
**[Mutaz Al Awamleh](https://www.linkedin.com/in/mutaz-al-awamleh/)** • **[ELK-AI](https://elkai.ai)** • **December 2025**
|
| 40 |
+
|
| 41 |
+
*Production-ready quantization for next-generation NVIDIA hardware*
|
| 42 |
+
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## 🧠 What Is This?
|
| 48 |
+
|
| 49 |
+
This is **Qwen3-VL-32B-Instruct** — Alibaba's state-of-the-art 32-billion parameter vision-language model — quantized to **NVFP4** using NVIDIA's Model Optimizer with **AWQ_FULL** calibration.
|
| 50 |
+
|
| 51 |
+
### Key Achievements
|
| 52 |
+
|
| 53 |
+
| Metric | Before | After | Improvement |
|
| 54 |
+
|--------|--------|-------|-------------|
|
| 55 |
+
| **Model Size** | 62 GB | 21 GB | **66% smaller** |
|
| 56 |
+
| **VRAM Required** | 70+ GB | 24 GB | **66% reduction** |
|
| 57 |
+
| **Accuracy** | 100% | 99.7%+ | **<0.3% loss** |
|
| 58 |
+
| **Setup Time** | Hours | Seconds | **Instant** |
|
| 59 |
+
|
| 60 |
+
### Why NVFP4?
|
| 61 |
+
|
| 62 |
+
**NVFP4** (4-bit floating point) is NVIDIA's next-generation quantization format designed for Blackwell architecture (B200, GB10, DGX Spark). Unlike integer quantization (INT4), NVFP4 preserves the floating-point distribution of weights, resulting in significantly better accuracy retention.
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## 🚀 Why This Model?
|
| 67 |
+
|
| 68 |
+
**We solved the hard problems so you don't have to.**
|
| 69 |
+
|
| 70 |
+
| Challenge | Our Solution |
|
| 71 |
+
|-----------|--------------|
|
| 72 |
+
| FlashInfer compilation takes 2+ hours | Pre-compiled for SM80-SM121 |
|
| 73 |
+
| Vision encoder quality degradation | ViT preserved at BF16 precision |
|
| 74 |
+
| 50+ undocumented environment variables | Battle-tested configuration |
|
| 75 |
+
| Days of CUDA graph tuning | Optimized out of the box |
|
| 76 |
+
| 62GB model doesn't fit on consumer GPUs | Compressed to 21GB with NVFP4 |
|
| 77 |
+
|
| 78 |
+
**Result: From WEEKS of optimization to 30 SECONDS of setup.**
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## 🏗️ 7-Layer Optimization Stack
|
| 83 |
+
|
| 84 |
+
```
|
| 85 |
+
┌─────────────────────────────────────────────────────────────┐
|
| 86 |
+
│ Layer 7: Model Weights (NVFP4 AWQ_FULL + BF16 Vision) │
|
| 87 |
+
├─────────────────────────────────────────────────────────────┤
|
| 88 |
+
│ Layer 6: vLLM V1 Engine (Async + Chunked Prefill) │
|
| 89 |
+
├─────────────────────────────────────────────────────────────┤
|
| 90 |
+
│ Layer 5: FlashInfer 0.5.3 (FP4/FP8 Native Kernels) │
|
| 91 |
+
├─────────────────────────────────────────────────────────────┤
|
| 92 |
+
│ Layer 4: FP8 KV-Cache (50% Memory Savings) │
|
| 93 |
+
├─────────────────────────────────────────────────────────────┤
|
| 94 |
+
│ Layer 3: CUDA Graphs (Reduced Kernel Launch Overhead) │
|
| 95 |
+
├─────────────────────────────────────────────────────────────┤
|
| 96 |
+
│ Layer 2: CUDA 13.0 + SM121 (Blackwell Native Support) │
|
| 97 |
+
├─────────────────────────────────────────────────────────────┤
|
| 98 |
+
│ Layer 1: Optimized Container (Zero Setup Required) │
|
| 99 |
+
└─────────────────────────────────────────────────────────────┘
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
## 📦 Model Specifications
|
| 105 |
+
|
| 106 |
+
| Specification | Value |
|
| 107 |
+
|---------------|-------|
|
| 108 |
+
| **Base Model** | [Qwen/Qwen3-VL-32B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct) |
|
| 109 |
+
| **Parameters** | 32 Billion |
|
| 110 |
+
| **Quantization** | NVFP4 with AWQ_FULL |
|
| 111 |
+
| **Calibration** | 512 samples from WikiText-2 |
|
| 112 |
+
| **Algorithm** | Activation-Aware Weight Quantization |
|
| 113 |
+
| **Model Size** | 21 GB (5 shards) |
|
| 114 |
+
| **Context Length** | 32,768 tokens |
|
| 115 |
+
| **Vision Encoder** | BF16 (preserved for quality) |
|
| 116 |
+
| **Accuracy Retention** | >99.7% |
|
| 117 |
+
|
| 118 |
+
### Architecture Details
|
| 119 |
+
|
| 120 |
+
| Component | Precision | Purpose |
|
| 121 |
+
|-----------|-----------|---------|
|
| 122 |
+
| **Language Model** | NVFP4 | Text generation & reasoning |
|
| 123 |
+
| **Vision Encoder (ViT)** | BF16 | Image understanding |
|
| 124 |
+
| **Visual Merger** | BF16 | Vision-language alignment |
|
| 125 |
+
| **Embeddings** | BF16 | Token representations |
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
|
| 129 |
+
## 💻 Hardware Requirements
|
| 130 |
+
|
| 131 |
+
| Requirement | Minimum | Recommended |
|
| 132 |
+
|-------------|---------|-------------|
|
| 133 |
+
| **GPU VRAM** | 24 GB | 32+ GB |
|
| 134 |
+
| **GPU Model** | RTX 4090 / A100 | B200 / GB10 / DGX Spark |
|
| 135 |
+
| **CUDA Version** | 12.0+ | 13.0 |
|
| 136 |
+
| **System RAM** | 32 GB | 64+ GB |
|
| 137 |
+
|
| 138 |
+
### Tested Configurations
|
| 139 |
+
|
| 140 |
+
✅ NVIDIA B200 (Blackwell)
|
| 141 |
+
✅ NVIDIA GB10 / DGX Spark
|
| 142 |
+
✅ NVIDIA A100 80GB
|
| 143 |
+
✅ NVIDIA RTX 4090 24GB
|
| 144 |
+
✅ NVIDIA L40S 48GB
|
| 145 |
+
|
| 146 |
+
---
|
| 147 |
+
|
| 148 |
+
## 🐳 Quick Start with Docker (Recommended)
|
| 149 |
+
|
| 150 |
+
### Option 1: Model-Specific Container
|
| 151 |
+
|
| 152 |
+
```bash
|
| 153 |
+
# Pull the optimized container
|
| 154 |
+
docker pull elkaioptimization/qwen3vl-32b-nvfp4:1.0
|
| 155 |
+
|
| 156 |
+
# Download this model
|
| 157 |
+
huggingface-cli download ELK-AI/Qwen3-VL-32B-Instruct-NVFP4 --local-dir ./model
|
| 158 |
+
|
| 159 |
+
# Run inference server
|
| 160 |
+
docker run -d --gpus all \
|
| 161 |
+
-v $(pwd)/model:/model \
|
| 162 |
+
-p 8000:8000 \
|
| 163 |
+
--name qwen3vl \
|
| 164 |
+
elkaioptimization/qwen3vl-32b-nvfp4:1.0
|
| 165 |
+
```
|
| 166 |
+
|
| 167 |
+
### Option 2: Universal NVFP4 Container
|
| 168 |
+
|
| 169 |
+
Use our base container for any NVFP4 quantized model:
|
| 170 |
+
|
| 171 |
+
```bash
|
| 172 |
+
# Pull the universal vLLM container
|
| 173 |
+
docker pull elkaioptimization/vllm-nvfp4-cuda13:3.0
|
| 174 |
+
|
| 175 |
+
# Run with custom configuration
|
| 176 |
+
docker run -d --gpus all \
|
| 177 |
+
-v $(pwd)/model:/model \
|
| 178 |
+
-p 8000:8000 \
|
| 179 |
+
elkaioptimization/vllm-nvfp4-cuda13:3.0 \
|
| 180 |
+
python -m vllm.entrypoints.openai.api_server \
|
| 181 |
+
--model /model \
|
| 182 |
+
--trust-remote-code \
|
| 183 |
+
--quantization modelopt_fp4 \
|
| 184 |
+
--kv-cache-dtype fp8 \
|
| 185 |
+
--max-model-len 8192 \
|
| 186 |
+
--host 0.0.0.0 \
|
| 187 |
+
--port 8000
|
| 188 |
+
```
|
| 189 |
+
|
| 190 |
+
---
|
| 191 |
+
|
| 192 |
+
## 🔥 Usage Examples
|
| 193 |
+
|
| 194 |
+
### Python with vLLM
|
| 195 |
+
|
| 196 |
+
```python
|
| 197 |
+
from vllm import LLM, SamplingParams
|
| 198 |
+
|
| 199 |
+
# Initialize with NVFP4 quantization
|
| 200 |
+
llm = LLM(
|
| 201 |
+
model="ELK-AI/Qwen3-VL-32B-Instruct-NVFP4",
|
| 202 |
+
quantization="modelopt_fp4",
|
| 203 |
+
trust_remote_code=True,
|
| 204 |
+
kv_cache_dtype="fp8",
|
| 205 |
+
max_model_len=8192,
|
| 206 |
+
)
|
| 207 |
+
|
| 208 |
+
# Text generation
|
| 209 |
+
sampling_params = SamplingParams(temperature=0.7, max_tokens=512)
|
| 210 |
+
outputs = llm.generate(["Explain the theory of relativity in simple terms."], sampling_params)
|
| 211 |
+
print(outputs[0].outputs[0].text)
|
| 212 |
+
```
|
| 213 |
+
|
| 214 |
+
### OpenAI-Compatible API
|
| 215 |
+
|
| 216 |
+
#### Text Generation
|
| 217 |
+
|
| 218 |
+
```bash
|
| 219 |
+
curl http://localhost:8000/v1/chat/completions \
|
| 220 |
+
-H "Content-Type: application/json" \
|
| 221 |
+
-d '{
|
| 222 |
+
"model": "/model",
|
| 223 |
+
"messages": [
|
| 224 |
+
{"role": "user", "content": "Write a haiku about machine learning."}
|
| 225 |
+
],
|
| 226 |
+
"temperature": 0.7,
|
| 227 |
+
"max_tokens": 100
|
| 228 |
+
}'
|
| 229 |
+
```
|
| 230 |
+
|
| 231 |
+
#### Vision + Text (Multimodal)
|
| 232 |
+
|
| 233 |
+
```bash
|
| 234 |
+
curl http://localhost:8000/v1/chat/completions \
|
| 235 |
+
-H "Content-Type: application/json" \
|
| 236 |
+
-d '{
|
| 237 |
+
"model": "/model",
|
| 238 |
+
"messages": [{
|
| 239 |
+
"role": "user",
|
| 240 |
+
"content": [
|
| 241 |
+
{"type": "text", "text": "Describe this image in detail."},
|
| 242 |
+
{"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
|
| 243 |
+
]
|
| 244 |
+
}],
|
| 245 |
+
"max_tokens": 500
|
| 246 |
+
}'
|
| 247 |
+
```
|
| 248 |
+
|
| 249 |
+
#### Base64 Image Input
|
| 250 |
+
|
| 251 |
+
```bash
|
| 252 |
+
curl http://localhost:8000/v1/chat/completions \
|
| 253 |
+
-H "Content-Type: application/json" \
|
| 254 |
+
-d '{
|
| 255 |
+
"model": "/model",
|
| 256 |
+
"messages": [{
|
| 257 |
+
"role": "user",
|
| 258 |
+
"content": [
|
| 259 |
+
{"type": "text", "text": "What objects do you see?"},
|
| 260 |
+
{"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,/9j/4AAQ..."}}
|
| 261 |
+
]
|
| 262 |
+
}]
|
| 263 |
+
}'
|
| 264 |
+
```
|
| 265 |
+
|
| 266 |
+
### Python OpenAI SDK
|
| 267 |
+
|
| 268 |
+
```python
|
| 269 |
+
from openai import OpenAI
|
| 270 |
+
|
| 271 |
+
client = OpenAI(base_url="http://localhost:8000/v1", api_key="not-needed")
|
| 272 |
+
|
| 273 |
+
# Text only
|
| 274 |
+
response = client.chat.completions.create(
|
| 275 |
+
model="/model",
|
| 276 |
+
messages=[{"role": "user", "content": "Hello, how are you?"}],
|
| 277 |
+
max_tokens=100
|
| 278 |
+
)
|
| 279 |
+
print(response.choices[0].message.content)
|
| 280 |
+
|
| 281 |
+
# With image
|
| 282 |
+
response = client.chat.completions.create(
|
| 283 |
+
model="/model",
|
| 284 |
+
messages=[{
|
| 285 |
+
"role": "user",
|
| 286 |
+
"content": [
|
| 287 |
+
{"type": "text", "text": "What's in this image?"},
|
| 288 |
+
{"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}}
|
| 289 |
+
]
|
| 290 |
+
}],
|
| 291 |
+
max_tokens=500
|
| 292 |
+
)
|
| 293 |
+
print(response.choices[0].message.content)
|
| 294 |
+
```
|
| 295 |
+
|
| 296 |
+
---
|
| 297 |
+
|
| 298 |
+
## 📊 Capabilities
|
| 299 |
+
|
| 300 |
+
| Modality | Input | Output | Quality |
|
| 301 |
+
|----------|-------|--------|---------|
|
| 302 |
+
| **Text** | ✅ | ✅ | Excellent |
|
| 303 |
+
| **Images** | ✅ | — | Excellent (BF16 ViT) |
|
| 304 |
+
| **Video** | ✅ | — | Excellent |
|
| 305 |
+
| **Charts/Diagrams** | ✅ | — | State-of-the-art |
|
| 306 |
+
| **Documents/OCR** | ✅ | — | State-of-the-art |
|
| 307 |
+
| **Code** | ✅ | ✅ | Excellent |
|
| 308 |
+
| **Math** | ✅ | ✅ | Excellent |
|
| 309 |
+
|
| 310 |
+
---
|
| 311 |
+
|
| 312 |
+
## 🔧 Quantization Details
|
| 313 |
+
|
| 314 |
+
This model was quantized using the following configuration:
|
| 315 |
+
|
| 316 |
+
```python
|
| 317 |
+
# NVIDIA Model Optimizer (modelopt) configuration
|
| 318 |
+
import modelopt.torch.quantization as mtq
|
| 319 |
+
|
| 320 |
+
config = mtq.NVFP4_AWQ_FULL_CFG # Best accuracy (<0.3% loss)
|
| 321 |
+
|
| 322 |
+
# Vision encoder exclusions (preserved at BF16)
|
| 323 |
+
exclusions = {
|
| 324 |
+
"*visual*": {"enable": False},
|
| 325 |
+
"*patch_embed*": {"enable": False},
|
| 326 |
+
"*merger*": {"enable": False},
|
| 327 |
+
"*vision*": {"enable": False},
|
| 328 |
+
"*embed_tokens*": {"enable": False},
|
| 329 |
+
}
|
| 330 |
+
config["quant_cfg"].update(exclusions)
|
| 331 |
+
|
| 332 |
+
# Quantize with 512 calibration samples
|
| 333 |
+
mtq.quantize(model, config, forward_loop=calibration_loop)
|
| 334 |
+
```
|
| 335 |
+
|
| 336 |
+
### Why AWQ_FULL?
|
| 337 |
+
|
| 338 |
+
| Algorithm | Accuracy Loss | Calibration Required |
|
| 339 |
+
|-----------|---------------|---------------------|
|
| 340 |
+
| DEFAULT | ~1.0% | No |
|
| 341 |
+
| AWQ_LITE | ~0.5% | 128 samples |
|
| 342 |
+
| **AWQ_FULL** | **<0.3%** | **512 samples** |
|
| 343 |
+
|
| 344 |
+
We use **AWQ_FULL** for production deployments because the additional calibration time (30-60 minutes) is worth the superior accuracy retention.
|
| 345 |
+
|
| 346 |
+
---
|
| 347 |
+
|
| 348 |
+
## 🦌 More ELK-AI Optimized Models
|
| 349 |
+
|
| 350 |
+
| Model | Size | Type | Quantization | Link |
|
| 351 |
+
|-------|------|------|--------------|------|
|
| 352 |
+
| Qwen3-VL-2B | 2.1 GB | Vision | NVFP4 | [Docker Hub](https://hub.docker.com/r/elkaioptimization/qwen3-vl-2b-thinking-nvfp4-vllm-cuda13) |
|
| 353 |
+
| Qwen3-VL-4B | 4.2 GB | Vision | NVFP4 | [Docker Hub](https://hub.docker.com/r/elkaioptimization/qwen3-vl-4b-thinking-nvfp4-vllm-cuda13) |
|
| 354 |
+
| Qwen3-VL-8B | 8.4 GB | Vision | NVFP4 | [Docker Hub](https://hub.docker.com/r/elkaioptimization/qwen3-vl-8b-thinking-nvfp4-vllm-cuda13) |
|
| 355 |
+
| **Qwen3-VL-32B** | **21 GB** | **Vision** | **NVFP4** | **This model** |
|
| 356 |
+
| Nemotron3-30B | 31.5 GB | Text | NVFP4 | [Docker Hub](https://hub.docker.com/r/elkaioptimization/nemotron3-30b-nvfp4-vllm-cuda13) |
|
| 357 |
+
| Devstral-24B | 53.8 GB | Code | FP8 | [Docker Hub](https://hub.docker.com/r/elkaioptimization/devstral-small-2-24b-fp8-vllm-cuda13) |
|
| 358 |
+
|
| 359 |
+
---
|
| 360 |
+
|
| 361 |
+
## 📜 License
|
| 362 |
+
|
| 363 |
+
- **Model Weights**: Subject to [Qwen License](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct/blob/main/LICENSE)
|
| 364 |
+
- **Quantization & Container**: Apache 2.0
|
| 365 |
+
|
| 366 |
+
---
|
| 367 |
+
|
| 368 |
+
## 🙏 Acknowledgments
|
| 369 |
+
|
| 370 |
+
- **Alibaba Qwen Team** for the incredible Qwen3-VL model
|
| 371 |
+
- **NVIDIA** for Model Optimizer and NVFP4 quantization
|
| 372 |
+
- **vLLM Team** for the high-performance inference engine
|
| 373 |
+
|
| 374 |
+
---
|
| 375 |
+
|
| 376 |
+
## 📚 References
|
| 377 |
+
|
| 378 |
+
- [Qwen3-VL Technical Report](https://arxiv.org/abs/2502.13923)
|
| 379 |
+
- [NVIDIA Model Optimizer Documentation](https://nvidia.github.io/TensorRT-Model-Optimizer/)
|
| 380 |
+
- [vLLM Documentation](https://docs.vllm.ai/)
|
| 381 |
+
|
| 382 |
+
---
|
| 383 |
+
|
| 384 |
+
<div align="center">
|
| 385 |
+
|
| 386 |
+
### Built with ❤️ by ELK-AI
|
| 387 |
+
|
| 388 |
+
**[Mutaz Al Awamleh](https://www.linkedin.com/in/mutaz-al-awamleh/)** • **December 2025**
|
| 389 |
+
|
| 390 |
+
*Democratizing access to state-of-the-art AI*
|
| 391 |
+
|
| 392 |
+
---
|
| 393 |
+
|
| 394 |
+
**⭐ Star this repo if it helped you!**
|
| 395 |
+
|
| 396 |
+
</div>
|
added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{%- if messages[0].content is string %}
|
| 5 |
+
{{- messages[0].content }}
|
| 6 |
+
{%- else %}
|
| 7 |
+
{%- for content in messages[0].content %}
|
| 8 |
+
{%- if 'text' in content %}
|
| 9 |
+
{{- content.text }}
|
| 10 |
+
{%- endif %}
|
| 11 |
+
{%- endfor %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '\n\n' }}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 16 |
+
{%- for tool in tools %}
|
| 17 |
+
{{- "\n" }}
|
| 18 |
+
{{- tool | tojson }}
|
| 19 |
+
{%- endfor %}
|
| 20 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{%- if messages[0].role == 'system' %}
|
| 23 |
+
{{- '<|im_start|>system\n' }}
|
| 24 |
+
{%- if messages[0].content is string %}
|
| 25 |
+
{{- messages[0].content }}
|
| 26 |
+
{%- else %}
|
| 27 |
+
{%- for content in messages[0].content %}
|
| 28 |
+
{%- if 'text' in content %}
|
| 29 |
+
{{- content.text }}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- endfor %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '<|im_end|>\n' }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{%- set image_count = namespace(value=0) %}
|
| 37 |
+
{%- set video_count = namespace(value=0) %}
|
| 38 |
+
{%- for message in messages %}
|
| 39 |
+
{%- if message.role == "user" %}
|
| 40 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 41 |
+
{%- if message.content is string %}
|
| 42 |
+
{{- message.content }}
|
| 43 |
+
{%- else %}
|
| 44 |
+
{%- for content in message.content %}
|
| 45 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 46 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 47 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 48 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 49 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 50 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 51 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 52 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 53 |
+
{%- elif 'text' in content %}
|
| 54 |
+
{{- content.text }}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endfor %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{{- '<|im_end|>\n' }}
|
| 59 |
+
{%- elif message.role == "assistant" %}
|
| 60 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 61 |
+
{%- if message.content is string %}
|
| 62 |
+
{{- message.content }}
|
| 63 |
+
{%- else %}
|
| 64 |
+
{%- for content_item in message.content %}
|
| 65 |
+
{%- if 'text' in content_item %}
|
| 66 |
+
{{- content_item.text }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- endfor %}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
{%- if message.tool_calls %}
|
| 71 |
+
{%- for tool_call in message.tool_calls %}
|
| 72 |
+
{%- if (loop.first and message.content) or (not loop.first) %}
|
| 73 |
+
{{- '\n' }}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if tool_call.function %}
|
| 76 |
+
{%- set tool_call = tool_call.function %}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 79 |
+
{{- tool_call.name }}
|
| 80 |
+
{{- '", "arguments": ' }}
|
| 81 |
+
{%- if tool_call.arguments is string %}
|
| 82 |
+
{{- tool_call.arguments }}
|
| 83 |
+
{%- else %}
|
| 84 |
+
{{- tool_call.arguments | tojson }}
|
| 85 |
+
{%- endif %}
|
| 86 |
+
{{- '}\n</tool_call>' }}
|
| 87 |
+
{%- endfor %}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{{- '<|im_end|>\n' }}
|
| 90 |
+
{%- elif message.role == "tool" %}
|
| 91 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 92 |
+
{{- '<|im_start|>user' }}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{{- '\n<tool_response>\n' }}
|
| 95 |
+
{%- if message.content is string %}
|
| 96 |
+
{{- message.content }}
|
| 97 |
+
{%- else %}
|
| 98 |
+
{%- for content in message.content %}
|
| 99 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 100 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 101 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 102 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 103 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 104 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 105 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 106 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 107 |
+
{%- elif 'text' in content %}
|
| 108 |
+
{{- content.text }}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- endfor %}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{{- '\n</tool_response>' }}
|
| 113 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 114 |
+
{{- '<|im_end|>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{%- endfor %}
|
| 118 |
+
{%- if add_generation_prompt %}
|
| 119 |
+
{{- '<|im_start|>assistant\n' }}
|
| 120 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3VLForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"image_token_id": 151655,
|
| 7 |
+
"model_type": "qwen3_vl",
|
| 8 |
+
"text_config": {
|
| 9 |
+
"attention_bias": false,
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bos_token_id": 151643,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 151645,
|
| 14 |
+
"head_dim": 128,
|
| 15 |
+
"hidden_act": "silu",
|
| 16 |
+
"hidden_size": 5120,
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 25600,
|
| 19 |
+
"max_position_embeddings": 262144,
|
| 20 |
+
"model_type": "qwen3_vl_text",
|
| 21 |
+
"num_attention_heads": 64,
|
| 22 |
+
"num_hidden_layers": 64,
|
| 23 |
+
"num_key_value_heads": 8,
|
| 24 |
+
"rms_norm_eps": 1e-06,
|
| 25 |
+
"rope_scaling": {
|
| 26 |
+
"mrope_interleaved": true,
|
| 27 |
+
"mrope_section": [
|
| 28 |
+
24,
|
| 29 |
+
20,
|
| 30 |
+
20
|
| 31 |
+
],
|
| 32 |
+
"rope_type": "default"
|
| 33 |
+
},
|
| 34 |
+
"rope_theta": 5000000,
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"vocab_size": 151936
|
| 37 |
+
},
|
| 38 |
+
"tie_word_embeddings": false,
|
| 39 |
+
"transformers_version": "4.57.3",
|
| 40 |
+
"video_token_id": 151656,
|
| 41 |
+
"vision_config": {
|
| 42 |
+
"deepstack_visual_indexes": [
|
| 43 |
+
8,
|
| 44 |
+
16,
|
| 45 |
+
24
|
| 46 |
+
],
|
| 47 |
+
"depth": 27,
|
| 48 |
+
"dtype": "bfloat16",
|
| 49 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 50 |
+
"hidden_size": 1152,
|
| 51 |
+
"in_channels": 3,
|
| 52 |
+
"initializer_range": 0.02,
|
| 53 |
+
"intermediate_size": 4304,
|
| 54 |
+
"model_type": "qwen3_vl",
|
| 55 |
+
"num_heads": 16,
|
| 56 |
+
"num_position_embeddings": 2304,
|
| 57 |
+
"out_hidden_size": 5120,
|
| 58 |
+
"patch_size": 16,
|
| 59 |
+
"spatial_merge_size": 2,
|
| 60 |
+
"temporal_patch_size": 2
|
| 61 |
+
},
|
| 62 |
+
"vision_end_token_id": 151653,
|
| 63 |
+
"vision_start_token_id": 151652,
|
| 64 |
+
"quantization_config": {
|
| 65 |
+
"ignore": [
|
| 66 |
+
"lm_head",
|
| 67 |
+
"model.visual*"
|
| 68 |
+
],
|
| 69 |
+
"quant_algo": "NVFP4_AWQ",
|
| 70 |
+
"producer": {
|
| 71 |
+
"name": "modelopt",
|
| 72 |
+
"version": "0.40.0"
|
| 73 |
+
},
|
| 74 |
+
"quant_method": "modelopt"
|
| 75 |
+
}
|
| 76 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"temperature": 0.7,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"transformers_version": "4.57.3"
|
| 13 |
+
}
|
hf_quant_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"producer": {
|
| 3 |
+
"name": "modelopt",
|
| 4 |
+
"version": "0.40.0"
|
| 5 |
+
},
|
| 6 |
+
"quantization": {
|
| 7 |
+
"quant_algo": "NVFP4_AWQ",
|
| 8 |
+
"kv_cache_quant_algo": null,
|
| 9 |
+
"group_size": 16,
|
| 10 |
+
"has_zero_point": false,
|
| 11 |
+
"pre_quant_scale": true,
|
| 12 |
+
"exclude_modules": [
|
| 13 |
+
"lm_head",
|
| 14 |
+
"model.visual*"
|
| 15 |
+
]
|
| 16 |
+
}
|
| 17 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:672104df45534f1974f11690147da9e33f581bb48608edeef5e365669a1dbbb1
|
| 3 |
+
size 4994390088
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5fdb2c9b91efc81b1bba3eecdb2c0be5d32e97dd0f6a7ee9bdc7f8be3fcd126
|
| 3 |
+
size 4938497976
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef18a7e90b3787d67697df257c4167bc260d59acc6af08414ef00a7581504a28
|
| 3 |
+
size 4938498048
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e72d6a7fe8c63c548266b7b685f2eb70f3742ec0fff702dac6b9e16cc0833e3
|
| 3 |
+
size 4938498048
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd5047141791527b14a74b3f170bc6407e283ba969d24bc547dc9581535e2769
|
| 3 |
+
size 2051453712
|
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,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"disable_grouping": null,
|
| 7 |
+
"do_center_crop": null,
|
| 8 |
+
"do_convert_rgb": true,
|
| 9 |
+
"do_normalize": true,
|
| 10 |
+
"do_pad": null,
|
| 11 |
+
"do_rescale": true,
|
| 12 |
+
"do_resize": true,
|
| 13 |
+
"image_mean": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"image_processor_type": "Qwen2VLImageProcessorFast",
|
| 19 |
+
"image_std": [
|
| 20 |
+
0.5,
|
| 21 |
+
0.5,
|
| 22 |
+
0.5
|
| 23 |
+
],
|
| 24 |
+
"input_data_format": null,
|
| 25 |
+
"max_pixels": null,
|
| 26 |
+
"merge_size": 2,
|
| 27 |
+
"min_pixels": null,
|
| 28 |
+
"pad_size": null,
|
| 29 |
+
"patch_size": 16,
|
| 30 |
+
"processor_class": "Qwen3VLProcessor",
|
| 31 |
+
"resample": 3,
|
| 32 |
+
"rescale_factor": 0.00392156862745098,
|
| 33 |
+
"return_tensors": null,
|
| 34 |
+
"size": {
|
| 35 |
+
"longest_edge": 16777216,
|
| 36 |
+
"shortest_edge": 65536
|
| 37 |
+
},
|
| 38 |
+
"temporal_patch_size": 2
|
| 39 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0acdaba32b920d640afb36af4396c91974e074735636e4016d17a8ed9c03730
|
| 3 |
+
size 11422753
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 262144,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"processor_class": "Qwen3VLProcessor",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"do_center_crop": null,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"do_sample_frames": true,
|
| 12 |
+
"fps": 2,
|
| 13 |
+
"image_mean": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.5,
|
| 20 |
+
0.5,
|
| 21 |
+
0.5
|
| 22 |
+
],
|
| 23 |
+
"input_data_format": null,
|
| 24 |
+
"max_frames": 768,
|
| 25 |
+
"merge_size": 2,
|
| 26 |
+
"min_frames": 4,
|
| 27 |
+
"num_frames": null,
|
| 28 |
+
"pad_size": null,
|
| 29 |
+
"patch_size": 16,
|
| 30 |
+
"processor_class": "Qwen3VLProcessor",
|
| 31 |
+
"resample": 3,
|
| 32 |
+
"rescale_factor": 0.00392156862745098,
|
| 33 |
+
"return_metadata": false,
|
| 34 |
+
"size": {
|
| 35 |
+
"longest_edge": 25165824,
|
| 36 |
+
"shortest_edge": 4096
|
| 37 |
+
},
|
| 38 |
+
"temporal_patch_size": 2,
|
| 39 |
+
"video_metadata": null,
|
| 40 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 41 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|