Model comparison

Codellama 70b Instruct vs Phi-2

Codellama 70b Instruct has enough public results to be ranked (#237); Phi-2 does not yet, so treat this comparison as directional.

Last verified . 1 shared benchmarks.

Codellama 70b Instruct Meta

33.7

Rank #237 Confirmed

Phi-2 Microsoft

—

Unranked

Summary

  • They share 1 benchmark with published results for both.

Side by side

Codellama 70b Instruct and Phi-2 specifications
Codellama 70b InstructPhi-2
ProviderMetaMicrosoft
Noometry Index33.7—
Released—2023-12-12
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked711

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

Category by category

Coding Not comparable

Codellama 70b Instruct: 37.6 (#193), Phi-2: —

Coding benchmarks
BenchmarkCodellama 70b InstructPhi-2
HumanEval+65.9%45.1%
BigCodeBench Instruct40.7%—
BigCodeBench Complete49.6%—
MBPP+—54.2%

Reasoning Not comparable

Codellama 70b Instruct: 20.1 (#242), Phi-2: —

Reasoning benchmarks
BenchmarkCodellama 70b InstructPhi-2
LMArena Hard Prompts1052—
Adversarial NLI—42.5%
BIG-Bench Hard—59.4%
Epoch Capabilities Index—107.94
HellaSwag—53.6%
WinoGrande—54.7%

Knowledge Not comparable

Codellama 70b Instruct: —, Phi-2: —

Knowledge benchmarks
BenchmarkCodellama 70b InstructPhi-2
ARC (AI2) Challenge—75.9%
MMLU—58.4%
OpenBookQA—73.6%
TriviaQA—45.2%

Multilingual Not comparable

Codellama 70b Instruct: 24.8 (#288), Phi-2: —

Multilingual benchmarks
BenchmarkCodellama 70b InstructPhi-2
LMArena Non-English992—

Instruction Following Not comparable

Codellama 70b Instruct: 51.9 (#293), Phi-2: —

Instruction Following benchmarks
BenchmarkCodellama 70b InstructPhi-2
LMArena Instruction Following1024—

Writing & Preference Not comparable

Codellama 70b Instruct: 33.4 (#277), Phi-2: —

Writing & Preference benchmarks
BenchmarkCodellama 70b InstructPhi-2
LMArena Text1057—

Frequently asked questions

Is Codellama 70b Instruct better than Phi-2?

Codellama 70b Instruct has enough public results to be ranked (#237); Phi-2 does not yet, so treat this comparison as directional.

How many benchmarks do Codellama 70b Instruct and Phi-2 share?

1 benchmark has published results for both models. Codellama 70b Instruct has 7 scored results on Noometry and Phi-2 has 11.

Related comparisons

Go deeper