Model comparison

Gemma 2B vs Phi 3 Medium 4k Instruct

Phi 3 Medium 4k Instruct is the stronger model overall, scoring 32.4 to 29.1 on the Noometry Index.

Last verified . 11 shared benchmarks.

Gemma 2B Google

29.1

Rank #305 Confirmed

Phi 3 Medium 4k Instruct Microsoft

32.4

Rank #246 Confirmed

Summary

  • They share 11 benchmarks with published results for both. Gemma 2B scores higher in 0 categories and Phi 3 Medium 4k Instruct in 7 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Phi 3 Medium 4k Instruct leads 34.3 to 24.1.

Side by side

Gemma 2B and Phi 3 Medium 4k Instruct specifications
Gemma 2BPhi 3 Medium 4k Instruct
ProviderGoogleMicrosoft
Noometry Index29.132.4
Released2024-02-21—
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2317

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

Category by category

Coding Phi 3 Medium 4k Instruct leads

Gemma 2B: 28.9 (#300), Phi 3 Medium 4k Instruct: 32.3 (#263)

Coding benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Coding10101130
HumanEval+20.7%—
MBPP+34.1%—

Reasoning Phi 3 Medium 4k Instruct leads

Gemma 2B: 17.9 (#275), Phi 3 Medium 4k Instruct: 20.8 (#214)

Reasoning benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Hard Prompts9891127
BIG-Bench Hard35.2%—
Epoch Capabilities Index93.57—
HellaSwag71.4%—
PIQA77.3%—
WinoGrande65.4%—

Math Phi 3 Medium 4k Instruct leads

Gemma 2B: 27.6 (#237), Phi 3 Medium 4k Instruct: 30.9 (#202)

Math benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Math10091173
GSM8K17.7%—

Knowledge Not comparable

Gemma 2B: —, Phi 3 Medium 4k Instruct: 29.6 (#226)

Knowledge benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Expert—1108
ARC (AI2) Challenge42.1%—
BoolQ69.4%—
MMLU42.3%—
TriviaQA53.2%—

Multilingual Phi 3 Medium 4k Instruct leads

Gemma 2B: 23.1 (#289), Phi 3 Medium 4k Instruct: 30.8 (#258)

Multilingual benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Non-English9581094
LMArena Chinese9861108
LMArena Russian9371145
LMArena French—1109
LMArena German—1101
LMArena Japanese—1042
LMArena Korean—954
LMArena Spanish—1095

Instruction Following Phi 3 Medium 4k Instruct leads

Gemma 2B: 48.8 (#297), Phi 3 Medium 4k Instruct: 57.8 (#263)

Instruction Following benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Instruction Following9711114

Long Context Phi 3 Medium 4k Instruct leads

Gemma 2B: 29.9 (#286), Phi 3 Medium 4k Instruct: 33.9 (#250)

Long Context benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Longer Query9811120

Writing & Preference Phi 3 Medium 4k Instruct leads

Gemma 2B: 24.1 (#303), Phi 3 Medium 4k Instruct: 34.3 (#267)

Writing & Preference benchmarks
BenchmarkGemma 2BPhi 3 Medium 4k Instruct
LMArena Text10021138
LMArena Creative Writing9861106
LMArena Multi-Turn9451088

Frequently asked questions

Is Gemma 2B better than Phi 3 Medium 4k Instruct?

Phi 3 Medium 4k Instruct is the stronger model overall, scoring 32.4 to 29.1 on the Noometry Index.

Is Gemma 2B or Phi 3 Medium 4k Instruct better for coding?

Phi 3 Medium 4k Instruct scores higher on coding benchmarks: 32.3 versus 28.9 in the Noometry coding category.

How many benchmarks do Gemma 2B and Phi 3 Medium 4k Instruct share?

11 benchmarks have published results for both models. Gemma 2B has 23 scored results on Noometry and Phi 3 Medium 4k Instruct has 17.

Related comparisons

Go deeper