How to use from
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 cngchis/phi4-mini-intent-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf cngchis/phi4-mini-intent-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 cngchis/phi4-mini-intent-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf cngchis/phi4-mini-intent-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 cngchis/phi4-mini-intent-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf cngchis/phi4-mini-intent-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 cngchis/phi4-mini-intent-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf cngchis/phi4-mini-intent-GGUF:Q4_K_M
Use Docker
docker model run hf.co/cngchis/phi4-mini-intent-GGUF:Q4_K_M
Quick Links
A newer version of this model is available: cngchis/phi4-mini-intent

About

Static GGUF quantization for an Intent Classification model.

This model is converted from a Hugging Face checkpoint and optimized for local inference using llama.cpp compatible runtimes.

The model is designed for predicting intent labels from user input text.


Usage

If you are unsure how to use GGUF files, refer to: https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF

Basic usage with llama.cpp:

./main -m model.Q4_K_M.gguf -p "Your input text here"

For classification tasks, ensure your prompt format matches the training setup (e.g., instruction or label format).


Provided Quant

Link Type Size/GB Notes
GGUF Q4_K_M ~X.X 2.5 recommended balance of speed and quality

Notes

  • This model is fine-tuned for intent classification tasks only
  • Best performance when input follows the same format as training data
  • Q4_K_M provides a good trade-off between accuracy and inference speed

FAQ / Requests

Thanks

Thanks to the open-source GGUF ecosystem (llama.cpp, ggml) and Hugging Face community.

Downloads last month
2
GGUF
Model size
4B params
Architecture
phi3
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 cngchis/phi4-mini-intent-GGUF

Quantized
(3)
this model

Dataset used to train cngchis/phi4-mini-intent-GGUF

Space using cngchis/phi4-mini-intent-GGUF 1