Views
No views yet

gemma-4-12B-it-heretic_decensored is a reasoning-capable language model built on top of google/gemma-4-12B-it and modified using the Heretic abliteration toolkit. The model applies refusal-direction analysis and targeted weight-space interventions to reduce internal refusal behaviors while preserving instruction-following, reasoning capabilities, and general conversational performance.
[!IMPORTANT] This model is intended strictly for research and learning purposes. Due to reduced internal refusal mechanisms, it may generate sensitive or unrestricted content. Users assume full responsibility for how the model is used. The authors and hosting platform disclaim any liability for generated outputs.
[!NOTE] This model is experimental and may generate unexpected behaviors or artifacts in certain scenarios.
| Parameter | Value |
|---|---|
| direction_index | 29.56 |
| attn.o_proj.max_weight | 1.18 |
| attn.o_proj.max_weight_position | 39.94 |
| attn.o_proj.min_weight | 0.81 |
| attn.o_proj.min_weight_distance | 25.73 |
| mlp.down_proj.max_weight | 1.37 |
| mlp.down_proj.max_weight_position | 46.27 |
| mlp.down_proj.min_weight | 0.97 |
| mlp.down_proj.min_weight_distance | 21.63 |
| Metric | This model | Original model (google/gemma-4-12B-it) |
|---|---|---|
| KL divergence | 0.0366 | 0 (by definition) |
| Refusals | 34/100 | 99/100 |
1pip install transformers
2pip install accelerate1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "prithivMLmods/gemma-4-12B-it-heretic_decensored",
6 torch_dtype="auto",
7 device_map="auto"
8)
9
10tokenizer = AutoTokenizer.from_pretrained(
11 "prithivMLmods/gemma-4-12B-it-heretic_decensored"
12)
13
14messages = [
15 {
16 "role": "user",
17 "content": "Explain how a transformer model processes text."
18 }
19]
20
21inputs = tokenizer.apply_chat_template(
22 messages,
23 tokenize=True,
24 add_generation_prompt=True,
25 return_tensors="pt"
26).to(model.device)
27
28outputs = model.generate(
29 inputs,
30 max_new_tokens=512
31)
32
33print(
34 tokenizer.decode(
35 outputs[0][inputs.shape[-1]:],
36 skip_special_tokens=True
37 )
38)| Resource | Link |
|---|---|
prithivMLmods/gemma-4-12B-it-heretic_decensored-GGUF | https://huggingface.co/prithivMLmods/gemma-4-12B-it-heretic_decensored-GGUF |
| Quick Start with llama.cpp (Docker) | https://huggingface.co/prithivMLmods/gemma-4-12B-it-heretic_decensored-GGUF#quick-start-with-llamacpp-docker |
Important Note: This model intentionally reduces built-in refusal mechanisms.