GGUF
English
Japanese
imatrix
conversational
How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf mmnga/phi-4-gguf:
# Run inference directly in the terminal:
llama-cli -hf mmnga/phi-4-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf mmnga/phi-4-gguf:
# Run inference directly in the terminal:
llama-cli -hf mmnga/phi-4-gguf:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf mmnga/phi-4-gguf:
# Run inference directly in the terminal:
./llama-cli -hf mmnga/phi-4-gguf:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf mmnga/phi-4-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf mmnga/phi-4-gguf:
Use Docker
docker model run hf.co/mmnga/phi-4-gguf:
Quick Links

phi-4-gguf

microsoftさんが公開しているphi-4のggufフォーマット変換版です。

imatrixのデータはTFMC/imatrix-dataset-for-japanese-llmを使用して作成しました。

Usage

git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release
build/bin/llama-cli -m 'phi-4-Q4_0.gguf' -n 128 -c 128 -p 'あなたはプロの料理人です。レシピを教えて' -cnv
Downloads last month
241
GGUF
Model size
15B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

1-bit

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mmnga/phi-4-gguf

Base model

microsoft/phi-4
Quantized
(151)
this model

Dataset used to train mmnga/phi-4-gguf