Qwen / Qwen3-VL-4B-Instruct

huggingface.co
Total runs: 4.1M
24-hour runs: 0
7-day runs: 229.9K
30-day runs: 489.8K
Model's Last Updated: October 16 2025
image-text-to-text

Introduction of Qwen3-VL-4B-Instruct

Model Details of Qwen3-VL-4B-Instruct

Chat

Qwen3-VL-4B-Instruct

Meet Qwen3-VL — the most powerful vision-language model in the Qwen series to date.

This generation delivers comprehensive upgrades across the board: superior text understanding & generation, deeper visual perception & reasoning, extended context length, enhanced spatial and video dynamics comprehension, and stronger agent interaction capabilities.

Available in Dense and MoE architectures that scale from edge to cloud, with Instruct and reasoning‑enhanced Thinking editions for flexible, on‑demand deployment.

Key Enhancements:
  • Visual Agent : Operates PC/mobile GUIs—recognizes elements, understands functions, invokes tools, completes tasks.

  • Visual Coding Boost : Generates Draw.io/HTML/CSS/JS from images/videos.

  • Advanced Spatial Perception : Judges object positions, viewpoints, and occlusions; provides stronger 2D grounding and enables 3D grounding for spatial reasoning and embodied AI.

  • Long Context & Video Understanding : Native 256K context, expandable to 1M; handles books and hours-long video with full recall and second-level indexing.

  • Enhanced Multimodal Reasoning : Excels in STEM/Math—causal analysis and logical, evidence-based answers.

  • Upgraded Visual Recognition : Broader, higher-quality pretraining is able to “recognize everything”—celebrities, anime, products, landmarks, flora/fauna, etc.

  • Expanded OCR : Supports 32 languages (up from 19); robust in low light, blur, and tilt; better with rare/ancient characters and jargon; improved long-document structure parsing.

  • Text Understanding on par with pure LLMs : Seamless text–vision fusion for lossless, unified comprehension.

Model Architecture Updates:

  1. Interleaved-MRoPE : Full‑frequency allocation over time, width, and height via robust positional embeddings, enhancing long‑horizon video reasoning.

  2. DeepStack : Fuses multi‑level ViT features to capture fine‑grained details and sharpen image–text alignment.

  3. Text–Timestamp Alignment: Moves beyond T‑RoPE to precise, timestamp‑grounded event localization for stronger video temporal modeling.

This is the weight repository for Qwen3-VL-4B-Instruct.


Model Performance

Multimodal performance

Pure text performance

Quickstart

Below, we provide simple examples to show how to use Qwen3-VL with 🤖 ModelScope and 🤗 Transformers.

The code of Qwen3-VL has been in the latest Hugging Face transformers and we advise you to build from source with command:

pip install git+https://github.com/huggingface/transformers
# pip install transformers==4.57.0 # currently, V4.57.0 is not released
Using 🤗 Transformers to Chat

Here we show a code snippet to show how to use the chat model with transformers :

from transformers import Qwen3VLForConditionalGeneration, AutoProcessor

# default: Load the model on the available device(s)
model = Qwen3VLForConditionalGeneration.from_pretrained(
    "Qwen/Qwen3-VL-4B-Instruct", dtype="auto", device_map="auto"
)

# We recommend enabling flash_attention_2 for better acceleration and memory saving, especially in multi-image and video scenarios.
# model = Qwen3VLForConditionalGeneration.from_pretrained(
#     "Qwen/Qwen3-VL-4B-Instruct",
#     dtype=torch.bfloat16,
#     attn_implementation="flash_attention_2",
#     device_map="auto",
# )

processor = AutoProcessor.from_pretrained("Qwen/Qwen/Qwen3-VL-4B-Instruct")

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"
)

# 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)
Generation Hyperparameters
VL
export greedy='false'
export top_p=0.8
export top_k=20
export temperature=0.7
export repetition_penalty=1.0
export presence_penalty=1.5
export out_seq_length=16384
Text
export greedy='false'
export top_p=1.0
export top_k=40
export repetition_penalty=1.0
export presence_penalty=2.0
export temperature=1.0
export out_seq_length=32768
Citation

If you find our work helpful, feel free to give us a cite.

@misc{qwen3technicalreport,
      title={Qwen3 Technical Report}, 
      author={Qwen Team},
      year={2025},
      eprint={2505.09388},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.09388}, 
}

@article{Qwen2.5-VL,
  title={Qwen2.5-VL Technical Report},
  author={Bai, Shuai and Chen, Keqin and Liu, Xuejing and Wang, Jialin and Ge, Wenbin and Song, Sibo and Dang, Kai and Wang, Peng and Wang, Shijie and Tang, Jun and Zhong, Humen and Zhu, Yuanzhi and Yang, Mingkun and Li, Zhaohai and Wan, Jianqiang and Wang, Pengfei and Ding, Wei and Fu, Zheren and Xu, Yiheng and Ye, Jiabo and Zhang, Xi and Xie, Tianbao and Cheng, Zesen and Zhang, Hang and Yang, Zhibo and Xu, Haiyang and Lin, Junyang},
  journal={arXiv preprint arXiv:2502.13923},
  year={2025}
}

@article{Qwen2VL,
  title={Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution},
  author={Wang, Peng and Bai, Shuai and Tan, Sinan and Wang, Shijie and Fan, Zhihao and Bai, Jinze and Chen, Keqin and Liu, Xuejing and Wang, Jialin and Ge, Wenbin and Fan, Yang and Dang, Kai and Du, Mengfei and Ren, Xuancheng and Men, Rui and Liu, Dayiheng and Zhou, Chang and Zhou, Jingren and Lin, Junyang},
  journal={arXiv preprint arXiv:2409.12191},
  year={2024}
}

@article{Qwen-VL,
  title={Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond},
  author={Bai, Jinze and Bai, Shuai and Yang, Shusheng and Wang, Shijie and Tan, Sinan and Wang, Peng and Lin, Junyang and Zhou, Chang and Zhou, Jingren},
  journal={arXiv preprint arXiv:2308.12966},
  year={2023}
}

Runs of Qwen Qwen3-VL-4B-Instruct on huggingface.co

4.1M
Total runs
0
24-hour runs
0
3-day runs
229.9K
7-day runs
489.8K
30-day runs

More Information About Qwen3-VL-4B-Instruct huggingface.co Model

More Qwen3-VL-4B-Instruct license Visit here:

https://choosealicense.com/licenses/apache-2.0

Qwen3-VL-4B-Instruct huggingface.co

Qwen3-VL-4B-Instruct huggingface.co is an AI model on huggingface.co that provides Qwen3-VL-4B-Instruct's model effect (), which can be used instantly with this Qwen Qwen3-VL-4B-Instruct model. huggingface.co supports a free trial of the Qwen3-VL-4B-Instruct model, and also provides paid use of the Qwen3-VL-4B-Instruct. Support call Qwen3-VL-4B-Instruct model through api, including Node.js, Python, http.

Qwen3-VL-4B-Instruct huggingface.co Url

https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct

Qwen Qwen3-VL-4B-Instruct online free

Qwen3-VL-4B-Instruct huggingface.co is an online trial and call api platform, which integrates Qwen3-VL-4B-Instruct's modeling effects, including api services, and provides a free online trial of Qwen3-VL-4B-Instruct, you can try Qwen3-VL-4B-Instruct online for free by clicking the link below.

Qwen Qwen3-VL-4B-Instruct online free url in huggingface.co:

https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct

Qwen3-VL-4B-Instruct install

Qwen3-VL-4B-Instruct is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-VL-4B-Instruct on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-VL-4B-Instruct install, users can directly use Qwen3-VL-4B-Instruct installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen3-VL-4B-Instruct install url in huggingface.co:

https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct

Url of Qwen3-VL-4B-Instruct

Qwen3-VL-4B-Instruct huggingface.co Url

Provider of Qwen3-VL-4B-Instruct huggingface.co

Qwen
ORGANIZATIONS

Other API from Qwen

huggingface.co

Total runs: 10.0M
Run Growth: 1.4M
Growth Rate: 14.09%
Updated:July 26 2025
huggingface.co

Total runs: 5.0M
Run Growth: 1.4M
Growth Rate: 28.59%
Updated:July 26 2025
huggingface.co

Total runs: 5.0M
Run Growth: 725.1K
Growth Rate: 14.63%
Updated:July 26 2025
huggingface.co

Total runs: 4.8M
Run Growth: 233.5K
Growth Rate: 4.83%
Updated:July 26 2025
huggingface.co

Total runs: 2.8M
Run Growth: -297.8K
Growth Rate: -10.51%
Updated:January 30 2026
huggingface.co

Total runs: 2.7M
Run Growth: 1.1M
Growth Rate: 39.10%
Updated:July 26 2025
huggingface.co

Total runs: 2.1M
Run Growth: 37.9K
Growth Rate: 1.77%
Updated:May 21 2025
huggingface.co

Total runs: 1.9M
Run Growth: 877.2K
Growth Rate: 45.49%
Updated:September 25 2024
huggingface.co

Total runs: 1.9M
Run Growth: 640.6K
Growth Rate: 33.36%
Updated:July 26 2025
huggingface.co

Total runs: 1.9M
Run Growth: 875.6K
Growth Rate: 44.89%
Updated:July 26 2025
huggingface.co

Total runs: 1.6M
Run Growth: -121.3K
Growth Rate: -7.83%
Updated:May 21 2025
huggingface.co

Total runs: 1.4M
Run Growth: 454.7K
Growth Rate: 31.65%
Updated:July 26 2025
huggingface.co

Total runs: 1.2M
Run Growth: -96.0K
Growth Rate: -8.33%
Updated:September 25 2024
huggingface.co

Total runs: 1.1M
Run Growth: 538.3K
Growth Rate: 47.83%
Updated:July 26 2025
huggingface.co

Total runs: 931.9K
Run Growth: 50.6K
Growth Rate: 5.43%
Updated:July 26 2025
huggingface.co

Total runs: 866.5K
Run Growth: 127.8K
Growth Rate: 14.59%
Updated:July 26 2025
huggingface.co

Total runs: 711.1K
Run Growth: -3.3M
Growth Rate: -438.36%
Updated:January 30 2026
huggingface.co

Total runs: 666.2K
Run Growth: 62.2K
Growth Rate: 9.35%
Updated:November 18 2024
huggingface.co

Total runs: 664.5K
Run Growth: -208.8K
Growth Rate: -31.49%
Updated:April 23 2026
huggingface.co

Total runs: 641.1K
Run Growth: -1.3M
Growth Rate: -208.05%
Updated:May 21 2025
huggingface.co

Total runs: 628.2K
Run Growth: 3.7K
Growth Rate: 0.58%
Updated:July 26 2025
huggingface.co

Total runs: 562.6K
Run Growth: 332.1K
Growth Rate: 60.17%
Updated:April 23 2026
huggingface.co

Total runs: 480.5K
Run Growth: 92.1K
Growth Rate: 19.16%
Updated:July 26 2025
huggingface.co

Total runs: 477.2K
Run Growth: 17.9K
Growth Rate: 3.75%
Updated:October 08 2024
huggingface.co

Total runs: 456.0K
Run Growth: 126.8K
Growth Rate: 27.69%
Updated:April 23 2026
huggingface.co

Total runs: 445.2K
Run Growth: -116.3K
Growth Rate: -26.13%
Updated:May 21 2025
huggingface.co

Total runs: 429.4K
Run Growth: 129.8K
Growth Rate: 30.24%
Updated:April 30 2025
huggingface.co

Total runs: 418.6K
Run Growth: -49.2K
Growth Rate: -12.22%
Updated:May 21 2025
huggingface.co

Total runs: 390.4K
Run Growth: -116.2K
Growth Rate: -29.16%
Updated:February 04 2026
huggingface.co

Total runs: 390.1K
Run Growth: 390.1K
Growth Rate: 100.00%
Updated:February 23 2026
huggingface.co

Total runs: 381.6K
Run Growth: -385.2K
Growth Rate: -100.96%
Updated:September 23 2024
huggingface.co

Total runs: 377.2K
Run Growth: 128.5K
Growth Rate: 33.78%
Updated:May 21 2025
huggingface.co

Total runs: 376.4K
Run Growth: 116.1K
Growth Rate: 31.35%
Updated:May 21 2025