CodeT5-large vs Phi-2
CodeT5-large is made by Salesforce and Phi-2 by Microsoft. See the full spec comparison below.
| Spec | CodeT5-large | Phi-2 |
|---|---|---|
| Provider | Salesforce | Microsoft |
| Released | Jul 5, 2022 | Dec 12, 2023 (better) |
| Type | Code model | Code model |
| Parameters | 770M | 2.8B |
| Context window | — | — |
| Max output | — | — |
| Input price / 1M | — | — |
| Output price / 1M | — | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | bsd-3-clause | mit |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | — | — |
| Epoch Capabilities Index | — | 96.2 |
| MMLU | — | 58.4% |
| HellaSwag | — | 53.6% |
About CodeT5-large
CodeT5-large is an open-weight code model from Salesforce, released Jul 5, 2022. It has 770M parameters. Full CodeT5-large 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, CodeT5-large or Phi-2?
CodeT5-large is made by Salesforce and Phi-2 by Microsoft. See the full spec comparison below.
Are CodeT5-large and Phi-2 open source?
CodeT5-large is open-weight; Phi-2 is open-weight.