Model comparison

Gemma 2 2b IT vs Llama 2-7B

Gemma 2 2b IT is the stronger model overall, scoring 33.1 to 29.1 on the Noometry Index.

Last verified . 15 shared benchmarks.

Gemma 2 2b IT Google

33.1

Rank #248 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 15 benchmarks with published results for both. Gemma 2 2b IT scores higher in 8 categories and Llama 2-7B in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Gemma 2 2b IT leads 32.3 to 23.8.

Side by side

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

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

Category by category

Coding Gemma 2 2b IT leads

Gemma 2 2b IT: 32.3 (#273), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGemma 2 2b ITLlama 2-7B
LMArena Coding11121002

Reasoning Gemma 2 2b IT leads

Gemma 2 2b IT: 21.4 (#224), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGemma 2 2b ITLlama 2-7B
LMArena Hard Prompts11131009
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 Gemma 2 2b IT leads

Gemma 2 2b IT: 32.6 (#212), Llama 2-7B: 30.7 (#233)

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

Knowledge Gemma 2 2b IT leads

Gemma 2 2b IT: 29.9 (#231), Llama 2-7B: 28.2 (#248)

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

Multimodal Not comparable

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

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

Multilingual Gemma 2 2b IT leads

Gemma 2 2b IT: 32.3 (#257), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGemma 2 2b ITLlama 2-7B
LMArena Non-English1121973
LMArena Chinese1132973
LMArena French1157970
LMArena German1114978
LMArena Russian1118995
LMArena Spanish11401007
LMArena Japanese1083—
LMArena Korean1055—

Instruction Following Gemma 2 2b IT leads

Gemma 2 2b IT: 57.8 (#263), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGemma 2 2b ITLlama 2-7B
LMArena Instruction Following11181006

Long Context Gemma 2 2b IT leads

Gemma 2 2b IT: 34.3 (#250), Llama 2-7B: 30.4 (#287)

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

Writing & Preference Gemma 2 2b IT leads

Gemma 2 2b IT: 36.5 (#263), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGemma 2 2b ITLlama 2-7B
LMArena Text11561053
LMArena Creative Writing11471033
LMArena Multi-Turn11181029

Frequently asked questions

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

Gemma 2 2b IT is the stronger model overall, scoring 33.1 to 29.1 on the Noometry Index.

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

Gemma 2 2b IT scores higher on coding benchmarks: 32.3 versus 29.2 in the Noometry coding category.

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

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

Related comparisons

Go deeper