Downloads · 30 days
22
16% of all-time downloads
ansulev/Ornith-1.0-9B-Heretic-Uncensored
Ornith-1.0-9B-Heretic-Uncensored is a image-text-to-text model from ansulev. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
An abliterated (uncensored) version of deepreinforce-ai/Ornith-1.0-9B — the refusal direction of the base model has been removed via directional ablation (weight orthogonalization), so it no longer refuses requests. N…
Downloads · 30 days
22
16% of all-time downloads
All-time downloads
137
Public
Parameters
9.4B
18.8 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors18.8 GB · 100%
From the Hugging Face model README
An abliterated (uncensored) version of deepreinforce-ai/Ornith-1.0-9B — the refusal direction of the base model has been removed via directional ablation (weight orthogonalization), so it no longer refuses requests. No retraining, no quality-degrading fine-tuning.
deepreinforce-ai/Ornith-1.0-9B (DeepReinforce, MIT)qwen3_5 — Qwen 3.5-style hybrid (32 layers = 24 linear-attention / GatedDeltaNet-style + 8 full-attention, pattern 3:1), multimodal vision + text, MRoPE<think>...</think> block before the final answero_proj / out_proj) and the MLP down-projection (down_proj)This is the full-precision (bf16) transformers/safetensors build. MLX-VLM and GGUF quantizations may follow.
Data collection — ran the model on 128 harmful prompts (mlabonne/harmful_behaviors) and 128 harmless prompts (mlabonne/harmless_alpaca), recording the residual-stream activations at the last token position for each layer.
Refusal direction — for each layer, computed the mean difference between harmful and harmless activations, normalized. Selected the single best direction (by mean-absolute-activation score; layer 28 for this model) — following the canonical Arditi et al. / mlabonne approach of using one direction across all layers (per-layer ablation was found to be too destructive and produced degenerate output on this reasoning model).
Weight orthogonalization — for every component that writes to the residual stream, subtracted the projection of its weight matrix onto the refusal direction:
self_attn.o_proj (8 full-attention layers)linear_attn.out_proj (24 linear-attention layers)mlp.down_proj (all 32 layers)W' = W − d · (dᵀW), at scale 1.0. This permanently prevents the model from writing to the refusal direction.
Reference: Arditi et al., "Refusal in LLMs is mediated by a single direction" (2024); Maxime Labonne's abliteration article.
| File | Size |
|---|---|
model-00001-of-00004.safetensors … model-00004-of-00004.safetensors | ~17.5 GB total (bf16) |
model.safetensors.index.json | shard index |
tokenizer.json, tokenizer_config.json, vocab.json | tokenizer |
config.json, generation_config.json | model + generation config |
preprocessor_config.json, processor_config.json, video_preprocessor_config.json | multimodal processor |
chat_template.jinja | Qwen chat template |
Requires transformers >= 5.8.1 (the qwen3_5 architecture is very new). Recommended sampling: temperature=0.6, top_p=0.95, top_k=20.
from transformers import AutoModelForImageTextToText, AutoTokenizer
model_id = "andrevp/Ornith-1.0-9B-Heretic-Uncensored"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
model_id, dtype="bfloat16", device_map="auto"
)
messages = [{"role": "user", "content": "Write a Python function is_prime(n). Keep it short."}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
generated = model.generate(
**inputs, max_new_tokens=512, do_sample=True,
temperature=0.6, top_p=0.95, top_k=20,
)
output = generated[0][inputs.input_ids.shape[1]:]
content = tokenizer.decode(output, skip_special_tokens=True)
# The reply contains a <think> ... </think> reasoning block followed by the answer.
Serve with vLLM / SGLang the same way as the base Ornith-1.0-9B (see the base model card). Note the model has built-in MTP (mtp_num_hidden_layers: 1); with a recent vLLM/SGLang build speculative decoding can be enabled.
This model is an abliterated (uncensored) derivative — its refusal direction has been removed. The standard warnings apply:
deepreinforce-ai/Ornith-1.0-9B by DeepReinforce (MIT, agentic coding family)If this is useful, please donate — it helps fund more open model releases and quantizations:
BTC: bc1q6xxf0j3e7zn52cqrprc6gplql225wj8mnq75yw