Model comparison

Codellama 34b Instruct vs Gemma 7B

Codellama 34b Instruct and Gemma 7B score almost the same on the Noometry Index (30.8 vs 30.0), so choose on price, context window or the category you care about most.

Last verified . 12 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Gemma 7B Google

30.0

Rank #299 Confirmed

Summary

  • They share 12 benchmarks with published results for both. Codellama 34b Instruct scores higher in 3 categories and Gemma 7B in 4 categories; 2 gaps are clear of the uncertainty.

Side by side

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

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

Category by category

Coding Gemma 7B leads

Codellama 34b Instruct: 28.5 (#314), Gemma 7B: 30.5 (#294)

Coding benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Coding10461048
HumanEval+43.9%28.7%
MBPP+56.3%43.4%
BigCodeBench Instruct29%—
BigCodeBench Complete37.1%—

Reasoning Too close to call

Codellama 34b Instruct: 19.6 (#255), Gemma 7B: 19.9 (#249)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Hard Prompts10321042
Adversarial NLI—48.7%
BIG-Bench Hard—55.1%
Epoch Capabilities Index—111.99
HellaSwag—82.2%
PIQA—81.2%
WinoGrande—79%

Math Too close to call

Codellama 34b Instruct: 31.0 (#230), Gemma 7B: 31.2 (#228)

Math benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Math10561066
GSM8K—46.4%

Knowledge Not comparable

Codellama 34b Instruct: —, Gemma 7B: 27.3 (#252)

Knowledge benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Expert—1001
ARC (AI2) Challenge—78.3%
BoolQ—83.2%
MMLU—66.1%
OpenBookQA—78.6%
TriviaQA—72.3%

Multilingual Too close to call

Codellama 34b Instruct: 25.8 (#284), Gemma 7B: 25.1 (#287)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Non-English1011999
LMArena Chinese9761035
LMArena French—1025
LMArena Russian—993

Instruction Following Too close to call

Codellama 34b Instruct: 52.2 (#291), Gemma 7B: 51.5 (#295)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Instruction Following10281017

Long Context Too close to call

Codellama 34b Instruct: 30.9 (#284), Gemma 7B: 31.1 (#282)

Long Context benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Longer Query10131022

Writing & Preference Codellama 34b Instruct leads

Codellama 34b Instruct: 28.2 (#297), Gemma 7B: 27.1 (#302)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGemma 7B
LMArena Text10661056
LMArena Creative Writing10321024
LMArena Multi-Turn1015963

Frequently asked questions

Is Codellama 34b Instruct better than Gemma 7B?

Codellama 34b Instruct and Gemma 7B score almost the same on the Noometry Index (30.8 vs 30.0), so choose on price, context window or the category you care about most.

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

Gemma 7B scores higher on coding benchmarks: 30.5 versus 28.5 in the Noometry coding category.

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

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

Related comparisons

Go deeper