Model comparison

Codellama 34b Instruct vs Granite 3.1 2b Instruct

Granite 3.1 2b Instruct is the stronger model overall, scoring 33.2 to 30.8 on the Noometry Index.

Last verified . 10 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Granite 3.1 2b Instruct IBM

33.2

Rank #247 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Codellama 34b Instruct scores higher in 0 categories and Granite 3.1 2b Instruct in 7 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Granite 3.1 2b Instruct leads 34.1 to 28.2.

Side by side

Codellama 34b Instruct and Granite 3.1 2b Instruct specifications
Codellama 34b InstructGranite 3.1 2b Instruct
ProviderMetaIBM
Noometry Index30.833.2
Released——
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1412

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

Category by category

Coding Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 28.5 (#314), Granite 3.1 2b Instruct: 33.4 (#257)

Coding benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Coding10461149
BigCodeBench Instruct29%—
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Granite 3.1 2b Instruct: 22.0 (#209)

Reasoning benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Hard Prompts10321138

Math Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 31.0 (#230), Granite 3.1 2b Instruct: 33.1 (#206)

Math benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Math10561159

Knowledge Not comparable

Codellama 34b Instruct: —, Granite 3.1 2b Instruct: 30.8 (#224)

Knowledge benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Expert—1131

Multilingual Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 25.8 (#284), Granite 3.1 2b Instruct: 29.1 (#269)

Multilingual benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Non-English10111068
LMArena Chinese9761139
LMArena Russian—1063

Instruction Following Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 52.2 (#291), Granite 3.1 2b Instruct: 57.7 (#264)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Instruction Following10281116

Long Context Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 30.9 (#284), Granite 3.1 2b Instruct: 35.0 (#244)

Long Context benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Longer Query10131155

Writing & Preference Granite 3.1 2b Instruct leads

Codellama 34b Instruct: 28.2 (#297), Granite 3.1 2b Instruct: 34.1 (#274)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructGranite 3.1 2b Instruct
LMArena Text10661127
LMArena Creative Writing10321116
LMArena Multi-Turn10151099

Frequently asked questions

Is Codellama 34b Instruct better than Granite 3.1 2b Instruct?

Granite 3.1 2b Instruct is the stronger model overall, scoring 33.2 to 30.8 on the Noometry Index.

Is Codellama 34b Instruct or Granite 3.1 2b Instruct better for coding?

Granite 3.1 2b Instruct scores higher on coding benchmarks: 33.4 versus 28.5 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and Granite 3.1 2b Instruct share?

10 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Granite 3.1 2b Instruct has 12.

Related comparisons

Go deeper