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

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

bartowski Qwen 500M 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-0.5B-Instruct-abliterated-GGUF"
Response includes
  • classification m8
  • files 21
  • hub_downloads_all_time 26,526
  • 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-0.5B-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
27K
3K last 30d - stable
Likes
12
Model age
23mo ago
created 2024-11-13
Downloads over time
Now27.6K→from517↑5,239%
010.1K20.2K30.3K517 on Nov 13, 202427.6K on Oct 11Nov '24Feb '25May '25Aug '25Nov '25FebMayAug
Nov 13, 2024 → Oct 11 · 144 snapshots · spans 697 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 IQ3 IQ4 Q3_K Q4 Q4_K Q5_K Q6_K Q8_0
Tags
gguf code codeqwen chat qwen qwen-coder abliterated uncensored text-generation en base_model:huihui-ai/Qwen2.5-Coder-0.5B-Instruct-abliterated base_model:quantized:huihui-ai/Qwen2.5-Coder-0.5B-Instruct-abliterated

Related

Total size
7.27 GB
Files
21
Quantizations
10
Registered
2026-08-22 13:56
Last updated on HF
2024-11-14 01:36

Files by quantization

F16 1 file 948 MB
Qwen2.5-Coder-0.5B-Instruct-abliterated-f16.gguf 948 MB cdeb352a download
Q8_0 1 file 506 MB
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q8_0.gguf 506 MB 5ed368b6 download
Q6_K 2 files 965 MB
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q6_K.gguf 482 MB ac3a5e30 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q6_K_L.gguf 482 MB ac3a5e30 download
Q5_K 3 files 1.17 GB
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q5_K_L.gguf 401 MB 10912f19 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q5_K_M.gguf 401 MB 10912f19 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q5_K_S.gguf 394 MB f75b2030 download
Q4_K 3 files 1.10 GB
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_K_L.gguf 379 MB 4ef305ff download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_K_M.gguf 379 MB 4ef305ff download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_K_S.gguf 368 MB 0df0ec4f download
Q3_K 2 files 704 MB
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q3_K_L.gguf 352 MB 572c0db4 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q3_K_XL.gguf 352 MB 572c0db4 download
Q4 4 files 1.31 GB
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0.gguf 337 MB 28696f87 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0_4_4.gguf 336 MB 339d3540 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0_4_8.gguf 336 MB 61680e35 download
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0_8_8.gguf 336 MB 70241d94 download
IQ4 1 file 333 MB
Qwen2.5-Coder-0.5B-Instruct-abliterated-IQ4_XS.gguf 333 MB f337a875 download
IQ3 1 file 327 MB
Qwen2.5-Coder-0.5B-Instruct-abliterated-IQ3_M.gguf 327 MB 5c0973c0 download
Auxiliary files 3 files 978 KB
Qwen2.5-Coder-0.5B-Instruct-abliterated.imatrix 965 KB 59bcf959 download
README.md 9.98 KB 54dca0e0 download
.gitattributes 3.03 KB 34167a5a download

README current version from Hugging Face


quantized_by: bartowski
pipeline_tag: text-generation
language:


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

Using llama.cpp release b4058 for quantization.

Original model: https://huggingface.co/huihui-ai/Qwen2.5-Coder-0.5B-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-0.5B-Instruct-abliterated-f16.gguf f16 0.99GB false Full F16 weights.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q8_0.gguf Q8_0 0.53GB false Extremely high quality, generally unneeded but max available quant.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q6_K_L.gguf Q6_K_L 0.51GB false Uses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q6_K.gguf Q6_K 0.51GB false Very high quality, near perfect, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q5_K_L.gguf Q5_K_L 0.42GB false Uses Q8_0 for embed and output weights. High quality, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q5_K_M.gguf Q5_K_M 0.42GB false High quality, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q5_K_S.gguf Q5_K_S 0.41GB false High quality, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_K_L.gguf Q4_K_L 0.40GB false Uses Q8_0 for embed and output weights. Good quality, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_K_M.gguf Q4_K_M 0.40GB false Good quality, default size for most use cases, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_K_S.gguf Q4_K_S 0.39GB false Slightly lower quality with more space savings, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q3_K_XL.gguf Q3_K_XL 0.37GB false Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q3_K_L.gguf Q3_K_L 0.37GB false Lower quality but usable, good for low RAM availability.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0_8_8.gguf Q4_0_8_8 0.35GB false Optimized for ARM inference. Requires 'sve' support (see link below). Don't use on Mac or Windows.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0_4_8.gguf Q4_0_4_8 0.35GB false Optimized for ARM inference. Requires 'i8mm' support (see link below). Don't use on Mac or Windows.
Qwen2.5-Coder-0.5B-Instruct-abliterated-Q4_0_4_4.gguf Q4_0_4_4 0.35GB 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-0.5B-Instruct-abliterated-Q4_0.gguf Q4_0 0.35GB false Legacy format, generally not worth using over similarly sized formats
Qwen2.5-Coder-0.5B-Instruct-abliterated-IQ4_XS.gguf IQ4_XS 0.35GB false Decent quality, smaller than Q4_K_S with similar performance, recommended.
Qwen2.5-Coder-0.5B-Instruct-abliterated-IQ3_M.gguf IQ3_M 0.34GB false Medium-low quality, new method with decent performance comparable to Q3_K_M.

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-0.5B-Instruct-abliterated-GGUF --include "Qwen2.5-Coder-0.5B-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-0.5B-Instruct-abliterated-GGUF --include "Qwen2.5-Coder-0.5B-Instruct-abliterated-Q8_0/*" --local-dir ./

You can either specify a new local-dir (Qwen2.5-Coder-0.5B-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_hub876ebff10 KB
    Loading...
  2. 2024-11-14Upload README.md with huggingface_hub4caa6639.7 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