Model comparison

Codellama 34b Instruct vs Llama 2-70B

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

Last verified . 10 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Llama 2-70B Meta

24.4

Rank #349 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and Llama 2-70B in 5 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Codellama 34b Instruct leads 31.0 to 8.1.

Side by side

Codellama 34b Instruct and Llama 2-70B specifications
Codellama 34b InstructLlama 2-70B
ProviderMetaMeta
Noometry Index30.824.4
Released—2023-07-18
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1435

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

Category by category

Coding Llama 2-70B leads

Codellama 34b Instruct: 28.5 (#314), Llama 2-70B: 31.4 (#286)

Coding benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Coding10461079
BigCodeBench Instruct29%—
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Llama 2-70B: 14.4 (#325)

Reasoning benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Hard Prompts10321073
DTBench—41.6%
BIG-Bench Hard—64.9%
CommonsenseQA 2.0—50%
Epoch Capabilities Index—113.79
ForecastBench—51.4
HellaSwag—85.3%
LAMBADA—78.9%
PIQA—82.8%
WinoGrande—80.2%

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 31.0 (#230), Llama 2-70B: 8.1 (#326)

Math benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Math10561091
OTIS Mock AIME 2024-2025—0%
MATH Level 5—3.3%
GSM8K—69.6%

Knowledge Not comparable

Codellama 34b Instruct: —, Llama 2-70B: 7.4 (#310)

Knowledge benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
GPQA Diamond—26.3%
LMArena Expert—1039
ARC (AI2) Challenge—78.3%
BoolQ—88.6%
MMLU—69.9%
OpenBookQA—60.2%
TriviaQA—87.6%

Multilingual Llama 2-70B leads

Codellama 34b Instruct: 25.8 (#284), Llama 2-70B: 27.7 (#274)

Multilingual benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Non-English10111045
LMArena Chinese976995
LMArena French—1090
LMArena German—1041
LMArena Japanese—927
LMArena Korean—964
LMArena Russian—1083
LMArena Spanish—1143

Instruction Following Llama 2-70B leads

Codellama 34b Instruct: 52.2 (#291), Llama 2-70B: 54.9 (#278)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Instruction Following10281071

Long Context Llama 2-70B leads

Codellama 34b Instruct: 30.9 (#284), Llama 2-70B: 32.3 (#270)

Long Context benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Longer Query10131062

Writing & Preference Llama 2-70B leads

Codellama 34b Instruct: 28.2 (#297), Llama 2-70B: 32.3 (#279)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructLlama 2-70B
LMArena Text10661115
LMArena Creative Writing10321075
LMArena Multi-Turn10151088

Frequently asked questions

Is Codellama 34b Instruct better than Llama 2-70B?

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

Is Codellama 34b Instruct or Llama 2-70B better for coding?

Llama 2-70B scores higher on coding benchmarks: 31.4 versus 28.5 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and Llama 2-70B share?

10 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Llama 2-70B has 35.

Related comparisons

Go deeper