Model comparison

Gemma 7B vs StarCoder 2 7B

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

Last verified . 6 shared benchmarks.

Gemma 7B Google

30.0

Rank #299 Confirmed

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 6 benchmarks with published results for both. Gemma 7B 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 30.5.

Side by side

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

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

Category by category

Coding StarCoder 2 7B leads

Gemma 7B: 30.5 (#294), StarCoder 2 7B: 34.8

Coding benchmarks
BenchmarkGemma 7BStarCoder 2 7B
HumanEval+28.7%29.9%
LMArena Coding1048—
BigCodeBench Complete—27.7%
MBPP+43.4%—

Reasoning Not comparable

Gemma 7B: 19.9 (#249), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkGemma 7BStarCoder 2 7B
Epoch Capabilities Index111.9993.56
WinoGrande79%57.1%
LMArena Hard Prompts1042—
Adversarial NLI48.7%—
BIG-Bench Hard55.1%—
HellaSwag82.2%—
PIQA81.2%—

Math Not comparable

Gemma 7B: 31.2 (#228), StarCoder 2 7B: —

Math benchmarks
BenchmarkGemma 7BStarCoder 2 7B
GSM8K46.4%32.7%
LMArena Math1066—

Knowledge Not comparable

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

Knowledge benchmarks
BenchmarkGemma 7BStarCoder 2 7B
ARC (AI2) Challenge78.3%38.7%
MMLU66.1%38.8%
LMArena Expert1001—
BoolQ83.2%—
OpenBookQA78.6%—
TriviaQA72.3%—

Multilingual Not comparable

Gemma 7B: 25.1 (#287), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkGemma 7BStarCoder 2 7B
LMArena Non-English999—
LMArena Chinese1035—
LMArena French1025—
LMArena Russian993—

Instruction Following Not comparable

Gemma 7B: 51.5 (#295), StarCoder 2 7B: —

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

Long Context Not comparable

Gemma 7B: 31.1 (#282), StarCoder 2 7B: —

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

Writing & Preference Not comparable

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

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

Frequently asked questions

Is Gemma 7B better than StarCoder 2 7B?

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

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

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

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

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

Related comparisons

Go deeper