๐ Stability AI
Stability AI
StableLM 2 12B
Legacy265Downloads89LikesApr 2024Released4K tokensContextStability AI CommunityLicense4 EntryQuality
StableLM 2 12B (12B parameters) requires approximately 22.3 GB of VRAM with Q5_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 26 GB of VRAM.
Get started
โ copy & paste to run locallyCopy-paste commands to run StableLM 2 12B on your machine.
Run
docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \
--hf-repo "stabilityai/stablelm-2-12b-chat" \
--hf-file "stablelm-2-12b-chat-Q5_K_M.gguf" \
-c 4096 -ngl 99Quick specs
Parameters12B
Architecturedense
Context4K tokens
Modalitytext
Min RAM4.7 GB
Rec. RAM8.6 GB (Q5_K_M)
LicenseStability AI Community
FamilyStableLM
โ Chat
About this model
- โขDeveloped by: Stability AI
- โขModel type: StableLM 2 12B Chat model is an auto-regressive language model based on the transformer decoder architecture
- โขLanguage(s): English
- โขPaper: Stable LM 2 Chat Technical Report
- โขLibrary: Alignment Handbook
Your hardware
Detecting...
Quick picks
Best budgetC
Mac mini M4 64GB~$1,099 โ 8 tok/sBest overallB
RTX 5090 32GB~$1,999 โ 103 tok/sBest hardware
Top picks for StableLM 2 12B
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 | 4.7 GB | Low | โ |
Q3_K_S | 3 | 5.9 GB | Low | โ |
NVFP4 | 4 | 6.7 GB | Medium | โ |
Q4_K_M | 4 | 7.3 GB | Medium | โ |
Q5_K_M | 5 | 8.6 GB | High | โ |
Q6_K | 6 | 9.8 GB | High | โ |
Q8_0 | 8 | 12.8 GB | Very High | โ |
F16 | 16 | 24.6 GB | Maximum | โ |
Quality benchmarks
StableLM 2 12B benchmark scores
Reasoning
MMLU-Pro19.3%
GPQA Diamond2.2%
MATH-5005.4%
ARC Challenge65.0%
General
Chatbot Arenaโ
IFEval40.8%
Source: official ยท 2024-02-01
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights8.6 GB
KV Cache12.2 GB
Runtime0.9 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ StableLM 2 12B
See also
