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 31.3 to 29.6 on the Noometry Index.

Last verified . 15 shared benchmarks.

Llama 2-13B Meta

29.6

Rank #309 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 20.8 to 12.8.

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.631.3
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.9 (#291), Phi 3 Mini 4k Instruct June 2024: 31.8 (#279)

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.8 (#337), Phi 3 Mini 4k Instruct June 2024: 20.8 (#231)

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

Math Phi 3 Mini 4k Instruct June 2024 leads

Llama 2-13B: 31.1 (#229), Phi 3 Mini 4k Instruct June 2024: 33.0 (#208)

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

Knowledge Too close to call

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

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.5 (#279), Phi 3 Mini 4k Instruct June 2024: 25.9 (#282)

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 French1044—
LMArena Spanish1087—

Instruction Following Too close to call

Llama 2-13B: 53.3 (#287), Phi 3 Mini 4k Instruct June 2024: 54.1 (#282)

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

Long Context Too close to call

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

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

Writing & Preference Too close to call

Llama 2-13B: 29.8 (#289), Phi 3 Mini 4k Instruct June 2024: 29.6 (#294)

Writing & Preference benchmarks
BenchmarkLlama 2-13BPhi 3 Mini 4k Instruct June 2024
LMArena Text10841080
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 31.3 to 29.6 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.9 vs 31.8); 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