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

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

bartowski Gemma 4B 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-4b-it-abliterated-GGUF"
Response includes
  • classification m8
  • files 29
  • hub_downloads_all_time 75,561
  • 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-4b-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
76K
8K last 30d - cooling
Likes
12
Model age
19mo ago
created 2025-03-18
Downloads over time
Now79.6K→from1↑7,963,100%
029.2K58.4K87.6K1 on Mar 12, 202579.6K 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-4b-it-abliterated base_model:quantized:mlabonne/gemma-3-4b-it-abliterated license:gemma endpoints_compatible region:us conversational

Related

Total size
59.1 GB
Files
29
Quantizations
14
Registered
2026-08-22 13:56
Last updated on HF
2025-03-18 05:24

Files by quantization

BF16 1 file 7.23 GB
mlabonne_gemma-3-4b-it-abliterated-bf16.gguf 7.23 GB 61ebdbf4 download
Q8_0 1 file 3.85 GB
mlabonne_gemma-3-4b-it-abliterated-Q8_0.gguf 3.85 GB 0a9ba33c download
Q6_K 2 files 6.09 GB
mlabonne_gemma-3-4b-it-abliterated-Q6_K_L.gguf 3.12 GB 646d5b88 download
mlabonne_gemma-3-4b-it-abliterated-Q6_K.gguf 2.97 GB 4fb65e33 download
Q5_K 3 files 8.00 GB
mlabonne_gemma-3-4b-it-abliterated-Q5_K_L.gguf 2.79 GB 95a7ff4e download
mlabonne_gemma-3-4b-it-abliterated-Q5_K_M.gguf 2.64 GB b987fc43 download
mlabonne_gemma-3-4b-it-abliterated-Q5_K_S.gguf 2.57 GB 2378a125 download
Q4_K 3 files 7.00 GB
mlabonne_gemma-3-4b-it-abliterated-Q4_K_L.gguf 2.47 GB 3925876a download
mlabonne_gemma-3-4b-it-abliterated-Q4_K_M.gguf 2.32 GB 1b18347b download
mlabonne_gemma-3-4b-it-abliterated-Q4_K_S.gguf 2.21 GB be0772ab download
Q4 2 files 4.60 GB
mlabonne_gemma-3-4b-it-abliterated-Q4_1.gguf 2.39 GB f18e120e download
mlabonne_gemma-3-4b-it-abliterated-Q4_0.gguf 2.21 GB ef36d8d1 download
Q3_K 4 files 8.08 GB
mlabonne_gemma-3-4b-it-abliterated-Q3_K_XL.gguf 2.23 GB 7156696a download
mlabonne_gemma-3-4b-it-abliterated-Q3_K_L.gguf 2.08 GB 53b667c1 download
mlabonne_gemma-3-4b-it-abliterated-Q3_K_M.gguf 1.95 GB 0c572eb2 download
mlabonne_gemma-3-4b-it-abliterated-Q3_K_S.gguf 1.80 GB 040d0d0c download
IQ4 2 files 4.31 GB
mlabonne_gemma-3-4b-it-abliterated-IQ4_NL.gguf 2.20 GB 202d27d6 download
mlabonne_gemma-3-4b-it-abliterated-IQ4_XS.gguf 2.11 GB e353d5be download
IQ3 3 files 5.16 GB
mlabonne_gemma-3-4b-it-abliterated-IQ3_M.gguf 1.85 GB 42f470af download
mlabonne_gemma-3-4b-it-abliterated-IQ3_XS.gguf 1.74 GB 8cdc699e download
mlabonne_gemma-3-4b-it-abliterated-IQ3_XXS.gguf 1.57 GB 9f38ce4e download
Q2_K 2 files 3.37 GB
mlabonne_gemma-3-4b-it-abliterated-Q2_K_L.gguf 1.76 GB 94d339ec download
mlabonne_gemma-3-4b-it-abliterated-Q2_K.gguf 1.61 GB e5c90dc9 download
IQ2 1 file 1.43 GB
mlabonne_gemma-3-4b-it-abliterated-IQ2_M.gguf 1.43 GB 6132c3e1 download
mmproj 1 file 1.56 GB
mmproj-mlabonne_gemma-3-4b-it-abliterated-f32.gguf 1.56 GB 804f41f3 download
F16 1 file 812 MB
mmproj-mlabonne_gemma-3-4b-it-abliterated-f16.gguf 812 MB 8c0fb064 download
Auxiliary files 3 files 3.28 MB
mlabonne_gemma-3-4b-it-abliterated.imatrix 3.26 MB 73de0ee9 download
README.md 14.8 KB 078e0e6f download
.gitattributes 3.66 KB 54de4854 download

README current version from Hugging Face


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

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

Using llama.cpp release b4896 for quantization.

Original model: https://huggingface.co/mlabonne/gemma-3-4b-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-4b-it-abliterated-f32.gguf f32 1.68GB false F32 format MMPROJ file, required for vision.
mmproj-gemma-3-4b-it-abliterated-f16.gguf f16 851MB false F16 format MMPROJ file, required for vision.
gemma-3-4b-it-abliterated-bf16.gguf bf16 7.77GB false Full BF16 weights.
gemma-3-4b-it-abliterated-Q8_0.gguf Q8_0 4.13GB false Extremely high quality, generally unneeded but max available quant.
gemma-3-4b-it-abliterated-Q6_K_L.gguf Q6_K_L 3.35GB false Uses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
gemma-3-4b-it-abliterated-Q6_K.gguf Q6_K 3.19GB false Very high quality, near perfect, recommended.
gemma-3-4b-it-abliterated-Q5_K_L.gguf Q5_K_L 2.99GB false Uses Q8_0 for embed and output weights. High quality, recommended.
gemma-3-4b-it-abliterated-Q5_K_M.gguf Q5_K_M 2.83GB false High quality, recommended.
gemma-3-4b-it-abliterated-Q5_K_S.gguf Q5_K_S 2.76GB false High quality, recommended.
gemma-3-4b-it-abliterated-Q4_K_L.gguf Q4_K_L 2.65GB false Uses Q8_0 for embed and output weights. Good quality, recommended.
gemma-3-4b-it-abliterated-Q4_1.gguf Q4_1 2.56GB false Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
gemma-3-4b-it-abliterated-Q4_K_M.gguf Q4_K_M 2.49GB false Good quality, default size for most use cases, recommended.
gemma-3-4b-it-abliterated-Q3_K_XL.gguf Q3_K_XL 2.40GB false Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
gemma-3-4b-it-abliterated-Q4_K_S.gguf Q4_K_S 2.38GB false Slightly lower quality with more space savings, recommended.
gemma-3-4b-it-abliterated-Q4_0.gguf Q4_0 2.37GB false Legacy format, offers online repacking for ARM and AVX CPU inference.
gemma-3-4b-it-abliterated-IQ4_NL.gguf IQ4_NL 2.36GB false Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
gemma-3-4b-it-abliterated-IQ4_XS.gguf IQ4_XS 2.26GB false Decent quality, smaller than Q4_K_S with similar performance, recommended.
gemma-3-4b-it-abliterated-Q3_K_L.gguf Q3_K_L 2.24GB false Lower quality but usable, good for low RAM availability.
gemma-3-4b-it-abliterated-Q3_K_M.gguf Q3_K_M 2.10GB false Low quality.
gemma-3-4b-it-abliterated-IQ3_M.gguf IQ3_M 1.99GB false Medium-low quality, new method with decent performance comparable to Q3_K_M.
gemma-3-4b-it-abliterated-Q3_K_S.gguf Q3_K_S 1.94GB false Low quality, not recommended.
gemma-3-4b-it-abliterated-Q2_K_L.gguf Q2_K_L 1.89GB false Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
gemma-3-4b-it-abliterated-IQ3_XS.gguf IQ3_XS 1.86GB false Lower quality, new method with decent performance, slightly better than Q3_K_S.
gemma-3-4b-it-abliterated-Q2_K.gguf Q2_K 1.73GB false Very low quality but surprisingly usable.
gemma-3-4b-it-abliterated-IQ3_XXS.gguf IQ3_XXS 1.69GB false Lower quality, new method with decent performance, comparable to Q3 quants.
gemma-3-4b-it-abliterated-IQ2_M.gguf IQ2_M 1.54GB 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.

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

You can either specify a new local-dir (mlabonne_gemma-3-4b-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 4 versions

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

  1. 2025-03-18Update README.mdbd0675f14.8 KB
    Loading...
  2. 2025-03-18Update README.md3ca5fa814.8 KB
    Loading...
  3. 2025-03-18Update metadata with huggingface_hub6d475ea14.4 KB
    Loading...
  4. 2025-03-18Upload README.md with huggingface_hubc36829e14.3 KB
    Loading...

Discussions 1 thread

  1. 2025-03-22image recognitionopen1 💬#1
    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