← Back to directory
Meta AI
Code Llama
Released Aug 24, 2023 · knowledge cutoff unpublished
- Status
- Superseded
- Location
- United States
- Type
- LLM
- Modality
- Text
- Context window
- 16K
- Max output
- —
- Speed
- —
- Price ($/MTok in / out)
- — / —
- Cost per task
- —
- Open weights
- Yes
Strengths & weaknesses
Strengths
- Fills in code in the middle of a file, not just at the end
- Handles very long code inputs beyond its training length
- Separate Python and instruction-tuned variants
Weaknesses
- The largest launch size could not do infilling — only the smaller ones could
- Carries the same restrictive Llama 2 licence as its parent
Llama 2 fine-tuned on code, released in 7B, 13B and 34B (70B followed in January 2024); trained on 16K sequences with improvements up to 100K tokens. LMArena figure is Code Llama 34B Instruct.
Benchmarks1 of 10 reported
LMArena Elo
1065
MMLU-Proretired
—
GPQA Diamond
—
SWE-bench Verified
—
SWE-bench Pro
—
Terminal-Bench 2.1
—
AIME (latest)retired
—
Humanity's Last Exam
—
GDPval-AA v2
—
ARC-AGI-2
—
For developers
API model strings
Not researched
Licence
Llama 2 Community License Agreement · Restricted · commercial use permitted
Retirement
No retirement announced
Lineage
No recorded predecessor