This is an abliterated (decensored) version of google/gemma-4-31b-it created using Heretic v2.1.0.
Trial 196 was selected from a 200-trial Pareto optimization run as the optimal balance for complex creative writing and roleplay — removing refusals while keeping KL divergence well below 0.1 (0.0684) to preserve the base model's reasoning, coherence, and prose quality.
| Metric | Value | Evaluation Dataset / Scorer |
|---|---|---|
| Refusals (Classifier) | 10 / 100 | mlabonne/harmful_behaviors (100 prompts) via VINAY-UMRETHE/Refusal-Classifier (BERTClassifier) |
| KL Divergence | 0.0684 | mlabonne/harmless_alpaca (100 prompts) |
| Max Response Length | 160 tokens | Used during refusal evaluation |
| Total Trials | 200 | Optuna multi-objective Pareto search |
Note on comparing refusal rates: Unlike older Heretic v1.x releases that relied on substring matching (
KeywordRate) at 100 tokens, this run used Heretic v2.1.0'sBERTClassifier(VINAY-UMRETHE/Refusal-Classifier) withmax_response_length = 160. The classifier catches subtle evasions, disclaimers, and partial refusals, making a10/100score noticeably stricter than equivalent keyword-based numbers.
The model was processed in full bfloat16 precision without quantization during abliteration.
v2.1.0attn.o_proj (60 layers) and mlp.down_proj (60 layers)bfloat16 (quantization = "none")32mps)config.toml)dtypes = ["bfloat16"]
quantization = "none"
device_map = "mps"
n_trials = 200
max_response_length = 160
scorers = [
{ plugin = "heretic.scorers.bert_classifier.BERTClassifier", optimization = "minimize" },
{ plugin = "heretic.scorers.kl_divergence.KLDivergence", optimization = "minimize" },
]
model-00001-of-00013.safetensors 5.0 GBmodel-00005-of-00013.safetensors 4.9 GBmodel-00006-of-00013.safetensors 4.9 GBmodel-00007-of-00013.safetensors 4.9 GBmodel-00008-of-00013.safetensors 4.9 GBmodel-00009-of-00013.safetensors 4.9 GBmodel-00011-of-00013.safetensors 4.9 GBmodel-00012-of-00013.safetensors 4.9 GBmodel-00003-of-00013.safetensors 4.9 GBmodel-00002-of-00013.safetensors 4.9 GBmodel-00004-of-00013.safetensors 4.8 GBmodel-00010-of-00013.safetensors 4.8 GBmodel-00013-of-00013.safetensors 3.9 GB