๐ BigCode
BigCode
StarCoder2 15B
Current10.3KDownloads673LikesFeb 2024Released16K tokensContextBigCode OpenRAIL-MLicense7 EntryQuality
StarCoder2 15B (15B parameters) requires approximately 13.8 GB of VRAM with Q5_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 16 GB of VRAM.
Get started
โ copy & paste to run locallyCopy-paste commands to run StarCoder2 15B on your machine.
Run
docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \
--hf-repo "bigcode/starcoder2-15b" \
--hf-file "starcoder2-15b-Q5_K_M.gguf" \
-c 4096 -ngl 99Quick specs
Parameters15B
Architecturedense
Context16K tokens
Modalitycode
Min RAM5.9 GB
Rec. RAM10.8 GB (Q5_K_M)
LicenseBigCode OpenRAIL-M
FamilyStarCoder2
โ Code
About this model
- โขModel Summary
- โขLimitations
- โขTraining
- โขLicense
- โขCitation
Related models
Your hardware
Detecting...
Quick picks
Best budgetC
RX 7600 XT 16GB~$329 โ 17 tok/sBest overallB
RTX 4090 24GB~$1,599 โ 79 tok/sBest hardware
Top picks for StarCoder2 15B
Run this model
Quantization options
VRAM estimates by quant level
No hardware detected โ fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 5.9 GB | Low | โ |
Q3_K_S | 3 | 7.4 GB | Low | โ |
NVFP4 | 4 | 8.4 GB | Medium | โ |
Q4_K_M | 4 | 9.2 GB | Medium | โ |
Q5_K_M | 5 | 10.8 GB | High | โ |
Q6_K | 6 | 12.3 GB | High | โ |
Q8_0 | 8 | 16.1 GB | Very High | โ |
F16 | 16 | 30.7 GB | Maximum | โ |
Quality benchmarks
StarCoder2 15B benchmark scores
Coding
SWE-bench Verifiedโ
HumanEval+46.3%
Aider Polyglotโ
LiveCodeBenchโ
Reasoning
MMLU-Pro15.0%
GPQA Diamond3.1%
MATH-5006.0%
ARC Challengeโ
General
Chatbot Arenaโ
IFEval27.8%
Source: official ยท 2024-02-28
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights10.8 GB
KV Cache1.2 GB
Runtime1.2 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ StarCoder2 15B
See also
