PY-AI-Dev commited on
Commit
d0240d4
·
verified ·
1 Parent(s): 2c942b0

Add iMatrix GGUF quantizations for Phi-4-mini-instruct

Browse files
.gitattributes CHANGED
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Phi-4-mini-instruct-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Phi-4-mini-instruct-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Phi-4-mini-instruct-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Phi-4-mini-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Phi-4-mini-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Phi-4-mini-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Phi-4-mini-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Phi-4-mini-instruct-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa7bf8020ad7972eaeafd03f133b89762db7f4343a559500533a5472a4fe15a4
3
+ size 1562475136
Phi-4-mini-instruct-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b20c7edfaebb97509157675a9699da9d017233fd805f808eae9814e3f647749
3
+ size 2017656448
Phi-4-mini-instruct-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7c2f00af33115a5e148e8da2d320cd0c29d06b02a9b91e95e5a889b1dda6e11
3
+ size 2224488064
Phi-4-mini-instruct-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:348a036e5145465545eacc7aee6a383fca50b76e68cf90d10caa2ca51a5af592
3
+ size 2493841024
Phi-4-mini-instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df4deb00ebdbf46ac9b9f6a1e761f20b37dac4cd6ea3421281b17600ff53b0b
3
+ size 2814705280
Phi-4-mini-instruct-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f248b8065fc038fc08368ee73ff3272be6decf49605f9cd4139cacc5e8a105b8
3
+ size 3155623552
Phi-4-mini-instruct-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c63915f458d3f0f4b5bf73e110c744c62447f7d06284cd1864841bdfa91ce9c5
3
+ size 4084611712
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: microsoft/Phi-4-mini-instruct
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - gguf
7
+ - local-llm
8
+ - llama.cpp
9
+ - lm-studio
10
+ - quantized
11
+ - imatrix
12
+ - sub-4-bit
13
+ - phi3
14
+ ---
15
+
16
+ # Phi-4-mini-instruct — iMatrix GGUF
17
+
18
+ GGUF quantizations of [microsoft/Phi-4-mini-instruct](https://huggingface.co/microsoft/Phi-4-mini-instruct), published by [Liodon AI](https://huggingface.co/liodon-ai).
19
+
20
+ ## Quick Start
21
+
22
+ **llama.cpp**
23
+ ```bash
24
+ llama-cli -hf liodon-ai/Phi-4-mini-instruct-imatrix-GGUF:Q4_K_M
25
+ ```
26
+
27
+ **Ollama**
28
+ ```bash
29
+ ollama run hf.co/liodon-ai/Phi-4-mini-instruct-imatrix-GGUF:Q4_K_M
30
+ ```
31
+
32
+ **LM Studio / Jan** — search `liodon-ai/Phi-4-mini-instruct-imatrix-GGUF` and pick your quant.
33
+
34
+ ## Quants
35
+
36
+ | Quant | Size | VRAM est. | Notes |
37
+ |-------|------|-----------|-------|
38
+ | `IQ2_M` | 1.56 GB | ~2 GB | 2-bit, iMatrix — smallest usable |
39
+ | `IQ3_M` | 2.02 GB | ~2 GB | 3-bit, iMatrix — great quality/size tradeoff |
40
+ | `IQ4_XS` | 2.22 GB | ~3 GB | 4-bit extra-small, iMatrix |
41
+ | `Q4_K_M` | 2.49 GB | ~3 GB | 4-bit, iMatrix-calibrated (recommended) |
42
+ | `Q5_K_M` | 2.81 GB | ~3 GB | 5-bit, iMatrix-calibrated |
43
+ | `Q6_K` | 3.16 GB | ~4 GB | 6-bit, iMatrix-calibrated, near-lossless |
44
+ | `Q8_0` | 4.08 GB | ~5 GB | 8-bit, essentially lossless |
45
+
46
+
47
+ ## What is iMatrix?
48
+
49
+ Standard quantization treats all weights equally. iMatrix runs 128 calibration chunks through
50
+ the full-precision model to find which weights matter most, then allocates more precision where
51
+ it counts. At Q2/Q3/Q4 this means noticeably better coherence and instruction-following —
52
+ **same file size, better output**.
53
+
54
+ Calibration: 2M tokens of [WikiText-103](https://huggingface.co/datasets/wikitext).
55
+
56
+ > Also see plain (non-iMatrix) quants: `liodon-ai/Phi-4-mini-instruct-GGUF`
57
+
58
+ ## Source
59
+
60
+ - **Model**: [microsoft/Phi-4-mini-instruct](https://huggingface.co/microsoft/Phi-4-mini-instruct)
61
+ - **License**: other
62
+
63
+ ---
64
+ *Quantized by [Liodon AI](https://huggingface.co/liodon-ai)*