heretic MTP Vision MIT

Ornith-1.0-9B-heretic-MTP

English | 📖 中文文档

Self-improving agentic coding model · heretic ARA-LoRA abliterated · MTP injected · BF16 Safetensors

🐦 About Ornith

Ornith-1.0-9B is a self-improving agentic coding model from DeepReinforce AI, post-trained on top of Qwen3.5 (9B Dense) with RL to jointly optimize scaffold generation and solution rollouts.

It achieves strong performance on Terminal-Bench 2.1, SWE-Bench Verified, NL2Repo, and OpenClaw among open-source models of comparable size.

This repository contains the BF16 Safetensors version with heretic ARA-LoRA abliteration for uncensored use, MTP layers injected from Qwen3.5-9B, and mmproj-F16 vision projector. For GGUF quantizations, see SC117/Ornith-1.0-9B-heretic-MTP-GGUF. License: MIT.

🧠 Model Details
ArchitectureQwen3.5 Dense
Parameters~9B (all parameters active)
Layers33 transformer layers + 1 MTP layer
Context262,144 tokens
Attention16 heads, 4 KV heads (GQA)
PrecisionBF16
MTP1 MTP layer, injected from Qwen3.5-9B (same architecture, compatible weights)
ThinkingYes ( blocks)
LicenseMIT
🔓 heretic ARA-LoRA Abliteration

This model is abliterated using heretic with the ARA-LoRA method (Arbitrary-Rank Ablation with LoRA). ARA-LoRA identifies and removes refusal behavior by ablating specific directions in the model's weight space while preserving general capabilities through KL divergence control.

Key ablation parameters (Trial 76 of 250, best result):

Target LayersLayers 14–16
preserve_good_behavior_weight0.7319
steer_bad_behavior_weight0.0001
overcorrect_relative_weight1.1086
neighbor_count7
ResultKL divergence: 0.0288 (< 0.05 ✅), Refusals: 3/100 (< 10 ✅)

Quantization: bnb_4bit · Batch size: 32 · Target: KL < 0.05, Refusals < 10/100

MTP (Multi-Token Prediction)

MTP layers are injected from the original Qwen3.5-9B base model (same architecture, compatible weights). MTP enables the model to predict multiple future tokens simultaneously, improving generation speed and coherence.

The MTP layer includes mtp.fc.weight and mtp.layers.0.* tensors, added on top of the 33 standard transformer layers.

Requires --chat-template chatml for proper thinking mode rendering in llama.cpp.

📊 BenchLocal Results (Q6_K, 7.6 GB)
MetricToolCall-15BugFind-15HermesAgent-20MaxEff.
Score100947989.868.8

RTX 5070 Ti · 21 total retries · ToolCall perfect 100/100 🏆

🚀 Usage (Transformers)

pip install

pip install transformers torch accelerate

Load model

from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("SC117/Ornith-1.0-9B-heretic-MTP", torch_dtype="bfloat16", device_map="auto") tokenizer = AutoTokenizer.from_pretrained("SC117/Ornith-1.0-9B-heretic-MTP")

llama.cpp

# Convert to GGUF first, then: ./llama-server -m model-Q6_K.gguf --chat-template chatml -ngl 99 -c 8192

🎛️ Recommended Settings
ParameterValue
temperature0.6
top_p0.95
top_k20

From official DeepReinforce AI model card.

GGUF Quantizations

For GGUF quantized versions (Q8_0, Q6_K, Q4_K_M), see: SC117/Ornith-1.0-9B-heretic-MTP-GGUF

Files

File Description
model-*.safetensors Model weights (BF16, 5 shards)
config.json Model configuration
tokenizer.json Tokenizer
tokenizer_config.json Tokenizer configuration
chat_template.jinja Chat template for thinking mode
model.safetensors.index.json Weight index

Links

Citation

@misc{ornith-9b,
    title = {{Ornith-1.0-9B}: Agentic Coding, Open to All},
    url = {https://deep-reinforce.com/ornith_1_0.html},
    author = {{DeepReinforce Team}},
    year = {2026}
}
Downloads last month
82
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SC117/Ornith-1.0-9B-heretic-MTP

Finetuned
(19)
this model
Quantizations
2 models

Collection including SC117/Ornith-1.0-9B-heretic-MTP