GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

inferenceport-ai/Phi-4-mini-instruct-Q4_K_M-GGUF overview

sharktide/Phi 4 mini instruct Q4 K M GGUF This model was converted to GGUF format from microsoft/Phi 4 mini instruct https://huggingface.co/microsoft/Phi 4 min…

transformersggufnlpcodellama-cppgguf-my-repotext-generationmultilingualarzhcsdanlenfifrdehehuitjakonopl

Runs locally from ~2.32 GB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
text-generation

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
phi-4-mini-instruct-q4_k_m.ggufGGUFQ4_K_M2.32 GBDownload

Model Details

Model IDinferenceport-ai/Phi-4-mini-instruct-Q4_K_M-GGUF
Authorinferenceport-ai
Pipelinetext-generation
Licensemit
Base modelmicrosoft/Phi-4-mini-instruct
Last modified2026-07-28T04:40:09.000Z

Model README

---

language:

  • multilingual
  • ar
  • zh
  • cs
  • da
  • nl
  • en
  • fi
  • fr
  • de
  • he
  • hu
  • it
  • ja
  • ko
  • 'no'
  • pl
  • pt
  • ru
  • es
  • sv
  • th
  • tr
  • uk

library_name: transformers

license: mit

license_link: https://huggingface.co/microsoft/Phi-4-mini-instruct/resolve/main/LICENSE

pipeline_tag: text-generation

tags:

  • nlp
  • code
  • llama-cpp
  • gguf-my-repo

widget:

  • messages:

- role: user

content: Can you provide ways to eat combinations of bananas and dragonfruits?

base_model: microsoft/Phi-4-mini-instruct

---

sharktide/Phi-4-mini-instruct-Q4_K_M-GGUF

This model was converted to GGUF format from microsoft/Phi-4-mini-instruct using llama.cpp via the ggml.ai's GGUF-my-repo space.

Refer to the original model card for more details on the model.

Use with llama.cpp

Install llama.cpp through brew (works on Mac and Linux)

brew install llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

llama-cli --hf-repo sharktide/Phi-4-mini-instruct-Q4_K_M-GGUF --hf-file phi-4-mini-instruct-q4_k_m.gguf -p "The meaning to life and the universe is"

Server:

llama-server --hf-repo sharktide/Phi-4-mini-instruct-Q4_K_M-GGUF --hf-file phi-4-mini-instruct-q4_k_m.gguf -c 2048

Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.

Step 1: Clone llama.cpp from GitHub.

git clone https://github.com/ggerganov/llama.cpp

Step 2: Move into the llama.cpp folder and build it with LLAMA_CURL=1 flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).

cd llama.cpp && LLAMA_CURL=1 make

Step 3: Run inference through the main binary.

./llama-cli --hf-repo sharktide/Phi-4-mini-instruct-Q4_K_M-GGUF --hf-file phi-4-mini-instruct-q4_k_m.gguf -p "The meaning to life and the universe is"

or

./llama-server --hf-repo sharktide/Phi-4-mini-instruct-Q4_K_M-GGUF --hf-file phi-4-mini-instruct-q4_k_m.gguf -c 2048

Run inferenceport-ai/Phi-4-mini-instruct-Q4_K_M-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models