LLaMA2 7B
Large Language Model Meta AI - 2 - 7B
Llama 2 7B is the smallest model in Meta's Llama 2 family, released on July 18, 2023 with a 4K-token context window. Llama 2 was the first Llama generation licensed for commercial use, under the Llama 2 Community License, and its 7B model became a common base for fine-tuning.
At a glance
- Context window
- 4K tokens
- Max output
- —
- Text input / output · per 1M tokens
- — / —
- Knowledge cutoff
- —
From the Zombie Woods
A year older. Still wandering.
Released 18 Jul 2023 · 1,228 days old · Open weights
This model crossed its first release anniversary and earned a zombie appearance in our game. It has not been declared dead: its real catalogue status is unchanged.
Visit the Zombie Woods →Benchmark snapshot
Best result in each categories
AcademicAGIEval
29.3Historical report (mode unspecified) · #20 of 27
CodingMBPP
65.5Historical report (mode unspecified) · pass@100 · pass-at-100 · #32 of 67
General EvaluationECI
98.5Reported best (effort unspecified) · #159 of 168
Benchmark details
7 results · Best published score per benchmark, grouped by category
| Benchmark · setting | Score | Rank |
|---|---|---|
| Academic | ||
| AGIEval Historical report (mode unspecified) · Knowledge Exams | 29.3 | 20 / 27 |
| GSM8K Historical report (mode unspecified) · Mathematics | 14.6 | 63 / 67 |
| MMLU Historical report (mode unspecified) · Knowledge Exams | 45.3 | 102 / 114 |
| MMLU-Pro Reported best (effort unspecified) · Knowledge Exams | 20.3 | 150 / 153 |
| Coding | ||
| HumanEval Historical report (mode unspecified) · pass@100 · pass-at-100 · Code Generation & Editing | 44.4 | 71 / 100 |
| MBPP Historical report (mode unspecified) · pass@100 · pass-at-100 · Code Generation & Editing | 65.5 | 32 / 67 |
| General Evaluation | ||
| ECI Reported best (effort unspecified) · Capability Indices | 98.5 | 159 / 168 |
Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.
Back to benchmark snapshot ↑Specifications
- Provider
- Facebook AI Research Lab
- Model type
- Foundation model
- Released
- July 18, 2023
- Total parameters
- 7B
- Architecture
- Dense
- Context window
- 4K tokens
- Weights
- Open weights
- Licence
- Llama 2 Community License Agreement
- Commercial use
- Commercial use allowed
LLaMA2 7B vs competitors
Comparable results only · record is LLaMA2 7B's wins–losses
| Benchmark | LLaMA2 7BThis model | vs LLaMA2 13BRecord 0–7 | vs LLaMA2 70BRecord 0–7 | vs Qwen2.5-MaxRecord 0–4 | vs Qwen2.5-32BRecord 0–4 |
|---|---|---|---|---|---|
| ECI | 98.5 | 106 | 114 | 133 | 129 |
| MMLU-Pro | 20.3 | 25.3 | 37.5 | 76.1 | 69.2 |
| MMLU | 45.3 | 54.8 | 68.9 | 87.9 | 83.3 |
| GSM8K | 14.6 | 28.7 | 56.8 | 94.5 | 95.9 |
| HumanEval | 44.4 | 61.2 | 87.0 | — | — |
| MBPP | 65.5 | 69.5 | 83.1 | — | — |
| AGIEval | 29.3 | 39.1 | 54.2 | — | — |
Primary sources
- LLaMA2 7B technical reportarxiv.org
- GitHub repositorygithub.com
- Weights on Hugging Facehuggingface.co
Community discussion
Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.
Sign in with Google to rate this model and leave a comment.
No community comments yet.
