Phi 4 by unsloth

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

  Arxiv:2412.08905   Autotrain compatible Base model:finetune:microsoft/...   Base model:microsoft/phi-4   Chat   Code   Conversational   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 (unsloth/phi-4)

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
Updated2025-02-05
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 4bit43348 GB

Best Alternatives to Phi 4

Best Alternatives
Context / RAM
Downloads
Likes
Phi 4 Model Stock V416K / 29.5 GB2457
Orca Mini Phi 416K / 29.4 GB3647
Phi 4 RR Shoup16K / 29.5 GB201
Phi 4 O116K / 29.4 GB65926
Phi 4 Model Stock16K / 29.5 GB2096
Phi 4 QwQ16K / 29.4 GB118713
Phi 4 RStock V0.116K / 29.5 GB140
Phi 4 Stock Ex16K / 29.5 GB382
Phi 4 Stock RP16K / 29.5 GB531
Phi 4 Empathetic16K / 29.4 GB24912

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

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