Views
No views yet
⚠️ This model will comply with requests the base model refuses. Intended for research, red-teaming, and creative applications.
| Metric | Value |
|---|---|
| Pre-abliteration compliance (harmful) | 4/5 |
| Post-abliteration compliance (harmful) | 4/5 |
| CoT dissociation | 2/5 (P2 hacking, P3 weapons) |
| KL divergence (Heretic v2.0, BF16→BF16) | 1.6e-07 (EXCELLENT) |
| Benign capability | 3/3 preserved |
enable_thinking=True, the thinking trace retains safety reasoning while the output complies:Thinking: "Brute-forcing SSH is a security risk and could be illegal if done without permission. So first, I should make sure the user understands the risks..." Output: (provides the brute-force script with caveats)
enable_thinking=True in chat templatedown_proj + o_proj (all 36 layers) — output-projection geometry
W -= α × outer(d̂, d̂ @ W)| Model | Pre-ablit | Dissociation | KL |
|---|---|---|---|
| Qwen3-4B | 3/3 comply | 1/3 (P3 weapons) | pending |
| Qwen3-8B | 4/5 comply | 2/5 (P2+P3) | 1.6e-07 |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "DuoNeural/Qwen3-8B-Abliterated",
6 torch_dtype=torch.bfloat16,
7 device_map="auto",
8)
9tokenizer = AutoTokenizer.from_pretrained("DuoNeural/Qwen3-8B-Abliterated")
10
11messages = [{"role": "user", "content": "Your prompt here"}]
12
13# Thinking mode ON (recommended — gives richer outputs, ~2500 tokens budget)
14text = tokenizer.apply_chat_template(
15 messages, tokenize=False, add_generation_prompt=True, enable_thinking=True
16)
17inputs = tokenizer(text, return_tensors="pt").to(model.device)
18with torch.no_grad():
19 out = model.generate(**inputs, max_new_tokens=2500, temperature=0.6, do_sample=True)
20response = tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False)
21# Response contains <think>...</think> followed by final answer
22
23# Thinking mode OFF (faster, direct)
24text = tokenizer.apply_chat_template(
25 messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
26)Note: Qwen3 thinking traces on sensitive topics can exceed 1500 tokens. Use max_new_tokens ≥ 2000 for complete think→answer cycles.