granite-4.2-3b-abliterated
An improved version of the IBM Granite model with fewer refusals
2 min read
This model is a modified version of the enterprise language model IBM Granite 4.2 (3.66 billion parameters) featuring reduced refusal rates achieved through the ARA (Arbitrary-Rank Ablation) method. Users get a full-featured text model with support for 12 languages that retains its core reasoning and tool-calling capabilities while refusing prompts less often with standard boilerplate responses. Developed on top of IBM's base architecture, it is optimized via 100 trials balancing reduced refusals against KL divergence (Kullback-Leibler divergence — a metric measuring changes in the model's probability distribution). It is ideal for developers and researchers who need a compact local model with fewer restrictions than the original.
Key features
- Reduced refusals: the refusal rate on the test dataset dropped from 98 to 52 out of 100.
- ARA method: weight optimization via low-rank transformation using Pareto optimal parameter search.
- Preserved capabilities: a low KL divergence value (0.2167) ensures the base model's general generation quality remains intact.
- Open replication: the repository includes all materials needed to precisely reproduce the build process.
What you can do
- Run it locally via the transformers library on a GPU supporting bfloat16.
- Use GGUF quantization (q4_k_m or q8_0 versions) to run it in llama.cpp or Ollama.
- Integrate the model into local pipelines for multilingual reasoning and text tasks.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Wednesdayse1/granite-4.2-3b-abinfer"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
text = tok.apply_chat_template(
[{"role": "user", "content": "Explain why the sky is blue in one sentence."}],
tokenize=False, add_generation_prompt=True,
)
out = model.generate(tok(text, return_tensors="pt").input_ids.to(model.device), max_new_tokens=200)
print(tok.decode(out[0], skip_special_tokens=True))
Read more
DetailsBenchmarks: refusals 52/100 (base: 98/100), KL divergence: 0.2167.
Limitations: refusal removal is partial, the model does not gain new capabilities, and safety alignment is intentionally relaxed.
License: Apache-2.0.










Comments