← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

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 - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

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 75 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging

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
90K
7K last 30d - cooling
Likes
12
Model age
20mo ago
created 2025-03-18
Downloads over time
Now 90K → from 247 ↑ 36,340%
033K66K99K 247 on Mar 12, 2025 90K on Nov 25 Mar '25Jun '25Sep '25Dec '25MarJunSep
Mar 12, 2025 → Nov 25 · 172 snapshots · spans 623 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
182 GB
Files
31
Quantizations
26
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2025-03-18 04:36

Files by quantization

IQ2_XS 1 file 3.58 GB
mlabonne_gemma-3-12b-it-abliterated-IQ2_XS.gguf 3.58 GB 3f987674 download
IQ2_S 1 file 3.74 GB
mlabonne_gemma-3-12b-it-abliterated-IQ2_S.gguf 3.74 GB 99f38d55 download
IQ2_M 1 file 4.01 GB
mlabonne_gemma-3-12b-it-abliterated-IQ2_M.gguf 4.01 GB 74313e78 download
Q2_K 1 file 4.44 GB
mlabonne_gemma-3-12b-it-abliterated-Q2_K.gguf 4.44 GB e6dcd75f download
IQ3_XXS 1 file 4.46 GB
mlabonne_gemma-3-12b-it-abliterated-IQ3_XXS.gguf 4.46 GB 3d8642dd download
Q2_K_L 1 file 4.67 GB
mlabonne_gemma-3-12b-it-abliterated-Q2_K_L.gguf 4.67 GB b2d71f87 download
IQ3_XS 1 file 4.85 GB
mlabonne_gemma-3-12b-it-abliterated-IQ3_XS.gguf 4.85 GB 702b41a7 download
Q3_K_S 1 file 5.08 GB
mlabonne_gemma-3-12b-it-abliterated-Q3_K_S.gguf 5.08 GB 843be3fc download
IQ3_M 1 file 5.27 GB
mlabonne_gemma-3-12b-it-abliterated-IQ3_M.gguf 5.27 GB 31438611 download
Q3_K_M 1 file 5.60 GB
mlabonne_gemma-3-12b-it-abliterated-Q3_K_M.gguf 5.60 GB 8d0994dc download
Q3_K_L 1 file 6.04 GB
mlabonne_gemma-3-12b-it-abliterated-Q3_K_L.gguf 6.04 GB 0d70c1fc download
IQ4_XS 1 file 6.10 GB
mlabonne_gemma-3-12b-it-abliterated-IQ4_XS.gguf 6.10 GB ceedd411 download
Q3_K 1 file 6.26 GB
mlabonne_gemma-3-12b-it-abliterated-Q3_K_XL.gguf 6.26 GB 425e3515 download
IQ4_NL 1 file 6.41 GB
mlabonne_gemma-3-12b-it-abliterated-IQ4_NL.gguf 6.41 GB 9db65b2b download
Q4_0 1 file 6.43 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_0.gguf 6.43 GB da8775d0 download
Q4_K_S 1 file 6.46 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_K_S.gguf 6.46 GB abe1b435 download
Q4_K_M 1 file 6.80 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_K_M.gguf 6.80 GB d1702ca0 download
Q4_K_L 1 file 7.03 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_K_L.gguf 7.03 GB b4544a42 download
Q4_1 1 file 7.04 GB
mlabonne_gemma-3-12b-it-abliterated-Q4_1.gguf 7.04 GB 571f75e4 download
Q5_K_S 1 file 7.67 GB
mlabonne_gemma-3-12b-it-abliterated-Q5_K_S.gguf 7.67 GB 1a96b1d7 download
Q5_K_M 1 file 7.87 GB
mlabonne_gemma-3-12b-it-abliterated-Q5_K_M.gguf 7.87 GB e8a6469f download
Q5_K_L 1 file 8.09 GB
mlabonne_gemma-3-12b-it-abliterated-Q5_K_L.gguf 8.09 GB 41a32564 download
Q6_K 1 file 9.00 GB
mlabonne_gemma-3-12b-it-abliterated-Q6_K.gguf 9.00 GB ef951e8d download
Q6_K_L 1 file 9.22 GB
mlabonne_gemma-3-12b-it-abliterated-Q6_K_L.gguf 9.22 GB 6d4f275a download
Q8_0 1 file 11.7 GB
mlabonne_gemma-3-12b-it-abliterated-Q8_0.gguf 11.7 GB 644c9782 download
BF16 1 file 21.9 GB
mlabonne_gemma-3-12b-it-abliterated-bf16.gguf 21.9 GB 909236c0 download
Vision projector (mmproj) · attach to a main model 2 files 2.36 GB
mmproj-mlabonne_gemma-3-12b-it-abliterated-f32.gguf 1.57 GB d45f67b2 download
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 from Hugging Face, captured 2026-08-22


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-18 Update README.md 7cb19be 15.4 KB
    Loading...
  2. 2025-03-18 Update metadata with huggingface_hub 9eb3fd6 14.9 KB
    Loading...
  3. 2025-03-18 Upload README.md with huggingface_hub ccb8937 14.9 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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