Phi-2 vs Qwen2.5-Coder (1.5B)
Phi-2 wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (96.2 vs 89.1).
| Spec | Phi-2 | Qwen2.5-Coder (1.5B) |
|---|---|---|
| Provider | Microsoft | Alibaba (Qwen) |
| Released | Dec 12, 2023 | Sep 18, 2024 (better) |
| Type | Code model | Code model |
| Parameters | 2.8B | 1.5B |
| Context window | — | — |
| Max output | — | — |
| Input price / 1M | — | — |
| Output price / 1M | — | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | apache-2.0 |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | — | — |
| Epoch Capabilities Index | 96.2 (better) | 89.1 |
| MMLU | 58.4% (better) | 53.6% |
| GSM8K | — | 65.8% |
| HellaSwag | 53.6% | 61.8% (better) |
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 Qwen2.5-Coder (1.5B)
Qwen2.5-Coder (1.5B) is an open-weight code model from Alibaba (Qwen), released Sep 18, 2024. It has 1.5B parameters. It scores 89.1 on the Epoch Capabilities Index. Full Qwen2.5-Coder (1.5B) specs →
Compare other models
FAQ
Which is better, Phi-2 or Qwen2.5-Coder (1.5B)?
Phi-2 wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (96.2 vs 89.1).
Are Phi-2 and Qwen2.5-Coder (1.5B) open source?
Phi-2 is open-weight; Qwen2.5-Coder (1.5B) is open-weight.