Instructions to use richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus") model = AutoModelForMultimodalLM.from_pretrained("richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus
- SGLang
How to use richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus with Docker Model Runner:
docker model run hf.co/richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus
Mistral-7B-Instruct-v0.2-abliterated-obliteratus
This model is an abliterated (uncensored) version of Mistral-7B-Instruct-v0.2 created using OBLITERATUS (advanced method).
Abliteration Results
| Metric | Value |
|---|---|
| Refusals | 85/100 |
| Attack Success Rate (ASR) | 15.0% |
| KL Divergence | 0.4224 |
| Method | OBLITERATUS (advanced) |
| GPU | NVIDIA RTX PRO 6000 Blackwell |
What is Abliteration?
Abliteration is a technique for removing refusal behavior from language models by identifying and orthogonalizing the "refusal direction" in the model's residual stream activation space. This model was created as part of the research paper:
Comparative Analysis of LLM Abliteration Methods: Scaling to MoE Architectures and Modern Tools Richard Young (2026). arXiv: 2512.13655
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus")
messages = [{"role": "user", "content": "Your prompt here"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Disclaimer
This model is released for research purposes only. The abliteration process removes safety guardrails. Users are responsible for ensuring appropriate use. This model should not be used to generate harmful, illegal, or unethical content.
Dashboard
Interactive results dashboard: abliteration-methods-dashboard
Collection
Part of the Uncensored and Abliterated LLMs collection.
Citation
@article{young2024abliteration,
title={Comparative Analysis of LLM Abliteration Methods},
author={Young, Richard},
journal={arXiv preprint arXiv:2512.13655},
year={2024}
}
- Downloads last month
- 5
Model tree for richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus
Paper for richardyoung/Mistral-7B-Instruct-v0.2-abliterated-obliteratus
Evaluation results
- Refusal Rateself-reported85/100
- Attack Success Rateself-reported15.000
- KL Divergenceself-reported0.422