Instructions to use mmnga/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 mmnga/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 mmnga/phi-4-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf mmnga/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 mmnga/phi-4-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf mmnga/phi-4-gguf:Q4_K_M
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:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mmnga/phi-4-gguf:Q4_K_M
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:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mmnga/phi-4-gguf:Q4_K_M
Use Docker
docker model run hf.co/mmnga/phi-4-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mmnga/phi-4-gguf with Ollama:
ollama run hf.co/mmnga/phi-4-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mmnga/phi-4-gguf with Docker Model Runner:
docker model run hf.co/mmnga/phi-4-gguf:Q4_K_M
- Lemonade
How to use mmnga/phi-4-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mmnga/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
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
language:
|
|
@@ -5,8 +6,6 @@ language:
|
|
| 5 |
- ja
|
| 6 |
datasets:
|
| 7 |
- TFMC/imatrix-dataset-for-japanese-llm
|
| 8 |
-
base_model:
|
| 9 |
-
- microsoft/phi-4
|
| 10 |
---
|
| 11 |
|
| 12 |
# phi-4-gguf
|
|
@@ -22,4 +21,4 @@ cd llama.cpp
|
|
| 22 |
cmake -B build -DGGML_CUDA=ON
|
| 23 |
cmake --build build --config Release
|
| 24 |
build/bin/llama-cli -m 'phi-4-Q4_0.gguf' -n 128 -c 128 -p 'あなたはプロの料理人です。レシピを教えて' -cnv
|
| 25 |
-
```
|
|
|
|
| 1 |
+
|
| 2 |
---
|
| 3 |
license: mit
|
| 4 |
language:
|
|
|
|
| 6 |
- ja
|
| 7 |
datasets:
|
| 8 |
- TFMC/imatrix-dataset-for-japanese-llm
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# phi-4-gguf
|
|
|
|
| 21 |
cmake -B build -DGGML_CUDA=ON
|
| 22 |
cmake --build build --config Release
|
| 23 |
build/bin/llama-cli -m 'phi-4-Q4_0.gguf' -n 128 -c 128 -p 'あなたはプロの料理人です。レシピを教えて' -cnv
|
| 24 |
+
```
|