๐ BigCode
BigCode
StarCoder 7B
LegacyMay 2023Released8K tokensContextApache 2.0License56 GoodQuality
StarCoder 7B (7B parameters) requires approximately 13.4 GB of VRAM with Q4_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 StarCoder 7B on your machine.
Run
lms load starcoder-7b && lms server startQuick specs
Parameters7B
Architecturedense
Context8K tokens
Modalitycode
Min RAM2.7 GB
Rec. RAM4.3 GB (Q4_K_M)
LicenseApache 2.0
FamilyStarCoder
โ Codeโ Reasoning
About this model
Related models
Your hardware
Detecting...
Quick picks
Best hardware
Top picks for StarCoder 7B
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 | 2.7 GB | Low | โ |
Q3_K_S | 3 | 3.4 GB | Low | โ |
NVFP4 | 4 | 3.9 GB | Medium | โ |
Q4_K_M | 4 | 4.3 GB | Medium | โ |
Q5_K_M | 5 | 5.0 GB | High | โ |
Q6_K | 6 | 5.7 GB | High | โ |
Q8_0 | 8 | 7.5 GB | Very High | โ |
F16 | 16 | 14.3 GB | Maximum | โ |
Quality benchmarks
StarCoder 7B benchmark scores
Coding
SWE-bench Verifiedโ
HumanEval+30.4%
Aider Polyglotโ
LiveCodeBenchโ
Source: community ยท 2023-05-04
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights4.3 GB
KV Cache7.3 GB
Runtime1.2 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ StarCoder 7B
See also
