Image-Text-to-Text
Transformers
Safetensors
qwen3_5
text-generation
dashq
quantized
post-training-quantization
int3
conversational
custom_code
Instructions to use jkim96/Qwen3.6-27B-DASHQ-INT3-g128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jkim96/Qwen3.6-27B-DASHQ-INT3-g128 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="jkim96/Qwen3.6-27B-DASHQ-INT3-g128", trust_remote_code=True) 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, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("jkim96/Qwen3.6-27B-DASHQ-INT3-g128", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("jkim96/Qwen3.6-27B-DASHQ-INT3-g128", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jkim96/Qwen3.6-27B-DASHQ-INT3-g128 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jkim96/Qwen3.6-27B-DASHQ-INT3-g128" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jkim96/Qwen3.6-27B-DASHQ-INT3-g128", "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/jkim96/Qwen3.6-27B-DASHQ-INT3-g128
- SGLang
How to use jkim96/Qwen3.6-27B-DASHQ-INT3-g128 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 "jkim96/Qwen3.6-27B-DASHQ-INT3-g128" \ --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": "jkim96/Qwen3.6-27B-DASHQ-INT3-g128", "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 "jkim96/Qwen3.6-27B-DASHQ-INT3-g128" \ --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": "jkim96/Qwen3.6-27B-DASHQ-INT3-g128", "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 jkim96/Qwen3.6-27B-DASHQ-INT3-g128 with Docker Model Runner:
docker model run hf.co/jkim96/Qwen3.6-27B-DASHQ-INT3-g128
Standardize model card (DASH-Q)
Browse files
README.md
CHANGED
|
@@ -1,19 +1,23 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: Qwen/Qwen3.6-27B
|
|
|
|
| 4 |
library_name: transformers
|
| 5 |
tags:
|
| 6 |
- dashq
|
| 7 |
- quantized
|
| 8 |
- post-training-quantization
|
| 9 |
-
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Qwen3.6-27B-DASHQ-INT3-g128
|
| 13 |
|
| 14 |
-
|
|
|
|
| 15 |
|
| 16 |
-
DASH-Q checkpoints
|
| 17 |
|
| 18 |
## Install
|
| 19 |
|
|
@@ -26,10 +30,7 @@ pip install git+https://github.com/JaeminK/dashq.git
|
|
| 26 |
```python
|
| 27 |
from dashq import load_quantized
|
| 28 |
|
| 29 |
-
model, tokenizer = load_quantized(
|
| 30 |
-
"jkim96/Qwen3.6-27B-DASHQ-INT3-g128",
|
| 31 |
-
device_map="auto",
|
| 32 |
-
)
|
| 33 |
```
|
| 34 |
|
| 35 |
## Quantization
|
|
@@ -37,30 +38,12 @@ model, tokenizer = load_quantized(
|
|
| 37 |
| Field | Value |
|
| 38 |
| --- | --- |
|
| 39 |
| Base model | `Qwen/Qwen3.6-27B` |
|
| 40 |
-
|
|
| 41 |
-
|
|
| 42 |
-
|
|
| 43 |
-
|
|
| 44 |
-
| Calibration samples | `128` |
|
| 45 |
-
| Sequence length | `2048` |
|
| 46 |
-
| Original size | `55.5630 GB` |
|
| 47 |
-
| Quantized size | `16.5138 GB` |
|
| 48 |
-
|
| 49 |
-
## Evaluation
|
| 50 |
|
| 51 |
-
|
| 52 |
-
| --- | ---: |
|
| 53 |
-
| `wikitext2_ppl` | 7.7554 |
|
| 54 |
-
| `zero-shot accuracy avg` | 70.8034 |
|
| 55 |
-
| `arc_challenge` | 59.1297 |
|
| 56 |
-
| `arc_easy` | 75.4630 |
|
| 57 |
-
| `commonsense_qa` | 86.0770 |
|
| 58 |
-
| `gsm8k_cot` | 93.1766 |
|
| 59 |
-
| `hellaswag` | 82.6429 |
|
| 60 |
-
| `lambada_openai` | 74.9078 |
|
| 61 |
-
| `mmlu` | 85.8923 |
|
| 62 |
-
| `openbookqa` | 45.2000 |
|
| 63 |
-
| `piqa` | 82.2633 |
|
| 64 |
-
| `truthfulqa_mc2` | 54.8307 |
|
| 65 |
-
| `winogrande` | 76.7167 |
|
| 66 |
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: Qwen/Qwen3.6-27B
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- dashq
|
| 8 |
- quantized
|
| 9 |
- post-training-quantization
|
| 10 |
+
- int3
|
| 11 |
---
|
| 12 |
|
| 13 |
+

|
| 14 |
+
|
| 15 |
# Qwen3.6-27B-DASHQ-INT3-g128
|
| 16 |
|
| 17 |
+
> **DASH-Q** — Diagonal-Aware Shrinkage for Robust PTQ.
|
| 18 |
+
> `INT3` · group size 128 · **16.5138 GB** (from 55.5630 GB — **3.4x smaller**)
|
| 19 |
|
| 20 |
+
DASH-Q checkpoints load with the lightweight DASH-Q runtime — linear layers are packed `PackedQuantizedLinear` modules, not plain Transformers weights.
|
| 21 |
|
| 22 |
## Install
|
| 23 |
|
|
|
|
| 30 |
```python
|
| 31 |
from dashq import load_quantized
|
| 32 |
|
| 33 |
+
model, tokenizer = load_quantized("jkim96/Qwen3.6-27B-DASHQ-INT3-g128", device_map="auto")
|
|
|
|
|
|
|
|
|
|
| 34 |
```
|
| 35 |
|
| 36 |
## Quantization
|
|
|
|
| 38 |
| Field | Value |
|
| 39 |
| --- | --- |
|
| 40 |
| Base model | `Qwen/Qwen3.6-27B` |
|
| 41 |
+
| Precision | INT3, group size 128 |
|
| 42 |
+
| Scale / zero dtype | float16 |
|
| 43 |
+
| Calibration | wikitext2, 128 samples x 2048 |
|
| 44 |
+
| Size | 16.5138 GB · original 55.5630 GB · 3.4x compression |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
## Benchmarks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
Full zero-shot / few-shot results for every DASH-Q checkpoint:
|
| 49 |
+
**[github.com/JaeminK/dashq#benchmarks](https://github.com/JaeminK/dashq#benchmarks)**
|