Llamacpp quants
Browse files- .gitattributes +23 -0
- Phi-3-mini-4k-instruct-IQ1_M.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ1_S.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ2_M.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ2_S.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ2_XS.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ2_XXS.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ3_M.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ3_S.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ3_XS.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ3_XXS.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ4_NL.gguf +3 -0
- Phi-3-mini-4k-instruct-IQ4_XS.gguf +3 -0
- Phi-3-mini-4k-instruct-Q2_K.gguf +3 -0
- Phi-3-mini-4k-instruct-Q3_K_L.gguf +3 -0
- Phi-3-mini-4k-instruct-Q3_K_M.gguf +3 -0
- Phi-3-mini-4k-instruct-Q3_K_S.gguf +3 -0
- Phi-3-mini-4k-instruct-Q4_K_M.gguf +3 -0
- Phi-3-mini-4k-instruct-Q4_K_S.gguf +3 -0
- Phi-3-mini-4k-instruct-Q5_K_M.gguf +3 -0
- Phi-3-mini-4k-instruct-Q5_K_S.gguf +3 -0
- Phi-3-mini-4k-instruct-Q6_K.gguf +3 -0
- Phi-3-mini-4k-instruct-Q8_0.gguf +3 -0
- Phi-3-mini-4k-instruct.imatrix +3 -0
- README.md +89 -0
.gitattributes
CHANGED
@@ -33,3 +33,26 @@ 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-3-mini-4k-instruct-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Phi-3-mini-4k-instruct-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Phi-3-mini-4k-instruct-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Phi-3-mini-4k-instruct-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Phi-3-mini-4k-instruct-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Phi-3-mini-4k-instruct-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Phi-3-mini-4k-instruct-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Phi-3-mini-4k-instruct-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Phi-3-mini-4k-instruct-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Phi-3-mini-4k-instruct-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Phi-3-mini-4k-instruct-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Phi-3-mini-4k-instruct-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
48 |
+
Phi-3-mini-4k-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
49 |
+
Phi-3-mini-4k-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
+
Phi-3-mini-4k-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
+
Phi-3-mini-4k-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
52 |
+
Phi-3-mini-4k-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
53 |
+
Phi-3-mini-4k-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
54 |
+
Phi-3-mini-4k-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
55 |
+
Phi-3-mini-4k-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
56 |
+
Phi-3-mini-4k-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
57 |
+
Phi-3-mini-4k-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
58 |
+
Phi-3-mini-4k-instruct.imatrix filter=lfs diff=lfs merge=lfs -text
|
Phi-3-mini-4k-instruct-IQ1_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:557c0fbf7c26eb21ea90ffd8c632c1c14e7adc138a9ebe27bd45591c60917137
|
3 |
+
size 917106176
|
Phi-3-mini-4k-instruct-IQ1_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:759c51b8f3d5cda2ad3b837c6226ead7253575e5dbc240c2099b90b1227bf9ba
|
3 |
+
size 841608704
|
Phi-3-mini-4k-instruct-IQ2_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b70137825cfa42b3989dd702b0075487456af79013ecdcffdefb3b7b3628bb60
|
3 |
+
size 1316393984
|
Phi-3-mini-4k-instruct-IQ2_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a85015320990c781fec3cd97e2ece05f733a44a1f7080e1e4e9437b617f0bf20
|
3 |
+
size 1215730688
|
Phi-3-mini-4k-instruct-IQ2_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:795a96bf292be167f968d67c27d762cc73ea7795a8fdb3bada69fb4b4ae18c8f
|
3 |
+
size 1153035776
|
Phi-3-mini-4k-instruct-IQ2_XXS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51e18a51b7892a057e44742f1dc4da8fbd71567c71d1ab102f4d23b1f33ada53
|
3 |
+
size 1042935296
|
Phi-3-mini-4k-instruct-IQ3_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:246d521f09403c795eb0cc671bc4896e4a5bc98f418e6534a16fe030a9248739
|
3 |
+
size 1855599104
|
Phi-3-mini-4k-instruct-IQ3_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4ba3323c0dab07ff1b06afa7a1d6425f24641432b7cc76c54bee70ebf99b95f
|
3 |
+
size 1681797632
|
Phi-3-mini-4k-instruct-IQ3_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5cfe11a093ae14d266d62d6b61e8282db16bab02e9c542b85ef802b0831b686e
|
3 |
+
size 1625174528
|
Phi-3-mini-4k-instruct-IQ3_XXS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32d55f2ccdbee8add38db4f836fdc3118e97abaf22089e23f371fef9ca4dfe63
|
3 |
+
size 1513001984
|
Phi-3-mini-4k-instruct-IQ4_NL.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd02d9edfef4f59974214e7b69ee3288c543a1ab183d1bf092078976c99a0a01
|
3 |
+
size 2176176128
|
Phi-3-mini-4k-instruct-IQ4_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61a8b7c8c508945a01405cc4a21f3eb056ce65519529549aa11802ea50dd747f
|
3 |
+
size 2059851776
|
Phi-3-mini-4k-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72237d1e7c56abc777a2f4d1482f3eff4bcfc156566f226749bc47baa9608285
|
3 |
+
size 1416203264
|
Phi-3-mini-4k-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b886ff24761a0c626645b21f046615f319adb5b3a6c38c2172bcffcaa5aec902
|
3 |
+
size 2087596544
|
Phi-3-mini-4k-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8ace4cc331fd823d34f7f1ca064f2a85b0fcb4aa4b47b2955b772e46c1f98a4
|
3 |
+
size 1955475968
|
Phi-3-mini-4k-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1375a4c96851054d32af8eb071a3b3707b1f3276c6d3e9530620542cd10b13e
|
3 |
+
size 1681797632
|
Phi-3-mini-4k-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28a89b4ddb5766355f24e362ae4078b4c35b9ca9568df5fc9e6d9aeee4dee834
|
3 |
+
size 2393231360
|
Phi-3-mini-4k-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b408899adac5f56519e754901ad8fabbc0d77c62a24aa1abc0c608278cc3cc93
|
3 |
+
size 2188759040
|
Phi-3-mini-4k-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70994e18048c98ce7d30616706ecdecfefee86667e6db1b5bb4d01c8c99543f0
|
3 |
+
size 2815275008
|
Phi-3-mini-4k-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5797f7b13b7f2deb4b6a283077c66c20ee40577e58bf414e055af913dd2d53d
|
3 |
+
size 2641473536
|
Phi-3-mini-4k-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:597a483b0e56360cb488d3f8a5ec0fd2c3a3eb44da7bb69020b79ba7c1f6ce85
|
3 |
+
size 3135852032
|
Phi-3-mini-4k-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ac8ee48aeebf7d1b354691fd1e29e91c32ad88bbad10ad45ac880dcd4372a47
|
3 |
+
size 4061221376
|
Phi-3-mini-4k-instruct.imatrix
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:653f155c213fd3807d90c0bfae4869a58e47c8d52bdf1795ebccc0d82088878b
|
3 |
+
size 2232612
|
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
|
4 |
+
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
pipeline_tag: text-generation
|
8 |
+
tags:
|
9 |
+
- nlp
|
10 |
+
- code
|
11 |
+
widget:
|
12 |
+
- messages:
|
13 |
+
- role: user
|
14 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
15 |
+
quantized_by: bartowski
|
16 |
+
---
|
17 |
+
|
18 |
+
## Llamacpp imatrix Quantizations of Phi-3-mini-4k-instruct
|
19 |
+
|
20 |
+
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2756">b2756</a> for quantization.
|
21 |
+
|
22 |
+
Original model: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct
|
23 |
+
|
24 |
+
All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
|
25 |
+
|
26 |
+
## Prompt format
|
27 |
+
|
28 |
+
```
|
29 |
+
<s><|user|>
|
30 |
+
{system_prompt}<|end|>
|
31 |
+
<|assistant|>
|
32 |
+
<|user|>
|
33 |
+
{prompt}<|end|>
|
34 |
+
<|assistant|>
|
35 |
+
|
36 |
+
```
|
37 |
+
|
38 |
+
## Download a file (not the whole branch) from below:
|
39 |
+
|
40 |
+
| Filename | Quant type | File Size | Description |
|
41 |
+
| -------- | ---------- | --------- | ----------- |
|
42 |
+
| [Phi-3-mini-4k-instruct-Q8_0.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q8_0.gguf) | Q8_0 | 4.06GB | Extremely high quality, generally unneeded but max available quant. |
|
43 |
+
| [Phi-3-mini-4k-instruct-Q6_K.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q6_K.gguf) | Q6_K | 3.13GB | Very high quality, near perfect, *recommended*. |
|
44 |
+
| [Phi-3-mini-4k-instruct-Q5_K_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q5_K_M.gguf) | Q5_K_M | 2.81GB | High quality, *recommended*. |
|
45 |
+
| [Phi-3-mini-4k-instruct-Q5_K_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q5_K_S.gguf) | Q5_K_S | 2.64GB | High quality, *recommended*. |
|
46 |
+
| [Phi-3-mini-4k-instruct-Q4_K_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q4_K_M.gguf) | Q4_K_M | 2.39GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
47 |
+
| [Phi-3-mini-4k-instruct-Q4_K_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q4_K_S.gguf) | Q4_K_S | 2.18GB | Slightly lower quality with more space savings, *recommended*. |
|
48 |
+
| [Phi-3-mini-4k-instruct-IQ4_NL.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ4_NL.gguf) | IQ4_NL | 2.17GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
|
49 |
+
| [Phi-3-mini-4k-instruct-IQ4_XS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ4_XS.gguf) | IQ4_XS | 2.05GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
50 |
+
| [Phi-3-mini-4k-instruct-Q3_K_L.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q3_K_L.gguf) | Q3_K_L | 2.08GB | Lower quality but usable, good for low RAM availability. |
|
51 |
+
| [Phi-3-mini-4k-instruct-Q3_K_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q3_K_M.gguf) | Q3_K_M | 1.95GB | Even lower quality. |
|
52 |
+
| [Phi-3-mini-4k-instruct-IQ3_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ3_M.gguf) | IQ3_M | 1.85GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
53 |
+
| [Phi-3-mini-4k-instruct-IQ3_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ3_S.gguf) | IQ3_S | 1.68GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
|
54 |
+
| [Phi-3-mini-4k-instruct-Q3_K_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q3_K_S.gguf) | Q3_K_S | 1.68GB | Low quality, not recommended. |
|
55 |
+
| [Phi-3-mini-4k-instruct-IQ3_XS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ3_XS.gguf) | IQ3_XS | 1.62GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
56 |
+
| [Phi-3-mini-4k-instruct-IQ3_XXS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ3_XXS.gguf) | IQ3_XXS | 1.51GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
57 |
+
| [Phi-3-mini-4k-instruct-Q2_K.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-Q2_K.gguf) | Q2_K | 1.41GB | Very low quality but surprisingly usable. |
|
58 |
+
| [Phi-3-mini-4k-instruct-IQ2_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ2_M.gguf) | IQ2_M | 1.31GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
59 |
+
| [Phi-3-mini-4k-instruct-IQ2_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ2_S.gguf) | IQ2_S | 1.21GB | Very low quality, uses SOTA techniques to be usable. |
|
60 |
+
| [Phi-3-mini-4k-instruct-IQ2_XS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ2_XS.gguf) | IQ2_XS | 1.15GB | Very low quality, uses SOTA techniques to be usable. |
|
61 |
+
| [Phi-3-mini-4k-instruct-IQ2_XXS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ2_XXS.gguf) | IQ2_XXS | 1.04GB | Lower quality, uses SOTA techniques to be usable. |
|
62 |
+
| [Phi-3-mini-4k-instruct-IQ1_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ1_M.gguf) | IQ1_M | .91GB | Extremely low quality, *not* recommended. |
|
63 |
+
| [Phi-3-mini-4k-instruct-IQ1_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-GGUF/blob/main/Phi-3-mini-4k-instruct-IQ1_S.gguf) | IQ1_S | .84GB | Extremely low quality, *not* recommended. |
|
64 |
+
|
65 |
+
## Which file should I choose?
|
66 |
+
|
67 |
+
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
68 |
+
|
69 |
+
The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
|
70 |
+
|
71 |
+
If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
|
72 |
+
|
73 |
+
If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
|
74 |
+
|
75 |
+
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
76 |
+
|
77 |
+
If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
|
78 |
+
|
79 |
+
If you want to get more into the weeds, you can check out this extremely useful feature chart:
|
80 |
+
|
81 |
+
[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
|
82 |
+
|
83 |
+
But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
|
84 |
+
|
85 |
+
These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
|
86 |
+
|
87 |
+
The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
|
88 |
+
|
89 |
+
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
|