Key Specifications
| Vendor | other |
|---|
| Version | phi-2 |
|---|
| Release Date | 2023-12-11 |
|---|
| Context Window | 2048 tokens |
|---|
| Input Modalities | text |
|---|
| Output Modalities | text |
|---|
| License | MIT |
|---|
| Documentation | https://huggingface.co/models |
|---|
Benchmark Performance
| Benchmark | Score | Unit | Evaluated At | Notes | Source |
|---|
| MMLU | 57.5 | % | 2023-12-11 | 5-shot | view |
| HUMANEVAL | 39.7 | pass@1 | 2023-12-11 | — | view |
| GSM8K | 36.8 | % | 2023-12-11 | 0-shot CoT | view |
| MATH | 20.5 | % | 2023-12-11 | 0-shot CoT | view |
| BBH | 47.8 | % | 2023-12-11 | 3-shot CoT | view |
| GPQA | 21.8 | % | 2023-12-11 | 0-shot | view |
| IFEVAL | 48.8 | % | 2023-12-11 | prompt_strict | view |
| ARC | 75.1 | % | 2023-12-11 | challenge | view |
| MUSR | 23.7 | % | 2023-12-11 | 0-shot | view |
| WINOGRANDE | 72.8 | % | 2023-12-11 | 0-shot | view |
Pricing
| Tier | Price | Currency |
|---|
| Input | $0.1 / Mtok | USD |
| Output | $0.1 / Mtok | USD |
| Cache Read | $0 / Mtok | USD |
| Cache Write | $0 / Mtok | USD |
Source:
https://huggingface.co/models
· as of 2023-12-11
Compliance
- Data Residency: self-host
- SOC2: ✗
- HIPAA: ✗
- GDPR: ✗
- ISO 27001: ✗
Phi-2
Panoramica del modello
Microsoft Phi-2 2.7B 模型, 2K 上下文, 在 2.7B 规模上推理能力突出, 适合研究/教育用途。
Specifiche principali
| Fornitore | Versione | Data di rilascio | Finestra di contesto | Modalità di input | Modalità di output | Licenza |
|---|
| Other | phi-2 | 2023-12-11 | 2K | text | text | MIT |
Prestazioni benchmark
| Benchmark | Punteggio | Unità | Note |
|---|
| MMLU (Massive Multitask Language Understanding) | 57.5 | % | 5-shot |
| HumanEval | 39.7 | pass@1 | — |
| GSM8K (Grade School Math 8K) | 36.8 | % | 0-shot CoT |
| MATH | 20.5 | % | 0-shot CoT |
| BBH (BIG-Bench Hard) | 47.8 | % | 3-shot CoT |
| GPQA | 21.8 | % | 0-shot |
| IFEval | 48.8 | % | prompt_strict |
| ARC | 75.1 | % | challenge |
| MUSR | 23.7 | % | 0-shot |
| WinoGrande | 72.8 | % | 0-shot |
Prezzi
| Input | Output | Lettura cache | Scrittura cache |
|---|
| — | — | — | — |
per milione di token
Punti di forza
Punti deboli
- MMLU 仅 57.5,知识推理偏弱。
- HumanEval 39.7,代码能力较弱。
- 闭源专有模型,不支持自托管。
- 上下文窗口 2K 偏小。
Casi d’uso
Riferimenti