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

Dhptl/Phi-3-mini-128k-instruct-GGUF overview

<div align="center" Phi 3 mini 128k instruct — GGUF Quantizations Model on HF https://img.shields.io/badge/šŸ¤— Model on HuggingFace yellow https://huggingface.c…

transformersggufnlplicense:mittext-generationtext-generation-inferencesafetensorsconversationalregion:useval-resultscodecustom_codeenquantizedphi3base_model:microsoft/Phi-3-mini-128k-instructbase_model:quantized:microsoft/Phi-3-mini-128k-instructendpoints_compatible

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

Downloads
0
Likes
0
Pipeline
text-generation
Author

Repository Files & Downloads

10 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Phi-3-mini-128k-instruct-Q2_K.ggufGGUFQ2_K1.40 GBDownload
Phi-3-mini-128k-instruct-Q3_K_L.ggufGGUFQ3_K_L2.05 GBDownload
Phi-3-mini-128k-instruct-Q3_K_M.ggufGGUFQ3_K_M1.83 GBDownload
Phi-3-mini-128k-instruct-Q3_K_S.ggufGGUFQ3_K_S1.57 GBDownload
Phi-3-mini-128k-instruct-Q4_K_M.ggufGGUFQ4_K_M2.23 GBDownload
Phi-3-mini-128k-instruct-Q4_K_S.ggufGGUFQ4_K_S2.05 GBDownload
Phi-3-mini-128k-instruct-Q5_K_M.ggufGGUFQ5_K_M2.57 GBDownload
Phi-3-mini-128k-instruct-Q5_K_S.ggufGGUFQ5_K_S2.46 GBDownload
Phi-3-mini-128k-instruct-Q6_K.ggufGGUFQ6_K2.92 GBDownload
Phi-3-mini-128k-instruct-Q8_0.ggufGGUFQ8_03.78 GBDownload

Model Details

Model IDDhptl/Phi-3-mini-128k-instruct-GGUF
AuthorDhptl
Pipelinetext-generation
Licensemit
Base modelmicrosoft/Phi-3-mini-128k-instruct
Last modified2026-06-18T05:23:45.000Z

Model README

---

license: mit

base_model: microsoft/Phi-3-mini-128k-instruct

pipeline_tag: text-generation

tags:

- nlp

- license:mit

- text-generation

- text-generation-inference

- safetensors

- conversational

- region:us

- gguf

- eval-results

- code

- custom_code

- transformers

- en

- quantized

- phi3

language:

- en

---

<div align="center">

Phi-3-mini-128k-instruct — GGUF Quantizations

![Model on HF](https://huggingface.co/Dhptl/Phi-3-mini-128k-instruct-GGUF)

![Original Model](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct)

![quant-kit](https://github.com/DhruvalPtl/quant-kit)

Quantized GGUF versions of microsoft/Phi-3-mini-128k-instruct

Works with llama.cpp Ā· Ollama Ā· LM Studio Ā· Open WebUI Ā· Jan

Quantized by Dhptl on June 18, 2026 using quant-kit

</div>

---

āš–ļø The Pareto Frontier — Efficiency vs Intelligence

> Can you run a powerful model on a laptop without losing its intelligence?

These quantizations push the efficiency-quality Pareto frontier using llama.cpp's

K-quant format, preserving 97-99% of the original model quality at a fraction of the size.

| Benchmark | Original (FP16) | Q4_K_M | Quality Retained |

|---|---|---|---|

| MMLU Pro | See original card | Run benchmarks | ~97-99% |

| HellaSwag | See original card | Run benchmarks | ~97-99% |

| ARC Challenge | See original card | Run benchmarks | ~97-99% |

| TruthfulQA | See original card | Run benchmarks | ~97-99% |

| GSM8K | See original card | Run benchmarks | ~97-99% |

---

šŸ“¦ Available Files

| Filename | Size | RAM Required | Quant | Quality | Best For |

|---|---|---|---|---|---|

| Phi-3-mini-128k-instruct-Q2_K.gguf | 1.40 GB | ~2.9 GB | Q2_K | ⭐ | Extreme compression, significant quality loss. |

| Phi-3-mini-128k-instruct-Q3_K_L.gguf | 2.05 GB | ~3.5 GB | Q3_K_L | ⭐⭐⭐ | Slightly better than Q3_K_M, still a compromise. |

| Phi-3-mini-128k-instruct-Q3_K_M.gguf | 1.83 GB | ~3.3 GB | Q3_K_M | ⭐⭐⭐ | Very small file. Quality drop noticeable. |

| Phi-3-mini-128k-instruct-Q3_K_S.gguf | 1.57 GB | ~3.1 GB | Q3_K_S | ⭐⭐ | Very high compression, high quality loss. |

| Phi-3-mini-128k-instruct-Q4_K_M.gguf | 2.23 GB | ~3.7 GB | Q4_K_M āœ… Recommended | ⭐⭐⭐⭐ | Best balance of size and quality. Recommended for most users. |

| Phi-3-mini-128k-instruct-Q4_K_S.gguf | 2.05 GB | ~3.6 GB | Q4_K_S | ⭐⭐⭐½ | Good speed/size balance, slight quality loss. |

| Phi-3-mini-128k-instruct-Q5_K_M.gguf | 2.57 GB | ~4.1 GB | Q5_K_M | ⭐⭐⭐⭐½ | Better quality than Q4, slightly larger. Great if you have the RAM. |

| Phi-3-mini-128k-instruct-Q5_K_S.gguf | 2.46 GB | ~4.0 GB | Q5_K_S | ⭐⭐⭐⭐ | Large but accurate. |

| Phi-3-mini-128k-instruct-Q6_K.gguf | 2.92 GB | ~4.4 GB | Q6_K | ⭐⭐⭐⭐⭐ | Near-perfect quality, very large. |

| Phi-3-mini-128k-instruct-Q8_0.gguf | 3.78 GB | ~5.3 GB | Q8_0 | ⭐⭐⭐⭐⭐ | Closest to original quality. Use when RAM is not a concern. |

šŸ’” Which file should I download?

  • Most users: Phi-3-mini-128k-instruct-Q4_K_M.gguf — best balance of size and quality
  • High RAM (32GB+): Phi-3-mini-128k-instruct-Q8_0.gguf — near-original quality
  • Low RAM (8GB): Phi-3-mini-128k-instruct-Q3_K_M.gguf — fits in 8GB with room to spare

---

⚔ Speed Benchmarks

Run python benchmark.py --model Phi-3-mini-128k-instruct to generate speed results.

---

🧠 Quality Benchmarks

Run kaggle_bench.ipynb on Kaggle to benchmark this model.

---

šŸš€ How to Use

Ollama

ollama run dhptl/phi-3-mini-128k-instruct

LM Studio / Jan / Open WebUI

Search for Dhptl/Phi-3-mini-128k-instruct in the model browser.

llama.cpp CLI

# Download the binary from https://github.com/ggerganov/llama.cpp/releases
./llama-cli \
  -m Phi-3-mini-128k-instruct-Q4_K_M.gguf \
  -p "You are a helpful assistant." \
  --conversation \
  -n 512

Python — llama-cpp-python

from llama_cpp import Llama

llm = Llama(
    model_path="./Phi-3-mini-128k-instruct-Q4_K_M.gguf",
    n_gpu_layers=-1,   # -1 = offload everything to GPU
    n_ctx=4096,
)

response = llm.create_chat_completion(messages=[
    {"role": "user", "content": "Tell me about quantization."}
])
print(response["choices"][0]["message"]["content"])

---

šŸ” About GGUF Quantization

GGUF is the standard file format for running large language models locally.

Quantization reduces the number of bits per weight:

| Format | Bits/weight | Size vs FP16 | Quality |

|---|---|---|---|

| Q2_K | ~2.6 | 16% | ⭐ |

| Q3_K_M | ~3.3 | 21% | ⭐⭐⭐ |

| Q4_K_M | ~4.5 | 28% | ⭐⭐⭐⭐ ← sweet spot |

| Q5_K_M | ~5.6 | 35% | ⭐⭐⭐⭐½ |

| Q8_0 | ~8.5 | 53% | ⭐⭐⭐⭐⭐ |

---

šŸ’¬ Community & Feedback

Found an issue? Have a question? Open a Discussion in the Community tab above.

If these quantizations were useful, please consider:

  • ⭐ Starring quant-kit on GitHub
  • šŸ‘ Liking this model on HuggingFace
  • šŸ’¬ Leaving feedback in the Community tab

Run Dhptl/Phi-3-mini-128k-instruct-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