Model comparison

Gemma 2B vs Gemma 7B

Gemma 2B and Gemma 7B score almost the same on the Noometry Index (29.6 vs 30.0), so choose on price, context window or the category you care about most.

Last verified . 23 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

Gemma 7B Google

30.0

Rank #299 Confirmed

Summary

  • They share 23 benchmarks with published results for both. Gemma 2B scores higher in 0 categories and Gemma 7B in 7 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 7B leads 27.1 to 24.0.

Side by side

Gemma 2B and Gemma 7B specifications
Gemma 2BGemma 7B
ProviderGoogleGoogle
Noometry Index29.630.0
Released2024-02-212024-02-21
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2327

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

Category by category

Coding Gemma 7B leads

Gemma 2B: 29.4 (#305), Gemma 7B: 30.5 (#294)

Coding benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Coding10101048
HumanEval+20.7%28.7%
MBPP+34.1%43.4%

Reasoning Gemma 7B leads

Gemma 2B: 18.8 (#275), Gemma 7B: 19.9 (#249)

Reasoning benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Hard Prompts9891042
BIG-Bench Hard35.2%55.1%
Epoch Capabilities Index94.2111.99
HellaSwag71.4%82.2%
PIQA77.3%81.2%
WinoGrande65.4%79%
Adversarial NLI—48.7%

Math Gemma 7B leads

Gemma 2B: 30.0 (#239), Gemma 7B: 31.2 (#228)

Math benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Math10091066
GSM8K17.7%46.4%

Knowledge Not comparable

Gemma 2B: —, Gemma 7B: 27.3 (#252)

Knowledge benchmarks
BenchmarkGemma 2BGemma 7B
ARC (AI2) Challenge42.1%78.3%
BoolQ69.4%83.2%
MMLU42.3%66.1%
TriviaQA53.2%72.3%
LMArena Expert—1001
OpenBookQA—78.6%

Multilingual Gemma 7B leads

Gemma 2B: 23.0 (#294), Gemma 7B: 25.1 (#287)

Multilingual benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Non-English958999
LMArena Chinese9861035
LMArena Russian937993
LMArena French—1025

Instruction Following Gemma 7B leads

Gemma 2B: 48.5 (#302), Gemma 7B: 51.5 (#295)

Instruction Following benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Instruction Following9701017

Long Context Gemma 7B leads

Gemma 2B: 29.9 (#291), Gemma 7B: 31.1 (#282)

Long Context benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Longer Query9811022

Writing & Preference Gemma 7B leads

Gemma 2B: 24.0 (#308), Gemma 7B: 27.1 (#302)

Writing & Preference benchmarks
BenchmarkGemma 2BGemma 7B
LMArena Text10021056
LMArena Creative Writing9871024
LMArena Multi-Turn945963

Frequently asked questions

Is Gemma 2B better than Gemma 7B?

Gemma 2B and Gemma 7B score almost the same on the Noometry Index (29.6 vs 30.0), so choose on price, context window or the category you care about most.

Is Gemma 2B or Gemma 7B better for coding?

Gemma 7B scores higher on coding benchmarks: 30.5 versus 29.4 in the Noometry coding category.

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

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

Related comparisons

Go deeper