Model comparison

Codellama 34b Instruct vs Llama 2-13B

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

Last verified . 10 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Codellama 34b Instruct scores higher in 1 category and Llama 2-13B in 6 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Codellama 34b Instruct leads 19.6 to 12.8.

Side by side

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

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

Category by category

Coding Llama 2-13B leads

Codellama 34b Instruct: 28.5 (#314), Llama 2-13B: 30.9 (#291)

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

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Llama 2-13B: 12.8 (#337)

Reasoning benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Hard Prompts10321051
Chess Puzzles—0%
DTBench—42.2%
BIG-Bench Hard—58.2%
Epoch Capabilities Index—106.17
HellaSwag—80.7%
LAMBADA—76.5%
PIQA—80.8%
WinoGrande—72.8%

Math Too close to call

Codellama 34b Instruct: 31.0 (#230), Llama 2-13B: 31.1 (#229)

Math benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Math10561065
GSM8K—36.9%

Knowledge Not comparable

Codellama 34b Instruct: —, Llama 2-13B: 28.1 (#249)

Knowledge benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Expert—1030
ARC (AI2) Challenge—60.3%
BoolQ—82.4%
MMLU—55.6%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

Codellama 34b Instruct: —, Llama 2-13B: —

Multimodal benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
ScienceQA—55.8%

Multilingual Too close to call

Codellama 34b Instruct: 25.8 (#284), Llama 2-13B: 26.5 (#279)

Multilingual benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Non-English10111024
LMArena Chinese9761001
LMArena French—1044
LMArena German—1009
LMArena Japanese—894
LMArena Korean—953
LMArena Russian—1055
LMArena Spanish—1087

Instruction Following Llama 2-13B leads

Codellama 34b Instruct: 52.2 (#291), Llama 2-13B: 53.3 (#287)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Instruction Following10281045

Long Context Llama 2-13B leads

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

Long Context benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Longer Query10131064

Writing & Preference Llama 2-13B leads

Codellama 34b Instruct: 28.2 (#297), Llama 2-13B: 29.8 (#289)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructLlama 2-13B
LMArena Text10661084
LMArena Creative Writing10321047
LMArena Multi-Turn10151050

Frequently asked questions

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

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

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

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

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

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

Related comparisons

Go deeper