Downloads · 30 days
21
14% of all-time downloads
YuhengSSS/Q-Zoom-Qwen2.5VL-3B
Q-Zoom-Qwen2.5VL-3B is a image-text-to-text model from YuhengSSS. 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.
<p align="center" <a href="https://arxiv.org/abs/2604.06912"<img alt="arXiv" src="https://img.shields.io/badge/%F0%9F%93%84%20arXiv-2604.06912-b31b1b?style=for-the-badge"</a <a href="https://yuhengsss.github.io…
Downloads · 30 days
21
14% of all-time downloads
All-time downloads
150
Public
Parameters
4.5B
9.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9.1 GB · 100%
From the Hugging Face model README
Q-Zoom is a query-aware adaptive high-resolution perception framework for Multimodal Large Language Models that operates in an efficient coarse-to-fine manner. Instead of indiscriminately flooding the quadratic self-attention with redundant high-resolution tokens, Q-Zoom adds two lightweight modules on top of a pretrained MLLM:
This checkpoint is the Stage-3 Q-Zoom finetune of Qwen2.5-VL-3B-Instruct.
| Backbone | TWIG-K | TWIG threshold | Base model |
|---|---|---|---|
| Qwen2.5-VL-3B-Instruct | 24 | 3 | Qwen/Qwen2.5-VL-3B-Instruct |
All evaluation results in the paper are reported under a per-single-image constraint of either 576 (Doc/OCR) or 4,096 (HR/Vision) maximum visual tokens.
Q-Zoom touches model-private internals of the backbones, so the
required transformers version differs per family:
| Backbone family | transformers pin | Conda env |
|---|---|---|
| Qwen2.5-VL | transformers==4.51.3 | qzoom-q25 |
| Qwen3-VL | transformers==4.57.1 | qzoom-q3 |
The repo's install.sh handles both pins automatically:
git clone https://github.com/YuHengsss/Q-Zoom.git
cd Q-Zoom
bash install.sh qwen2_5vl
conda activate qzoom-q25
huggingface-cli download YuhengSSS/Q-Zoom-Qwen2.5VL-3B \
--local-dir ./checkpoints/Q-Zoom-Qwen2.5VL-3B \
--local-dir-use-symlinks False
CHECKPOINT_PATH=./checkpoints/Q-Zoom-Qwen2.5VL-3B \
NUM_GPUS=4 \
bash examples/eval_only/eval_qwen2_5vl_stage3.sh
This runs the standard Q-Zoom benchmark suite (TextVQA, InfoVQA, ChartQA,
OCRBench, DocVQA, V*Bench, MME-RealWorld-Lite, HRBench) with the
gating-aware decoding loop. Set TWO_STAGE_ROI=False to disable Q-Zoom and
fall back to vanilla decoding.
At inference time, Q-Zoom always produces a direct response from the low-resolution pass; the high-res gating head decides per sample whether to also produce a RoI-based response by re-decoding the cropped region predicted by the SD-RPN attention map.
This checkpoint was finetuned with the data hosted at YuhengSSS/Q-Zoom-Training:
See DATASETS.md in the GitHub repo for the per-stage filenames.
@article{qzoom,
title = {Q-Zoom: Query-Aware Adaptive Perception for Efficient
Multimodal Large Language Models},
author = {Shi, Yuheng and Pei, Xiaohuan and Wen, Linfeng and
Dong, Minjing and Xu, Chang},
journal= {arXiv preprint arXiv:2604.06912},
year = {2026}
}
You may also be interested in our earlier work that introduced the self-distilled RoI predictor used by Q-Zoom's SD-RPN branch:
@article{shi2025catching,
title = {Catching the Details: Self-Distilled RoI Predictors for
Fine-Grained MLLM Perception},
author = {Shi, Yuheng and Pei, Xiaohuan and Dong, Minjing and Xu, Chang},
journal= {arXiv preprint arXiv:2509.16944},
year = {2025}
}
Apache 2.0. The checkpoint inherits the license of the base model
Qwen/Qwen2.5-VL-3B-Instruct; please respect both.