MicrosoftDecember 12, 2023

Phi-2

Phi-2 is a 2.7B-parameter model from Microsoft, released on December 12, 2023. Trained on 'textbook-quality' synthetic and filtered web data, it matched or beat models up to 25 times larger on reasoning and language benchmarks. Its licence was changed to MIT in January 2024, allowing commercial use.

At a glance

Context window
2K tokens
Max output
—
Text input / output · per 1M tokens
— / —
Knowledge cutoff
—

From the Zombie Woods

A year older. Still wandering.

Released 12 Dec 2023 · 1,081 days old · Open weights

This model crossed its first release anniversary and earned a zombie appearance in our game. It has not been declared dead: its real catalogue status is unchanged.

Visit the Zombie Woods →

Benchmark snapshot

Best result in each categories

  • AcademicGSM8K

    61.1

    Historical report (mode unspecified) · #35 of 67

  • CodingMBPP

    59.1

    Historical report (mode unspecified) · #40 of 67

  • General EvaluationECI

    108

    Reported best (effort unspecified) · #146 of 168

View benchmark details (5)

Benchmark details

5 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
GSM8K

Historical report (mode unspecified) · Mathematics

61.135 / 67
MMLU

Historical report (mode unspecified) · Knowledge Exams

56.787 / 114
Coding
HumanEval

Historical report (mode unspecified) · Code Generation & Editing

48.368 / 100
MBPP

Historical report (mode unspecified) · Code Generation & Editing

59.140 / 67
General Evaluation
ECI

Reported best (effort unspecified) · Capability Indices

108146 / 168

Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.

Back to benchmark snapshot ↑

Specifications

Provider
Microsoft
Model type
Foundation model
Released
December 12, 2023
Total parameters
2.7B
Architecture
Dense
Context window
2K tokens
Licence
MIT License
Commercial use
Commercial use allowed

Phi-2 vs competitors

Comparable results only · record is Phi-2's wins–losses

Phi-2 benchmark scores against competitors
BenchmarkPhi-2This modelvs Qwen2.5-MaxRecord 0–5vs Qwen2.5-32BRecord 0–5vs Qwen2.5-72BRecord 0–5vs Qwen2.5-7BRecord 0–5
ECI108133129129118
MMLU56.787.983.386.174.2
HumanEval48.373.288.459.157.9
GSM8K61.194.595.991.585.4
MBPP59.180.684.084.774.9

Community discussion

Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.

Sign in with Google to rate this model and leave a comment.

No community comments yet.