Model comparison

Llama 13b vs Phi-2

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

Last verified . 8 shared benchmarks.

Llama 13b Meta

23.9

Rank #344 Confirmed

Phi-2 Microsoft

—

Unranked

Summary

  • They share 8 benchmarks with published results for both.

Side by side

Llama 13b and Phi-2 specifications
Llama 13bPhi-2
ProviderMetaMicrosoft
Noometry Index23.9—
Released2023-02-242023-12-12
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2111

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

Category by category

Coding Not comparable

Llama 13b: 20.9 (#332), Phi-2: —

Coding benchmarks
BenchmarkLlama 13bPhi-2
LMArena Coding683—
HumanEval+—45.1%
MBPP+—54.2%

Reasoning Not comparable

Llama 13b: 13.4 (#327), Phi-2: —

Reasoning benchmarks
BenchmarkLlama 13bPhi-2
BIG-Bench Hard37.9%59.4%
Epoch Capabilities Index100.09107.62
HellaSwag79.2%53.6%
WinoGrande73%54.7%
LMArena Hard Prompts728—
Adversarial NLI—42.5%
LAMBADA75.2%—
PIQA80.1%—

Math Not comparable

Llama 13b: 24.4 (#259), Phi-2: —

Math benchmarks
BenchmarkLlama 13bPhi-2
LMArena Math838—
GSM8K20.6%—

Knowledge Not comparable

Llama 13b: —, Phi-2: —

Knowledge benchmarks
BenchmarkLlama 13bPhi-2
ARC (AI2) Challenge52.7%75.9%
MMLU47.7%58.4%
OpenBookQA56.4%73.6%
TriviaQA77.9%45.2%
BoolQ78.7%—

Multimodal Not comparable

Llama 13b: —, Phi-2: —

Multimodal benchmarks
BenchmarkLlama 13bPhi-2
ScienceQA43.3%—

Multilingual Not comparable

Llama 13b: 16.8 (#292), Phi-2: —

Multilingual benchmarks
BenchmarkLlama 13bPhi-2
LMArena Non-English819—

Instruction Following Not comparable

Llama 13b: 36.9 (#300), Phi-2: —

Instruction Following benchmarks
BenchmarkLlama 13bPhi-2
LMArena Instruction Following781—

Writing & Preference Not comparable

Llama 13b: 13.9 (#307), Phi-2: —

Writing & Preference benchmarks
BenchmarkLlama 13bPhi-2
LMArena Text834—
LMArena Creative Writing794—
LMArena Multi-Turn753—

Frequently asked questions

Is Llama 13b better than Phi-2?

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

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

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

Related comparisons

Go deeper