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

bartowski/mlabonne_gemma-3-12b-it-abliterated-GGUF

bartowski Gemma 12B GGUF multimodal second-order 131K 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%2Fmlabonne_gemma-3-12b-it-abliterated-GGUF"
Response includes
  • classification m8
  • files 31
  • hub_downloads_all_time 77,806
  • 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='mlabonne/gemma-3-12b-it-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
78K
4K last 30d - cooling
Likes
10
Model age
19mo ago
created 2025-03-18
Downloads over time
Now79.1K→from247↑31,913%
029K58K87K247 on Mar 12, 202579.1K on Oct 11Mar '25Jun '25Sep '25Dec '25MarJunSep
Mar 12, 2025 → Oct 11 · 127 snapshots · spans 578 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
gemma
Quantizations
BF16 IQ2 IQ3 IQ4 Q2_K Q3_K Q4 Q4_K Q5_K Q6_K Q8_0
Tags
gguf image-text-to-text base_model:mlabonne/gemma-3-12b-it-abliterated base_model:quantized:mlabonne/gemma-3-12b-it-abliterated license:gemma endpoints_compatible region:us conversational

Related

Total size
180 GB
Files
31
Quantizations
14
Registered
2026-08-22 13:56
Last updated on HF
2025-03-18 04:36

Files by quantization

BF16 1 file 21.9 GB
mlabonne_gemma-3-12b-it-abliterated-bf16.gguf 21.9 GB 909236c0 download
Q8_0 1 file 11.7 GB
mlabonne_gemma-3-12b-it-abliterated-Q8_0.gguf 11.7 GB 644c9782 download
Q6_K 2 files 18.2 GB
mlabonne_gemma-3-12b-it-abliterated-Q6_K_L.gguf 9.22 GB 6d4f275a download
mlabonne_gemma-3-12b-it-abliterated-Q6_K.gguf 9.00 GB ef951e8d download
Q5_K 3 files 23.6 GB
mlabonne_gemma-3-12b-it-abliterated-Q5_K_L.gguf 8.09 GB 41a32564 download
mlabonne_gemma-3-12b-it-abliterated-Q5_K_M.gguf 7.87 GB e8a6469f download
mlabonne_gemma-3-12b-it-abliterated-Q5_K_S.gguf 7.67 GB 1a96b1d7 download
Q4 2 files 13.5 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_1.gguf 7.04 GB 571f75e4 download
mlabonne_gemma-3-12b-it-abliterated-Q4_0.gguf 6.43 GB da8775d0 download
Q4_K 3 files 20.3 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_K_L.gguf 7.03 GB b4544a42 download
mlabonne_gemma-3-12b-it-abliterated-Q4_K_M.gguf 6.80 GB d1702ca0 download
mlabonne_gemma-3-12b-it-abliterated-Q4_K_S.gguf 6.46 GB abe1b435 download
IQ4 2 files 12.5 GB
mlabonne_gemma-3-12b-it-abliterated-IQ4_NL.gguf 6.41 GB 9db65b2b download
mlabonne_gemma-3-12b-it-abliterated-IQ4_XS.gguf 6.10 GB ceedd411 download
Q3_K 4 files 23.0 GB
mlabonne_gemma-3-12b-it-abliterated-Q3_K_XL.gguf 6.26 GB 425e3515 download
mlabonne_gemma-3-12b-it-abliterated-Q3_K_L.gguf 6.04 GB 0d70c1fc download
mlabonne_gemma-3-12b-it-abliterated-Q3_K_M.gguf 5.60 GB 8d0994dc download
mlabonne_gemma-3-12b-it-abliterated-Q3_K_S.gguf 5.08 GB 843be3fc download
IQ3 3 files 14.6 GB
mlabonne_gemma-3-12b-it-abliterated-IQ3_M.gguf 5.27 GB 31438611 download
mlabonne_gemma-3-12b-it-abliterated-IQ3_XS.gguf 4.85 GB 702b41a7 download
mlabonne_gemma-3-12b-it-abliterated-IQ3_XXS.gguf 4.46 GB 3d8642dd download
Q2_K 2 files 9.11 GB
mlabonne_gemma-3-12b-it-abliterated-Q2_K_L.gguf 4.67 GB b2d71f87 download
mlabonne_gemma-3-12b-it-abliterated-Q2_K.gguf 4.44 GB e6dcd75f download
IQ2 3 files 11.3 GB
mlabonne_gemma-3-12b-it-abliterated-IQ2_M.gguf 4.01 GB 74313e78 download
mlabonne_gemma-3-12b-it-abliterated-IQ2_S.gguf 3.74 GB 99f38d55 download
mlabonne_gemma-3-12b-it-abliterated-IQ2_XS.gguf 3.58 GB 3f987674 download
mmproj 1 file 1.57 GB
mmproj-mlabonne_gemma-3-12b-it-abliterated-f32.gguf 1.57 GB d45f67b2 download
F16 1 file 815 MB
mmproj-mlabonne_gemma-3-12b-it-abliterated-f16.gguf 815 MB 30c02d05 download
Auxiliary files 3 files 7.11 MB
mlabonne_gemma-3-12b-it-abliterated.imatrix 7.09 MB cef2cb7c download
README.md 15.4 KB bd0576c4 download
.gitattributes 3.85 KB db4f4e93 download

README current version from Hugging Face


quantized_by: bartowski
pipeline_tag: image-text-to-text
license: gemma
base_model: mlabonne/gemma-3-12b-it-abliterated

Llamacpp imatrix Quantizations of gemma-3-12b-it-abliterated by mlabonne

Using llama.cpp release b4896 for quantization.

Original model: https://huggingface.co/mlabonne/gemma-3-12b-it-abliterated

All quants made using imatrix option with dataset from here

Run them in LM Studio

Run them directly with llama.cpp, or any other llama.cpp based project

Prompt format

<bos><start_of_turn>user
{system_prompt}

{prompt}<end_of_turn>
<start_of_turn>model

Download a file (not the whole branch) from below:

Filename Quant type File Size Split Description
mmproj-gemma-3-12b-it-abliterated-f32.gguf f32 1.69GB false F32 format MMPROJ file, required for vision.
mmproj-gemma-3-12b-it-abliterated-f16.gguf f16 854MB false F16 format MMPROJ file, required for vision.
gemma-3-12b-it-abliterated-bf16.gguf bf16 23.54GB false Full BF16 weights.
gemma-3-12b-it-abliterated-Q8_0.gguf Q8_0 12.51GB false Extremely high quality, generally unneeded but max available quant.
gemma-3-12b-it-abliterated-Q6_K_L.gguf Q6_K_L 9.90GB false Uses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
gemma-3-12b-it-abliterated-Q6_K.gguf Q6_K 9.66GB false Very high quality, near perfect, recommended.
gemma-3-12b-it-abliterated-Q5_K_L.gguf Q5_K_L 8.69GB false Uses Q8_0 for embed and output weights. High quality, recommended.
gemma-3-12b-it-abliterated-Q5_K_M.gguf Q5_K_M 8.45GB false High quality, recommended.
gemma-3-12b-it-abliterated-Q5_K_S.gguf Q5_K_S 8.23GB false High quality, recommended.
gemma-3-12b-it-abliterated-Q4_1.gguf Q4_1 7.56GB false Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
gemma-3-12b-it-abliterated-Q4_K_L.gguf Q4_K_L 7.54GB false Uses Q8_0 for embed and output weights. Good quality, recommended.
gemma-3-12b-it-abliterated-Q4_K_M.gguf Q4_K_M 7.30GB false Good quality, default size for most use cases, recommended.
gemma-3-12b-it-abliterated-Q4_K_S.gguf Q4_K_S 6.94GB false Slightly lower quality with more space savings, recommended.
gemma-3-12b-it-abliterated-Q4_0.gguf Q4_0 6.91GB false Legacy format, offers online repacking for ARM and AVX CPU inference.
gemma-3-12b-it-abliterated-IQ4_NL.gguf IQ4_NL 6.89GB false Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
gemma-3-12b-it-abliterated-Q3_K_XL.gguf Q3_K_XL 6.72GB false Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
gemma-3-12b-it-abliterated-IQ4_XS.gguf IQ4_XS 6.55GB false Decent quality, smaller than Q4_K_S with similar performance, recommended.
gemma-3-12b-it-abliterated-Q3_K_L.gguf Q3_K_L 6.48GB false Lower quality but usable, good for low RAM availability.
gemma-3-12b-it-abliterated-Q3_K_M.gguf Q3_K_M 6.01GB false Low quality.
gemma-3-12b-it-abliterated-IQ3_M.gguf IQ3_M 5.66GB false Medium-low quality, new method with decent performance comparable to Q3_K_M.
gemma-3-12b-it-abliterated-Q3_K_S.gguf Q3_K_S 5.46GB false Low quality, not recommended.
gemma-3-12b-it-abliterated-IQ3_XS.gguf IQ3_XS 5.21GB false Lower quality, new method with decent performance, slightly better than Q3_K_S.
gemma-3-12b-it-abliterated-Q2_K_L.gguf Q2_K_L 5.01GB false Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
gemma-3-12b-it-abliterated-IQ3_XXS.gguf IQ3_XXS 4.78GB false Lower quality, new method with decent performance, comparable to Q3 quants.
gemma-3-12b-it-abliterated-Q2_K.gguf Q2_K 4.77GB false Very low quality but surprisingly usable.
gemma-3-12b-it-abliterated-IQ2_M.gguf IQ2_M 4.31GB false Relatively low quality, uses SOTA techniques to be surprisingly usable.
gemma-3-12b-it-abliterated-IQ2_S.gguf IQ2_S 4.02GB false Low quality, uses SOTA techniques to be usable.
gemma-3-12b-it-abliterated-IQ2_XS.gguf IQ2_XS 3.84GB false Low quality, uses SOTA techniques to be 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

Click to view download instructions

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/mlabonne_gemma-3-12b-it-abliterated-GGUF --include "mlabonne_gemma-3-12b-it-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/mlabonne_gemma-3-12b-it-abliterated-GGUF --include "mlabonne_gemma-3-12b-it-abliterated-Q8_0/*" --local-dir ./

You can either specify a new local-dir (mlabonne_gemma-3-12b-it-abliterated-Q8_0) or download them all in place (./)

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. 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 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 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.

Click to view Q4_0_X_X information (deprecated

I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.

Click to view benchmarks on an AVX2 system (EPYC7702)
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

Which file should I choose?

Click here for details

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, 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.

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

README history 3 versions

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

  1. 2025-03-18Update README.md7cb19be15.4 KB
    Loading...
  2. 2025-03-18Update metadata with huggingface_hub9eb3fd614.9 KB
    Loading...
  3. 2025-03-18Upload README.md with huggingface_hubccb893714.9 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