Model comparison

Gemma 2B vs Llama 2-34B

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

Last verified . 9 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

Llama 2-34B Meta

—

Unranked

Summary

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

Side by side

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

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

Category by category

Coding Not comparable

Gemma 2B: 29.4 (#305), Llama 2-34B: —

Coding benchmarks
BenchmarkGemma 2BLlama 2-34B
LMArena Coding1010—
HumanEval+20.7%—
MBPP+34.1%—

Reasoning Not comparable

Gemma 2B: 18.8 (#275), Llama 2-34B: —

Reasoning benchmarks
BenchmarkGemma 2BLlama 2-34B
BIG-Bench Hard35.2%44.1%
Epoch Capabilities Index94.2105.2
PIQA77.3%81.9%
WinoGrande65.4%76.7%
LMArena Hard Prompts989—
HellaSwag71.4%—

Math Not comparable

Gemma 2B: 30.0 (#239), Llama 2-34B: —

Math benchmarks
BenchmarkGemma 2BLlama 2-34B
GSM8K17.7%42.2%
LMArena Math1009—

Knowledge Not comparable

Gemma 2B: —, Llama 2-34B: —

Knowledge benchmarks
BenchmarkGemma 2BLlama 2-34B
ARC (AI2) Challenge42.1%54.5%
BoolQ69.4%83.7%
MMLU42.3%62.6%
TriviaQA53.2%84.6%
OpenBookQA—58.2%

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkGemma 2BLlama 2-34B
LMArena Non-English958—
LMArena Chinese986—
LMArena Russian937—

Instruction Following Not comparable

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

Instruction Following benchmarks
BenchmarkGemma 2BLlama 2-34B
LMArena Instruction Following970—

Long Context Not comparable

Gemma 2B: 29.9 (#291), Llama 2-34B: —

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

Writing & Preference Not comparable

Gemma 2B: 24.0 (#308), Llama 2-34B: —

Writing & Preference benchmarks
BenchmarkGemma 2BLlama 2-34B
LMArena Text1002—
LMArena Creative Writing987—
LMArena Multi-Turn945—

Frequently asked questions

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

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

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

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

Related comparisons

Go deeper