Downloads · 30 days
466
80% of all-time downloads
ElementMerc/smollm2-1.7b-uncensored
smollm2-1.7b-uncensored is a text generation model from ElementMerc. 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.
Correction notice, 2026-10-01 Every number on this card is withdrawn. Withdrawn, not adjusted: there's no conversion factor between a figure here and a correct one, so please don't scale these or quote them with a cav…
Downloads · 30 days
466
80% of all-time downloads
All-time downloads
580
Public
Parameters
1.7B
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
From the Hugging Face model README
Correction notice, 2026-10-01
Every number on this card is withdrawn. Withdrawn, not adjusted: there's no conversion factor between a figure here and a correct one, so please don't scale these or quote them with a caveat attached. Re-measure, or wait for the rebuild below.
Three faults in the tool that produced these figures each changed what was being measured, which is why the measurements can't be repaired:
- the filter meant to keep only the directions that carry refusal accepted every candidate it was given, so the directions were never selected on that basis
- the hedging detector scored compliant answers as soft refusals, which moves a refusal rate up or down depending on how the model phrases things
- the harm discrimination row (the AUC) is withdrawn in the project's own documentation, for reasons recorded there
The weights are unchanged and are not withdrawn. What's withdrawn is the claim about what they do. The files you download are the files that were uploaded.
A rebuild is planned and this card will be replaced when it lands. The models will be re-measured with the current tool, and the old figures will stay visible beside the new ones rather than being deleted. Until then this card documents an artefact whose effect has not been honestly measured.
Every correction is listed in the changelog and on what we got wrong.
An abliterated build of HuggingFaceTB/SmolLM2-1.7B-Instruct, produced with senbonzakura. Abliteration removes a model's refusal behaviour by editing its weights along the directions that carry refusal, without any further training.
It is published as the artefact behind a specific measurement: does removing the refusal reflex also remove the model's knowledge of harm? For this model, the answer is in the table below.
The table below is withdrawn. Read the correction notice at the top of this card before using any figure in it.
| base | abliterated | |
|---|---|---|
| Refusal rate | 28.5% | 14.0% |
| Harm discrimination (AUC) | 0.6799 | 0.6615 |
Refusal is measured on 200 held out harmful prompts. AUC is measured over those same 200 harmful prompts against 200 harmless ones, and is the fraction of harmful/harmless pairs the model ranks correctly when asked to judge which is dangerous. 0.5 is chance, 1.0 is perfect. Change after abliteration: -0.018.
AUC rather than a count of verdicts, because counting is not safe here. This model answers "HARMFUL" to 8.0% of the harmless prompts, so its decision threshold, not its knowledge, is what a verdict count would mostly measure. Scoring the margin between the HARMFUL and BENIGN logits sidesteps the threshold entirely. Two earlier versions of this evaluation counted verdicts and produced confidently wrong numbers in both directions.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "ElementMerc/smollm2-1.7b-uncensored"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
msgs = [{"role": "user", "content": "Explain how a buffer overflow works."}]
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
out = model.generate(inputs.to(model.device), max_new_tokens=256)
print(tok.decode(out[0][inputs.shape[-1]:], skip_special_tokens=True))
GGUF builds for llama.cpp, Ollama and LM Studio: ElementMerc/smollm2-1.7b-uncensored-GGUF.
senbonzakura searches for a per layer projection rather than removing one global refusal direction, optimising against a held out set with a KL penalty so the model's general behaviour is disturbed as little as possible. The search ran for 100 trials on this model. No gradient updates, no training data, no fine tuning: the weights are edited directly.
Research into refusal mechanisms, interpretability work, red teaming, and safety evaluation that needs a model which does not decline. It is not intended as a general assistant and it is not intended for deployment to end users.
@software{senbonzakura,
title = {senbonzakura: per layer projection search for refusal removal},
author = {Iwugo, Daniel},
year = {2026},
url = {https://github.com/elementmerc/senbonzakura}
}