Model comparison

Codellama 34b Instruct vs Phi 3 Mini 4k Instruct

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

Last verified . 12 shared benchmarks.

Codellama 34b Instruct Meta

30.8

Rank #287 Confirmed

Phi 3 Mini 4k Instruct Microsoft

27.9

Rank #328 Confirmed

Summary

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

Side by side

Codellama 34b Instruct and Phi 3 Mini 4k Instruct specifications
Codellama 34b InstructPhi 3 Mini 4k Instruct
ProviderMetaMicrosoft
Noometry Index30.827.9
Released—2024-04-23
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 Codellama 34b Instruct leads

Codellama 34b Instruct: 28.5 (#314), Phi 3 Mini 4k Instruct: 26.6 (#323)

Coding benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Coding10461093
HumanEval+43.9%59.1%
MBPP+56.3%54.2%
BigCodeBench Instruct29%—
LiveBench Coding—15.5%
BigCodeBench Complete37.1%—

Reasoning Codellama 34b Instruct leads

Codellama 34b Instruct: 19.6 (#255), Phi 3 Mini 4k Instruct: 14.1 (#328)

Reasoning benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Hard Prompts10321072
Chess Puzzles—0%
LiveBench Reasoning—26.8%
LiveBench Data Analysis—34.7%
Adversarial NLI—52.8%
BIG-Bench Hard—71.7%
HellaSwag—76.7%
LiveBench—22.4%
WinoGrande—70.8%

Math Codellama 34b Instruct leads

Codellama 34b Instruct: 31.0 (#230), Phi 3 Mini 4k Instruct: 26.6 (#257)

Math benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Math10561111
LiveBench Math—15.7%

Knowledge Not comparable

Codellama 34b Instruct: —, Phi 3 Mini 4k Instruct: 28.5 (#246)

Knowledge benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Expert—1045
ARC (AI2) Challenge—84.9%
MMLU—68.8%
OpenBookQA—88%
TriviaQA—64%

Multilingual Too close to call

Codellama 34b Instruct: 25.8 (#284), Phi 3 Mini 4k Instruct: 26.3 (#280)

Multilingual benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Non-English10111021
LMArena Chinese9761021
LMArena French—1076
LMArena German—1044
LMArena Japanese—935
LMArena Korean—905
LMArena Russian—1022
LMArena Spanish—1085

Instruction Following Codellama 34b Instruct leads

Codellama 34b Instruct: 52.2 (#291), Phi 3 Mini 4k Instruct: 47.7 (#303)

Instruction Following benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Instruction Following10281053
LiveBench Instruction Following—39.1%

Long Context Too close to call

Codellama 34b Instruct: 30.9 (#284), Phi 3 Mini 4k Instruct: 31.7 (#276)

Long Context benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Longer Query10131044

Writing & Preference Too close to call

Codellama 34b Instruct: 28.2 (#297), Phi 3 Mini 4k Instruct: 27.6 (#300)

Writing & Preference benchmarks
BenchmarkCodellama 34b InstructPhi 3 Mini 4k Instruct
LMArena Text10661073
LMArena Creative Writing10321037
LMArena Multi-Turn10151018
LiveBench Language—9.2%

Frequently asked questions

Is Codellama 34b Instruct better than Phi 3 Mini 4k Instruct?

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

Is Codellama 34b Instruct or Phi 3 Mini 4k Instruct better for coding?

Codellama 34b Instruct scores higher on coding benchmarks: 28.5 versus 26.6 in the Noometry coding category.

How many benchmarks do Codellama 34b Instruct and Phi 3 Mini 4k Instruct share?

12 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Phi 3 Mini 4k Instruct has 35.

Related comparisons

Go deeper