Model comparison

Llama 2-13B vs Phi 3 Small 8k Instruct

Llama 2-13B and Phi 3 Small 8k Instruct score almost the same on the Noometry Index (29.6 vs 29.3), so choose on price, context window or the category you care about most.

Last verified . 24 shared benchmarks.

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Phi 3 Small 8k Instruct Microsoft

29.3

Rank #314 Confirmed

Summary

  • They share 24 benchmarks with published results for both. Llama 2-13B scores higher in 3 categories and Phi 3 Small 8k Instruct in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Llama 2-13B leads 31.1 to 27.6.

Side by side

Llama 2-13B and Phi 3 Small 8k Instruct specifications
Llama 2-13BPhi 3 Small 8k Instruct
ProviderMetaMicrosoft
Noometry Index29.629.3
Released2023-07-182024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3232

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

Category by category

Coding Llama 2-13B leads

Llama 2-13B: 30.9 (#291), Phi 3 Small 8k Instruct: 27.9 (#318)

Coding benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Coding10621101
LiveBench Coding—20.3%

Reasoning Phi 3 Small 8k Instruct leads

Llama 2-13B: 12.8 (#337), Phi 3 Small 8k Instruct: 14.8 (#323)

Reasoning benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Hard Prompts10511100
BIG-Bench Hard58.2%79.1%
HellaSwag80.7%77%
WinoGrande72.8%81.5%
Chess Puzzles0%—
LiveBench Reasoning—15.9%
DTBench42.2%—
LiveBench Data Analysis—30.3%
Adversarial NLI—58.1%
Epoch Capabilities Index106.17—
LAMBADA76.5%—
LiveBench—24%
PIQA80.8%—

Math Llama 2-13B leads

Llama 2-13B: 31.1 (#229), Phi 3 Small 8k Instruct: 27.6 (#248)

Math benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Math10651151
LiveBench Math—17.6%
GSM8K36.9%—

Knowledge Phi 3 Small 8k Instruct leads

Llama 2-13B: 28.1 (#249), Phi 3 Small 8k Instruct: 29.1 (#240)

Knowledge benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Expert10301067
ARC (AI2) Challenge60.3%90.7%
MMLU55.6%75.7%
OpenBookQA57%88%
TriviaQA79.6%58.1%
BoolQ82.4%—

Multimodal Not comparable

Llama 2-13B: —, Phi 3 Small 8k Instruct: —

Multimodal benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
ScienceQA55.8%—

Multilingual Phi 3 Small 8k Instruct leads

Llama 2-13B: 26.5 (#279), Phi 3 Small 8k Instruct: 28.5 (#272)

Multilingual benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Non-English10241058
LMArena Chinese10011061
LMArena French10441135
LMArena German10091080
LMArena Japanese894966
LMArena Korean953894
LMArena Russian10551111
LMArena Spanish10871111

Instruction Following Llama 2-13B leads

Llama 2-13B: 53.3 (#287), Phi 3 Small 8k Instruct: 51.9 (#292)

Instruction Following benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Instruction Following10451087
LiveBench Instruction Following—47.2%

Long Context Too close to call

Llama 2-13B: 32.3 (#269), Phi 3 Small 8k Instruct: 33.0 (#267)

Long Context benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Longer Query10641088

Writing & Preference Phi 3 Small 8k Instruct leads

Llama 2-13B: 29.8 (#289), Phi 3 Small 8k Instruct: 31.1 (#284)

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi 3 Small 8k Instruct
LMArena Text10841110
LMArena Creative Writing10471083
LMArena Multi-Turn10501068
LiveBench Language—12.9%

Frequently asked questions

Is Llama 2-13B better than Phi 3 Small 8k Instruct?

Llama 2-13B and Phi 3 Small 8k Instruct score almost the same on the Noometry Index (29.6 vs 29.3), so choose on price, context window or the category you care about most.

Is Llama 2-13B or Phi 3 Small 8k Instruct better for coding?

Llama 2-13B scores higher on coding benchmarks: 30.9 versus 27.9 in the Noometry coding category.

How many benchmarks do Llama 2-13B and Phi 3 Small 8k Instruct share?

24 benchmarks have published results for both models. Llama 2-13B has 32 scored results on Noometry and Phi 3 Small 8k Instruct has 32.

Related comparisons

Go deeper