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

huggingface.co
Total runs: 108
24-hour runs: 0
7-day runs: -31
30-day runs: -54
Model's Last Updated: August 30 2026

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

Model Details of Devstral-Small-2-24B-Instruct-abliterated

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

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

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 Prometheus

Runs of wangzhang Devstral-Small-2-24B-Instruct-abliterated on huggingface.co

108
Total runs
0
24-hour runs
-2
3-day runs
-31
7-day runs
-54
30-day runs

More Information About Devstral-Small-2-24B-Instruct-abliterated huggingface.co Model

More Devstral-Small-2-24B-Instruct-abliterated license Visit here:

https://choosealicense.com/licenses/apache-2.0

Devstral-Small-2-24B-Instruct-abliterated huggingface.co

Devstral-Small-2-24B-Instruct-abliterated huggingface.co is an AI model on huggingface.co that provides Devstral-Small-2-24B-Instruct-abliterated's model effect (), which can be used instantly with this wangzhang Devstral-Small-2-24B-Instruct-abliterated model. huggingface.co supports a free trial of the Devstral-Small-2-24B-Instruct-abliterated model, and also provides paid use of the Devstral-Small-2-24B-Instruct-abliterated. Support call Devstral-Small-2-24B-Instruct-abliterated model through api, including Node.js, Python, http.

Devstral-Small-2-24B-Instruct-abliterated huggingface.co Url

https://huggingface.co/wangzhang/Devstral-Small-2-24B-Instruct-abliterated

wangzhang Devstral-Small-2-24B-Instruct-abliterated online free

Devstral-Small-2-24B-Instruct-abliterated huggingface.co is an online trial and call api platform, which integrates Devstral-Small-2-24B-Instruct-abliterated's modeling effects, including api services, and provides a free online trial of Devstral-Small-2-24B-Instruct-abliterated, you can try Devstral-Small-2-24B-Instruct-abliterated online for free by clicking the link below.

wangzhang Devstral-Small-2-24B-Instruct-abliterated online free url in huggingface.co:

https://huggingface.co/wangzhang/Devstral-Small-2-24B-Instruct-abliterated

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

Devstral-Small-2-24B-Instruct-abliterated is an open source model from GitHub that offers a free installation service, and any user can find Devstral-Small-2-24B-Instruct-abliterated on GitHub to install. At the same time, huggingface.co provides the effect of Devstral-Small-2-24B-Instruct-abliterated install, users can directly use Devstral-Small-2-24B-Instruct-abliterated installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Devstral-Small-2-24B-Instruct-abliterated install url in huggingface.co:

https://huggingface.co/wangzhang/Devstral-Small-2-24B-Instruct-abliterated

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

Devstral-Small-2-24B-Instruct-abliterated huggingface.co Url

Provider of Devstral-Small-2-24B-Instruct-abliterated huggingface.co

wangzhang
ORGANIZATIONS

Other API from wangzhang

huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated:October 12 2023
huggingface.co

Total runs: 1
Run Growth: -3
Growth Rate: -300.00%
Updated:October 12 2023
huggingface.co

Total runs: 0
Run Growth: -3
Growth Rate: 0.00%
Updated:October 14 2023