Will It Run AI

BigCodeBigCode

StarCoder2 3B

Actual
Feb 2024Publicado16K tokensContextoBigCode OpenRAIL-MLicencia1 EntradaCalidad

StarCoder2 3B (3B parameters) requires approximately 4.1 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 5 GB of VRAM.

Comenzar

— copia y pega para ejecutar en local

Copy-paste commands to run StarCoder2 3B on your machine.

Run

ollama run starcoder2:3b

Quick specs

Parameters3B
Architecturedense
Context16K tokens
Modalitytext
Min RAM1.2 GB
Rec. RAM1.8 GB (Q4_K_M)
LicenseBigCode OpenRAIL-M
FamilyStarCoder
Code

About this model

StarCoder2 3B is a compact code generation model trained on 600+ programming languages from The Stack v2.

Modelos relacionados

Tu hardware

Detectando...

Selecciones rápidas

Mejor hardware

Mejores opciones para StarCoder2 3B

Ejecutar este modelo

Opciones de cuantización

Estimaciones de VRAM por nivel de cuantización

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
1.2 GB
Low
Q3_K_S
3
1.5 GB
Low
NVFP4
4
1.7 GB
Medium
Q4_K_M
4
1.8 GB
Medium
Q5_K_M
5
2.2 GB
High
Q6_K
6
2.5 GB
High
Q8_0
8
3.2 GB
Very High
F16
16
6.1 GB
Maximum

Quality benchmarks

StarCoder2 3B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+31.7%
Aider Polyglot
LiveCodeBench

Reasoning

MMLU-Pro7.1%
GPQA Diamond
MATH-5001.5%
ARC Challenge

General

Chatbot Arena
IFEval20.4%

Source: official · 2024-02-28

Compatibilidad de hardware

Estimaciones de encaje en todo el hardware

Abrir calculadora

Computing compatibility...

Desglose de memoria

Reference: RTX 2060 6GB

Weights1.8 GB
KV Cache0.5 GB
Runtime1.2 GB
Headroom0.6 GB

Preguntas frecuentes

FAQ — StarCoder2 3B

Ver también