16.4M
Downloads
❤️
641
Likes
🏷️
11
Tags
📦
transformers
Library
Model Details
Full Model IDQwen/Qwen3-4B
Pipeline / Tasktext-generation
Librarytransformers
Downloads (all-time)16.4M
Likes641
Last Modified7/26/2025
Author / OrgQwen
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("text-generation", model="Qwen/Qwen3-4B")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerssafetensorstext-generationarxiv:2309.00071arxiv:2505.09388base_model:Qwen/Qwen3-4B-Basebase_model:finetune:Qwen/Qwen3-4B-Baselicense:apache-2.0endpoints_compatibledeploy:azureregion:us
More Text Generation Models
See all →
Qwen3-0.6B

Qwen/Qwen3-0.6B

28.1M❤️ 1.4K
Get AI Model →
gpt2

openai-community/gpt2

13.3M❤️ 3.3K
Get AI Model →
Qwen3-8B

Qwen/Qwen3-8B

13.1M❤️ 1.2K
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
✍️ Task: Text Generation

This model is designed for the Text Generation task. Explore more models for this use case.

All Text Generation Models →
📊 Popularity
Downloads16.4M
❤️ Community Likes641
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?