Model comparison

Gemma 7B vs Phi 3 Medium 4k Instruct

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

Last verified . 13 shared benchmarks.

Gemma 7B Google

30.0

Rank #299 Confirmed

Phi 3 Medium 4k Instruct Microsoft

33.0

Rank #250 Confirmed

Summary

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

Side by side

Gemma 7B and Phi 3 Medium 4k Instruct specifications
Gemma 7BPhi 3 Medium 4k Instruct
ProviderGoogleMicrosoft
Noometry Index30.033.0
Released2024-02-21—
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2717

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

Category by category

Coding Phi 3 Medium 4k Instruct leads

Gemma 7B: 30.5 (#294), Phi 3 Medium 4k Instruct: 32.9 (#268)

Coding benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Coding10481130
HumanEval+28.7%—
MBPP+43.4%—

Reasoning Phi 3 Medium 4k Instruct leads

Gemma 7B: 19.9 (#249), Phi 3 Medium 4k Instruct: 21.7 (#214)

Reasoning benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Hard Prompts10421127
Adversarial NLI48.7%—
BIG-Bench Hard55.1%—
Epoch Capabilities Index111.99—
HellaSwag82.2%—
PIQA81.2%—
WinoGrande79%—

Math Phi 3 Medium 4k Instruct leads

Gemma 7B: 31.2 (#228), Phi 3 Medium 4k Instruct: 33.4 (#202)

Math benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Math10661173
GSM8K46.4%—

Knowledge Phi 3 Medium 4k Instruct leads

Gemma 7B: 27.3 (#252), Phi 3 Medium 4k Instruct: 30.2 (#229)

Knowledge benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Expert10011108
ARC (AI2) Challenge78.3%—
BoolQ83.2%—
MMLU66.1%—
OpenBookQA78.6%—
TriviaQA72.3%—

Multilingual Phi 3 Medium 4k Instruct leads

Gemma 7B: 25.1 (#287), Phi 3 Medium 4k Instruct: 30.6 (#263)

Multilingual benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Non-English9991094
LMArena Chinese10351108
LMArena French10251110
LMArena Russian9931145
LMArena German—1101
LMArena Japanese—1042
LMArena Korean—954
LMArena Spanish—1095

Instruction Following Phi 3 Medium 4k Instruct leads

Gemma 7B: 51.5 (#295), Phi 3 Medium 4k Instruct: 57.6 (#268)

Instruction Following benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Instruction Following10171113

Long Context Phi 3 Medium 4k Instruct leads

Gemma 7B: 31.1 (#282), Phi 3 Medium 4k Instruct: 34.0 (#255)

Long Context benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Longer Query10221120

Writing & Preference Phi 3 Medium 4k Instruct leads

Gemma 7B: 27.1 (#302), Phi 3 Medium 4k Instruct: 34.1 (#272)

Writing & Preference benchmarks
BenchmarkGemma 7BPhi 3 Medium 4k Instruct
LMArena Text10561138
LMArena Creative Writing10241107
LMArena Multi-Turn9631088

Frequently asked questions

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

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

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

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

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

13 benchmarks have published results for both models. Gemma 7B has 27 scored results on Noometry and Phi 3 Medium 4k Instruct has 17.

Related comparisons

Go deeper