Instructions to use WorkOffline/phi-4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use WorkOffline/phi-4-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf WorkOffline/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf WorkOffline/phi-4-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf WorkOffline/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf WorkOffline/phi-4-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf WorkOffline/phi-4-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf WorkOffline/phi-4-GGUF:Q4_K_M
Use Docker
docker model run hf.co/WorkOffline/phi-4-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use WorkOffline/phi-4-GGUF with Ollama:
ollama run hf.co/WorkOffline/phi-4-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use WorkOffline/phi-4-GGUF with Docker Model Runner:
docker model run hf.co/WorkOffline/phi-4-GGUF:Q4_K_M
- Lemonade
How to use WorkOffline/phi-4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WorkOffline/phi-4-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.phi-4-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
phi-4-GGUF
An unchanged copy of Phi-4 14B GGUF files, kept here so the WorkOffline app can download them from one place, pinned to an exact revision and checked against SHA-256.
- Original model: microsoft/phi-4
- GGUF files from: microsoft/phi-4-gguf
- Made by: Microsoft
- Licence: MIT License.
LICENSEis copied from https://huggingface.co/microsoft/phi-4-gguf/blob/6edc2ef6664b739a8e11e62f2672ff6afe0c15ac/LICENSE
| File here | Copied from | Upstream revision | Size (bytes) | SHA-256 |
|---|---|---|---|---|
phi-4-Q4_K_M.gguf |
microsoft/phi-4-gguf/phi-4-Q4_K.gguf |
6edc2ef6664b739a8e11e62f2672ff6afe0c15ac |
9053114560 | 5652b9be0ea4ae2842130d04fe31bc869fcb99a2b7106c53b4e754a343fd688f |
The bytes are identical to the upstream files; only the file name may differ. All credit for the model goes to its authors (microsoft) and for the GGUF conversion to microsoft. Use of the files is governed by the original licence.
- Downloads last month
- 50
Hardware compatibility
Log In to add your hardware
4-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for WorkOffline/phi-4-GGUF
Base model
microsoft/phi-4