Model comparison

Llama 2-13B vs Phi-2

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

Last verified . 8 shared benchmarks.

Llama 2-13B Meta

29.1

Rank #304 Confirmed

Phi-2 Microsoft

—

Unranked

Summary

  • They share 8 benchmarks with published results for both.

Side by side

Llama 2-13B and Phi-2 specifications
Llama 2-13BPhi-2
ProviderMetaMicrosoft
Noometry Index29.1—
Released2023-07-182023-12-12
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3211

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

Category by category

Coding Not comparable

Llama 2-13B: 30.4 (#287), Phi-2: —

Coding benchmarks
BenchmarkLlama 2-13BPhi-2
LMArena Coding1062—
HumanEval+—45.1%
MBPP+—54.2%

Reasoning Not comparable

Llama 2-13B: 12.3 (#333), Phi-2: —

Reasoning benchmarks
BenchmarkLlama 2-13BPhi-2
BIG-Bench Hard58.2%59.4%
Epoch Capabilities Index105.8107.62
HellaSwag80.7%53.6%
WinoGrande72.8%54.7%
Chess Puzzles0%—
LMArena Hard Prompts1051—
DTBench42.2%—
Adversarial NLI—42.5%
LAMBADA76.5%—
PIQA80.8%—

Math Not comparable

Llama 2-13B: 28.7 (#226), Phi-2: —

Math benchmarks
BenchmarkLlama 2-13BPhi-2
LMArena Math1065—
GSM8K36.9%—

Knowledge Not comparable

Llama 2-13B: 27.5 (#244), Phi-2: —

Knowledge benchmarks
BenchmarkLlama 2-13BPhi-2
ARC (AI2) Challenge60.3%75.9%
MMLU55.6%58.4%
OpenBookQA57%73.6%
TriviaQA79.6%45.2%
LMArena Expert1030—
BoolQ82.4%—

Multimodal Not comparable

Llama 2-13B: —, Phi-2: —

Multimodal benchmarks
BenchmarkLlama 2-13BPhi-2
ScienceQA55.8%—

Multilingual Not comparable

Llama 2-13B: 26.7 (#274), Phi-2: —

Multilingual benchmarks
BenchmarkLlama 2-13BPhi-2
LMArena Non-English1024—
LMArena Chinese1001—
LMArena French1043—
LMArena German1009—
LMArena Japanese894—
LMArena Korean953—
LMArena Russian1055—
LMArena Spanish1086—

Instruction Following Not comparable

Llama 2-13B: 53.5 (#282), Phi-2: —

Instruction Following benchmarks
BenchmarkLlama 2-13BPhi-2
LMArena Instruction Following1046—

Long Context Not comparable

Llama 2-13B: 32.3 (#264), Phi-2: —

Long Context benchmarks
BenchmarkLlama 2-13BPhi-2
LMArena Longer Query1064—

Writing & Preference Not comparable

Llama 2-13B: 30.0 (#284), Phi-2: —

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi-2
LMArena Text1085—
LMArena Creative Writing1047—
LMArena Multi-Turn1050—

Frequently asked questions

Is Llama 2-13B better than Phi-2?

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

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

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

Related comparisons

Go deeper