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。更高的量化等級要更多記憶體;更低的能塞進較小的顯示卡,但品質會打折。