Model comparison

Gemma 7B vs Llama 2-70B

Gemma 7B is the stronger model overall, scoring 30.0 to 24.4 on the Noometry Index.

Last verified . 24 shared benchmarks.

Gemma 7B Google

30.0

Rank #299 Confirmed

Llama 2-70B Meta

24.4

Rank #349 Confirmed

Summary

  • They share 24 benchmarks with published results for both. Gemma 7B scores higher in 3 categories and Llama 2-70B in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemma 7B leads 31.2 to 8.1.

Side by side

Gemma 7B and Llama 2-70B specifications
Gemma 7BLlama 2-70B
ProviderGoogleMeta
Noometry Index30.024.4
Released2024-02-212023-07-18
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2735

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

Category by category

Coding Too close to call

Gemma 7B: 30.5 (#294), Llama 2-70B: 31.4 (#286)

Coding benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Coding10481079
HumanEval+28.7%—
MBPP+43.4%—

Reasoning Gemma 7B leads

Gemma 7B: 19.9 (#249), Llama 2-70B: 14.4 (#325)

Reasoning benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Hard Prompts10421073
BIG-Bench Hard55.1%64.9%
Epoch Capabilities Index111.99113.79
HellaSwag82.2%85.3%
PIQA81.2%82.8%
WinoGrande79%80.2%
DTBench—41.6%
Adversarial NLI48.7%—
CommonsenseQA 2.0—50%
ForecastBench—51.4
LAMBADA—78.9%

Math Gemma 7B leads

Gemma 7B: 31.2 (#228), Llama 2-70B: 8.1 (#326)

Math benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Math10661091
GSM8K46.4%69.6%
OTIS Mock AIME 2024-2025—0%
MATH Level 5—3.3%

Knowledge Gemma 7B leads

Gemma 7B: 27.3 (#252), Llama 2-70B: 7.4 (#310)

Knowledge benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Expert10011039
ARC (AI2) Challenge78.3%78.3%
BoolQ83.2%88.6%
MMLU66.1%69.9%
OpenBookQA78.6%60.2%
TriviaQA72.3%87.6%
GPQA Diamond—26.3%

Multilingual Llama 2-70B leads

Gemma 7B: 25.1 (#287), Llama 2-70B: 27.7 (#274)

Multilingual benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Non-English9991045
LMArena Chinese1035995
LMArena French10251090
LMArena Russian9931083
LMArena German—1041
LMArena Japanese—927
LMArena Korean—964
LMArena Spanish—1143

Instruction Following Llama 2-70B leads

Gemma 7B: 51.5 (#295), Llama 2-70B: 54.9 (#278)

Instruction Following benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Instruction Following10171071

Long Context Llama 2-70B leads

Gemma 7B: 31.1 (#282), Llama 2-70B: 32.3 (#270)

Long Context benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Longer Query10221062

Writing & Preference Llama 2-70B leads

Gemma 7B: 27.1 (#302), Llama 2-70B: 32.3 (#279)

Writing & Preference benchmarks
BenchmarkGemma 7BLlama 2-70B
LMArena Text10561115
LMArena Creative Writing10241075
LMArena Multi-Turn9631088

Frequently asked questions

Is Gemma 7B better than Llama 2-70B?

Gemma 7B is the stronger model overall, scoring 30.0 to 24.4 on the Noometry Index.

Is Gemma 7B or Llama 2-70B better for coding?

They score almost the same on coding (30.5 vs 31.4); test both on your own repository before choosing.

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

24 benchmarks have published results for both models. Gemma 7B has 27 scored results on Noometry and Llama 2-70B has 35.

Related comparisons

Go deeper