Model comparison

Codellama 34b Instruct vs phi-3-medium 14B

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

Last verified . 2 shared benchmarks.

Codellama 34b Instruct Meta

30.2

Rank #285 Confirmed

phi-3-medium 14B Microsoft

29.1

Rank #306 Reported

Summary

  • They share 2 benchmarks with published results for both. Codellama 34b Instruct scores higher in 1 category and phi-3-medium 14B in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where phi-3-medium 14B leads 36.3 to 28.0.
  • The biggest single-benchmark swing is BigCodeBench Complete: 37.1% for Codellama 34b Instruct and 48.7% for phi-3-medium 14B.

Side by side

Codellama 34b Instruct and phi-3-medium 14B specifications
Codellama 34b Instructphi-3-medium 14B
ProviderMetaMicrosoft
Noometry Index30.229.1
Released—2024-04-23
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked1413

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

Category by category

Coding phi-3-medium 14B leads

Codellama 34b Instruct: 28.0 (#310), phi-3-medium 14B: 36.3 (#198)

Coding benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
BigCodeBench Instruct29%37.6%
BigCodeBench Complete37.1%48.7%
LMArena Coding1046—
HumanEval+43.9%—
MBPP+56.3%—

Reasoning Not comparable

Codellama 34b Instruct: 18.8 (#250), phi-3-medium 14B: —

Reasoning benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
LMArena Hard Prompts1032—
Adversarial NLI—55.8%
BIG-Bench Hard—81.4%
Epoch Capabilities Index—121.18
HellaSwag—82.4%
WinoGrande—81.5%

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 28.5 (#227), phi-3-medium 14B: 25.2 (#249)

Math benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
LMArena Math1056—
MATH Level 5—17.6%

Knowledge Not comparable

Codellama 34b Instruct: —, phi-3-medium 14B: 9.1 (#301)

Knowledge benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
GPQA Diamond—27.6%
ARC (AI2) Challenge—91.6%
MMLU—78%
OpenBookQA—87.4%
TriviaQA—73.9%

Multilingual Not comparable

Codellama 34b Instruct: 25.9 (#279), phi-3-medium 14B: —

Multilingual benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
LMArena Non-English1011—
LMArena Chinese976—

Instruction Following Not comparable

Codellama 34b Instruct: 52.4 (#286), phi-3-medium 14B: —

Instruction Following benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
LMArena Instruction Following1028—

Long Context Not comparable

Codellama 34b Instruct: 30.8 (#279), phi-3-medium 14B: —

Long Context benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
LMArena Longer Query1014—

Writing & Preference Not comparable

Codellama 34b Instruct: 28.4 (#292), phi-3-medium 14B: —

Writing & Preference benchmarks
BenchmarkCodellama 34b Instructphi-3-medium 14B
LMArena Text1066—
LMArena Creative Writing1032—
LMArena Multi-Turn1015—

Frequently asked questions

Is Codellama 34b Instruct better than phi-3-medium 14B?

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

Is Codellama 34b Instruct or phi-3-medium 14B better for coding?

phi-3-medium 14B scores higher on coding benchmarks: 36.3 versus 28.0 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and phi-3-medium 14B share?

2 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and phi-3-medium 14B has 13.

Related comparisons

Go deeper