Downloads · 30 days
16
9% of all-time downloads
megabytes/ZwZ-8B-heretic
ZwZ-8B-heretic is a image-text-to-text model from megabytes. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
16
9% of all-time downloads
All-time downloads
172
Public
Parameters
8.8B
35.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors35.1 GB · 100%
From the Hugging Face model README
| Parameter | Value |
|---|---|
| direction_index | 20.97 |
| attn.o_proj.max_weight | 1.35 |
| attn.o_proj.max_weight_position | 28.23 |
| attn.o_proj.min_weight | 1.27 |
| attn.o_proj.min_weight_distance | 20.10 |
| mlp.down_proj.max_weight | 1.47 |
| mlp.down_proj.max_weight_position | 21.98 |
| mlp.down_proj.min_weight | 0.05 |
| mlp.down_proj.min_weight_distance | 15.28 |
| Metric | This model | Original model (inclusionAI/ZwZ-8B) |
|---|---|---|
| KL divergence | 0.0669 | 0 (by definition) |
| Refusals | 4/100 | 99/100 |
📃 Paper | 🏠 Project | 🤗 Collection
</div>ZwZ-8B is a fine-grained multimodal perception model built upon Qwen3-VL-8B. It is trained using Region-to-Image Distillation (R2I) combined with reinforcement learning, enabling superior fine-grained visual understanding in a single forward pass — no inference-time zooming or tool calling required.
ZwZ-8B achieves state-of-the-art performance on fine-grained perception benchmarks among open-source models of comparable size, while also demonstrating strong out-of-distribution generalization on visual reasoning, GUI agent, and AIGC detection tasks.
<div align=center> <img src="gp_avg_comparison.png" width="90%" alt="avg_comparison"/> </div>Traditional "Thinking-with-Images" methods zoom into regions of interest during inference, incurring high latency from repeated tool calls and visual re-encoding. ZwZ transforms zooming from an inference-time tool into a training-time primitive:
pip install transformers accelerate torch
from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
# default: Load the model on the available device(s)
model = Qwen3VLForConditionalGeneration.from_pretrained(
"inclusionAI/ZwZ-8B", dtype="auto", device_map="auto"
)
processor = AutoProcessor.from_pretrained("inclusionAI/ZwZ-8B")
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
},
{"type": "text", "text": "Describe this image."},
],
}
]
# Preparation for inference
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt"
)
inputs = inputs.to(model.device)
# Inference: Generation of the output
generated_ids = model.generate(**inputs, max_new_tokens=128)
generated_ids_trimmed = [
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print(output_text)
ZwZ-8B is trained on inclusionAI/ZwZ-RL-VQA, a 74K-sample Region-to-Image distilled VQA dataset synthesized from diverse image pools (SA-1B, LAION, MetaCLIP, Visual Genome, CC12M, STPLS3D).
@article{wei2026zooming,
title={Zooming without Zooming: Region-to-Image Distillation for Fine-Grained Multimodal Perception},
author={Wei, Lai and He, Liangbo and Lan, Jun and Dong, Lingzhong and Cai, Yutong and Li, Siyuan and Zhu, Huijia and Wang, Weiqiang and Kong, Linghe and Wang, Yue and Zhang, Zhuosheng and Huang, Weiran},
journal={arXiv preprint arXiv:2602.11858},
year={2026}
}
This model follows the license of Apache 2.0 License.