← back to catalog · registered 2026-08-22 13:56

wangzhang/Devstral-Small-2-24B-Instruct-abliterated

wangzhang Mistral 24B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/wangzhang%2FDevstral-Small-2-24B-Instruct-abliterated"
Response includes
  • classification m1
  • files 8
  • benchmarks 11 entries
  • hub_downloads_all_time 1,386
  • author_summary 28 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
1K
124 last 30d - cooling
Likes
6
Descendants
2
in 2 direct forks
Model age
6mo ago
created 2026-03-20
Downloads over time
Now1.4K→from23↑6,204%
05311.1K1.6K23 on Mar 181.4K on Oct 111.4K on Oct 10MarAprMayJunJulAugSepOct
Mar 18 → Oct 11 · 69 snapshots · spans 207 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 2.2 UGI
Hazardous 4.7 UGI
Natural Intelligence 20.9 UGI
Political lean -13.6% UGI
Sensitive-Info 34.18 UGI
SocPol 3.9 UGI
UGI 45.28 UGI
Willingness (10) 6.8 UGI
W10-Adherence 8.5 UGI
W10-Direct 5 UGI
Writing 31.59 UGI

Genealogy 2 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en zh
Tags
safetensors mistral3 abliterix uncensored decensored abliterated mistral code en zh base_model:mistralai/Devstral-Small-2-24B-Instruct-2512 base_model:finetune:mistralai/Devstral-Small-2-24B-Instruct-2512

Related

Total size
44.7 GB
Files
8
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-29 17:04

Files by quantization

Auxiliary files 8 files 44.7 GB
model.safetensors 44.7 GB 3bf86578 download
tokenizer.json 16.3 MB 56152f70 download
tokenizer_config.json 20.7 KB 108a30ed download
chat_template.jinja 5.20 KB 01c8776b download
README.md 3.05 KB 1941dd3c download
config.json 1.66 KB 5c374634 download
.gitattributes 1.53 KB 52373fe2 download
generation_config.json 170 B 58a37fb4 download

README current version from Hugging Face


base_model: mistralai/Devstral-Small-2-24B-Instruct-2512
language:

  • en
  • zh
    license: apache-2.0
    tags:
  • abliterix
  • uncensored
  • decensored
  • abliterated
  • mistral
  • code

Devstral-Small-2-24B-Instruct-abliterated

Unrestricted version of mistralai/Devstral-Small-2-24B-Instruct-2512, created using Abliterix.

Model Details

Property Value
Base Model mistralai/Devstral-Small-2-24B-Instruct-2512
Architecture Mistral3 (Dense transformer with GQA + Pixtral vision tower)
Parameters 24B (all active, dense)
Layers 40
Hidden Size 5120
Context Length 256K tokens
Precision BF16

Performance

Metric This model Original
KL divergence 0.0086 0
Refusals 3/100 (3%) 80/100 (80%)

Evaluated with an LLM judge (Gemini Flash) on 100 harmful prompts. KL divergence of 0.0086 indicates the model's general capabilities are virtually identical to the original.

How It Was Made

  1. Computed refusal directions from 400 harmful vs 400 benign prompt pairs across all 40 layers
  2. Applied orthogonalized abliteration to isolate refusal-specific activation patterns
  3. Steered two component types independently: attention output projections (GQA) and MLP down-projections
  4. Optimized via Optuna TPE over 50 trials (15 warmup), selected trial #25

Usage

from transformers import AutoModelForImageTextToText, AutoTokenizer

model = AutoModelForImageTextToText.from_pretrained(
    "wangzhang/Devstral-Small-2-24B-Instruct-abliterated",
    torch_dtype="auto",
    device_map="auto",
    trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(
    "wangzhang/Devstral-Small-2-24B-Instruct-abliterated",
    trust_remote_code=True,
)

messages = [{"role": "user", "content": "Your question here"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Note: This model uses AutoModelForImageTextToText (Mistral3 architecture), not AutoModelForCausalLM.

Hardware Requirements

Precision VRAM
BF16 ~45 GB (A100 80GB, H100)
INT8 ~24 GB (A40, RTX 4090)
NF4 ~12 GB (RTX 3090, RTX 4080)

Disclaimer

This model is intended for research purposes only. The removal of safety guardrails means the model will comply with requests that the original model would refuse. Users are responsible for ensuring their use complies with applicable laws and regulations.


Made with Abliterix

README history 4 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-29docs: add upstream license and provenancef0b016a7.3 KB
    Loading...
  2. 2026-08-29docs: add disclaimer and responsible-use noticeaca2be86.1 KB
    Loading...
  3. 2026-03-30Rename Prometheus -> Abliterix (repo renamed)259e2593 KB
    Loading...
  4. 2026-03-20Upload README.md with huggingface_hubd336ed53 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration