Phi-1 vs Phi-2
Phi-2 wins 2 of 2 benchmarks both models report.
| Spec | Phi-1 | Phi-2 |
|---|---|---|
| Provider | Microsoft | Microsoft |
| Released | Oct 2, 2023 | Dec 12, 2023 (better) |
| Type | Code model | Code model |
| Parameters | 1.4B | 2.8B |
| Context window | — | — |
| Max output | — | — |
| Input price / 1M | — | — |
| Output price / 1M | — | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | mit |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | — | — |
| Epoch Capabilities Index | — | 96.2 |
| MMLU | 37.6% | 58.4% (better) |
| HellaSwag | 47.6% | 53.6% (better) |
About Phi-1
Phi-1 is an open-weight code model from Microsoft, released Oct 2, 2023. It has 1.4B parameters. Full Phi-1 specs →
About Phi-2
Phi-2 is an open-weight code model from Microsoft, released Dec 12, 2023. It has 2.8B parameters. It scores 96.2 on the Epoch Capabilities Index. Full Phi-2 specs →
Compare other models
FAQ
Which is better, Phi-1 or Phi-2?
Phi-2 wins 2 of 2 benchmarks both models report.
Are Phi-1 and Phi-2 open source?
Phi-1 is open-weight; Phi-2 is open-weight.