๐ Meta
Meta
CodeLlama 13B Instruct
Legacy2.3KDownloads160LikesAug 2023Released16K tokensContextCommunityLicense60 GoodQuality
CodeLlama 13B Instruct (13B parameters) requires approximately 21.9 GB of VRAM with Q4_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 CodeLlama 13B Instruct on your machine.
Run
lms load CodeLlama-13b-Instruct-hf && lms server startQuick specs
Parameters13B
Architecturedense
Context16K tokens
Modalitycode
Min RAM5.1 GB
Rec. RAM7.9 GB (Q4_K_M)
LicenseCommunity
FamilyCodeLlama
โ Code
About this model
- โข[x] Code completion
- โข[x] Instructions / chat
- โข[ ] Python specialist
Related models
Your hardware
Detecting...
Quick picks
Best budgetA
Mac mini M4 64GB~$1,099 โ 10 tok/sBest overallA
RTX 5090 32GB~$1,999 โ 151 tok/sBest hardware
Top picks for CodeLlama 13B Instruct
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.1 GB | Low | โ |
Q3_K_S | 3 | 6.4 GB | Low | โ |
NVFP4 | 4 | 7.3 GB | Medium | โ |
Q4_K_M | 4 | 7.9 GB | Medium | โ |
Q5_K_M | 5 | 9.4 GB | High | โ |
Q6_K | 6 | 10.7 GB | High | โ |
Q8_0 | 8 | 13.9 GB | Very High | โ |
F16 | 16 | 26.7 GB | Maximum | โ |
Quality benchmarks
CodeLlama 13B Instruct benchmark scores
Coding
SWE-bench Verifiedโ
HumanEval+42.7%
Aider Polyglotโ
LiveCodeBenchโ
Source: official ยท 2023-08-24
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights7.9 GB
KV Cache12.2 GB
Runtime1.2 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ CodeLlama 13B Instruct
See also
