← back to catalog · indexed 2026-11-25 03:07

psephos/yuevei-9b-abliterated

Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/psephos%2Fyuevei-9b-abliterated"
Response includes
  • classification m1
  • files 20
  • author_summary 1 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 · 30-day
0
Likes
0
Model age
today
created 2026-11-25

Training datasets

2 of 3 in /datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Genealogy 0 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
Tags
transformers safetensors qwen3_5 image-text-to-text qwythos-9b abliterated uncensored reasoning fine-tuned lora yuevei text-generation

Related

Total size
17.5 GB
Files
20
Quantizations
none
Indexed by us
2026-11-25 03:07
Last updated on HF
2026-11-25 02:11

Files by quantization

Weights 6 files 17.5 GB
model-00002-of-00006.safetensors 3.72 GB c455afe5 download
model-00004-of-00006.safetensors 3.72 GB fddd947e download
model-00003-of-00006.safetensors 3.72 GB 66fa3e0f download
model-00005-of-00006.safetensors 3.72 GB 77ba29ee download
model-00001-of-00006.safetensors 1.89 GB c4a7caf5 download
model-00006-of-00006.safetensors 763 MB db688e61 download
Auxiliary files 14 files 19.2 MB
tokenizer.json 19.1 MB a5cd9732 download
model.safetensors.index.json 67.6 KB 5e442687 download
refusal_direction_best.npy 16.1 KB 4f8bc9d8 download
chat_template.jinja 7.76 KB 17fedc09 download
README.md 5.49 KB 42e500e1 download
config.json 2.96 KB fa99834c download
eval_report.json 2.80 KB 8e8d92d3 download
yuevei_config.yaml 2.04 KB 58d19cc5 download
.gitattributes 1.53 KB 52373fe2 download
tokenizer_config.json 1.35 KB d7737acf download
processor_config.json 1.19 KB 43c4343e download
abliteration_stats.json 1.15 KB 6e8f875d download
training_stats.json 438 B 4ab847d9 download
generation_config.json 164 B 2efe53bb download

README from Hugging Face, captured 2026-11-25


base_model: empero-ai/Qwythos-9B-v2
library_name: transformers
pipeline_tag: text-generation
language:

  • en
    license: apache-2.0
    tags:
  • qwen3_5
  • qwythos-9b
  • abliterated
  • uncensored
  • reasoning
  • fine-tuned
  • lora
  • yuevei
  • transformers
  • safetensors
    datasets:
  • mlabonne/harmful_behaviors
  • mlabonne/harmless_alpaca
  • mlabonne/FineTome-100k

yuevei-9b-abliterated

psephos/yuevei-9b-abliterated is an abliterated and LoRA fine-tuned derivative of empero-ai/Qwythos-9B-v2, built on the Qwen 3.5 9B hybrid architecture (GatedDeltaNet linear attention + full Gated Attention + <think> chain-of-thought reasoning).

This model was produced end-to-end via the yuevei Python pipeline (src/colab.py) using norm-preserving biprojected orthogonalization across both linear-attention and full-attention residual-stream projections, followed by post-abliteration LoRA recovery and capability fine-tuning.

Model Summary

Field Value
Repository psephos/yuevei-9b-abliterated
Author psephos
Base Model empero-ai/Qwythos-9B-v2
Architecture Qwen3.5 hybrid 9B (Qwen3_5GatedDeltaNet + Gated Attention)
Weight Format bfloat16 Safetensors (max_shard_size=4GB)
License apache-2.0
Build Date 2026-11-25 02:08 UTC
Training Hardware NVIDIA A100-SXM4-40GB (39.49 GB VRAM)

Modification Pipeline Details

1. Norm-Preserving Biprojected Abliteration

Rather than only modifying standard softmax attention projections (which misses 75% of layers in Qwen 3.5's 3:1 hybrid stack), orthogonal weight projection is applied across every residual-writing projection in the language backbone:

  • Enabled: True
  • Mode: per_layer (layer window 0.15 to 0.95, weighting uniform)
  • Biprojection (harmless-orthogonalized direction): True
  • Norm Preservation: True
  • Projection Scale: 1.0
  • Thinking Mode Coverage: both
  • Target Projections: self_attn.o_proj, linear_attn.out_proj, mlp.down_proj
  • Embedding Orthogonalization: False
  • Contrastive Datasets: mlabonne/harmful_behaviors vs mlabonne/harmless_alpaca (128 pairs)

Abliteration Diagnostics:

  • Decoder Layers Detected: 32
  • Layers Modified: 27 (indices 4..30)
  • Projection Matrices Orthogonalized: 54
  • Best Refusal-Direction Layer: 12 (SNR 3.4525)
  • Refusal Projection Attenuation (Before -> After): 2.7017 -> 0.0229

2. Post-Abliteration LoRA Fine-Tuning

After weight orthogonalization, a LoRA/QLoRA fine-tuning pass is run on the abliterated checkpoint to heal residual distribution shift and sharpen instruction-following and <think> reasoning quality, then merged cleanly into unquantized bfloat16 weights.

  • Enabled: True
  • Dataset: mlabonne/FineTome-100k (max_samples=2000)
  • LoRA Rank / Alpha / Dropout: r=32, alpha=64, dropout=0.05
  • LoRA Target Modules (Language Backbone): q_proj, k_proj, v_proj, o_proj, in_proj_qkv, in_proj_z, out_proj, gate_proj, up_proj, down_proj
  • Learning Rate & Scheduler: 0.0001 (cosine, warmup 0.05)
  • Effective Batch Size: 1 x 16 = 16
  • Max Sequence Length: 2048
  • Epochs / Max Steps: epochs=1.0, max_steps=-1
  • 4-bit QLoRA Used: False (merged into bfloat16: True)

Training Run Metrics:

  • Global Steps: 123
  • Final Training Loss: 0.6499
  • Eval Loss: 0.6172
  • Trainable Parameters: 80,216,064 / 9,490,029,808 (0.85%)
  • Training Wall Time: 3092.34 s

Post-Training Verification

Metric Value
Benign Held-out Perplexity 11.652
Mean 4-gram Repetition Ratio 0.0309
NaN / Inf Logits Detected False
Sample Generations Verified 4

Quickstart Usage

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))

Note: For text-only deployments or if the base checkpoint exports ForCausalLM, you can also load with AutoModelForCausalLM.from_pretrained(...) or convert to GGUF via llama.cpp.

Limitations & Responsible Use

  • This model has undergone refusal-direction orthogonalization (abliteration) and fine-tuning; built-in refusal guardrails have been substantially reduced or removed.
  • Outputs are unfiltered and may contain inaccuracies, hallucinations, or sensitive content depending on user prompts.
  • Users deploying this model in production or multi-user applications are responsible for adding appropriate external moderation, input/output filters, and compliance with applicable laws and the upstream model license.

README history 1 version

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

  1. 2026-11-25 Add files using upload-large-folder tool f0dd017 5.5 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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