Model comparison

Gemma 2B vs Phi 3 Mini 128k Instruct

Gemma 2B and Phi 3 Mini 128k Instruct 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 . 11 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

Phi 3 Mini 128k Instruct Microsoft

29.7

Rank #305 Confirmed

Summary

  • They share 11 benchmarks with published results for both. Gemma 2B scores higher in 1 category and Phi 3 Mini 128k Instruct in 6 categories; 4 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where Phi 3 Mini 128k Instruct leads 51.8 to 48.5.

Side by side

Gemma 2B and Phi 3 Mini 128k Instruct specifications
Gemma 2BPhi 3 Mini 128k Instruct
ProviderGoogleMicrosoft
Noometry Index29.629.7
Released2024-02-212024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2319

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

Category by category

Coding Too close to call

Gemma 2B: 29.4 (#305), Phi 3 Mini 128k Instruct: 28.8 (#312)

Coding benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Coding10101039
BigCodeBench Instruct—29.6%
BigCodeBench Complete—40.6%
HumanEval+20.7%—
MBPP+34.1%—

Reasoning Too close to call

Gemma 2B: 18.8 (#275), Phi 3 Mini 128k Instruct: 19.6 (#256)

Reasoning benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Hard Prompts9891028
BIG-Bench Hard35.2%—
Epoch Capabilities Index94.2—
HellaSwag71.4%—
PIQA77.3%—
WinoGrande65.4%—

Math Phi 3 Mini 128k Instruct leads

Gemma 2B: 30.0 (#239), Phi 3 Mini 128k Instruct: 31.6 (#222)

Math benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Math10091089
GSM8K17.7%—

Knowledge Not comparable

Gemma 2B: —, Phi 3 Mini 128k Instruct: 26.8 (#254)

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

Multilingual Phi 3 Mini 128k Instruct leads

Gemma 2B: 23.0 (#294), Phi 3 Mini 128k Instruct: 25.2 (#285)

Multilingual benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Non-English9581000
LMArena Chinese9861016
LMArena Russian9371004
LMArena French—1039
LMArena German—1006
LMArena Japanese—899
LMArena Korean—856
LMArena Spanish—1059

Instruction Following Phi 3 Mini 128k Instruct leads

Gemma 2B: 48.5 (#302), Phi 3 Mini 128k Instruct: 51.8 (#294)

Instruction Following benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Instruction Following9701023

Long Context Too close to call

Gemma 2B: 29.9 (#291), Phi 3 Mini 128k Instruct: 30.4 (#289)

Long Context benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Longer Query981996

Writing & Preference Phi 3 Mini 128k Instruct leads

Gemma 2B: 24.0 (#308), Phi 3 Mini 128k Instruct: 27.1 (#301)

Writing & Preference benchmarks
BenchmarkGemma 2BPhi 3 Mini 128k Instruct
LMArena Text10021050
LMArena Creative Writing9871024
LMArena Multi-Turn945989

Frequently asked questions

Is Gemma 2B better than Phi 3 Mini 128k Instruct?

Gemma 2B and Phi 3 Mini 128k Instruct 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 Mini 128k Instruct better for coding?

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

How many benchmarks do Gemma 2B and Phi 3 Mini 128k Instruct share?

11 benchmarks have published results for both models. Gemma 2B has 23 scored results on Noometry and Phi 3 Mini 128k Instruct has 19.

Related comparisons

Go deeper