Qwen / text-generation updated 1 year ago

Qwen2.5-Coder-1.5B-Instruct

Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). As of now, Qwen2.5-Coder has covered six mainstream model sizes, 0.5, 1.5, 3, 7, 14, 32 billion parameters, to meet the needs of different developers. Qwen2.5-Coder brings the following improvements upon CodeQwen1.5:

Params
1.5 B
Context
32,768
Downloads 30d
728 K
Likes
135
Commercial use: allowed apache-2.0 Not gated SAFETENSORS 1 languages View on Hugging Face ↗

Download history

daily snapshots · 10 days
728 K666 K
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors bf16 3.1 GB 4.1 GB ✅ Runs comfortably
model.safetensors (bf16, full) bf16 + 32K ctx 3.1 GB 4.8 GB ✅ Runs comfortably
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Run it

copy-paste, exact tags checked against the Hub
~ · curl · api/v1
$ curl -s https://aimodelscomparison.com/api/v1/models/qwen2-5-coder-1-5b-instruct
{
  "hf_id": "Qwen/Qwen2.5-Coder-1.5B-Instruct",
  "params_b": 1.54,
  "context_length": 32768,
  "license": { "id": "apache-2.0", "commercial": "yes" },
  "downloads_30d": 727778,
  "vram_estimates": [
    { "quant": "bf16", "gb": 4.1 }
  ],
  "updated_at": "2026-07-28T18:04:18Z"
}
est. VRAM —on RTX 4090 · 24 GBJSON API →

Specifications

Architecture
Qwen2ForCausalLM
Parameters
1.5 B
Tensor type
BF16
Context length
32,768
Vocabulary
151,936
Layers / heads
28 / 12
Licence
apache-2.0
First seen on the Hub
2024-09-18
Base model
Qwen2.5-Coder-1.5B
Training datasets
undisclosed
Added to our catalog
2026-07-28

Family

Base model and the most-downloaded derivatives in the catalog.