Model comparison

Gemma 1.1 2b IT vs Llama 2-7B

Gemma 1.1 2b IT and Llama 2-7B score almost the same on the Noometry Index (29.3 vs 29.1), so choose on price, context window or the category you care about most.

Last verified . 13 shared benchmarks.

Gemma 1.1 2b IT Google

29.3

Rank #313 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 13 benchmarks with published results for both. Gemma 1.1 2b IT scores higher in 5 categories and Llama 2-7B in 3 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Gemma 1.1 2b IT leads 19.1 to 15.7.

Side by side

Gemma 1.1 2b IT and Llama 2-7B specifications
Gemma 1.1 2b ITLlama 2-7B
ProviderGoogleMeta
Noometry Index29.329.1
Released—2023-07-18
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1629

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

Category by category

Coding Too close to call

Gemma 1.1 2b IT: 30.1 (#299), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Coding10341002
HumanEval+17.7%—
MBPP+23.3%—

Reasoning Gemma 1.1 2b IT leads

Gemma 1.1 2b IT: 19.1 (#270), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Hard Prompts10051009
Chess Puzzles—0%
BIG-Bench Hard—39.2%
Epoch Capabilities Index—99.06
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math Too close to call

Gemma 1.1 2b IT: 30.8 (#232), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Math10471042
GSM8K—16.7%

Knowledge Llama 2-7B leads

Gemma 1.1 2b IT: 26.5 (#258), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Expert9701036
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

Gemma 1.1 2b IT: —, Llama 2-7B: —

Multimodal benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
ScienceQA—43.1%

Multilingual Too close to call

Gemma 1.1 2b IT: 24.6 (#289), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Non-English988973
LMArena Chinese1012973
LMArena German944978
LMArena Russian990995
LMArena French—970
LMArena Korean899—
LMArena Spanish—1007

Instruction Following Too close to call

Gemma 1.1 2b IT: 49.9 (#299), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Instruction Following9921006

Long Context Too close to call

Gemma 1.1 2b IT: 30.6 (#286), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Longer Query1003999

Writing & Preference Llama 2-7B leads

Gemma 1.1 2b IT: 25.1 (#306), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGemma 1.1 2b ITLlama 2-7B
LMArena Text10221053
LMArena Creative Writing9981033
LMArena Multi-Turn9591029

Frequently asked questions

Is Gemma 1.1 2b IT better than Llama 2-7B?

Gemma 1.1 2b IT and Llama 2-7B score almost the same on the Noometry Index (29.3 vs 29.1), so choose on price, context window or the category you care about most.

Is Gemma 1.1 2b IT or Llama 2-7B better for coding?

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

How many benchmarks do Gemma 1.1 2b IT and Llama 2-7B share?

13 benchmarks have published results for both models. Gemma 1.1 2b IT has 16 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper