Key Specifications
| Vendor | other |
|---|
| Version | phi-4 |
|---|
| Release Date | 2024-12-12 |
|---|
| Context Window | 16384 tokens |
|---|
| Input Modalities | text |
|---|
| Output Modalities | text |
|---|
| License | MIT |
|---|
| Documentation | https://huggingface.co/models |
|---|
Benchmark Performance
| Benchmark | Score | Unit | Evaluated At | Notes | Source |
|---|
| MMLU | 69.2 | % | 2024-12-12 | 5-shot | view |
| HUMANEVAL | 62.8 | pass@1 | 2024-12-12 | — | view |
| GSM8K | 71.1 | % | 2024-12-12 | 0-shot CoT | view |
| MATH | 39.6 | % | 2024-12-12 | 0-shot CoT | view |
| BBH | 66.9 | % | 2024-12-12 | 3-shot CoT | view |
| GPQA | 30.1 | % | 2024-12-12 | 0-shot | view |
| IFEVAL | 59.6 | % | 2024-12-12 | prompt_strict | view |
| ARC | 85.1 | % | 2024-12-12 | challenge | view |
| MUSR | 38.6 | % | 2024-12-12 | 0-shot | view |
| WINOGRANDE | 78.3 | % | 2024-12-12 | 0-shot | view |
Pricing
| Tier | Price | Currency |
|---|
| Input | $0.15 / Mtok | USD |
| Output | $0.15 / Mtok | USD |
| Cache Read | $0 / Mtok | USD |
| Cache Write | $0 / Mtok | USD |
Source:
https://huggingface.co/models
· as of 2024-12-12
Compliance
- Data Residency: self-host
- SOC2: ✗
- HIPAA: ✗
- GDPR: ✗
- ISO 27001: ✗
Phi-4
Przegląd modelu
Microsoft Phi-4 14B 模型, 16K 上下文, 改进推理与数学能力, 在 14B 规模上接近 GPT-4o-mini。
Podstawowe specyfikacje
| Dostawca | Wersja | Data wydania | Okno kontekstowe | Modalności wejściowe | Modalności wyjściowe | Licencja |
|---|
| Other | phi-4 | 2024-12-12 | 16K | text | text | MIT |
Wydajność benchmarków
| Benchmark | Wynik | Jednostka | Uwagi |
|---|
| MMLU (Massive Multitask Language Understanding) | 69.2 | % | 5-shot |
| HumanEval | 62.8 | pass@1 | — |
| GSM8K (Grade School Math 8K) | 71.1 | % | 0-shot CoT |
| MATH | 39.6 | % | 0-shot CoT |
| BBH (BIG-Bench Hard) | 66.9 | % | 3-shot CoT |
| GPQA | 30.1 | % | 0-shot |
| IFEval | 59.6 | % | prompt_strict |
| ARC | 85.1 | % | challenge |
| MUSR | 38.6 | % | 0-shot |
| WinoGrande | 78.3 | % | 0-shot |
Ceny
| Wejście | Wyjście | Odczyt pamięci podręcznej | Zapis pamięci podręcznej |
|---|
| — | — | — | — |
za milion tokenów
Mocne strony
Słabe strony
- 闭源专有模型,不支持自托管。
- 上下文窗口 16K 偏小。
Przypadki użycia
Referencje