Model comparison

Gemma 7B vs Llama 2-34B

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

Last verified . 10 shared benchmarks.

Gemma 7B Google

30.0

Rank #299 Confirmed

Llama 2-34B Meta

—

Unranked

Summary

  • They share 10 benchmarks with published results for both.
  • Gemma 7B has downloadable open weights; the other is API-only.

Side by side

Gemma 7B and Llama 2-34B specifications
Gemma 7BLlama 2-34B
ProviderGoogleMeta
Noometry Index30.0—
Released2024-02-212023-07-18
WeightsOpenProprietary
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2710

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

Category by category

Coding Not comparable

Gemma 7B: 30.5 (#294), Llama 2-34B: —

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

Reasoning Not comparable

Gemma 7B: 19.9 (#249), Llama 2-34B: —

Reasoning benchmarks
BenchmarkGemma 7BLlama 2-34B
BIG-Bench Hard55.1%44.1%
Epoch Capabilities Index111.99105.2
PIQA81.2%81.9%
WinoGrande79%76.7%
LMArena Hard Prompts1042—
Adversarial NLI48.7%—
HellaSwag82.2%—

Math Not comparable

Gemma 7B: 31.2 (#228), Llama 2-34B: —

Math benchmarks
BenchmarkGemma 7BLlama 2-34B
GSM8K46.4%42.2%
LMArena Math1066—

Knowledge Not comparable

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

Knowledge benchmarks
BenchmarkGemma 7BLlama 2-34B
ARC (AI2) Challenge78.3%54.5%
BoolQ83.2%83.7%
MMLU66.1%62.6%
OpenBookQA78.6%58.2%
TriviaQA72.3%84.6%
LMArena Expert1001—

Multilingual Not comparable

Gemma 7B: 25.1 (#287), Llama 2-34B: —

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

Instruction Following Not comparable

Gemma 7B: 51.5 (#295), Llama 2-34B: —

Instruction Following benchmarks
BenchmarkGemma 7BLlama 2-34B
LMArena Instruction Following1017—

Long Context Not comparable

Gemma 7B: 31.1 (#282), Llama 2-34B: —

Long Context benchmarks
BenchmarkGemma 7BLlama 2-34B
LMArena Longer Query1022—

Writing & Preference Not comparable

Gemma 7B: 27.1 (#302), Llama 2-34B: —

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

Frequently asked questions

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

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

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

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

Related comparisons

Go deeper