← back to catalog · registered 2026-08-22 13:56

bartowski/Qwen2.5-Coder-7B-Instruct-abliterated-GGUF

bartowski Qwen 7B GGUF second-order 33K ctx
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/bartowski%2FQwen2.5-Coder-7B-Instruct-abliterated-GGUF"
Response includes
  • classification m8
  • files 27
  • hub_downloads_all_time 163,154
  • author_summary 72 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging (quantization)

Applied on top of direct removal inherited from the base model.
Confidence
HIGH
Inherited from base model
Why this label 3 signals
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • author=bartowski (M8 quantization producer)
  • is_gguf=1
  • base_model='huihui-ai/Qwen2.5-Coder-7B-Instruct-abliterated' looks abliterated -> assume M1
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
163K
43K last 30d - stable
Likes
67
Model age
23mo ago
created 2024-11-13
Downloads over time
Now181K→from1.9K↑9,549%
066.3K132.7K199K1.9K on Nov 13, 2024181K on Oct 12Nov '24Feb '25May '25Aug '25Nov '25FebMayAug
Nov 13, 2024 → Oct 12 · 150 snapshots · spans 698 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en
Quantizations
F16 IQ2 IQ3 IQ4 Q2_K Q3_K Q4 Q4_K Q5_K Q6_K Q8_0
Tags
gguf chat abliterated uncensored text-generation en base_model:huihui-ai/Qwen2.5-Coder-7B-Instruct-abliterated base_model:quantized:huihui-ai/Qwen2.5-Coder-7B-Instruct-abliterated license:apache-2.0 endpoints_compatible region:us conversational

Related

Total size
113 GB
Files
27
Quantizations
12
Registered
2026-08-22 13:56
Last updated on HF
2024-11-14 01:17

Files by quantization

F16 1 file 14.2 GB
Qwen2.5-Coder-7B-Instruct-abliterated-f16.gguf 14.2 GB 75eebb09 download
Q8_0 1 file 7.54 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q8_0.gguf 7.54 GB bc1a0cb0 download
Q6_K 2 files 11.9 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q6_K_L.gguf 6.07 GB f0e09673 download
Qwen2.5-Coder-7B-Instruct-abliterated-Q6_K.gguf 5.82 GB 16ba9647 download
Q5_K 3 files 15.4 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q5_K_L.gguf 5.38 GB a3d1d417 download
Qwen2.5-Coder-7B-Instruct-abliterated-Q5_K_M.gguf 5.07 GB a0e62cdf download
Qwen2.5-Coder-7B-Instruct-abliterated-Q5_K_S.gguf 4.95 GB f4ae93f2 download
Q4_K 3 files 13.3 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_K_L.gguf 4.74 GB 1b541d2b download
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_K_M.gguf 4.36 GB fdf02c16 download
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_K_S.gguf 4.15 GB 3e56fecf download
Q3_K 4 files 14.9 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_XL.gguf 4.25 GB 8ba33e74 download
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_L.gguf 3.81 GB fb80a2fa download
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_M.gguf 3.55 GB 618a975d download
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_S.gguf 3.25 GB ca328bb7 download
Q4 4 files 16.5 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0.gguf 4.14 GB 44da603c download
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0_4_4.gguf 4.13 GB 48ab37aa download
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0_4_8.gguf 4.13 GB 043b2a35 download
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0_8_8.gguf 4.13 GB 9f1615e4 download
IQ4 1 file 3.93 GB
Qwen2.5-Coder-7B-Instruct-abliterated-IQ4_XS.gguf 3.93 GB 817eecd1 download
IQ3 2 files 6.45 GB
Qwen2.5-Coder-7B-Instruct-abliterated-IQ3_M.gguf 3.33 GB 5e3c3e67 download
Qwen2.5-Coder-7B-Instruct-abliterated-IQ3_XS.gguf 3.12 GB 51feeba1 download
Q2_K 2 files 6.11 GB
Qwen2.5-Coder-7B-Instruct-abliterated-Q2_K_L.gguf 3.30 GB dae6a3ea download
Qwen2.5-Coder-7B-Instruct-abliterated-Q2_K.gguf 2.81 GB 469810f6 download
IQ2 1 file 2.59 GB
Qwen2.5-Coder-7B-Instruct-abliterated-IQ2_M.gguf 2.59 GB 61a52b8c download
Auxiliary files 3 files 4.34 MB
Qwen2.5-Coder-7B-Instruct-abliterated.imatrix 4.33 MB 9e54d66c download
README.md 11.4 KB de2c4de2 download
.gitattributes 3.57 KB dde1698a download

README current version from Hugging Face


quantized_by: bartowski
pipeline_tag: text-generation
language:


Llamacpp imatrix Quantizations of Qwen2.5-Coder-7B-Instruct-abliterated

Using llama.cpp release b4058 for quantization.

Original model: https://huggingface.co/huihui-ai/Qwen2.5-Coder-7B-Instruct-abliterated

All quants made using imatrix option with dataset from here

Run them in LM Studio

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-7B-Instruct-abliterated-f16.gguf f16 15.24GB false Full F16 weights.
Qwen2.5-Coder-7B-Instruct-abliterated-Q8_0.gguf Q8_0 8.10GB false Extremely high quality, generally unneeded but max available quant.
Qwen2.5-Coder-7B-Instruct-abliterated-Q6_K_L.gguf Q6_K_L 6.52GB false Uses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q6_K.gguf Q6_K 6.25GB false Very high quality, near perfect, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q5_K_L.gguf Q5_K_L 5.78GB false Uses Q8_0 for embed and output weights. High quality, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q5_K_M.gguf Q5_K_M 5.44GB false High quality, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q5_K_S.gguf Q5_K_S 5.32GB false High quality, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_K_L.gguf Q4_K_L 5.09GB false Uses Q8_0 for embed and output weights. Good quality, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_K_M.gguf Q4_K_M 4.68GB false Good quality, default size for most use cases, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_XL.gguf Q3_K_XL 4.57GB false Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_K_S.gguf Q4_K_S 4.46GB false Slightly lower quality with more space savings, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0.gguf Q4_0 4.44GB false Legacy format, generally not worth using over similarly sized formats
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0_8_8.gguf Q4_0_8_8 4.43GB false Optimized for ARM inference. Requires 'sve' support (see link below). Don't use on Mac or Windows.
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0_4_8.gguf Q4_0_4_8 4.43GB false Optimized for ARM inference. Requires 'i8mm' support (see link below). Don't use on Mac or Windows.
Qwen2.5-Coder-7B-Instruct-abliterated-Q4_0_4_4.gguf Q4_0_4_4 4.43GB 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-7B-Instruct-abliterated-IQ4_XS.gguf IQ4_XS 4.22GB false Decent quality, smaller than Q4_K_S with similar performance, recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_L.gguf Q3_K_L 4.09GB false Lower quality but usable, good for low RAM availability.
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_M.gguf Q3_K_M 3.81GB false Low quality.
Qwen2.5-Coder-7B-Instruct-abliterated-IQ3_M.gguf IQ3_M 3.57GB false Medium-low quality, new method with decent performance comparable to Q3_K_M.
Qwen2.5-Coder-7B-Instruct-abliterated-Q2_K_L.gguf Q2_K_L 3.55GB false Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
Qwen2.5-Coder-7B-Instruct-abliterated-Q3_K_S.gguf Q3_K_S 3.49GB false Low quality, not recommended.
Qwen2.5-Coder-7B-Instruct-abliterated-IQ3_XS.gguf IQ3_XS 3.35GB false Lower quality, new method with decent performance, slightly better than Q3_K_S.
Qwen2.5-Coder-7B-Instruct-abliterated-Q2_K.gguf Q2_K 3.02GB false Very low quality but surprisingly usable.
Qwen2.5-Coder-7B-Instruct-abliterated-IQ2_M.gguf IQ2_M 2.78GB 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-7B-Instruct-abliterated-GGUF --include "Qwen2.5-Coder-7B-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-7B-Instruct-abliterated-GGUF --include "Qwen2.5-Coder-7B-Instruct-abliterated-Q8_0/*" --local-dir ./

You can either specify a new local-dir (Qwen2.5-Coder-7B-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

To check which one would work best for your ARM chip, you can check AArch64 SoC features (thanks EloyOn!).

Which file should I choose?

A great write up with charts showing various performances is provided by Artefact2 here

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

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

README history 2 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2024-11-14Update metadata with huggingface_huba416f5711.4 KB
    Loading...
  2. 2024-11-14Upload README.md with huggingface_hub477ee7311.2 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration