Phi 4 4bit by mlx-community

 ยป  All LLMs  ยป  mlx-community  ยป  Phi 4 4bit   URL Share it on

  4-bit   4bit   Autotrain compatible   Base model:microsoft/phi-4 Base model:quantized:microsoft...   Chat   Code   Conversational   Custom code   En   Endpoints compatible   Math   Mlx   Phi   Phi3   Quantized   Region:us   Safetensors   Sharded   Tensorflow

Phi 4 4bit 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 4bit (mlx-community/phi-4-4bit)

Phi 4 4bit Parameters and Internals

LLM NamePhi 4 4bit
Repository ๐Ÿค—https://huggingface.co/mlx-community/phi-4-4bit 
Base Model(s)  Phi 4   microsoft/phi-4
Model Size2.3b
Required VRAM8.2 GB
Updated2025-01-15
Maintainermlx-community
Model Typephi3
Model Files  5.3 GB: 1-of-2   2.9 GB: 2-of-2
Supported Languagesen
Quantization Type4bit
Model ArchitecturePhi3ForCausalLM
Licensemit
Context Length16384
Model Max Length16384
Transformers Version4.47.0
Tokenizer ClassGPT2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size100352
Torch Data Typebfloat16

Rank the Phi 4 4bit 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? 41418 in total.

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