初始化项目,由ModelHub XC社区提供模型

Model: bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-17 18:26:06 +08:00
commit 446b43d986
28 changed files with 273 additions and 0 deletions

60
.gitattributes vendored Normal file
View 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
Qwen2.5-Coder-3B-Instruct-abliterated-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_8_8.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_4_8.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated-f16.gguf filter=lfs diff=lfs merge=lfs -text
Qwen2.5-Coder-3B-Instruct-abliterated.imatrix filter=lfs diff=lfs merge=lfs -text

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3ef184a78f92f9d9eb51030e13955ca3b2ab233fec369bb145deb29bd5109c8
size 1140516224

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c39024eac97267440fa91a79ce3ffd2699a1ee8137819749a3ab200542ffcd9c
size 1488895360

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c32270cb3af67d4f44063e78aadb477b1438a58329f13d521ef035510913ada9
size 1391836544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24eb89bc55323b071199fce268cb6bde3847cd7368b463bc834b4ced38391fcb
size 1739095424

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0317a9b6b369491efa29263440b0a76c76afb5aa85cd0996673a67376f718eb5
size 1274756480

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cb34c5ece03d12a695bbcf7d99b60d4098e9d0637a12b9fe3dc42cdd9a64795
size 1350116736

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cff76774bd30d5265afbff4511bbd4444077f69dca295b3f3b1efc6bbe7113b2
size 1707392384

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:019caba6c381b2a43aade0adaa60b13124525cd9a648e9b0d067a59ea7746892
size 1590476160

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:133296c4e70e63c856abaf17bf75a76deb971f3ef0d5131ce418b76d3920c219
size 1454357888

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70c6e65ca0f3246e792817bb6a85b5ca661d25cc314dffd32b870b98cf69578c
size 1782752640

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:beab4eacbb506be75cc77abb86f12964d9e332eee2f371ee4f7c381df67da865
size 1828486528

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be3b1dc417b5d3c80b9273ea5919fa8923d4c7374c08e8a8addf8cfa06669152
size 1822850432

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ad233957984cab61fa36e82bbb3cd18dfe8fd34d8e70afa2e77d710a810839
size 1822850432

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e216aaf99223a8be782705ddf3840f015fdb4972f4f6620d55f69644adfffb5
size 1822850432

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1eaebe4a2ce1eeb5b018cacf56b6d1a64c19594ba03bcb2ed398875ff79033c8
size 2005263744

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5c108dfbdac44c738e45a84d5624716cfb8522d1410f46a7108167ee4bd0cac
size 1929903488

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02f2fb9240ce4d9a2ea8dd403e4b0f36ca07ab15e448e9a341092f24b46b02cc
size 1834384768

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e3e7c6c95feb8109a9c8a00e992527c6590d7637a54275cf1785b19c59e9a0e
size 2300175744

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d30cd85c9d20d40ae5252a6da05c00d6639369ad66228495ef62be769f03c77c
size 2224815488

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26b71820e404c0cf32b36c0b7ce2ce2ed117fbb635647a250cf126b3fe00badb
size 2169666944

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09c8c5426b325243f0c945d57cb34040e5323f6ff97037a4dcb84f5c58617b8b
size 2538159488

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f871ad6af54d1bf105351b93c2dfa1654741c88560d330a01f21ffd1e47f18d
size 2613519744

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9c88c42ac91d223f7106114f9bfff1bb99bea5a1e7a1d1268d16ffda722c09d
size 3285476736

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f57aea94e139b82e1f745cd0f3e6fe487c5a40f73dfa34123079ded74ea55095
size 6178317376

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:beeefca33a266d2af01ae50c995abd7df006e0948080f17286b8bd71ea06bb83
size 3362990

137
README.md Normal file
View File

@@ -0,0 +1,137 @@
---
quantized_by: bartowski
pipeline_tag: text-generation
license_name: qwen-research
language:
- en
license_link: https://huggingface.co/huihui-ai/Qwen2.5-Coder-3B-Instruct-abliterate/blob/main/LICENSE
tags:
- code
- codeqwen
- chat
- qwen
- qwen-coder
- abliterated
- uncensored
base_model: huihui-ai/Qwen2.5-Coder-3B-Instruct-abliterated
license: other
---
## Llamacpp imatrix Quantizations of Qwen2.5-Coder-3B-Instruct-abliterated
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b4058">b4058</a> for quantization.
Original model: https://huggingface.co/huihui-ai/Qwen2.5-Coder-3B-Instruct-abliterated
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
Run them in [LM Studio](https://lmstudio.ai/)
## Prompt format
```
<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [Qwen2.5-Coder-3B-Instruct-abliterated-f16.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-f16.gguf) | f16 | 6.18GB | false | Full F16 weights. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q8_0.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q8_0.gguf) | Q8_0 | 3.29GB | false | Extremely high quality, generally unneeded but max available quant. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q6_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q6_K_L.gguf) | Q6_K_L | 2.61GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q6_K.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q6_K.gguf) | Q6_K | 2.54GB | false | Very high quality, near perfect, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_L.gguf) | Q5_K_L | 2.30GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_M.gguf) | Q5_K_M | 2.22GB | false | High quality, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q5_K_S.gguf) | Q5_K_S | 2.17GB | false | High quality, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_L.gguf) | Q4_K_L | 2.01GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_M.gguf) | Q4_K_M | 1.93GB | false | Good quality, default size for most use cases, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_K_S.gguf) | Q4_K_S | 1.83GB | false | Slightly lower quality with more space savings, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0.gguf) | Q4_0 | 1.83GB | false | Legacy format, generally not worth using over similarly sized formats |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_8_8.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_8_8.gguf) | Q4_0_8_8 | 1.82GB | false | Optimized for ARM inference. Requires 'sve' support (see link below). *Don't use on Mac or Windows*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_4_8.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_4_8.gguf) | Q4_0_4_8 | 1.82GB | false | Optimized for ARM inference. Requires 'i8mm' support (see link below). *Don't use on Mac or Windows*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_4_4.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q4_0_4_4.gguf) | Q4_0_4_4 | 1.82GB | false | Optimized for ARM inference. Should work well on all ARM chips, pick this if you're unsure. *Don't use on Mac or Windows*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_XL.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_XL.gguf) | Q3_K_XL | 1.78GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-IQ4_XS.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-IQ4_XS.gguf) | IQ4_XS | 1.74GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_L.gguf) | Q3_K_L | 1.71GB | false | Lower quality but usable, good for low RAM availability. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_M.gguf) | Q3_K_M | 1.59GB | false | Low quality. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-IQ3_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-IQ3_M.gguf) | IQ3_M | 1.49GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_S.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q3_K_S.gguf) | Q3_K_S | 1.45GB | false | Low quality, not recommended. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-IQ3_XS.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-IQ3_XS.gguf) | IQ3_XS | 1.39GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q2_K_L.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q2_K_L.gguf) | Q2_K_L | 1.35GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-Q2_K.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-Q2_K.gguf) | Q2_K | 1.27GB | false | Very low quality but surprisingly usable. |
| [Qwen2.5-Coder-3B-Instruct-abliterated-IQ2_M.gguf](https://huggingface.co/bartowski/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF/blob/main/Qwen2.5-Coder-3B-Instruct-abliterated-IQ2_M.gguf) | IQ2_M | 1.14GB | 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.
Some say that this improves the quality, others don't notice any difference. If you use these models PLEASE COMMENT with your findings. I would like feedback that these are actually used and useful so I don't keep uploading quants no one is using.
Thanks!
## Downloading using huggingface-cli
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/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF --include "Qwen2.5-Coder-3B-Instruct-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/Qwen2.5-Coder-3B-Instruct-abliterated-GGUF --include "Qwen2.5-Coder-3B-Instruct-abliterated-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (Qwen2.5-Coder-3B-Instruct-abliterated-Q8_0) or download them all in place (./)
## Q4_0_X_X
These are *NOT* for Metal (Apple) offloading, only ARM chips.
If you're using an ARM chip, the Q4_0_X_X quants will have a substantial speedup. Check out Q4_0_4_4 speed comparisons [on the original pull request](https://github.com/ggerganov/llama.cpp/pull/5780#pullrequestreview-21657544660)
To check which one would work best for your ARM chip, you can check [AArch64 SoC features](https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.html) (thanks EloyOn!).
## Which file should I choose?
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/ggerganov/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 and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
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.
## 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.
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

1
configuration.json Normal file
View File

@@ -0,0 +1 @@
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}