Model comparison

Llama 2-13B vs Phi 3 Mini 4k Instruct

Llama 2-13B is the stronger model overall, scoring 29.6 to 27.9 on the Noometry Index.

Last verified . 25 shared benchmarks.

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Phi 3 Mini 4k Instruct Microsoft

27.9

Rank #328 Confirmed

Summary

  • They share 25 benchmarks with published results for both. Llama 2-13B scores higher in 6 categories and Phi 3 Mini 4k Instruct in 2 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where Llama 2-13B leads 53.3 to 47.7.

Side by side

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

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 Mini 4k Instruct: 26.6 (#323)

Coding benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Coding10621093
LiveBench Coding—15.5%
HumanEval+—59.1%
MBPP+—54.2%

Reasoning Phi 3 Mini 4k Instruct leads

Llama 2-13B: 12.8 (#337), Phi 3 Mini 4k Instruct: 14.1 (#328)

Reasoning benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
Chess Puzzles0%0%
LMArena Hard Prompts10511072
BIG-Bench Hard58.2%71.7%
HellaSwag80.7%76.7%
WinoGrande72.8%70.8%
LiveBench Reasoning—26.8%
DTBench42.2%—
LiveBench Data Analysis—34.7%
Adversarial NLI—52.8%
Epoch Capabilities Index106.17—
LAMBADA76.5%—
LiveBench—22.4%
PIQA80.8%—

Math Llama 2-13B leads

Llama 2-13B: 31.1 (#229), Phi 3 Mini 4k Instruct: 26.6 (#257)

Math benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Math10651111
LiveBench Math—15.7%
GSM8K36.9%—

Knowledge Too close to call

Llama 2-13B: 28.1 (#249), Phi 3 Mini 4k Instruct: 28.5 (#246)

Knowledge benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Expert10301045
ARC (AI2) Challenge60.3%84.9%
MMLU55.6%68.8%
OpenBookQA57%88%
TriviaQA79.6%64%
BoolQ82.4%—

Multimodal Not comparable

Llama 2-13B: —, Phi 3 Mini 4k Instruct: —

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

Multilingual Too close to call

Llama 2-13B: 26.5 (#279), Phi 3 Mini 4k Instruct: 26.3 (#280)

Multilingual benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Non-English10241021
LMArena Chinese10011021
LMArena French10441076
LMArena German10091044
LMArena Japanese894935
LMArena Korean953905
LMArena Russian10551022
LMArena Spanish10871085

Instruction Following Llama 2-13B leads

Llama 2-13B: 53.3 (#287), Phi 3 Mini 4k Instruct: 47.7 (#303)

Instruction Following benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Instruction Following10451053
LiveBench Instruction Following—39.1%

Long Context Too close to call

Llama 2-13B: 32.3 (#269), Phi 3 Mini 4k Instruct: 31.7 (#276)

Long Context benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Longer Query10641044

Writing & Preference Llama 2-13B leads

Llama 2-13B: 29.8 (#289), Phi 3 Mini 4k Instruct: 27.6 (#300)

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct
LMArena Text10841073
LMArena Creative Writing10471037
LMArena Multi-Turn10501018
LiveBench Language—9.2%

Frequently asked questions

Is Llama 2-13B better than Phi 3 Mini 4k Instruct?

Llama 2-13B is the stronger model overall, scoring 29.6 to 27.9 on the Noometry Index.

Is Llama 2-13B or Phi 3 Mini 4k Instruct better for coding?

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

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

25 benchmarks have published results for both models. Llama 2-13B has 32 scored results on Noometry and Phi 3 Mini 4k Instruct has 35.

Related comparisons

Go deeper