Will It Run AI

AlibabaAlibaba

Qwen 2.5 Coder 1.5B

686.6K下载量123点赞Sep 2024发布日期33K tokens上下文Apache 2.0许可证46 基础质量

Qwen 2.5 Coder 1.5B (1.5B parameters) requires approximately 3.1 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 4 GB of VRAM.

快速开始

— 复制粘贴即可本地运行

Copy-paste commands to run Qwen 2.5 Coder 1.5B on your machine.

Run

ollama run qwen2.5-coder:1.5b

Quick specs

Parameters1.5B
Architecturedense
Context33K tokens
Modalitytext
Min RAM0.6 GB
Rec. RAM0.9 GB (Q4_K_M)
LicenseApache 2.0
FamilyQwen
Chat

About this model

Qwen 2.5 Coder 1.5B is Alibaba's compact code-specific language model from the Qwen2.5 Coder series. Trained on 5.5T tokens including source code, text-code grounding, and synthetic data. Features improvements in code generation, reasoning, and fixing while maintaining general and math capabilities.

  • Code-specialized: trained on 5.5T tokens of code and text-code data
  • 28 layers with grouped-query attention (12 Q heads, 2 KV heads)
  • Strong code generation, reasoning, and repair capabilities
  • Apache 2.0 license for unrestricted use

相关模型

你的硬件

检测中...

快速推荐

最佳硬件

Qwen 2.5 Coder 1.5B 的最佳选择

运行此模型

量化选项

各量化级别的 VRAM 估算

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
0.6 GB
Low
Q3_K_S
3
0.7 GB
Low
NVFP4
4
0.8 GB
Medium
Q4_K_M
4
0.9 GB
Medium
Q5_K_M
5
1.1 GB
High
Q6_K
6
1.2 GB
High
Q8_0
8
1.6 GB
Very High
F16
16
3.1 GB
Maximum

Quality benchmarks

Qwen 2.5 Coder 1.5B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+46.8%
Aider Polyglot
LiveCodeBench

Source: community · 2024-09-17

硬件兼容性

全部硬件的适配估算

打开计算器

Computing compatibility...

内存详细分析

Reference: RTX 2060 6GB

Weights0.9 GB
KV Cache0.4 GB
Runtime1.2 GB
Headroom0.6 GB

常见问题

FAQ — Qwen 2.5 Coder 1.5B

另请参阅