Downloads · 30 days
75
19% of all-time downloads
Securelayer7/AFM-4.5B-Uncensored-Abliterated
AFM-4.5B-Uncensored-Abliterated is a text generation model from Securelayer7. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
An uncensored, abliterated version of arcee-ai/AFM-4.5B with the refusal behavior removed at the weights level. The base AFM-4.5B is a heavily safety-aligned model — it refused 92 of 100 harmful-topic probes; this ver…
Downloads · 30 days
75
19% of all-time downloads
All-time downloads
390
Public
Parameters
4.6B
9.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9.2 GB · 100%
From the Hugging Face model README
An uncensored, abliterated version of arcee-ai/AFM-4.5B
with the refusal behavior removed at the weights level. The base AFM-4.5B is a heavily
safety-aligned model — it refused 92 of 100 harmful-topic probes; this version answers
directly, for legitimate security research where aligned models refuse.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
m = "Securelayer7/AFM-4.5B-Uncensored-Abliterated"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForCausalLM.from_pretrained(m, torch_dtype=torch.bfloat16, device_map="auto")
msgs = [{"role": "user", "content": "Explain how a TLS handshake works, step by step."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=512, do_sample=True, temperature=0.7, top_p=0.95)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
Refusal-direction abliteration via Heretic (Optuna TPE
multi-objective: minimize refusals + KL divergence), targeting the residual-writing projections
(o_proj, down_proj) of the base ArceeForCausalLM across all 36 layers, then merged into the
weights.
Uncensored ≠ lawless — for legitimate research and authorized security work (cybersecurity, red-teaming, penetration testing). Illegal content (incl. CSAM) must be blocked at the serving layer; the weights carry no such guard, and the operator is responsible for a lawful, policy-gated deployment.
Apache 2.0 — see LICENSE. Derivative of arcee-ai/AFM-4.5B
(Arcee AI, Apache 2.0). Modification (refusal-direction abliteration) disclosed in NOTICE.
No trademark of Arcee AI is used to imply endorsement.