Model comparison

Llama 2-70B vs phi-3-medium 14B

phi-3-medium 14B is the stronger model overall, scoring 29.7 to 24.4 on the Noometry Index.

Last verified . 10 shared benchmarks.

Llama 2-70B Meta

24.4

Rank #349 Confirmed

phi-3-medium 14B Microsoft

29.7

Rank #306 Reported

Summary

  • They share 10 benchmarks with published results for both. Llama 2-70B scores higher in 0 categories and phi-3-medium 14B in 3 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in math, where phi-3-medium 14B leads 27.3 to 8.1.
  • The biggest single-benchmark swing is MATH Level 5: 3.3% for Llama 2-70B and 17.6% for phi-3-medium 14B.

Side by side

Llama 2-70B and phi-3-medium 14B specifications
Llama 2-70Bphi-3-medium 14B
ProviderMetaMicrosoft
Noometry Index24.429.7
Released2023-07-182024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3513

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

Category by category

Coding phi-3-medium 14B leads

Llama 2-70B: 31.4 (#286), phi-3-medium 14B: 36.8 (#201)

Coding benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
BigCodeBench Instruct—37.6%
LMArena Coding1079—
BigCodeBench Complete—48.7%

Reasoning Not comparable

Llama 2-70B: 14.4 (#325), phi-3-medium 14B: —

Reasoning benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
BIG-Bench Hard64.9%81.4%
Epoch Capabilities Index113.79121.23
HellaSwag85.3%82.4%
WinoGrande80.2%81.5%
LMArena Hard Prompts1073—
DTBench41.6%—
Adversarial NLI—55.8%
CommonsenseQA 2.050%—
ForecastBench51.4—
LAMBADA78.9%—
PIQA82.8%—

Math phi-3-medium 14B leads

Llama 2-70B: 8.1 (#326), phi-3-medium 14B: 27.3 (#250)

Math benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
MATH Level 53.3%17.6%
OTIS Mock AIME 2024-20250%—
LMArena Math1091—
GSM8K69.6%—

Knowledge phi-3-medium 14B leads

Llama 2-70B: 7.4 (#310), phi-3-medium 14B: 9.1 (#306)

Knowledge benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
GPQA Diamond26.3%27.6%
ARC (AI2) Challenge78.3%91.6%
MMLU69.9%78%
OpenBookQA60.2%87.4%
TriviaQA87.6%73.9%
LMArena Expert1039—
BoolQ88.6%—

Multilingual Not comparable

Llama 2-70B: 27.7 (#274), phi-3-medium 14B: —

Multilingual benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
LMArena Non-English1045—
LMArena Chinese995—
LMArena French1090—
LMArena German1041—
LMArena Japanese927—
LMArena Korean964—
LMArena Russian1083—
LMArena Spanish1143—

Instruction Following Not comparable

Llama 2-70B: 54.9 (#278), phi-3-medium 14B: —

Instruction Following benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
LMArena Instruction Following1071—

Long Context Not comparable

Llama 2-70B: 32.3 (#270), phi-3-medium 14B: —

Long Context benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
LMArena Longer Query1062—

Writing & Preference Not comparable

Llama 2-70B: 32.3 (#279), phi-3-medium 14B: —

Writing & Preference benchmarks
BenchmarkLlama 2-70Bphi-3-medium 14B
LMArena Text1115—
LMArena Creative Writing1075—
LMArena Multi-Turn1088—

Frequently asked questions

Is Llama 2-70B better than phi-3-medium 14B?

phi-3-medium 14B is the stronger model overall, scoring 29.7 to 24.4 on the Noometry Index.

Is Llama 2-70B or phi-3-medium 14B better for coding?

phi-3-medium 14B scores higher on coding benchmarks: 36.8 versus 31.4 in the Noometry coding category.

How many benchmarks do Llama 2-70B and phi-3-medium 14B share?

10 benchmarks have published results for both models. Llama 2-70B has 35 scored results on Noometry and phi-3-medium 14B has 13.

Related comparisons

Go deeper