Key Specifications

Vendorother
Versionphi-2
Release Date2023-12-11
Context Window2048 tokens
Input Modalitiestext
Output Modalitiestext
LicenseMIT
Documentationhttps://huggingface.co/models

Benchmark Performance

BenchmarkScoreUnitEvaluated AtNotesSource
MMLU57.5%2023-12-115-shotview
HUMANEVAL39.7pass@12023-12-11view
GSM8K36.8%2023-12-110-shot CoTview
MATH20.5%2023-12-110-shot CoTview
BBH47.8%2023-12-113-shot CoTview
GPQA21.8%2023-12-110-shotview
IFEVAL48.8%2023-12-11prompt_strictview
ARC75.1%2023-12-11challengeview
MUSR23.7%2023-12-110-shotview
WINOGRANDE72.8%2023-12-110-shotview

Pricing

TierPriceCurrency
Input$0.1 / MtokUSD
Output$0.1 / MtokUSD
Cache Read$0 / MtokUSD
Cache Write$0 / MtokUSD

Source: https://huggingface.co/models · as of 2023-12-11

Compliance

  • Data Residency: self-host
  • SOC2: ✗
  • HIPAA: ✗
  • GDPR: ✗
  • ISO 27001: ✗

Phi-2

모델 개요

Microsoft Phi-2 2.7B 模型, 2K 上下文, 在 2.7B 规模上推理能力突出, 适合研究/教育用途。

핵심 사양

공급업체버전출시일컨텍스트 창입력 모달리티출력 모달리티라이선스
Otherphi-22023-12-112KtexttextMIT

벤치마크 성능

벤치마크점수단위비고
MMLU (Massive Multitask Language Understanding)57.5%5-shot
HumanEval39.7pass@1
GSM8K (Grade School Math 8K)36.8%0-shot CoT
MATH20.5%0-shot CoT
BBH (BIG-Bench Hard)47.8%3-shot CoT
GPQA21.8%0-shot
IFEval48.8%prompt_strict
ARC75.1%challenge
MUSR23.7%0-shot
WinoGrande72.8%0-shot

가격

입력출력캐시 읽기캐시 쓰기

백만 토큰당

강점

  • 可靠的通用模型。

약점

  • MMLU 仅 57.5,知识推理偏弱。
  • HumanEval 39.7,代码能力较弱。
  • 闭源专有模型,不支持自托管。
  • 上下文窗口 2K 偏小。

사용 사례

  • 通用对话与问答

참고문헌