Model comparison

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

Phi 3 Mini 4k Instruct June 2024 is the stronger model overall, scoring 30.7 to 29.1 on the Noometry Index.

Last verified . 15 shared benchmarks.

Llama 2-13B Meta

29.1

Rank #304 Confirmed

Summary

  • They share 15 benchmarks with published results for both. Llama 2-13B scores higher in 3 categories and Phi 3 Mini 4k Instruct June 2024 in 5 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Phi 3 Mini 4k Instruct June 2024 leads 19.9 to 12.3.

Side by side

Llama 2-13B and Phi 3 Mini 4k Instruct June 2024 specifications
Llama 2-13BPhi 3 Mini 4k Instruct June 2024
ProviderMetaMicrosoft
Noometry Index29.130.7
Released2023-07-18—
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3215

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

Category by category

Coding Too close to call

Llama 2-13B: 30.4 (#287), Phi 3 Mini 4k Instruct June 2024: 31.2 (#275)

Coding benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Coding10621093

Reasoning Phi 3 Mini 4k Instruct June 2024 leads

Llama 2-13B: 12.3 (#333), Phi 3 Mini 4k Instruct June 2024: 19.9 (#229)

Reasoning benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Hard Prompts10511088
Chess Puzzles0%—
DTBench42.2%—
BIG-Bench Hard58.2%—
Epoch Capabilities Index105.8—
HellaSwag80.7%—
LAMBADA76.5%—
PIQA80.8%—
WinoGrande72.8%—

Math Phi 3 Mini 4k Instruct June 2024 leads

Llama 2-13B: 28.7 (#226), Phi 3 Mini 4k Instruct June 2024: 30.4 (#209)

Math benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Math10651152
GSM8K36.9%—

Knowledge Too close to call

Llama 2-13B: 27.5 (#244), Phi 3 Mini 4k Instruct June 2024: 28.1 (#240)

Knowledge benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Expert10301051
ARC (AI2) Challenge60.3%—
BoolQ82.4%—
MMLU55.6%—
OpenBookQA57%—
TriviaQA79.6%—

Multimodal Not comparable

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

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

Multilingual Too close to call

Llama 2-13B: 26.7 (#274), Phi 3 Mini 4k Instruct June 2024: 26.0 (#277)

Multilingual benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Non-English10241013
LMArena Chinese10011033
LMArena German10091031
LMArena Japanese894954
LMArena Korean953880
LMArena Russian10551019
LMArena French1043—
LMArena Spanish1086—

Instruction Following Too close to call

Llama 2-13B: 53.5 (#282), Phi 3 Mini 4k Instruct June 2024: 54.3 (#277)

Instruction Following benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Instruction Following10461058

Long Context Too close to call

Llama 2-13B: 32.3 (#264), Phi 3 Mini 4k Instruct June 2024: 31.6 (#272)

Long Context benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Longer Query10641042

Writing & Preference Too close to call

Llama 2-13B: 30.0 (#284), Phi 3 Mini 4k Instruct June 2024: 29.7 (#289)

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Text10851080
LMArena Creative Writing10471045
LMArena Multi-Turn10501049

Frequently asked questions

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

Phi 3 Mini 4k Instruct June 2024 is the stronger model overall, scoring 30.7 to 29.1 on the Noometry Index.

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

They score almost the same on coding (30.4 vs 31.2); test both on your own repository before choosing.

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

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

Related comparisons

Go deeper