初始化项目,由ModelHub XC社区提供模型
Model: bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF Source: Original Platform
This commit is contained in:
60
.gitattributes
vendored
Normal file
60
.gitattributes
vendored
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-imatrix.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
187
README.md
Normal file
187
README.md
Normal file
@@ -0,0 +1,187 @@
|
|||||||
|
---
|
||||||
|
quantized_by: bartowski
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
base_model_relation: quantized
|
||||||
|
base_model: SicariusSicariiStuff/Llama-3.3-8B-Instruct-128K_Abliterated
|
||||||
|
license: llama3.3
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
widget:
|
||||||
|
- text: Llama-3.3-8B-Instruct-128K_Abliterated
|
||||||
|
output:
|
||||||
|
url: https://huggingface.co/SicariusSicariiStuff/Llama-3.3-8B-Instruct-128K_Abliterated/resolve/main/Images/Llama-3.3-8B-Instruct-128K_Abliterated.png
|
||||||
|
---
|
||||||
|
|
||||||
|
## Llamacpp imatrix Quantizations of Llama-3.3-8B-Instruct-128K_Abliterated by SicariusSicariiStuff
|
||||||
|
|
||||||
|
Using <a href="https://github.com/ggml-org/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggml-org/llama.cpp/releases/tag/b7610">b7610</a> for quantization.
|
||||||
|
|
||||||
|
Original model: https://huggingface.co/SicariusSicariiStuff/Llama-3.3-8B-Instruct-128K_Abliterated
|
||||||
|
|
||||||
|
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/82ae9b520227f57d79ba04add13d0d0d)
|
||||||
|
|
||||||
|
Run them in your choice of tools:
|
||||||
|
|
||||||
|
- [llama.cpp](https://github.com/ggml-org/llama.cpp)
|
||||||
|
- [LM Studio](https://lmstudio.ai/)
|
||||||
|
- [koboldcpp](https://github.com/LostRuins/koboldcpp)
|
||||||
|
- [Jan AI](https://www.jan.ai/)
|
||||||
|
- [Text Generation Web UI](https://github.com/oobabooga/text-generation-webui)
|
||||||
|
- [LoLLMs](https://github.com/ParisNeo/lollms)
|
||||||
|
|
||||||
|
Note: if it's a newly supported model, you may need to wait for an update from the developers.
|
||||||
|
|
||||||
|
## Prompt format
|
||||||
|
|
||||||
|
```
|
||||||
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
||||||
|
|
||||||
|
Cutting Knowledge Date: December 2023
|
||||||
|
Today Date: 30 Dec 2025
|
||||||
|
|
||||||
|
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
||||||
|
|
||||||
|
{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Download a file (not the whole branch) from below:
|
||||||
|
|
||||||
|
| Filename | Quant type | File Size | Split | Description |
|
||||||
|
| -------- | ---------- | --------- | ----- | ----------- |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-bf16.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-bf16.gguf) | bf16 | 16.07GB | false | Full BF16 weights. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q8_0.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q8_0.gguf) | Q8_0 | 8.54GB | false | Extremely high quality, generally unneeded but max available quant. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q6_K_L.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q6_K_L.gguf) | Q6_K_L | 6.85GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q6_K.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q6_K.gguf) | Q6_K | 6.60GB | false | Very high quality, near perfect, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_L.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_L.gguf) | Q5_K_L | 6.06GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_M.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_M.gguf) | Q5_K_M | 5.73GB | false | High quality, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_S.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q5_K_S.gguf) | Q5_K_S | 5.60GB | false | High quality, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_L.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_L.gguf) | Q4_K_L | 5.31GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q4_1.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_1.gguf) | Q4_1 | 5.13GB | false | Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_M.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_M.gguf) | Q4_K_M | 4.92GB | false | Good quality, default size for most use cases, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_XL.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_XL.gguf) | Q3_K_XL | 4.78GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_S.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_S.gguf) | Q4_K_S | 4.69GB | false | Slightly lower quality with more space savings, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q4_0.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_0.gguf) | Q4_0 | 4.68GB | false | Legacy format, offers online repacking for ARM and AVX CPU inference. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-IQ4_NL.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ4_NL.gguf) | IQ4_NL | 4.68GB | false | Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-IQ4_XS.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ4_XS.gguf) | IQ4_XS | 4.45GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_L.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_L.gguf) | Q3_K_L | 4.32GB | false | Lower quality but usable, good for low RAM availability. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_M.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_M.gguf) | Q3_K_M | 4.02GB | false | Low quality. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_M.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_M.gguf) | IQ3_M | 3.78GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q2_K_L.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q2_K_L.gguf) | Q2_K_L | 3.69GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_S.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q3_K_S.gguf) | Q3_K_S | 3.66GB | false | Low quality, not recommended. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_XS.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_XS.gguf) | IQ3_XS | 3.52GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_XXS.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | false | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-Q2_K.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q2_K.gguf) | Q2_K | 3.18GB | false | Very low quality but surprisingly usable. |
|
||||||
|
| [Llama-3.3-8B-Instruct-128K_Abliterated-IQ2_M.gguf](https://huggingface.co/bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF/blob/main/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-IQ2_M.gguf) | IQ2_M | 2.95GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
|
||||||
|
|
||||||
|
## Embed/output weights
|
||||||
|
|
||||||
|
Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.
|
||||||
|
|
||||||
|
## Downloading using huggingface-cli
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Click to view download instructions</summary>
|
||||||
|
|
||||||
|
First, make sure you have hugginface-cli installed:
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install -U "huggingface_hub[cli]"
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, you can target the specific file you want:
|
||||||
|
|
||||||
|
```
|
||||||
|
huggingface-cli download bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF --include "SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q4_K_M.gguf" --local-dir ./
|
||||||
|
```
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
```
|
||||||
|
huggingface-cli download bartowski/SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-GGUF --include "SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q8_0/*" --local-dir ./
|
||||||
|
```
|
||||||
|
|
||||||
|
You can either specify a new local-dir (SicariusSicariiStuff_Llama-3.3-8B-Instruct-128K_Abliterated-Q8_0) or download them all in place (./)
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## ARM/AVX information
|
||||||
|
|
||||||
|
Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.
|
||||||
|
|
||||||
|
Now, however, there is something called "online repacking" for weights. details in [this PR](https://github.com/ggml-org/llama.cpp/pull/9921). If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.
|
||||||
|
|
||||||
|
As of llama.cpp build [b4282](https://github.com/ggml-org/llama.cpp/releases/tag/b4282) you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.
|
||||||
|
|
||||||
|
Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to [this PR](https://github.com/ggml-org/llama.cpp/pull/10541) which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Click to view Q4_0_X_X information (deprecated</summary>
|
||||||
|
|
||||||
|
I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Click to view benchmarks on an AVX2 system (EPYC7702)</summary>
|
||||||
|
|
||||||
|
| model | size | params | backend | threads | test | t/s | % (vs Q4_0) |
|
||||||
|
| ------------------------------ | ---------: | ---------: | ---------- | ------: | ------------: | -------------------: |-------------: |
|
||||||
|
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp512 | 204.03 ± 1.03 | 100% |
|
||||||
|
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp1024 | 282.92 ± 0.19 | 100% |
|
||||||
|
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp2048 | 259.49 ± 0.44 | 100% |
|
||||||
|
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg128 | 39.12 ± 0.27 | 100% |
|
||||||
|
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg256 | 39.31 ± 0.69 | 100% |
|
||||||
|
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg512 | 40.52 ± 0.03 | 100% |
|
||||||
|
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp512 | 301.02 ± 1.74 | 147% |
|
||||||
|
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp1024 | 287.23 ± 0.20 | 101% |
|
||||||
|
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp2048 | 262.77 ± 1.81 | 101% |
|
||||||
|
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg128 | 18.80 ± 0.99 | 48% |
|
||||||
|
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg256 | 24.46 ± 3.04 | 83% |
|
||||||
|
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg512 | 36.32 ± 3.59 | 90% |
|
||||||
|
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp512 | 271.71 ± 3.53 | 133% |
|
||||||
|
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp1024 | 279.86 ± 45.63 | 100% |
|
||||||
|
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp2048 | 320.77 ± 5.00 | 124% |
|
||||||
|
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg128 | 43.51 ± 0.05 | 111% |
|
||||||
|
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg256 | 43.35 ± 0.09 | 110% |
|
||||||
|
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg512 | 42.60 ± 0.31 | 105% |
|
||||||
|
|
||||||
|
Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## Which file should I choose?
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Click here for details</summary>
|
||||||
|
|
||||||
|
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
If you want to get more into the weeds, you can check out this extremely useful feature chart:
|
||||||
|
|
||||||
|
[llama.cpp feature matrix](https://github.com/ggml-org/llama.cpp/wiki/Feature-matrix)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
These I-quants can also be used on CPU, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.
|
||||||
|
|
||||||
|
Thank you ZeroWw for the inspiration to experiment with embed/output.
|
||||||
|
|
||||||
|
Thank you to LM Studio for sponsoring my work.
|
||||||
|
|
||||||
|
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:934a8665dc10836d8a3bc04ad76d8f669468cbc15765c427f54d280f0d4385ba
|
||||||
|
size 2948286336
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d8ae7a0337d5a2cdd13247b6e5a8b507e3a0dcf21dd61656295f672d62c164f6
|
||||||
|
size 3784828800
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e8225ca997b9a48b912e148de09915c66bc782a2723f3a9589fd5cd389695b5d
|
||||||
|
size 3518752640
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b9c3984b38b5664bdeb86c901e5ae4b77e4de034492fd6f25a8921abb902aab7
|
||||||
|
size 3274917760
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:798ccb4734d1a51ee80970da9daa179e93a9eeb9ff36cf1d6117791a7257f252
|
||||||
|
size 4677994368
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:86985199af798691d0865ad3151d05ba5388910b175773e87f70bbfe00507a2a
|
||||||
|
size 4447668096
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bdb1680d928feffd11e51331f8dfd4fdff315be4e9ea4e938be0fd8bdf97f7d2
|
||||||
|
size 3179136896
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa1bf3752ade1412d86b8d1bf844c49a2fecadf9c135d60b283c9cb3f59fd74e
|
||||||
|
size 3692160896
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b4c45629384fed956fee86ab77f4510cff38ecf66f19afb9b5272b13954a630c
|
||||||
|
size 4321961856
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1748dc49de9d03b7f32599b9497400d7774933c4ebb765d9b47d2b9de817519a
|
||||||
|
size 4018923392
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:079f45fcaaed4829028f54e7e05da7661fba0aeab48deaaa53c95b57b4675aa8
|
||||||
|
size 3664504704
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a7dccff0bc7adbb6a070c3e818940264e611371fd7667e10fb676104781dd510
|
||||||
|
size 4781631360
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:64265c55ccf3222388912c6718f792bed0bfbcdb1c52c3835106d26669737f5e
|
||||||
|
size 4675897216
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cd66558e3254095e3fba83da58a51a18edb4dc72ca24d33828188ef02fa0ff9d
|
||||||
|
size 5130258304
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:12d4834c89ab8053be5ca896a6a71b78b16442dd1cdb1f2150a68b9942c24c27
|
||||||
|
size 5310637952
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa630710d48b24ddbf005705b5db8a97cb00ac647a4ba0bc54645b50fe14fcee
|
||||||
|
size 4920739712
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e195dc35a2a53fdc1bb5c08f34667dc25fa0c208cb188603f1d6ad82d99c1830
|
||||||
|
size 4692674432
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:da0f22da0d3d71819c70bfa579689cbcb80abc5cd7eddd43127c14ac89bf2e41
|
||||||
|
size 6057224064
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:42238672ecb878514291504a40f195616eda4b8a9891772b8361b7efc0808671
|
||||||
|
size 5732992896
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bfc236b104f112d729f685ab0af77f808ab8457aa6044d99eda7e92f716cc00a
|
||||||
|
size 5599299456
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c7b2a3555359901b49434d93a513da7064ea3f073cd2f1bb54f51a0c732989f7
|
||||||
|
size 6596011904
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fae9eb57d1b5280bb29257ddc68b030c4be6d2b4f57f22ad4f723368b0f6fdad
|
||||||
|
size 6850471808
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4cf770e87525cdb37a9126a92c77a78b15cf9c31301e455acc3ea7c7531835fc
|
||||||
|
size 8540776320
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5e87db19ec8a69eb926bd09145758ea393bea131c279878150f6b9ddabd2c2fb
|
||||||
|
size 16068896288
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:56368320d3233974b815cd4d76b6e50b5c97c4960e621681968cf3dc83f23c6a
|
||||||
|
size 5015232
|
||||||
Reference in New Issue
Block a user