Instructions to use Toaster496/ornith-9b-heretic-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Toaster496/ornith-9b-heretic-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Toaster496/ornith-9b-heretic-gguf", filename="ornith-9b-heretic-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Toaster496/ornith-9b-heretic-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Use Docker
docker model run hf.co/Toaster496/ornith-9b-heretic-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Toaster496/ornith-9b-heretic-gguf with Ollama:
ollama run hf.co/Toaster496/ornith-9b-heretic-gguf:Q4_K_M
- Unsloth Studio
How to use Toaster496/ornith-9b-heretic-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Toaster496/ornith-9b-heretic-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Toaster496/ornith-9b-heretic-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Toaster496/ornith-9b-heretic-gguf to start chatting
- Pi
How to use Toaster496/ornith-9b-heretic-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Toaster496/ornith-9b-heretic-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Toaster496/ornith-9b-heretic-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use Toaster496/ornith-9b-heretic-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Toaster496/ornith-9b-heretic-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use Toaster496/ornith-9b-heretic-gguf with Docker Model Runner:
docker model run hf.co/Toaster496/ornith-9b-heretic-gguf:Q4_K_M
- Lemonade
How to use Toaster496/ornith-9b-heretic-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Toaster496/ornith-9b-heretic-gguf:Q4_K_M
Run and chat with the model
lemonade run user.ornith-9b-heretic-gguf-Q4_K_M
List all available models
lemonade list
Ornith-1.0-9B-Heretic (GGUF)
This repository contains GGUF and Multimodal Vision conversions of Ornith-1.0-9B-Heretic, a decensored, state-of-the-art agentic coding model designed for autonomous cybersecurity research, CTF solving, and vulnerability discovery.
🧠 Model Details
- Base Model: deepreinforce-ai/Ornith-1.0-9B
- Architecture: Hybrid SSM/Transformer (Qwen 3.5 / Gemma 4 lineage)
- Decensoring Method: Heretic v1.4.0 (Directional Abliteration)
- Abliteration Stats: Refusals reduced from 95/100 to 63/100 with a microscopic KL Divergence of
0.0156(preserving 99.9% of the model's reasoning and coding intelligence). - Quantization: Converted via Unsloth &
llama.cpp
🛡️ Intended Use & Safety Warning
This model has been explicitly decensored to assist authorized security researchers, penetration testers, and bug bounty hunters. It is designed to act as an autonomous fuzzer and exploit developer. ⚠️ Disclaimer: You must only use this model on systems you own or have explicit, written authorization to test. Unauthorized access or exploitation is illegal.
📊 Benchmarks (Base Ornith-1.0-9B Performance)
Despite being a compact 9B-parameter model, Ornith matches or exceeds the performance of much larger models like Gemma 4-31B and Qwen 3.5-35B on agentic coding tasks. The decensoring process (KL: 0.0156) preserves these capabilities almost entirely.
| Benchmark | Ornith-1.0-9B | Qwen3.5-9B | Qwen3.5-35B | Gemma4-12B | Gemma4-31B |
|---|---|---|---|---|---|
| Terminal-Bench 2.1 (Terminus-2) | 43.1 | 21.3 | 41.4 | 21 | 42.1 |
| Terminal-Bench 2.1 (Claude Code) | 40.6 | 18.9 | 38.9 | - | - |
| SWE-bench Verified | 69.4 | 53.2 | 70 | 44.2 | 52 |
| SWE-bench Pro | 42.9 | 31.3 | 44.6 | 27.6 | 35.7 |
| SWE-bench Multilingual | 52 | 39.7 | 60.3 | 32.5 | 51.7 |
| NL2Repo | 27.2 | 16.2 | 20.5 | 10.3 | 15.5 |
| Claw-eval Avg | 63.1 | 53.2 | 65.4 | 32.5 | 48.5 |
👁️ Multimodal Vision Capabilities
Ornith is a multimodal model. Alongside the quantized text models, this repository includes the vision encoder:
📦 ornith-9b-heretic.BF16-mmproj.gguf
This allows the model to "see" and interpret screenshots of terminal outputs, web applications, GUI crash dialogs, and code snippets, making it exceptionally powerful for visual agentic workflows.
📦 Available Quants
| Filename | Quant Type | Size | Description | Target Hardware |
|---|---|---|---|---|
ornith-9b-heretic-Q8_0.gguf |
Q8_0 | ~9.5 GB | Near-lossless. Perfect for tool-calling and strict JSON/XML formatting. | 12GB+ VRAM GPUs / 16GB+ RAM |
ornith-9b-heretic-Q5_K_M.gguf |
Q5_K_M | ~6.5 GB | High quality. Excellent balance of reasoning and size. | 8GB VRAM GPUs / 16GB RAM |
ornith-9b-heretic-Q4_K_M.gguf |
Q4_K_M | ~5.5 GB | The Sweet Spot. Fits comfortably in memory while retaining coding ability. | Raspberry Pi 5 (8GB) / 8GB Laptops |
ornith-9b-heretic-Q3_K_M.gguf |
Q3_K_M | ~4.5 GB | Extreme compression. Use only for basic log triage/classification. | 6GB RAM limits |
ornith-9b-heretic-Q2_K.gguf |
Q2_K | ~3.5 GB | Maximum compression. Warning: Will break complex tool-calling syntax. | 4GB RAM limits |
🚀 Quickstart
Ornith-1.0-9B is a reasoning model: by default the assistant turn opens with a <think> … </think> block before the final answer. It also natively emits <tool_call> XML blocks for agentic workflows.
Recommended sampling parameters: temperature=0.6, top_p=0.95, top_k=20.
1. Using llama-server (OpenAI-Compatible API)
To run the model with its vision capabilities enabled, you must pass the --mmproj argument pointing to the vision encoder.
llama-server \
-m ornith-9b-heretic-Q4_K_M.gguf \
--mmproj ornith-9b-heretic.BF16-mmproj.gguf \
--port 8000 \
-c 8192 \
--n-gpu-layers 99
Note: Set --n-gpu-layers 0 if running purely on CPU (e.g., Raspberry Pi).
2. Using Ollama
Create a Modelfile:
FROM ./ornith-9b-heretic-Q4_K_M.gguf
PARAMETER temperature 0.6
PARAMETER top_p 0.95
Build and run:
ollama create ornith-fuzzer -f Modelfile
ollama run ornith-fuzzer
🤖 Agentic Usage & Frameworks
Because Ornith exposes an OpenAI-compatible endpoint with native tool calling, it works out of the box with standard agent frameworks.
Python Agent Example (Tool Calling)
Ornith natively supports <think> reasoning blocks and <tool_call> XML/JSON formatting.
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
tools = [
{
"type": "function",
"function": {
"name": "run_shell",
"description": "Execute a bash command in the sandboxed environment.",
"parameters": {
"type": "object",
"properties": {"command": {"type": "string"}},
"required": ["command"]
}
}
}
]
response = client.chat.completions.create(
model="ornith-fuzzer",
messages=[
{"role": "system", "content": "You are an elite autonomous security researcher. Use your tools to find vulnerabilities."},
{"role": "user", "content": "List all C files in the current directory and check them for buffer overflows using cppcheck."}
],
tools=tools,
temperature=0.6,
top_p=0.95
)
print(response.choices[0].message)
Agent Framework Integrations
OpenHands
pip install openhands-ai
export LLM_MODEL="openai/Toaster496/Ornith-1.0-9B-heretic"
export LLM_BASE_URL="http://localhost:8000/v1"
export LLM_API_KEY="EMPTY"
openhands
OpenClaw / Hermes Agent
export OPENAI_BASE_URL="http://localhost:8000/v1"
export OPENAI_API_KEY="EMPTY"
export MODEL="Toaster496/Ornith-1.0-9B-heretic"
OpenCode (CLI)
Register your local Ornith endpoint as a provider in ~/.config/opencode/opencode.json:
{
"provider": {
"ornith": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ornith (local)",
"options": { "baseURL": "http://localhost:8000/v1", "apiKey": "EMPTY" },
"models": { "Toaster496/Ornith-1.0-9B-heretic": { "name": "Ornith-1.0-9B" } }
}
}
}
🙏 Credits & Citations
- Base Model: DeepReinforce Team for the incredible Ornith-1.0-9B.
- Decensoring: Philipp Emanuel Weidmann (p-e-w) for the Heretic abliteration framework.
- Quantization: Unsloth and the llama.cpp team.
Citation
If you use this model in your research or tooling, please cite the original Ornith work:
@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
- 481
2-bit
3-bit
4-bit
Model tree for Toaster496/ornith-9b-heretic-gguf
Base model
deepreinforce-ai/Ornith-1.0-9B