Phi 4 by unsloth

 »  All LLMs  »  unsloth  »  Phi 4   URL Share it on

Phi 4 is an open-source language model by unsloth. Features: 14.7b LLM, VRAM: 29.4GB, Context: 16K, License: mit, LLM Explorer Score: 0.47, ELO: 1256.

  Arxiv:2412.08905 Base model:finetune:microsoft/...   Base model:microsoft/phi-4   Chat   Code   Conversational   Deploy:azure   En   Endpoints compatible   Llama   Math   Phi   Phi4   Region:us   Safetensors   Sharded   Tensorflow   Unsloth
Model Card on HF 🤗: https://huggingface.co/unsloth/phi-4 

Phi 4 Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

Phi 4 Parameters and Internals

LLM NamePhi 4
Repository 🤗https://huggingface.co/unsloth/phi-4 
Base Model(s)  Phi 4   microsoft/phi-4
Model Size14.7b
Required VRAM29.4 GB
Updated2026-04-16
Maintainerunsloth
Model Typellama
Model Files  4.9 GB: 1-of-6   5.0 GB: 2-of-6   4.9 GB: 3-of-6   5.0 GB: 4-of-6   5.0 GB: 5-of-6   4.6 GB: 6-of-6
Supported Languagesen
Model ArchitectureLlamaForCausalLM
Licensemit
Context Length16384
Model Max Length16384
Transformers Version4.47.1
Tokenizer ClassGPT2Tokenizer
Padding Token<|dummy_87|>
Vocabulary Size100352
Torch Data Typebfloat16

Quantized Models of the Phi 4

Model
Likes
Downloads
VRAM
Unsloth Phi 4 4bit62918 GB

Best Alternatives to Phi 4

Best Alternatives
Context / RAM
Downloads
Likes
...kpoints 511 Onlytrainex Merged31K / 29.4 GB250
...ruct Extended 3500steps Merged31K / 29.4 GB710
E2 Phi4 Instruct NTK Scaled31K / 29.4 GB200
...ct NTK Scaled 1000steps Merged31K / 29.4 GB50
Luminis Phi 416K / 29.5 GB110913
Orca Mini Phi 416K / 29.4 GB8858
Phi 4 Sce Exp V0.116K / 29.5 GB31
Phi 4 RR Shoup16K / 29.5 GB42
Phi 4 Model Stock V416K / 29.5 GB189
Phi 4 RStock V0.116K / 29.5 GB180

Rank the Phi 4 Capabilities

🆘 Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! 🌟

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 53999 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a