Skip to main content

MetaLanguage modelOpen weights

Llama 2 7B

Llama 2 7B has no overall index value yet because there are too few independent benchmark results.

Summary

Llama 2 7B is the smallest pretrained base model of the second Llama generation, which Meta released for research and commercial use on July 18, 2023. It has 7 billion parameters.

Like the whole family it was trained on 2 trillion tokens of publicly available data with a September 2022 cutoff and handles 4,096 tokens of context. A separate Llama-2-7b-chat version exists for dialogue.

All benchmark results

Every published result with its source, test setup and comparison models.

Show all 6 published benchmark results

Measurements without matching peer values

These measurements have no matching peer values under the same test conditions. Their original values and sources remain available here.

LegalBench: Conclusion Tasks (Show measurement, test conditions, and source)
Source value
54.424
Metric
accuracy
Unit
%
Benchmark version
1
Category
legal
Task
conclusion_tasks
Task label
Conclusion Tasks
Direction
Higher is better
Source type
independent-evaluator
Evaluator
Vals AI
Status
active
Retrieved at
2026-11-07
Methodology
Source model ID: together/togethercomputer/llama-2-7b. Source model name: Llama 2 7b. Provider reported by source: Together AI. Evaluator: Vals AI. Dataset type: public. Leaderboard date: 2026-10-13. Maximum output tokens: 4096. Latency in seconds: 0.408. Standard error: 1.003. Source ID: vals-ai. Evidence capture ID: vals-legal_bench-2026-11-07-961880b47ea4. Source payload hash: 961880b47ea46f56a6c527660430d960ace4505053a31f8de6da730a4b534383. Parser version: vals-astro-v4. Imported at: 2026-11-07. Source cohort: vals-legal-bench:1:conclusion_tasks
Source Vals AI
LegalBench: Interpretation Tasks (Show measurement, test conditions, and source)
Source value
48.545
Metric
accuracy
Unit
%
Benchmark version
1
Category
legal
Task
interpretation_tasks
Task label
Interpretation Tasks
Direction
Higher is better
Source type
independent-evaluator
Evaluator
Vals AI
Status
active
Retrieved at
2026-11-07
Methodology
Source model ID: together/togethercomputer/llama-2-7b. Source model name: Llama 2 7b. Provider reported by source: Together AI. Evaluator: Vals AI. Dataset type: public. Leaderboard date: 2026-10-13. Maximum output tokens: 4096. Latency in seconds: 0.742. Standard error: 0.128. Source ID: vals-ai. Evidence capture ID: vals-legal_bench-2026-11-07-961880b47ea4. Source payload hash: 961880b47ea46f56a6c527660430d960ace4505053a31f8de6da730a4b534383. Parser version: vals-astro-v4. Imported at: 2026-11-07. Source cohort: vals-legal-bench:1:interpretation_tasks
Source Vals AI
LegalBench: Issue Tasks (Show measurement, test conditions, and source)
Source value
50.296
Metric
accuracy
Unit
%
Benchmark version
1
Category
legal
Task
issue_tasks
Task label
Issue Tasks
Direction
Higher is better
Source type
independent-evaluator
Evaluator
Vals AI
Status
active
Retrieved at
2026-11-07
Methodology
Source model ID: together/togethercomputer/llama-2-7b. Source model name: Llama 2 7b. Provider reported by source: Together AI. Evaluator: Vals AI. Dataset type: public. Leaderboard date: 2026-10-13. Maximum output tokens: 4096. Latency in seconds: 1.792. Standard error: 0.262. Source ID: vals-ai. Evidence capture ID: vals-legal_bench-2026-11-07-961880b47ea4. Source payload hash: 961880b47ea46f56a6c527660430d960ace4505053a31f8de6da730a4b534383. Parser version: vals-astro-v4. Imported at: 2026-11-07. Source cohort: vals-legal-bench:1:issue_tasks
Source Vals AI
LegalBench: Overall (Show measurement, test conditions, and source)
Source value
51.869
Metric
accuracy
Unit
%
Benchmark version
1
Category
legal
Task
overall
Task label
Overall
Direction
Higher is better
Source type
independent-evaluator
Evaluator
Vals AI
Status
active
Retrieved at
2026-11-07
Methodology
Source model ID: together/togethercomputer/llama-2-7b. Source model name: Llama 2 7b. Provider reported by source: Together AI. Evaluator: Vals AI. Dataset type: public. Leaderboard date: 2026-10-13. Maximum output tokens: 4096. Latency in seconds: 0.984. Standard error: 0.63. Source ID: vals-ai. Evidence capture ID: vals-legal_bench-2026-11-07-961880b47ea4. Source payload hash: 961880b47ea46f56a6c527660430d960ace4505053a31f8de6da730a4b534383. Parser version: vals-astro-v4. Imported at: 2026-11-07. Source cohort: vals-legal-bench:1:overall
Source Vals AI
LegalBench: Rhetoric Tasks (Show measurement, test conditions, and source)
Source value
45.218
Metric
accuracy
Unit
%
Benchmark version
1
Category
legal
Task
rhetoric_tasks
Task label
Rhetoric Tasks
Direction
Higher is better
Source type
independent-evaluator
Evaluator
Vals AI
Status
active
Retrieved at
2026-11-07
Methodology
Source model ID: together/togethercomputer/llama-2-7b. Source model name: Llama 2 7b. Provider reported by source: Together AI. Evaluator: Vals AI. Dataset type: public. Leaderboard date: 2026-10-13. Maximum output tokens: 4096. Latency in seconds: 0.774. Standard error: 0.487. Source ID: vals-ai. Evidence capture ID: vals-legal_bench-2026-11-07-961880b47ea4. Source payload hash: 961880b47ea46f56a6c527660430d960ace4505053a31f8de6da730a4b534383. Parser version: vals-astro-v4. Imported at: 2026-11-07. Source cohort: vals-legal-bench:1:rhetoric_tasks
Source Vals AI
LegalBench: Rule Tasks (Show measurement, test conditions, and source)
Source value
60.864
Metric
accuracy
Unit
%
Benchmark version
1
Category
legal
Task
rule_tasks
Task label
Rule Tasks
Direction
Higher is better
Source type
independent-evaluator
Evaluator
Vals AI
Status
active
Retrieved at
2026-11-07
Methodology
Source model ID: together/togethercomputer/llama-2-7b. Source model name: Llama 2 7b. Provider reported by source: Together AI. Evaluator: Vals AI. Dataset type: public. Leaderboard date: 2026-10-13. Maximum output tokens: 4096. Latency in seconds: 1.204. Standard error: 2.929. Source ID: vals-ai. Evidence capture ID: vals-legal_bench-2026-11-07-961880b47ea4. Source payload hash: 961880b47ea46f56a6c527660430d960ace4505053a31f8de6da730a4b534383. Parser version: vals-astro-v4. Imported at: 2026-11-07. Source cohort: vals-legal-bench:1:rule_tasks
Source Vals AI

All specifications

Architecture

Checkpoint
meta-llama/Llama-2-7b-hf
Source: Checkpoint

Input and output

Context length
4,096 tokens according to the model card.
Source: Context length

Watermarking and provenance

AI watermarking refers to invisible signals embedded in the output. Visible marks and provenance metadata are listed separately. Unknown means there is insufficient evidence for that particular field.

AI watermarking
Unknown
no source
Watermarking technique
Not known
no source

Licence and access

Weights license
Llama 2 Community License
Source: Weights license
Shutdown
None announced
no source

Further details

Variant
Pretrained base model with 7 billion parameters, not the Llama-2-7b-chat variant. Meta introduced the Llama 2 family on July 18, 2023.
Source: Variant
Training data
Pretrained on 2.0 trillion tokens of publicly available online data. The pretraining data has a cutoff of September 2022, and some tuning data is more recent, up to July 2023.
Source: Training data

Frequently asked questions about Llama 2 7B

What is the knowledge cutoff of Llama 2 7B?

September 2022, according to Meta. That is 10 months before release.

Stated by Meta

How large is the context window of Llama 2 7B?

4,096 tokens. Separate limits may apply to input and output.

Context windowContext limit in tokens · higher is better
GLM-5.1200K
o3200K
GLM-5200K
GLM-4.5131K
GPT OSS 120B131K
DeepSeek-V3.2128K
Llama 2 7BRank 140 of 1404K

Can I run Llama 2 7B locally?

Yes, the weights are open.

Stated by Meta

Open weights
yes
License
Llama 2 Community License
Parameters
7B
active per token
n/a

Sources and data date

Benchmark sources at a glance

Which independent evaluators tested this model. This is coverage, not a quality ranking.

EvaluatorTest seriesComposite indicesRecorded active measurements
Vals AI106

Without vendor claims and historical or disputed results; those stay labelled in the single values.