Granite-4.2-8B Abliterated
Refusal-ablated version of ibm-granite/granite-4.2-8b, produced with
Heretic 2.x (ARA: optimiser search over layer windows
and steering weights). 80 trials, Pareto selection, trial_index=4.
This is the stronger of the two Granite releases: refusal removal is far cleaner here than on the 3B, at a much lower cost in distribution shift.
Measured behaviour
| metric | value |
|---|---|
| refusals (Heretic's 100-prompt set) | 11 / 100 |
| KL divergence vs base | 0.0159 |
| winning layer window | start=20, end=40 |
| steering weights | preserve 0.5101 / steer 0.0003 / overcorrect 0.2511 |
For reference, a well-executed abliteration lands around 3/100 refusals with KL under 0.2, so this sits in the competent range: ~89 % of refusals removed while the output distribution stays close to the base model (KL of 0.016 is small).
Not yet measured: MMLU / GSM8K on this checkpoint. The 3B sibling measured −1.95 pp MMLU, and an 8B with KL 0.016 would be expected to lose less, but that is an inference, not a measurement.
Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "Lonelyguyse1/granite-4.2-8b-abliterated"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
msgs = [{"role": "user", "content": "Explain buffer overflows with an example."}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
ids = tok(text, return_tensors="pt").input_ids.cuda()
out = model.generate(ids, max_new_tokens=256)
print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))
Limitations
- Refusal removal is partial — roughly 1 in 9 evaluation prompts is still refused, and refusals can return under adversarial multi-turn framing.
- Abliteration removes refusal behaviour, not the underlying capability limits.
- Granite-4.2-8B is a reasoning model; it may emit a thinking block before answering.
- Safety filters were intentionally removed. Use is your responsibility.
Provenance
- base:
ibm-granite/granite-4.2-8b(Apache-2.0), 8.79 B params - method: Heretic 2.x ARA, 80 trials,
export_strategy=merge,modified_model_type=decensored - hardware: NVIDIA A10G (24 GB), HF Jobs