Microsoft · 14B · كثيف
نموذج مايكروسوفت المتخصّص في الاستدلال. تعرّف على ما إذا كان كرت شاشتك أو جهاز الماك قادرًا على تشغيل Phi-4 14B محليًا — 7.8 جيجابايت كحد أدنى، و13 جيجابايت موصى بها.
| Quantization | البتات | الذاكرة | الجودة | الحالة |
|---|---|---|---|---|
| Q2_K | 2 | 5GB | منخفضة | — |
| Q3_K_M | 3 | 6.8GB | متوسطة | — |
| Q4_K_M | 4 | 7.7GB | جيدة | — |
| Q5_K_M | 5 | 9.5GB | جيدة | — |
| Q6_K | 6 | 11.3GB | ممتازة | — |
| Q8_0 | 8 | 14.8GB | ممتازة | — |
| F16 | 16 | 29.2GB | بلا فقد | — |
الأرقام تشمل الأوزان وذاكرة KV عند طول سياق 2K توكن. غيّر طول السياق من لوحة جهازك لترى أثره على الذاكرة والسرعة.
التطبيقات
شغّل Phi-4 14B داخل أدوات البرمجة التي تعمل بالذكاء الاصطناعي — يشغّل الأمر خادم Ollama على جهازك، يحمّل النموذج، ثم يفتح الأداة موصولة به.
- Claude Code
وكيل البرمجة من Anthropic، يعمل في الطرفية وداخل المحرّر
ollama launch claude --model phi4 - OpenCode
وكيل برمجة مفتوح المصدر يعمل في الطرفية داخل مستودعك
ollama launch opencode --model phi4 - Codex
وكيل البرمجة من OpenAI في سطر الأوامر
ollama launch codex --model phi4 - Droid
وكيل البرمجة من Factory، للمهام الطويلة عبر عدّة ملفات
ollama launch droid --model phi4 - Hermes Agent
وكيل برمجة مفتوح من Nous Research، بذاكرة تمتد عبر الجلسات
ollama launch hermes --model phi4 - OpenClaw
وكيل مفتوح المصدر يشغّل المهام على جهازك بلا خدمة سحابية
ollama launch openclaw --model phi4
تحتاج Ollama والأداة نفسها مثبَّتين. إن لم تكن الأداة مثبّتة، يرشدك الأمر إلى طريقة تثبيتها. اكتب ollama launch وحده لاختيار الأداة من قائمة.
عن هذا النموذج
الوصف الرسمي كما نشرته الجهة المطوِّرة، بلغته الأصلية.
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.
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
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:
- Memory/compute constrained environments.
- Latency bound scenarios.
- Reasoning and logic.
Out-of-scope use cases
The models are not specifically designed or evaluated for all downstream purposes, thus:
- 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.
- 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.
- 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 جيجابايت من الذاكرة كحد أدنى، والموصى به 13 جيجابايت. يكفي أن تفتح هذه الصفحة ليُقيَّم النموذج تلقائيًا أمام كرت شاشتك أو جهاز الماك، ثم تشغّله عبر Ollama أو LM Studio أو llama.cpp.
- كم يحتاج Phi-4 14B من الـ VRAM؟
- بتكميم Q4_K_M يستهلك Phi-4 14B نحو 7.7 جيجابايت من ذاكرة الكرت. أما المستويات الأعلى فتحتاج ذاكرة أكبر، والأدنى تناسب الكروت المحدودة مقابل تنازل في الجودة.