Model comparison

Llama 3-8B vs Phi-2

Llama 3-8B has enough public results to be ranked (#344); Phi-2 does not yet, so treat this comparison as directional.

Last verified . 9 shared benchmarks.

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Phi-2 Microsoft

—

Unranked

Summary

  • They share 9 benchmarks with published results for both.

Side by side

Llama 3-8B and Phi-2 specifications
Llama 3-8BPhi-2
ProviderMetaMicrosoft
Noometry Index25.5—
Released2024-04-182023-12-12
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3411

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Not comparable

Llama 3-8B: 31.0 (#289), Phi-2: —

Coding benchmarks
BenchmarkLlama 3-8BPhi-2
HumanEval+56.7%45.1%
MBPP+54.8%54.2%
BigCodeBench Instruct31.9%—
LMArena Coding1152—
BigCodeBench Complete36.9%—

Reasoning Not comparable

Llama 3-8B: 14.3 (#326), Phi-2: —

Reasoning benchmarks
BenchmarkLlama 3-8BPhi-2
Adversarial NLI57.3%42.5%
Epoch Capabilities Index116.45107.94
WinoGrande75.7%54.7%
Chess Puzzles0%—
LMArena Hard Prompts1133—
DTBench43.9%—
BIG-Bench Hard—59.4%
ForecastBench58.6—
HellaSwag—53.6%

Math Not comparable

Llama 3-8B: 8.8 (#323), Phi-2: —

Math benchmarks
BenchmarkLlama 3-8BPhi-2
OTIS Mock AIME 2024-20251.9%—
LMArena Math1151—
MATH Level 56.1%—

Knowledge Not comparable

Llama 3-8B: 7.8 (#308), Phi-2: —

Knowledge benchmarks
BenchmarkLlama 3-8BPhi-2
ARC (AI2) Challenge82.8%75.9%
MMLU68.8%58.4%
OpenBookQA82.6%73.6%
TriviaQA67.7%45.2%
GPQA Diamond26.1%—
LMArena Expert1113—

Multilingual Not comparable

Llama 3-8B: 30.8 (#261), Phi-2: —

Multilingual benchmarks
BenchmarkLlama 3-8BPhi-2
LMArena Non-English1098—
LMArena Chinese1076—
LMArena French1159—
LMArena German1104—
LMArena Japanese967—
LMArena Korean1004—
LMArena Russian1109—
LMArena Spanish1173—

Instruction Following Not comparable

Llama 3-8B: 58.4 (#260), Phi-2: —

Instruction Following benchmarks
BenchmarkLlama 3-8BPhi-2
LMArena Instruction Following1127—

Long Context Not comparable

Llama 3-8B: 34.2 (#251), Phi-2: —

Long Context benchmarks
BenchmarkLlama 3-8BPhi-2
LMArena Longer Query1128—

Writing & Preference Not comparable

Llama 3-8B: 37.5 (#256), Phi-2: —

Writing & Preference benchmarks
BenchmarkLlama 3-8BPhi-2
LMArena Text1166—
LMArena Creative Writing1150—
LMArena Multi-Turn1152—

Frequently asked questions

Is Llama 3-8B better than Phi-2?

Llama 3-8B has enough public results to be ranked (#344); Phi-2 does not yet, so treat this comparison as directional.

How many benchmarks do Llama 3-8B and Phi-2 share?

9 benchmarks have published results for both models. Llama 3-8B has 34 scored results on Noometry and Phi-2 has 11.

Related comparisons

Go deeper