Model comparison

Gemma 2B vs StarCoder 2 7B

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

Last verified . 6 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 6 benchmarks with published results for both. Gemma 2B scores higher in 0 categories and StarCoder 2 7B in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where StarCoder 2 7B leads 34.8 to 29.4.

Side by side

Gemma 2B and StarCoder 2 7B specifications
Gemma 2BStarCoder 2 7B
ProviderGoogleNVIDIA
Noometry Index29.637.0
Released2024-02-212024-02-20
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked237

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

Category by category

Coding StarCoder 2 7B leads

Gemma 2B: 29.4 (#305), StarCoder 2 7B: 34.8

Coding benchmarks
BenchmarkGemma 2BStarCoder 2 7B
HumanEval+20.7%29.9%
LMArena Coding1010—
BigCodeBench Complete—27.7%
MBPP+34.1%—

Reasoning Not comparable

Gemma 2B: 18.8 (#275), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkGemma 2BStarCoder 2 7B
Epoch Capabilities Index94.293.56
WinoGrande65.4%57.1%
LMArena Hard Prompts989—
BIG-Bench Hard35.2%—
HellaSwag71.4%—
PIQA77.3%—

Math Not comparable

Gemma 2B: 30.0 (#239), StarCoder 2 7B: —

Math benchmarks
BenchmarkGemma 2BStarCoder 2 7B
GSM8K17.7%32.7%
LMArena Math1009—

Knowledge Not comparable

Gemma 2B: —, StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkGemma 2BStarCoder 2 7B
ARC (AI2) Challenge42.1%38.7%
MMLU42.3%38.8%
BoolQ69.4%—
TriviaQA53.2%—

Multilingual Not comparable

Gemma 2B: 23.0 (#294), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkGemma 2BStarCoder 2 7B
LMArena Non-English958—
LMArena Chinese986—
LMArena Russian937—

Instruction Following Not comparable

Gemma 2B: 48.5 (#302), StarCoder 2 7B: —

Instruction Following benchmarks
BenchmarkGemma 2BStarCoder 2 7B
LMArena Instruction Following970—

Long Context Not comparable

Gemma 2B: 29.9 (#291), StarCoder 2 7B: —

Long Context benchmarks
BenchmarkGemma 2BStarCoder 2 7B
LMArena Longer Query981—

Writing & Preference Not comparable

Gemma 2B: 24.0 (#308), StarCoder 2 7B: —

Writing & Preference benchmarks
BenchmarkGemma 2BStarCoder 2 7B
LMArena Text1002—
LMArena Creative Writing987—
LMArena Multi-Turn945—

Frequently asked questions

Is Gemma 2B better than StarCoder 2 7B?

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

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

StarCoder 2 7B scores higher on coding benchmarks: 34.8 versus 29.4 in the Noometry coding category.

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

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

Related comparisons

Go deeper