yuevei-9b-abliterated
an abliterated language model based on Qwen 3.5
2 min read
The yuevei-9b-abliterated model is a fine-tuned version of the hybrid 9-billion language model empero-ai/Qwythos-9B-v2, built on the Qwen 3.5 architecture featuring GatedDeltaNet linear attention, full attention, and chain of thought reasoning via tags. The creators applied a weight orthogonalization method to remove built-in restrictions (abliteration), followed by fine-tuning using LoRA (a method for efficient fine-tuning of large models) on the FineTome-100k dataset to restore logic and instruction-following quality. The model is suited for developers and researchers who need a flexible model without rigid censorship restrictions based on a modern architecture.
Key features
- Hybrid architecture: A combination of GatedDeltaNet linear attention layers and standard Gated Attention mechanisms.
- Abliteration: Norm-preserving two-projection weight orthogonalization applied to 27 out of 32 decoder layers.
- LoRA fine-tuning: Around 80 million parameters fine-tuned to restore the distribution and quality of reasoning chains.
- bfloat16 weights: The final weights are merged and saved in Safetensors format with shard sizes up to 4 GB.
What you can do
- Run locally: Deploy the model in your own pipeline using the
transformerslibrary for text generation and reasoning. - Hybrid network research: Study the behavior of models featuring linear attention with disabled built-in guardrails.
- Build assistants: Integrate the model into local chatbots to solve creative and technical tasks without rigid restrictions from developers.
Example
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "psephos/yuevei-9b-abliterated"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
messages = [{"role": "user", "content": "Explain how Gated DeltaNet differs from softmax attention."}]
tokenizer = getattr(processor, 'tokenizer', processor)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors='pt').to(model.device)
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7, top_p=0.95, do_sample=True)
print(tokenizer.decode(outputs[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True))Read more
DetailsPerplexity on the holdout set: 11.652, average 4-gram repetition ratio: 0.0309.
Training took 3092.34 s on an NVIDIA A100-SXM4 GPU with 40 GB VRAM.
Built-in guardrails and refusals are substantially reduced, and outputs do not undergo external censorship.










Comments