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

Przegląd modelu

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

Podstawowe specyfikacje

DostawcaWersjaData wydaniaOkno kontekstoweModalności wejścioweModalności wyjścioweLicencja
Otherphi-22023-12-112KtexttextMIT

Wydajność benchmarków

BenchmarkWynikJednostkaUwagi
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

Ceny

WejścieWyjścieOdczyt pamięci podręcznejZapis pamięci podręcznej

za milion tokenów

Mocne strony

  • 可靠的通用模型。

Słabe strony

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

Przypadki użycia

  • 通用对话与问答

Referencje