phi-2 β€” iMatrix GGUF

GGUF quantizations of microsoft/phi-2, published by Liodon AI.

Quick Start

llama.cpp

llama-cli -hf liodon-ai/phi-2-imatrix-GGUF:Q4_K_M

Ollama

ollama run hf.co/liodon-ai/phi-2-imatrix-GGUF:Q4_K_M

LM Studio / Jan β€” search liodon-ai/phi-2-imatrix-GGUF and pick your quant.

Quants

Quant Size VRAM est. Notes
IQ2_M 1.02 GB ~1 GB 2-bit, iMatrix β€” smallest usable
IQ3_M 1.32 GB ~2 GB 3-bit, iMatrix β€” great quality/size tradeoff
IQ4_XS 1.52 GB ~2 GB 4-bit extra-small, iMatrix
Q4_K_M 1.74 GB ~2 GB 4-bit, iMatrix-calibrated (recommended)
Q5_K_M 2.00 GB ~2 GB 5-bit, iMatrix-calibrated
Q6_K 2.29 GB ~3 GB 6-bit, iMatrix-calibrated, near-lossless
Q8_0 2.96 GB ~3 GB 8-bit, essentially lossless

What is iMatrix?

Standard quantization treats all weights equally. iMatrix runs 128 calibration chunks through the full-precision model to find which weights matter most, then allocates more precision where it counts. At Q2/Q3/Q4 this means noticeably better coherence and instruction-following β€” same file size, better output.

Calibration: 2M tokens of WikiText-103.

Also see plain (non-iMatrix) quants: liodon-ai/phi-2-GGUF

Source


Quantized by Liodon AI

Downloads last month
425
GGUF
Model size
3B params
Architecture
phi2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

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

Model tree for liodon-ai/phi-2-imatrix-GGUF

Base model

microsoft/phi-2
Quantized
(61)
this model