Model comparison
Codellama 34b Instruct vs Gemma 2 9B
Codellama 34b Instruct is the stronger model overall, scoring 30.8 to 25.9 on the Noometry Index.
Last verified . 12 shared benchmarks.
Summary
- They share 12 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and Gemma 2 9B in 5 categories; 6 gaps are clear of the uncertainty.
- The widest gap is in math, where Codellama 34b Instruct leads 31.0 to 9.9.
- The biggest single-benchmark swing is BigCodeBench Instruct: 29% for Codellama 34b Instruct and 34.7% for Gemma 2 9B.
Side by side
| Codellama 34b Instruct | Gemma 2 9B | |
|---|---|---|
| Provider | Meta | |
| Noometry Index | 30.8 | 25.9 |
| Released | — | 2024-06-24 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 14 | 35 |
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 2 9B: 29.4 (#304)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| BigCodeBench Instruct | 29% | 34.7% |
| LMArena Coding | 1046 | 1173 |
| BigCodeBench Complete | 37.1% | 40.6% |
| LiveBench Coding | — | 22.5% |
| HumanEval+ | 43.9% | — |
| MBPP+ | 56.3% | — |
Reasoning Codellama 34b Instruct leads
Codellama 34b Instruct: 19.6 (#255), Gemma 2 9B: 15.9 (#309)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| LMArena Hard Prompts | 1032 | 1171 |
| LiveBench Reasoning | — | 15.2% |
| LiveBench Data Analysis | — | 36.4% |
| Epoch Capabilities Index | — | 119.83 |
| LiveBench | — | 28.7% |
| PIQA | — | 83.7% |
Math Codellama 34b Instruct leads
Codellama 34b Instruct: 31.0 (#230), Gemma 2 9B: 9.9 (#318)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| LMArena Math | 1056 | 1183 |
| OTIS Mock AIME 2024-2025 | — | 0.6% |
| LiveBench Math | — | 19.8% |
| MATH Level 5 | — | 21% |
| GSM8K | — | 84.9% |
Knowledge Not comparable
Codellama 34b Instruct: —, Gemma 2 9B: 9.7 (#305)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| GPQA Diamond | — | 27.5% |
| LMArena Expert | — | 1147 |
| BoolQ | — | 85.7% |
| MMLU | — | 72.1% |
Multilingual Gemma 2 9B leads
Codellama 34b Instruct: 25.8 (#284), Gemma 2 9B: 36.6 (#238)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| LMArena Non-English | 1011 | 1188 |
| LMArena Chinese | 976 | 1185 |
| LMArena French | — | 1190 |
| LMArena German | — | 1186 |
| LMArena Japanese | — | 1144 |
| LMArena Korean | — | 1137 |
| LMArena Russian | — | 1200 |
| LMArena Spanish | — | 1200 |
Instruction Following Gemma 2 9B leads
Codellama 34b Instruct: 52.2 (#291), Gemma 2 9B: 57.6 (#269)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| LMArena Instruction Following | 1028 | 1178 |
| LiveBench Instruction Following | — | 52.6% |
Long Context Gemma 2 9B leads
Codellama 34b Instruct: 30.9 (#284), Gemma 2 9B: 36.3 (#233)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| LMArena Longer Query | 1013 | 1197 |
Writing & Preference Gemma 2 9B leads
Codellama 34b Instruct: 28.2 (#297), Gemma 2 9B: 32.1 (#281)
| Benchmark | Codellama 34b Instruct | Gemma 2 9B |
|---|---|---|
| LMArena Text | 1066 | 1207 |
| LMArena Creative Writing | 1032 | 1206 |
| LMArena Multi-Turn | 1015 | 1193 |
| EQ-Bench Creative Writing | — | 841 |
| LiveBench Language | — | 25.5% |
Frequently asked questions
Is Codellama 34b Instruct better than Gemma 2 9B?
Codellama 34b Instruct is the stronger model overall, scoring 30.8 to 25.9 on the Noometry Index.
Is Codellama 34b Instruct or Gemma 2 9B 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 2 9B share?
12 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Gemma 2 9B has 35.