Key Specifications
| Vendor | other |
|---|
| Version | phi-1 |
|---|
| Release Date | 2023-09-14 |
|---|
| 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 | 68.1 | % | 2023-09-14 | 5-shot | view |
| HUMANEVAL | 88.1 | pass@1 | 2023-09-14 | — | view |
| GSM8K | 51.6 | % | 2023-09-14 | 0-shot CoT | view |
| MATH | 25.2 | % | 2023-09-14 | 0-shot CoT | view |
| BBH | 69.9 | % | 2023-09-14 | 3-shot CoT | view |
| GPQA | 22.1 | % | 2023-09-14 | 0-shot | view |
| IFEVAL | 53.8 | % | 2023-09-14 | prompt_strict | view |
| ARC | 88.4 | % | 2023-09-14 | challenge | view |
| MUSR | 49 | % | 2023-09-14 | 0-shot | view |
| WINOGRANDE | 74.5 | % | 2023-09-14 | 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-09-14
Compliance
- Data Residency: self-host
- SOC2: ✗
- HIPAA: ✗
- GDPR: ✗
- ISO 27001: ✗
Phi-1
모델 개요
Microsoft Phi-1 1.3B 代码模型, 2K 上下文, 专为代码生成训练, 在 1.3B 规模上 HumanEval 表现突出。
핵심 사양
| 공급업체 | 버전 | 출시일 | 컨텍스트 창 | 입력 모달리티 | 출력 모달리티 | 라이선스 |
|---|
| Other | phi-1 | 2023-09-14 | 2K | text | text | MIT |
벤치마크 성능
| 벤치마크 | 점수 | 단위 | 비고 |
|---|
| MMLU (Massive Multitask Language Understanding) | 68.1 | % | 5-shot |
| HumanEval | 88.1 | pass@1 | — |
| GSM8K (Grade School Math 8K) | 51.6 | % | 0-shot CoT |
| MATH | 25.2 | % | 0-shot CoT |
| BBH (BIG-Bench Hard) | 69.9 | % | 3-shot CoT |
| GPQA | 22.1 | % | 0-shot |
| IFEval | 53.8 | % | prompt_strict |
| ARC | 88.4 | % | challenge |
| MUSR | 49.0 | % | 0-shot |
| WinoGrande | 74.5 | % | 0-shot |
가격
백만 토큰당
강점
- HumanEval 88.1, excellent code generation.
약점
- 闭源专有模型,不支持自托管。
- 上下文窗口 2K 偏小。
사용 사례
참고문헌