Phi 4 by microsoft

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

  Arxiv:2412.08905   Autotrain compatible   Chat   Code   Conversational   Custom code   En   Endpoints compatible   Math   Phi   Phi3   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF ๐Ÿค—: https://huggingface.co/microsoft/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 (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-01-17
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 4bit292000210 GB
Phi 4 Bnb 4bit924669 GB
Phi 4 GGUF22342065 GB
Phi 4 4bit142299358 GB
Phi 4 8bit92288415 GB
...perThoughts CoT 14B 16K O1 QwQ1029 GB
Phi 4 6bit413711 GB

Best Alternatives to Phi 4

Best Alternatives
Context / RAM
Downloads
Likes
Microsoft Phi 416K / 29.4 GB687854
Phi 4 Abliterated16K / 29.4 GB38922
Phi 4 RP V016K / 29.5 GB402
Phi4 Abliterated16K / 29.4 GB3987
EZO Phi 4 V2.90016K / 29.4 GB620
Phi 4 Abliterated16K / 29.4 GB1714
Phi 4 Jackterated16K / 29.4 GB2882

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

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