Model comparison

Phi-2 vs StarCoder 2 7B

Neither Phi-2 nor StarCoder 2 7B has enough public benchmark results to be ranked yet; the rows below show what has been published.

Last verified . 5 shared benchmarks.

Phi-2 Microsoft

—

Unranked

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 5 benchmarks with published results for both.

Side by side

Phi-2 and StarCoder 2 7B specifications
Phi-2StarCoder 2 7B
ProviderMicrosoftNVIDIA
Noometry Index—37.0
Released2023-12-122024-02-20
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked117

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

Category by category

Coding Not comparable

Phi-2: —, StarCoder 2 7B: 34.8

Coding benchmarks
BenchmarkPhi-2StarCoder 2 7B
HumanEval+45.1%29.9%
BigCodeBench Complete—27.7%
MBPP+54.2%—

Reasoning Not comparable

Phi-2: —, StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkPhi-2StarCoder 2 7B
Epoch Capabilities Index107.9493.56
WinoGrande54.7%57.1%
Adversarial NLI42.5%—
BIG-Bench Hard59.4%—
HellaSwag53.6%—

Math Not comparable

Phi-2: —, StarCoder 2 7B: —

Math benchmarks
BenchmarkPhi-2StarCoder 2 7B
GSM8K—32.7%

Knowledge Not comparable

Phi-2: —, StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkPhi-2StarCoder 2 7B
ARC (AI2) Challenge75.9%38.7%
MMLU58.4%38.8%
OpenBookQA73.6%—
TriviaQA45.2%—

Frequently asked questions

Is Phi-2 better than StarCoder 2 7B?

Neither Phi-2 nor StarCoder 2 7B has enough public benchmark results to be ranked yet; the rows below show what has been published.

How many benchmarks do Phi-2 and StarCoder 2 7B share?

5 benchmarks have published results for both models. Phi-2 has 11 scored results on Noometry and StarCoder 2 7B has 7.

Related comparisons

Go deeper