mlabonne / gemma-3-4b-it-abliterated

huggingface.co
Total runs: 379
24-hour runs: 0
7-day runs: -156
30-day runs: -118
Model's Last Updated: March 22 2025
image-text-to-text

Introduction of gemma-3-4b-it-abliterated

Model Details of gemma-3-4b-it-abliterated

💎 Gemma 3 4B IT Abliterated

image/png

Gemma 3 12B Abliterated • Gemma 3 27B Abliterated

This is an uncensored version of google/gemma-3-4b-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 , top_k=64 , top_p=0.95 .

✂️ Layerwise abliteration

image/png

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 7 to 29), independently. This is combined with a refusal weight that follows a symmetric pattern from 0.05 to a peak of 0.55.

This created a very high acceptance rate (>90%) and still produced coherent outputs.

⚡️ Quantization

TBD.

Runs of mlabonne gemma-3-4b-it-abliterated on huggingface.co

379
Total runs
0
24-hour runs
19
3-day runs
-156
7-day runs
-118
30-day runs

More Information About gemma-3-4b-it-abliterated huggingface.co Model

More gemma-3-4b-it-abliterated license Visit here:

https://choosealicense.com/licenses/gemma

gemma-3-4b-it-abliterated huggingface.co

gemma-3-4b-it-abliterated huggingface.co is an AI model on huggingface.co that provides gemma-3-4b-it-abliterated's model effect (), which can be used instantly with this mlabonne gemma-3-4b-it-abliterated model. huggingface.co supports a free trial of the gemma-3-4b-it-abliterated model, and also provides paid use of the gemma-3-4b-it-abliterated. Support call gemma-3-4b-it-abliterated model through api, including Node.js, Python, http.

gemma-3-4b-it-abliterated huggingface.co Url

https://huggingface.co/mlabonne/gemma-3-4b-it-abliterated

mlabonne gemma-3-4b-it-abliterated online free

gemma-3-4b-it-abliterated huggingface.co is an online trial and call api platform, which integrates gemma-3-4b-it-abliterated's modeling effects, including api services, and provides a free online trial of gemma-3-4b-it-abliterated, you can try gemma-3-4b-it-abliterated online for free by clicking the link below.

mlabonne gemma-3-4b-it-abliterated online free url in huggingface.co:

https://huggingface.co/mlabonne/gemma-3-4b-it-abliterated

gemma-3-4b-it-abliterated install

gemma-3-4b-it-abliterated is an open source model from GitHub that offers a free installation service, and any user can find gemma-3-4b-it-abliterated on GitHub to install. At the same time, huggingface.co provides the effect of gemma-3-4b-it-abliterated install, users can directly use gemma-3-4b-it-abliterated installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gemma-3-4b-it-abliterated install url in huggingface.co:

https://huggingface.co/mlabonne/gemma-3-4b-it-abliterated

Url of gemma-3-4b-it-abliterated

gemma-3-4b-it-abliterated huggingface.co Url

Provider of gemma-3-4b-it-abliterated huggingface.co

mlabonne
ORGANIZATIONS

Other API from mlabonne

huggingface.co

Total runs: 156
Run Growth: -18
Growth Rate: -11.54%
Updated:March 04 2024
huggingface.co

Total runs: 149
Run Growth: -7
Growth Rate: -4.70%
Updated:March 04 2024
huggingface.co

Total runs: 64
Run Growth: -8
Growth Rate: -12.50%
Updated:March 04 2024