Benchmark Almanac

Phi-2

Phi-2.

Microsoft Released December 12th, 2023 Family Phi-2 The lab's model card Compare with others
47
Benchmarks with a score
0
Ranked first, out of five or more models
0
In the top three
Microsoft Dec 2023

Phi-2

Open weights Small

96.2 #225 of 258
Epoch Capabilities Index
Self-Reported Index 104.6 #395 of 412
  • Angry Tweets 19.4% #136 /149
  • FoQA 1.61% #90 /91
  • Hotter and Colder 3.18% #79 /90

How does it do against its rivals?

Phi-2 beats Llama 2-13B on 8 of the 13 benchmarks they share. Qwen-14B does best against it, ahead on 7 of 11.

  1. Llama 2-13B 8 ahead, 5 behind Compare
  2. Gemma 2B 14 ahead, 10 behind Compare
  3. Qwen-7B 6 ahead, 5 behind Compare
  4. Yi 6B 5 ahead, 5 behind Compare
  5. Gemma 7B 11 ahead, 18 behind Compare
  6. Qwen-14B 4 ahead, 7 behind Compare

Sources: Official leaderboards, Epoch AI (CC BY 4.0) and labs’ model cards

Where it ranks

Its best score on each benchmark, and where that ranks among every model with a score there. We rank each model once, at its best setting.

Knowledge and language

BenchmarkScoreRankSource
Open CoT Leaderboard 8.08% #17 of 32 Official leaderboard
MuSR 41% #54 of 100 Official leaderboard
LAMBADA Multilingual (Stable LM 2) 34.6% #2 of 3 Official leaderboard
EuroEval Faroese Grammatical Error Correction 0.32% #48 of 71 Official leaderboard
NarrativeQA 0.70 #52 of 71 Official leaderboard
Vectara Hallucination Leaderboard (HHEM) 6.70% #110 of 148 Official leaderboard
NPHardEval 9.21% #7 of 9 Official leaderboard
BLUEX 27% #145 of 177 Official leaderboard
EWoK 71.8% #21 of 25 Official leaderboard
Open Portuguese LLM Leaderboard 36.5 #149 of 175 Official leaderboard
Hotter and Colder 3.18% #79 of 90 Official leaderboard
Angry Tweets 19.4% #136 of 149 Official leaderboard
GermanQuAD 17.8% #83 of 88 Official leaderboard
AlpacaEval 2.0 4.40% #46 of 48 Official leaderboard
Dutch Book Reviews Dataset 24.2% #101 of 105 Official leaderboard
LLMzSzŁ 25.6% #31 of 32 Official leaderboard
Open Chinese LLM Leaderboard 33.1 #34 of 35 Official leaderboard
EQ-Bench v2 27.6 #84 of 86 Official leaderboard
FoQA 1.61% #90 of 91 Official leaderboard
FoSent -0.08% #146 of 147 Official leaderboard
AlpacaEval 30.7% #19 of 19 Official leaderboard
OpenBookQA 73.6% #9 of 41 lab numbers Claim in Phi-3 Technical Report: A Highly Capable Language Model L…, via Epoch AI
ARC-Challenge 75.9% #20 of 75 lab numbers Claim in Phi-3 Technical Report: A Highly Capable Language Model L…, via Epoch AI
ANLI 42.5% #9 of 11 lab numbers Claim in Phi-3 Technical Report: A Highly Capable Language Model L…, via Epoch AI
WinoGrande 54.7% #74 of 76 lab numbers Claim in Phi-3 Technical Report: A Highly Capable Language Model L…, via Epoch AI
TriviaQA 45.2% #38 of 38 lab numbers Claim in Phi-3 Technical Report: A Highly Capable Language Model L…, via Epoch AI
BIG-Bench Hard 59.2% Not ranked Lab model card
BoolQ 83.3% Not ranked Lab model card
HellaSwag 53.6% Not ranked Claim in Phi-3 Technical Report: A Highly Capable Language Model L…, via Epoch AI
MMLU 56.7% Not ranked Lab model card

Math and science

BenchmarkScoreRankSource
GSM-Symbolic 41.4% #11 of 17 Official leaderboard
GSM8K 61.1% Not ranked Lab model card

Coding

BenchmarkScoreRankSource
EvoEval 36.6% #8 of 19 Official leaderboard
HumanEval 49.4% #33 of 46 Official leaderboard
HumanEval+ 45.1% #33 of 46 Official leaderboard
MBPP+ 54.2% #26 of 35 Official leaderboard
EvalPlus 49.7% #27 of 35 Official leaderboard
CRUXEval 33.5% #10 of 11 Official leaderboard
MBPP 59.1% Not ranked Lab model card

Professional work

BenchmarkScoreRankSource
Shopping MMLU 40.4 #13 of 14 Official leaderboard
MedQA 41% #67 of 72 Official leaderboard
RiceChem 0.16 #6 of 6 Official leaderboard

Safety and security

BenchmarkScoreRankSource
CyberMetric 52.1% #7 of 11 Official leaderboard

Other

BenchmarkScoreRankSource
Open LLM Leaderboard v1 61.3 #37 of 76 Official leaderboard
Open LLM Leaderboard v2 15.5 #69 of 101 Official leaderboard
Epoch Capabilities Index 96.2 #225 of 258 Official leaderboard
HELM Lite 16.9 #70 of 72 Official leaderboard

Inside agents

Boards that list Phi-2 inside an agent or product, such as SLPG_FJWU_Insa + Phi-2. Those scores belong to the agent, so we don't count them as the model's own. Its own score on the same board is beside each one.

BenchmarkEntryAgent's scoreIts own score
MWAHAHA SLPG_FJWU_Insa + Phi-2 1,080

Its lab's numbers put it at 104.6, 8.4 points above its ECI

The Self-Reported Index fits one score to the 5 capability results Microsoft reported for this model, on the scale of the Epoch Capabilities Index. Labs choose which benchmarks to show and how to run them, so read it as the lab's claim, not an independent measurement. The 90% interval runs from 101.0 to 108.2. How we compute it.

Who measured it?

Independent runs cover 37 of its 47 benchmarks. For the other 10, we have only Microsoft's own number or a claim Epoch AI collected.

  • An independent run and a claim 1
  • An independent run only 36
  • A claim only 10
Official leaderboards scored it on 37.

Sources: Official leaderboards, Epoch AI (CC BY 4.0) and labs’ model cards

Its lab's number next to a leaderboard

Where the benchmark's own leaderboard, or Epoch AI's run, also has this model. Gaps mostly come from different harnesses, effort levels and task subsets. Every pair.

Benchmark Lab says Board says Gap
MBPP 59.1% MBPP, Table 2 64% Leaderboard, EvalPlus subset, original tests, code completion −4.9 pts

Microsoft's models over time

When Phi-2 came out, it ranked 20th of the 45 models on Epoch AI's Capabilities Index released by then. Today it ranks 225th of 258.

50 100 150 2023 2024 2025 2026 2027 Phi-4 phi-3-medium 14B Phi-2 Phi-1.5 50 100 150 2023 2024 2025 2026 2027 Phi-4 phi-3-medium 14B

Source: Epoch Capabilities Index, Epoch AI (CC BY 4.0)

Its launch post

The benchmarks the lab chose to headline, with the scores it gave.