Phi 4 by microsoft

 ยป  All LLMs  ยป  microsoft  ยป  Phi 4   URL Share it on

  Arxiv:2412.08905   Autotrain compatible   Chat   Code   Conversational   En   Endpoints compatible   Math   Phi   Phi3   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF ๐Ÿค—: https://huggingface.co/microsoft/phi-4 

Phi 4 Benchmarks

Phi 4 (microsoft/phi-4)

Phi 4 Parameters and Internals

LLM NamePhi 4
Repository ๐Ÿค—https://huggingface.co/microsoft/phi-4 
Model Size14.7b
Required VRAM29.4 GB
Updated2025-03-12
Maintainermicrosoft
Model Typephi3
Model Files  4.9 GB: 1-of-6   5.0 GB: 2-of-6   4.9 GB: 3-of-6   4.8 GB: 4-of-6   4.8 GB: 5-of-6   5.0 GB: 6-of-6
Supported Languagesen
Model ArchitecturePhi3ForCausalLM
Licensemit
Context Length16384
Model Max Length16384
Transformers Version4.47.0
Tokenizer ClassGPT2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size100352
Torch Data Typebfloat16

Quantized Models of the Phi 4

Model
Likes
Downloads
VRAM
Phi 4 Unsloth Bnb 4bit488511010 GB
Phi 4 Bnb 4bit14377399 GB
Parm 2 CoT 14B 16K O1 QwQ728129 GB
Phi 4 GGUF415153875 GB
...perThoughts CoT 14B 16K O1 QwQ626529 GB
Phi 4 4bit171844728 GB
Phi 4 8bit1348115 GB
Phi 4 6bit516011 GB

Best Alternatives to Phi 4

Best Alternatives
Context / RAM
Downloads
Likes
Microsoft Phi 416K / 29.4 GB60555
Flashlight V1.116K / 29.4 GB300
Phi4 Abliterated16K / 29.4 GB9510
Phi 4 RP V016K / 29.5 GB483
Phi 4 AbliteratedRP16K / 29.5 GB583
Phi 4 Abliterated16K / 29.4 GB13028
DNA R116K / 29.4 GB69130
Phi 4 Open R1 Distill EZOv116K / 29.4 GB21818
Phi 4 Bf1616K / 29.3 GB1861
EZO Phi 4 V2.90016K / 29.4 GB560

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? 44887 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227