This is an uncensored version of google/gemma-3-12b-it-qat-q4_0-unquantized created with a new abliteration technique. See this article to know more about abliteration.
This is a new, improved version that targets refusals with enhanced accuracy.
I recommend using these generation parameters: temperature=1.0, top_k=64, top_p=0.95.
The refusal direction is computed by comparing the residual streams between target (harmful) and baseline (harmless) samples. The hidden states of target modules (e.g., o_proj) are orthogonalized to subtract this refusal direction with a given weight factor. These weight factors follow a normal distribution with a certain spread and peak layer. Modules can be iteratively orthogonalized in batches, or the refusal direction can be accumulated to save memory.
Finally, I used a hybrid evaluation with a dedicated test set to calculate the acceptance rate. This uses both a dictionary approach and NousResearch/Minos-v1. The goal is to obtain an acceptance rate >90% and still produce coherent outputs.
model-00001-of-00010.safetensors 5.0 GBmodel-00005-of-00010.safetensors 5.0 GBmodel-00007-of-00010.safetensors 5.0 GBmodel-00009-of-00010.safetensors 5.0 GBmodel-00003-of-00010.safetensors 5.0 GBmodel-00004-of-00010.safetensors 4.9 GBmodel-00006-of-00010.safetensors 4.9 GBmodel-00008-of-00010.safetensors 4.9 GBmodel-00002-of-00010.safetensors 4.8 GBmodel-00010-of-00010.safetensors 2.7 GBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo mlabonne/gemma-3-12b-it-qat-abliterated ./model-folder