bartowski commited on
Commit
f80be72
1 Parent(s): dfe4fd2

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,22 @@ 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-v0.3-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Phi-3-mini-4k-instruct-v0.3-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Phi-3-mini-4k-instruct-v0.3-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Phi-3-mini-4k-instruct-v0.3-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Phi-3-mini-4k-instruct-v0.3-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Phi-3-mini-4k-instruct-v0.3-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Phi-3-mini-4k-instruct-v0.3-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Phi-3-mini-4k-instruct-v0.3-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Phi-3-mini-4k-instruct-v0.3-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Phi-3-mini-4k-instruct-v0.3-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Phi-3-mini-4k-instruct-v0.3-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Phi-3-mini-4k-instruct-v0.3-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Phi-3-mini-4k-instruct-v0.3-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Phi-3-mini-4k-instruct-v0.3-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Phi-3-mini-4k-instruct-v0.3-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Phi-3-mini-4k-instruct-v0.3-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Phi-3-mini-4k-instruct-v0.3-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Phi-3-mini-4k-instruct-v0.3-f32.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Phi-3-mini-4k-instruct-v0.3.imatrix filter=lfs diff=lfs merge=lfs -text
Phi-3-mini-4k-instruct-v0.3-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee79a1cf13386c56301e50145d47e9047c862d63dc4b2012af80c430aaa4b36e
3
+ size 1316394080
Phi-3-mini-4k-instruct-v0.3-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65059e55769b067ad56a67bbf4c23f0e5030e804192d14314a18000abb08ba70
3
+ size 1215730784
Phi-3-mini-4k-instruct-v0.3-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cad75c2e30908de56eaa3f2eb0b4082188484bd16cd9391405b087df015ccac
3
+ size 1153035872
Phi-3-mini-4k-instruct-v0.3-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8ae984b5f1e9eda594f7e990b954771744c3bf0d86f59a4cf8e24569c110568
3
+ size 1855599200
Phi-3-mini-4k-instruct-v0.3-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b80eca96e3fa4ab5a0a91a3d3c8dde687d158aa125f5068c6f29ed62d043de00
3
+ size 1625174624
Phi-3-mini-4k-instruct-v0.3-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf692e76eeff015a177401254c25395b0fac9ba127e88dee512e1b05b0445e64
3
+ size 1513002080
Phi-3-mini-4k-instruct-v0.3-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b9742e28cf2b050fe5899815dad324c2c598a9c02e97d7eaa36f7e1feecdab0
3
+ size 2059851872
Phi-3-mini-4k-instruct-v0.3-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ab437609025b13c6af26de7eda11238820ef4ec1ebfa677f9607b25f0c21db3
3
+ size 1416203360
Phi-3-mini-4k-instruct-v0.3-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b15eb2c9c8b20e9bf78aa916243696b190e68db4cefa9a43615d96bf41554e1
3
+ size 2087596640
Phi-3-mini-4k-instruct-v0.3-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cda8e739c333a1e038430e33c2cfe611fbeb46bd2597d6ff1eb5679a8b61dc4a
3
+ size 1955476064
Phi-3-mini-4k-instruct-v0.3-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7ed393e5b71dc10391a898a4f8b1b56e8308569d391137f2553750d17b23fee
3
+ size 1681797728
Phi-3-mini-4k-instruct-v0.3-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40da6ecb025f56ecabe6acba90a27ad5d7879ec0698c94dfca3a38c32650581b
3
+ size 2393231456
Phi-3-mini-4k-instruct-v0.3-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7adfda0798eca72050b48e4061ec9d11f18c8c39b099d588569750077c729323
3
+ size 2188759136
Phi-3-mini-4k-instruct-v0.3-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed6be351f5b66f04a2f2a39ede9d92aae9093d6fb0a5927ffc4dc08dc91ed672
3
+ size 2815275104
Phi-3-mini-4k-instruct-v0.3-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2978b807c73b47e354e21646dd9ceab86fbc56c6c2b490afcd511f890b2a97ff
3
+ size 2641473632
Phi-3-mini-4k-instruct-v0.3-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24a5d36373bf5fae1c6830244175e33e24b97e58ea76200eb12a15d96b898b64
3
+ size 3135852128
Phi-3-mini-4k-instruct-v0.3-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cc3c9f5a692ef51ec8c518c1a4a29f25e09721ced71beb09c4942e46c7ae565
3
+ size 4061221472
Phi-3-mini-4k-instruct-v0.3-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62a691659dbf308b0d87b3f268721e7d77864a3d4f985712d485962c06cab88e
3
+ size 15285055808
Phi-3-mini-4k-instruct-v0.3.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eea3f443754cdd4be3d5be8b2aae7092e79eeb3601f2aa97e6b49a2819a6dd41
3
+ size 2232617
README.md ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ library_name: transformers
6
+ tags:
7
+ - axolotl
8
+ - finetune
9
+ - dpo
10
+ - microsoft
11
+ - phi
12
+ - pytorch
13
+ - phi-3
14
+ - nlp
15
+ - code
16
+ - chatml
17
+ base_model: microsoft/Phi-3-mini-4k-instruct
18
+ model_name: Phi-3-mini-4k-instruct-v0.3
19
+ pipeline_tag: text-generation
20
+ inference: false
21
+ model_creator: MaziyarPanahi
22
+ model-index:
23
+ - name: Phi-3-mini-4k-instruct-v0.3
24
+ results:
25
+ - task:
26
+ type: text-generation
27
+ name: Text Generation
28
+ dataset:
29
+ name: AI2 Reasoning Challenge (25-Shot)
30
+ type: ai2_arc
31
+ config: ARC-Challenge
32
+ split: test
33
+ args:
34
+ num_few_shot: 25
35
+ metrics:
36
+ - type: acc_norm
37
+ value: 63.48
38
+ name: normalized accuracy
39
+ source:
40
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
41
+ name: Open LLM Leaderboard
42
+ - task:
43
+ type: text-generation
44
+ name: Text Generation
45
+ dataset:
46
+ name: HellaSwag (10-Shot)
47
+ type: hellaswag
48
+ split: validation
49
+ args:
50
+ num_few_shot: 10
51
+ metrics:
52
+ - type: acc_norm
53
+ value: 80.86
54
+ name: normalized accuracy
55
+ source:
56
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
57
+ name: Open LLM Leaderboard
58
+ - task:
59
+ type: text-generation
60
+ name: Text Generation
61
+ dataset:
62
+ name: MMLU (5-Shot)
63
+ type: cais/mmlu
64
+ config: all
65
+ split: test
66
+ args:
67
+ num_few_shot: 5
68
+ metrics:
69
+ - type: acc
70
+ value: 69.24
71
+ name: accuracy
72
+ source:
73
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
74
+ name: Open LLM Leaderboard
75
+ - task:
76
+ type: text-generation
77
+ name: Text Generation
78
+ dataset:
79
+ name: TruthfulQA (0-shot)
80
+ type: truthful_qa
81
+ config: multiple_choice
82
+ split: validation
83
+ args:
84
+ num_few_shot: 0
85
+ metrics:
86
+ - type: mc2
87
+ value: 60.66
88
+ source:
89
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
90
+ name: Open LLM Leaderboard
91
+ - task:
92
+ type: text-generation
93
+ name: Text Generation
94
+ dataset:
95
+ name: Winogrande (5-shot)
96
+ type: winogrande
97
+ config: winogrande_xl
98
+ split: validation
99
+ args:
100
+ num_few_shot: 5
101
+ metrics:
102
+ - type: acc
103
+ value: 72.77
104
+ name: accuracy
105
+ source:
106
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
107
+ name: Open LLM Leaderboard
108
+ - task:
109
+ type: text-generation
110
+ name: Text Generation
111
+ dataset:
112
+ name: GSM8k (5-shot)
113
+ type: gsm8k
114
+ config: main
115
+ split: test
116
+ args:
117
+ num_few_shot: 5
118
+ metrics:
119
+ - type: acc
120
+ value: 74.53
121
+ name: accuracy
122
+ source:
123
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
124
+ name: Open LLM Leaderboard
125
+ quantized_by: bartowski
126
+ ---
127
+
128
+ ## Llamacpp imatrix Quantizations of Phi-3-mini-4k-instruct-v0.3
129
+
130
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3086">b3086</a> for quantization.
131
+
132
+ Original model: https://huggingface.co/MaziyarPanahi/Phi-3-mini-4k-instruct-v0.3
133
+
134
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
135
+
136
+ ## Prompt format
137
+
138
+ ```
139
+ <|im_start|> system
140
+ {system_prompt}<|im_end|>
141
+ <|im_start|> user
142
+ {prompt}<|im_end|>
143
+ <|im_start|> assistant
144
+
145
+ ```
146
+
147
+ ## Download a file (not the whole branch) from below:
148
+
149
+ | Filename | Quant type | File Size | Description |
150
+ | -------- | ---------- | --------- | ----------- |
151
+ | [Phi-3-mini-4k-instruct-v0.3-Q8_0.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q8_0.gguf) | Q8_0 | 4.06GB | Extremely high quality, generally unneeded but max available quant. |
152
+ | [Phi-3-mini-4k-instruct-v0.3-Q6_K.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q6_K.gguf) | Q6_K | 3.13GB | Very high quality, near perfect, *recommended*. |
153
+ | [Phi-3-mini-4k-instruct-v0.3-Q5_K_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q5_K_M.gguf) | Q5_K_M | 2.81GB | High quality, *recommended*. |
154
+ | [Phi-3-mini-4k-instruct-v0.3-Q5_K_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q5_K_S.gguf) | Q5_K_S | 2.64GB | High quality, *recommended*. |
155
+ | [Phi-3-mini-4k-instruct-v0.3-Q4_K_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q4_K_M.gguf) | Q4_K_M | 2.39GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
156
+ | [Phi-3-mini-4k-instruct-v0.3-Q4_K_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q4_K_S.gguf) | Q4_K_S | 2.18GB | Slightly lower quality with more space savings, *recommended*. |
157
+ | [Phi-3-mini-4k-instruct-v0.3-IQ4_XS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ4_XS.gguf) | IQ4_XS | 2.05GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
158
+ | [Phi-3-mini-4k-instruct-v0.3-Q3_K_L.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q3_K_L.gguf) | Q3_K_L | 2.08GB | Lower quality but usable, good for low RAM availability. |
159
+ | [Phi-3-mini-4k-instruct-v0.3-Q3_K_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q3_K_M.gguf) | Q3_K_M | 1.95GB | Even lower quality. |
160
+ | [Phi-3-mini-4k-instruct-v0.3-IQ3_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ3_M.gguf) | IQ3_M | 1.85GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
161
+ | [Phi-3-mini-4k-instruct-v0.3-Q3_K_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q3_K_S.gguf) | Q3_K_S | 1.68GB | Low quality, not recommended. |
162
+ | [Phi-3-mini-4k-instruct-v0.3-IQ3_XS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ3_XS.gguf) | IQ3_XS | 1.62GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
163
+ | [Phi-3-mini-4k-instruct-v0.3-IQ3_XXS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ3_XXS.gguf) | IQ3_XXS | 1.51GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
164
+ | [Phi-3-mini-4k-instruct-v0.3-Q2_K.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-Q2_K.gguf) | Q2_K | 1.41GB | Very low quality but surprisingly usable. |
165
+ | [Phi-3-mini-4k-instruct-v0.3-IQ2_M.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ2_M.gguf) | IQ2_M | 1.31GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
166
+ | [Phi-3-mini-4k-instruct-v0.3-IQ2_S.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ2_S.gguf) | IQ2_S | 1.21GB | Very low quality, uses SOTA techniques to be usable. |
167
+ | [Phi-3-mini-4k-instruct-v0.3-IQ2_XS.gguf](https://huggingface.co/bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF/blob/main/Phi-3-mini-4k-instruct-v0.3-IQ2_XS.gguf) | IQ2_XS | 1.15GB | Very low quality, uses SOTA techniques to be usable. |
168
+
169
+ ## Downloading using huggingface-cli
170
+
171
+ First, make sure you have hugginface-cli installed:
172
+
173
+ ```
174
+ pip install -U "huggingface_hub[cli]"
175
+ ```
176
+
177
+ Then, you can target the specific file you want:
178
+
179
+ ```
180
+ huggingface-cli download bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF --include "Phi-3-mini-4k-instruct-v0.3-Q4_K_M.gguf" --local-dir ./
181
+ ```
182
+
183
+ If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
184
+
185
+ ```
186
+ huggingface-cli download bartowski/Phi-3-mini-4k-instruct-v0.3-GGUF --include "Phi-3-mini-4k-instruct-v0.3-Q8_0.gguf/*" --local-dir Phi-3-mini-4k-instruct-v0.3-Q8_0
187
+ ```
188
+
189
+ You can either specify a new local-dir (Phi-3-mini-4k-instruct-v0.3-Q8_0) or download them all in place (./)
190
+
191
+ ## Which file should I choose?
192
+
193
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
194
+
195
+ 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.
196
+
197
+ 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.
198
+
199
+ 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.
200
+
201
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
202
+
203
+ 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.
204
+
205
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
206
+
207
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
208
+
209
+ 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.
210
+
211
+ 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.
212
+
213
+ 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.
214
+
215
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski