Model comparison

Gemma 2B vs phi-3-medium 14B

Gemma 2B and phi-3-medium 14B score almost the same on the Noometry Index (29.6 vs 29.7), so choose on price, context window or the category you care about most.

Last verified . 7 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

phi-3-medium 14B Microsoft

29.7

Rank #306 Reported

Summary

  • They share 7 benchmarks with published results for both. Gemma 2B scores higher in 1 category and phi-3-medium 14B in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where phi-3-medium 14B leads 36.8 to 29.4.

Side by side

Gemma 2B and phi-3-medium 14B specifications
Gemma 2Bphi-3-medium 14B
ProviderGoogleMicrosoft
Noometry Index29.629.7
Released2024-02-212024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2313

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

Category by category

Coding phi-3-medium 14B leads

Gemma 2B: 29.4 (#305), phi-3-medium 14B: 36.8 (#201)

Coding benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
BigCodeBench Instruct—37.6%
LMArena Coding1010—
BigCodeBench Complete—48.7%
HumanEval+20.7%—
MBPP+34.1%—

Reasoning Not comparable

Gemma 2B: 18.8 (#275), phi-3-medium 14B: —

Reasoning benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
BIG-Bench Hard35.2%81.4%
Epoch Capabilities Index94.2121.23
HellaSwag71.4%82.4%
WinoGrande65.4%81.5%
LMArena Hard Prompts989—
Adversarial NLI—55.8%
PIQA77.3%—

Math Gemma 2B leads

Gemma 2B: 30.0 (#239), phi-3-medium 14B: 27.3 (#250)

Math benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
LMArena Math1009—
MATH Level 5—17.6%
GSM8K17.7%—

Knowledge Not comparable

Gemma 2B: —, phi-3-medium 14B: 9.1 (#306)

Knowledge benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
ARC (AI2) Challenge42.1%91.6%
MMLU42.3%78%
TriviaQA53.2%73.9%
GPQA Diamond—27.6%
BoolQ69.4%—
OpenBookQA—87.4%

Multilingual Not comparable

Gemma 2B: 23.0 (#294), phi-3-medium 14B: —

Multilingual benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
LMArena Non-English958—
LMArena Chinese986—
LMArena Russian937—

Instruction Following Not comparable

Gemma 2B: 48.5 (#302), phi-3-medium 14B: —

Instruction Following benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
LMArena Instruction Following970—

Long Context Not comparable

Gemma 2B: 29.9 (#291), phi-3-medium 14B: —

Long Context benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
LMArena Longer Query981—

Writing & Preference Not comparable

Gemma 2B: 24.0 (#308), phi-3-medium 14B: —

Writing & Preference benchmarks
BenchmarkGemma 2Bphi-3-medium 14B
LMArena Text1002—
LMArena Creative Writing987—
LMArena Multi-Turn945—

Frequently asked questions

Is Gemma 2B better than phi-3-medium 14B?

Gemma 2B and phi-3-medium 14B score almost the same on the Noometry Index (29.6 vs 29.7), so choose on price, context window or the category you care about most.

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

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

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

7 benchmarks have published results for both models. Gemma 2B has 23 scored results on Noometry and phi-3-medium 14B has 13.

Related comparisons

Go deeper