Phi-4 14B

MIT

Microsoft · 14B · Dense

Microsoft の推論重視モデル お使いの GPU や Mac で Phi-4 14B が動くか確認——最小 7.8 GB、推奨 13 GB。

2024-1216K context

量子化オプション

量子化ビットVRAM品質状態
Q2_K25 GBlow—
Q3_K_M36.8 GBmoderate—
Q4_K_M47.7 GBgood—
Q5_K_M59.5 GBgood—
Q6_K611.3 GBexcellent—
Q8_0814.8 GBexcellent—
F161629.2 GBlossless—

このモデルについて

Phi-4 is a 14B parameter, state-of-the-art open model built upon a blend of synthetic datasets, data from filtered public domain websites, and acquired academic books and Q&A datasets.

Phi-4 benchmark

The model underwent a rigorous enhancement and alignment process, incorporating both supervised fine-tuning and direct preference optimization to ensure precise instruction adherence and robust safety measures.

Context length: 16k tokens

Phi-4 performance eval by Microsoft

Primary use cases

The model is designed to accelerate research on language models, for use as a building block for generative AI powered features. It provides uses for general purpose AI systems and applications (primarily in English) which require:

  1. Memory/compute constrained environments.
  2. Latency bound scenarios.
  3. Reasoning and logic.

Out-of-scope use cases

The models are not specifically designed or evaluated for all downstream purposes, thus:

  1. Developers should consider common limitations of language models as they select use cases, and evaluate and mitigate for accuracy, safety, and fairness before using within a specific downstream use case, particularly for high-risk scenarios.
  2. Developers should be aware of and adhere to applicable laws or regulations (including privacy, trade compliance laws, etc.) that are relevant to their use case, including the model’s focus on English.
  3. Nothing contained in this readme should be interpreted as or deemed a restriction or modification to the license the model is released under.

Phi-4 14B はローカルで動きますか?

Phi-4 14B はローカルで動きますか?
Phi-4 14B は最低約 7.8 GB、推奨 13 GB のメモリが必要です。このページを開くと GPU や Mac に合わせて評価され、runai、Ollama、LM Studio で実行できます。
Phi-4 14B に必要な VRAM は?
Q4_K_M では Phi-4 14B は約 7.7 GB の VRAM を使います。高い量子化はより多くのメモリが必要で、低い量子化は小さいカードにも収まりますが品質が落ちます。