Model comparison

Codellama 34b Instruct vs Gemma 2B

Codellama 34b Instruct is the stronger model overall, scoring 30.8 to 29.6 on the Noometry Index.

Last verified . 12 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Gemma 2B Google

29.6

Rank #307 Confirmed

Summary

  • They share 12 benchmarks with published results for both. Codellama 34b Instruct scores higher in 6 categories and Gemma 2B in 1 category; 3 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Codellama 34b Instruct leads 28.2 to 24.0.

Side by side

Codellama 34b Instruct and Gemma 2B specifications
Codellama 34b InstructGemma 2B
ProviderMetaGoogle
Noometry Index30.829.6
Released—2024-02-21
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1423

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

Category by category

Coding Too close to call

Codellama 34b Instruct: 28.5 (#314), Gemma 2B: 29.4 (#305)

Coding benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Coding10461010
HumanEval+43.9%20.7%
MBPP+56.3%34.1%
BigCodeBench Instruct29%—
BigCodeBench Complete37.1%—

Reasoning Too close to call

Codellama 34b Instruct: 19.6 (#255), Gemma 2B: 18.8 (#275)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Hard Prompts1032989
BIG-Bench Hard—35.2%
Epoch Capabilities Index—94.2
HellaSwag—71.4%
PIQA—77.3%
WinoGrande—65.4%

Math Too close to call

Codellama 34b Instruct: 31.0 (#230), Gemma 2B: 30.0 (#239)

Math benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Math10561009
GSM8K—17.7%

Knowledge Not comparable

Codellama 34b Instruct: —, Gemma 2B: —

Knowledge benchmarks
BenchmarkCodellama 34b InstructGemma 2B
ARC (AI2) Challenge—42.1%
BoolQ—69.4%
MMLU—42.3%
TriviaQA—53.2%

Multilingual Codellama 34b Instruct leads

Codellama 34b Instruct: 25.8 (#284), Gemma 2B: 23.0 (#294)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Non-English1011958
LMArena Chinese976986
LMArena Russian—937

Instruction Following Codellama 34b Instruct leads

Codellama 34b Instruct: 52.2 (#291), Gemma 2B: 48.5 (#302)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Instruction Following1028970

Long Context Too close to call

Codellama 34b Instruct: 30.9 (#284), Gemma 2B: 29.9 (#291)

Long Context benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Longer Query1013981

Writing & Preference Codellama 34b Instruct leads

Codellama 34b Instruct: 28.2 (#297), Gemma 2B: 24.0 (#308)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGemma 2B
LMArena Text10661002
LMArena Creative Writing1032987
LMArena Multi-Turn1015945

Frequently asked questions

Is Codellama 34b Instruct better than Gemma 2B?

Codellama 34b Instruct is the stronger model overall, scoring 30.8 to 29.6 on the Noometry Index.

Is Codellama 34b Instruct or Gemma 2B better for coding?

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

How many benchmarks do Codellama 34b Instruct and Gemma 2B share?

12 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Gemma 2B has 23.

Related comparisons

Go deeper