Model comparison

Gemma 7B vs Phi-2

Gemma 7B has enough public results to be ranked (#295); Phi-2 does not yet, so treat this comparison as directional.

Last verified . 11 shared benchmarks.

Gemma 7B Google

29.5

Rank #295 Confirmed

Phi-2 Microsoft

—

Unranked

Summary

  • They share 11 benchmarks with published results for both.

Side by side

Gemma 7B and Phi-2 specifications
Gemma 7BPhi-2
ProviderGoogleMicrosoft
Noometry Index29.5—
Released2024-02-212023-12-12
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2711

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

Category by category

Coding Not comparable

Gemma 7B: 29.9 (#290), Phi-2: —

Coding benchmarks
BenchmarkGemma 7BPhi-2
HumanEval+28.7%45.1%
MBPP+43.4%54.2%
LMArena Coding1048—

Reasoning Not comparable

Gemma 7B: 19.0 (#247), Phi-2: —

Reasoning benchmarks
BenchmarkGemma 7BPhi-2
Adversarial NLI48.7%42.5%
BIG-Bench Hard55.1%59.4%
Epoch Capabilities Index111.74107.62
HellaSwag82.2%53.6%
WinoGrande79%54.7%
LMArena Hard Prompts1042—
PIQA81.2%—

Math Not comparable

Gemma 7B: 28.7 (#225), Phi-2: —

Math benchmarks
BenchmarkGemma 7BPhi-2
LMArena Math1066—
GSM8K46.4%—

Knowledge Not comparable

Gemma 7B: 26.8 (#248), Phi-2: —

Knowledge benchmarks
BenchmarkGemma 7BPhi-2
ARC (AI2) Challenge78.3%75.9%
MMLU66.1%58.4%
OpenBookQA78.6%73.6%
TriviaQA72.3%45.2%
LMArena Expert1002—
BoolQ83.2%—

Multilingual Not comparable

Gemma 7B: 25.3 (#282), Phi-2: —

Multilingual benchmarks
BenchmarkGemma 7BPhi-2
LMArena Non-English999—
LMArena Chinese1035—
LMArena French1024—
LMArena Russian993—

Instruction Following Not comparable

Gemma 7B: 51.7 (#290), Phi-2: —

Instruction Following benchmarks
BenchmarkGemma 7BPhi-2
LMArena Instruction Following1017—

Long Context Not comparable

Gemma 7B: 31.1 (#277), Phi-2: —

Long Context benchmarks
BenchmarkGemma 7BPhi-2
LMArena Longer Query1022—

Writing & Preference Not comparable

Gemma 7B: 27.2 (#297), Phi-2: —

Writing & Preference benchmarks
BenchmarkGemma 7BPhi-2
LMArena Text1056—
LMArena Creative Writing1024—
LMArena Multi-Turn963—

Frequently asked questions

Is Gemma 7B better than Phi-2?

Gemma 7B has enough public results to be ranked (#295); Phi-2 does not yet, so treat this comparison as directional.

How many benchmarks do Gemma 7B and Phi-2 share?

11 benchmarks have published results for both models. Gemma 7B has 27 scored results on Noometry and Phi-2 has 11.

Related comparisons

Go deeper