BigCode
StarCoder2 7B
Actual9.7KDescargas215Me gustaFeb 2024Publicado16K tokensContextoBigCode OpenRAIL-MLicencia2 EntradaCalidad
StarCoder2 7B (7B parameters) requires approximately 6.3 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.
Comenzar
— copia y pega para ejecutar en localCopy-paste commands to run StarCoder2 7B on your machine.
Run
lms load starcoder2-7b && lms server startQuick specs
Parameters7B
Architecturedense
Context16K tokens
Modalitycode
Min RAM2.7 GB
Rec. RAM4.3 GB (Q4_K_M)
LicenseBigCode OpenRAIL-M
FamilyStarCoder2
✓ Code
About this model
- •Model Summary
- •Limitations
- •Training
- •License
- •Citation
Modelos relacionados
Selecciones rápidas
Mejor hardware
Mejores opciones para StarCoder2 7B
Ejecutar este modelo
Opciones de cuantización
Estimaciones de VRAM por nivel de cuantización
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
StarCoder2 7B benchmark scores
Coding
SWE-bench Verified—
HumanEval+35.4%
Aider Polyglot—
LiveCodeBench—
Reasoning
MMLU-Pro7.1%
GPQA Diamond0.2%
MATH-5003.1%
ARC Challenge—
General
Chatbot Arena—
IFEval22.1%
Source: official · 2024-02-28
Compatibilidad de hardware
Estimaciones de encaje en todo el hardware
Computing compatibility...
Desglose de memoria
Reference: RTX 2060 6GB
Weights4.3 GB
KV Cache0.5 GB
Runtime0.9 GB
Headroom0.6 GB
Preguntas frecuentes
FAQ — StarCoder2 7B
Ver también