Phi-2 vs StarCoder 2 15B
Phi-2 and StarCoder 2 15B are evenly matched on the 2 benchmarks both report.
| Spec | Phi-2 | StarCoder 2 15B |
|---|---|---|
| Provider | Microsoft | NVIDIA |
| Released | Dec 12, 2023 | Feb 29, 2024 (better) |
| Type | Code model | Code model |
| Parameters | 2.8B | 15B |
| Context window | — | — |
| Max output | — | — |
| Input price / 1M | — | — |
| Output price / 1M | — | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | Open (restricted) |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | — | — |
| Epoch Capabilities Index | 96.2 (better) | 96.1 |
| MMLU | 58.4% | 64.1% (better) |
| GSM8K | — | 57.7% |
| HellaSwag | 53.6% | — |
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 →
About StarCoder 2 15B
StarCoder 2 15B is an open-weight code model from NVIDIA, released Feb 29, 2024. It has 15B parameters. It scores 96.1 on the Epoch Capabilities Index. Full StarCoder 2 15B specs →
Compare other models
FAQ
Which is better, Phi-2 or StarCoder 2 15B?
Phi-2 and StarCoder 2 15B are evenly matched on the 2 benchmarks both report.
Are Phi-2 and StarCoder 2 15B open source?
Phi-2 is open-weight; StarCoder 2 15B is open-weight.