yagilb commited on
Commit
2334de5
1 Parent(s): d3d0db1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -72
README.md CHANGED
@@ -188,75 +188,4 @@ extra_gated_button_content: Submit
188
  quantized_by: bartowski
189
  ---
190
 
191
- ## Llamacpp Quantizations of Meta-Llama-3-8B-Instruct-imatrix
192
-
193
- Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/experimental">experimental</a> for quantization.
194
-
195
- Original model: https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct
196
-
197
- All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
198
-
199
- ## Prompt format
200
-
201
- ```
202
- <|begin_of_text|><|start_header_id|>system<|end_header_id|>
203
-
204
- {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
205
-
206
- {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
207
-
208
-
209
- ```
210
-
211
- ## Download a file (not the whole branch) from below:
212
-
213
- | Filename | Quant type | File Size | Description |
214
- | -------- | ---------- | --------- | ----------- |
215
- | [Meta-Llama-3-8B-Instruct-imatrix-Q8_0.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q8_0.gguf) | Q8_0 | | Extremely high quality, generally unneeded but max available quant. |
216
- | [Meta-Llama-3-8B-Instruct-imatrix-Q6_K.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q6_K.gguf) | Q6_K | | Very high quality, near perfect, *recommended*. |
217
- | [Meta-Llama-3-8B-Instruct-imatrix-Q5_K_M.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q5_K_M.gguf) | Q5_K_M | | High quality, *recommended*. |
218
- | [Meta-Llama-3-8B-Instruct-imatrix-Q5_K_S.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q5_K_S.gguf) | Q5_K_S | | High quality, *recommended*. |
219
- | [Meta-Llama-3-8B-Instruct-imatrix-Q4_K_M.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF/blob/main/Meta-Llama-3-8B-Instruct-imatrix-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
220
- | [Meta-Llama-3-8B-Instruct-imatrix-Q4_K_S.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q4_K_S.gguf) | Q4_K_S | | Slightly lower quality with more space savings, *recommended*. |
221
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ4_NL.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ4_NL.gguf) | IQ4_NL | | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
222
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ4_XS.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ4_XS.gguf) | IQ4_XS | | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
223
- | [Meta-Llama-3-8B-Instruct-imatrix-Q3_K_L.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q3_K_L.gguf) | Q3_K_L | | Lower quality but usable, good for low RAM availability. |
224
- | [Meta-Llama-3-8B-Instruct-imatrix-Q3_K_M.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q3_K_M.gguf) | Q3_K_M | | Even lower quality. |
225
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ3_M.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ3_M.gguf) | IQ3_M | | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
226
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ3_S.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ3_S.gguf) | IQ3_S | | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
227
- | [Meta-Llama-3-8B-Instruct-imatrix-Q3_K_S.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q3_K_S.gguf) | Q3_K_S | | Low quality, not recommended. |
228
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ3_XS.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ3_XS.gguf) | IQ3_XS | | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
229
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ3_XXS.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ3_XXS.gguf) | IQ3_XXS | | Lower quality, new method with decent performance, comparable to Q3 quants. |
230
- | [Meta-Llama-3-8B-Instruct-imatrix-Q2_K.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-Q2_K.gguf) | Q2_K | | Very low quality but surprisingly usable. |
231
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ2_M.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ2_M.gguf) | IQ2_M | | Very low quality, uses SOTA techniques to also be surprisingly usable. |
232
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ2_S.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ2_S.gguf) | IQ2_S | | Very low quality, uses SOTA techniques to be usable. |
233
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ2_XS.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ2_XS.gguf) | IQ2_XS | | Very low quality, uses SOTA techniques to be usable. |
234
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ2_XXS.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ2_XXS.gguf) | IQ2_XXS | | Lower quality, uses SOTA techniques to be usable. |
235
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ1_M.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ1_M.gguf) | IQ1_M | | Extremely low quality, *not* recommended. |
236
- | [Meta-Llama-3-8B-Instruct-imatrix-IQ1_S.gguf](https://huggingface.co/bartowski/Meta-Llama-3-8B-Instruct-imatrix-GGUF//main/Meta-Llama-3-8B-Instruct-imatrix-IQ1_S.gguf) | IQ1_S | | Extremely low quality, *not* recommended. |
237
-
238
- ## Which file should I choose?
239
-
240
- A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
241
-
242
- 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.
243
-
244
- 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.
245
-
246
- 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.
247
-
248
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
249
-
250
- 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.
251
-
252
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
253
-
254
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
255
-
256
- 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.
257
-
258
- 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.
259
-
260
- 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.
261
-
262
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
 
188
  quantized_by: bartowski
189
  ---
190
 
191
+ Description coming soon.