Model comparison

Gemma 7B vs Llama 13b

Gemma 7B is the stronger model overall, scoring 29.5 to 23.9 on the Noometry Index.

Last verified . 19 shared benchmarks.

Gemma 7B Google

29.5

Rank #295 Confirmed

Llama 13b Meta

23.9

Rank #344 Confirmed

Summary

  • They share 19 benchmarks with published results for both. Gemma 7B scores higher in 6 categories and Llama 13b in 0 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where Gemma 7B leads 51.7 to 36.9.

Side by side

Gemma 7B and Llama 13b specifications
Gemma 7BLlama 13b
ProviderGoogleMeta
Noometry Index29.523.9
Released2024-02-212023-02-24
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2721

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

Category by category

Coding Gemma 7B leads

Gemma 7B: 29.9 (#290), Llama 13b: 20.9 (#332)

Coding benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Coding1048683
HumanEval+28.7%—
MBPP+43.4%—

Reasoning Gemma 7B leads

Gemma 7B: 19.0 (#247), Llama 13b: 13.4 (#327)

Reasoning benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Hard Prompts1042728
BIG-Bench Hard55.1%37.9%
Epoch Capabilities Index111.74100.09
HellaSwag82.2%79.2%
PIQA81.2%80.1%
WinoGrande79%73%
Adversarial NLI48.7%—
LAMBADA—75.2%

Math Gemma 7B leads

Gemma 7B: 28.7 (#225), Llama 13b: 24.4 (#259)

Math benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Math1066838
GSM8K46.4%20.6%

Knowledge Not comparable

Gemma 7B: 26.8 (#248), Llama 13b: —

Knowledge benchmarks
BenchmarkGemma 7BLlama 13b
ARC (AI2) Challenge78.3%52.7%
BoolQ83.2%78.7%
MMLU66.1%47.7%
OpenBookQA78.6%56.4%
TriviaQA72.3%77.9%
LMArena Expert1002—

Multimodal Not comparable

Gemma 7B: —, Llama 13b: —

Multimodal benchmarks
BenchmarkGemma 7BLlama 13b
ScienceQA—43.3%

Multilingual Gemma 7B leads

Gemma 7B: 25.3 (#282), Llama 13b: 16.8 (#292)

Multilingual benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Non-English999819
LMArena Chinese1035—
LMArena French1024—
LMArena Russian993—

Instruction Following Gemma 7B leads

Gemma 7B: 51.7 (#290), Llama 13b: 36.9 (#300)

Instruction Following benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Instruction Following1017781

Long Context Not comparable

Gemma 7B: 31.1 (#277), Llama 13b: —

Long Context benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Longer Query1022—

Writing & Preference Gemma 7B leads

Gemma 7B: 27.2 (#297), Llama 13b: 13.9 (#307)

Writing & Preference benchmarks
BenchmarkGemma 7BLlama 13b
LMArena Text1056834
LMArena Creative Writing1024794
LMArena Multi-Turn963753

Frequently asked questions

Is Gemma 7B better than Llama 13b?

Gemma 7B is the stronger model overall, scoring 29.5 to 23.9 on the Noometry Index.

Is Gemma 7B or Llama 13b better for coding?

Gemma 7B scores higher on coding benchmarks: 29.9 versus 20.9 in the Noometry coding category.

How many benchmarks do Gemma 7B and Llama 13b share?

19 benchmarks have published results for both models. Gemma 7B has 27 scored results on Noometry and Llama 13b has 21.

Related comparisons

Go deeper