π Model Description
license: gemma library_name: transformers pipeline_tag: image-text-to-text base_model: google/gemma-3-12b-it tags:
- autoquant
- gguf
π Gemma 3 12B IT Abliterated
This is an uncensored version of google/gemma-3-12b-it created with a new abliteration technique.
See this article to know more about abliteration.
I was playing with model weights and noticed that Gemma 3 was much more resilient to abliteration than other models like Qwen 2.5.
I experimented with a few recipes to remove refusals while preserving most of the model capabilities.
Note that this is fairly experimental, so it might not turn out as well as expected. I saw some garbled text from time to time (e.g., "It' my" instead of "It's my").
I recommend using these generation parameters: temperature=1.0, topk=64, topp=0.95.
βοΈ Layerwise abliteration
In the original technique, a refusal direction is computed by comparing the residual streams between target (harmful) and baseline (harmless) samples.
Here, the model was abliterated by computing a refusal direction based on hidden states (inspired by Sumandora's repo) for most layers (layer 3 to 45), independently.
This is combined with a refusal weight of 0.6 to upscale the importance of this refusal direction in each layer.
This created a very high acceptance rate (>90%) and still produced coherent outputs.
β‘οΈ Quantization
TBD.
π GGUF File List
| π Filename | π¦ Size | β‘ Download |
|---|---|---|
|
gemma-3-12b-it-abliterated.bf16.gguf
LFS
FP16
|
21.92 GB | Download |
|
gemma-3-12b-it-abliterated.fp16.gguf
LFS
FP16
|
21.92 GB | Download |
|
gemma-3-12b-it-abliterated.q2_k.gguf
LFS
Q2
|
4.44 GB | Download |
|
gemma-3-12b-it-abliterated.q3_k_m.gguf
LFS
Q3
|
5.6 GB | Download |
|
gemma-3-12b-it-abliterated.q4_k_m.gguf
Recommended
LFS
Q4
|
6.8 GB | Download |
|
gemma-3-12b-it-abliterated.q5_k_m.gguf
LFS
Q5
|
7.87 GB | Download |
|
gemma-3-12b-it-abliterated.q6_k.gguf
LFS
Q6
|
9 GB | Download |
|
gemma-3-12b-it-abliterated.q8_0.gguf
LFS
Q8
|
11.65 GB | Download |