Model comparison

Codellama 34b Instruct vs Phi 3 Small 8k Instruct

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

Last verified . 10 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Phi 3 Small 8k Instruct Microsoft

29.3

Rank #314 Confirmed

Summary

  • They share 10 benchmarks with published results for both. Codellama 34b Instruct scores higher in 4 categories and Phi 3 Small 8k Instruct in 3 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Codellama 34b Instruct leads 19.6 to 14.8.

Side by side

Codellama 34b Instruct and Phi 3 Small 8k Instruct specifications
Codellama 34b InstructPhi 3 Small 8k Instruct
ProviderMetaMicrosoft
Noometry Index30.829.3
Released—2024-04-23
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 Too close to call

Codellama 34b Instruct: 28.5 (#314), Phi 3 Small 8k Instruct: 27.9 (#318)

Coding benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Coding10461101
BigCodeBench Instruct29%—
LiveBench Coding—20.3%
BigCodeBench Complete37.1%—
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Phi 3 Small 8k Instruct: 14.8 (#323)

Reasoning benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Hard Prompts10321100
LiveBench Reasoning—15.9%
LiveBench Data Analysis—30.3%
Adversarial NLI—58.1%
BIG-Bench Hard—79.1%
HellaSwag—77%
LiveBench—24%
WinoGrande—81.5%

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 31.0 (#230), Phi 3 Small 8k Instruct: 27.6 (#248)

Math benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Math10561151
LiveBench Math—17.6%

Knowledge Not comparable

Codellama 34b Instruct: —, Phi 3 Small 8k Instruct: 29.1 (#240)

Knowledge benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Expert—1067
ARC (AI2) Challenge—90.7%
MMLU—75.7%
OpenBookQA—88%
TriviaQA—58.1%

Multilingual Phi 3 Small 8k Instruct leads

Codellama 34b Instruct: 25.8 (#284), Phi 3 Small 8k Instruct: 28.5 (#272)

Multilingual benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Non-English10111058
LMArena Chinese9761061
LMArena French—1135
LMArena German—1080
LMArena Japanese—966
LMArena Korean—894
LMArena Russian—1111
LMArena Spanish—1111

Instruction Following Too close to call

Codellama 34b Instruct: 52.2 (#291), Phi 3 Small 8k Instruct: 51.9 (#292)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Instruction Following10281087
LiveBench Instruction Following—47.2%

Long Context Phi 3 Small 8k Instruct leads

Codellama 34b Instruct: 30.9 (#284), Phi 3 Small 8k Instruct: 33.0 (#267)

Long Context benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Longer Query10131088

Writing & Preference Phi 3 Small 8k Instruct leads

Codellama 34b Instruct: 28.2 (#297), Phi 3 Small 8k Instruct: 31.1 (#284)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructPhi 3 Small 8k Instruct
LMArena Text10661110
LMArena Creative Writing10321083
LMArena Multi-Turn10151068
LiveBench Language—12.9%

Frequently asked questions

Is Codellama 34b Instruct better than Phi 3 Small 8k Instruct?

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

Is Codellama 34b Instruct or Phi 3 Small 8k Instruct better for coding?

They score almost the same on coding (28.5 vs 27.9); test both on your own repository before choosing.

How many benchmarks do Codellama 34b Instruct and Phi 3 Small 8k Instruct share?

10 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Phi 3 Small 8k Instruct has 32.

Related comparisons

Go deeper