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 senthilsdglakhsg/phi3-Q4.gguf
# Run inference directly in the terminal:
llama-cli -hf senthilsdglakhsg/phi3-Q4.gguf
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf senthilsdglakhsg/phi3-Q4.gguf
# Run inference directly in the terminal:
llama-cli -hf senthilsdglakhsg/phi3-Q4.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 senthilsdglakhsg/phi3-Q4.gguf
# Run inference directly in the terminal:
./llama-cli -hf senthilsdglakhsg/phi3-Q4.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 senthilsdglakhsg/phi3-Q4.gguf
# Run inference directly in the terminal:
./build/bin/llama-cli -hf senthilsdglakhsg/phi3-Q4.gguf
Use Docker
docker model run hf.co/senthilsdglakhsg/phi3-Q4.gguf
Quick Links

Phi-3 Mini (GGUF Quantized - Q4_K_M)

Model Description

This repository contains a quantized GGUF version of the Phi-3 Mini 128K Instruct model.

  • Base Model: microsoft/Phi-3-mini-128k-instruct
  • Format: GGUF
  • Quantization: Q4_K_M
  • Framework: llama.cpp

This model is optimized for efficient local inference with reduced memory usage.


Intended Use

  • Local LLM inference
  • Chatbots
  • Lightweight deployments
  • CPU/GPU inference using llama.cpp

Model Details

Base Model

  • Microsoft Phi-3 Mini (128K context)

Conversion

  • Converted from Hugging Face format โ†’ GGUF

Quantization

  • Method: Q4_K_M
  • Tool: llama.cpp quantize

This reduces model size while maintaining reasonable performance.


How to Use

Using llama.cpp

./llama-cli -m model-q4.gguf -p "Explain AI simply"
Downloads last month
46
GGUF
Model size
4B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support