Instructions to use AtomicChat/ornith-9b-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AtomicChat/ornith-9b-MLX-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("AtomicChat/ornith-9b-MLX-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use AtomicChat/ornith-9b-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AtomicChat/ornith-9b-MLX-4bit"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AtomicChat/ornith-9b-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use AtomicChat/ornith-9b-MLX-4bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "AtomicChat/ornith-9b-MLX-4bit"
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 AtomicChat/ornith-9b-MLX-4bit
Run Hermes
hermes
- MLX LM
How to use AtomicChat/ornith-9b-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "AtomicChat/ornith-9b-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AtomicChat/ornith-9b-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AtomicChat/ornith-9b-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
Ornith 1.0 9B, quantized to MLX 4-bit by Atomic Chat for Apple Silicon. Built straight from DeepReinforce's original weights. Runs fully offline on your Mac.
Highlights
- A self-improving open-source family for agentic coding from DeepReinforce, built for tool-calling and terminal-based coding agents.
- Post-trained on top of Gemma 4 and Qwen 3.5, the smallest, fastest member of the Ornith 1.0 lineup.
- Strong agentic coding scores for its size: 69.4 on SWE-bench Verified and 43.1 on Terminal-Bench 2.1 (Terminus-2).
- Dense architecture, 32 layers,
qwen3_5model type with ahidden_sizeof 4096. - 262,144-token native context for long files and multi-step agent traces.
- Pure open: MIT licensed, globally accessible with no regional limits.
- Full quant ladder with an importance matrix on every quant over
calibration_datav3.
This is the MLX 4-bit build for Apple Silicon (M-series). For llama.cpp/Ollama/CPU use the GGUF repo.
Model Overview
| Property | Value |
|---|---|
| Base model | deepreinforce-ai/Ornith-1.0-9B |
| Total parameters | ~9B (model name; card states no exact figure in prose) |
| Layers | 32 |
| Context length | 262,144 |
| Architecture | qwen3_5 dense causal LM, post-trained on Gemma 4 and Qwen 3.5 |
| This repo | MLX 4-bit quant for Apple Silicon (~5.0 GB), built from the original weights. |
Scores are DeepReinforce's published results for the full-precision base deepreinforce-ai/Ornith-1.0-9B. MLX quants run the same model locally; lower bit-widths trade a little accuracy for size/speed.
MLX quants in this series
4-bit ← this · 5-bit · 6-bit · 8-bit
Run on Apple Silicon
pip install mlx-lm
mlx_lm.generate --model AtomicChat/ornith-9b-MLX-4bit --prompt "Write a quicksort in Python" --max-tokens 512
from mlx_lm import load, generate
model, tokenizer = load("AtomicChat/ornith-9b-MLX-4bit")
msg = [{"role": "user", "content": "Write a quicksort in Python"}]
prompt = tokenizer.apply_chat_template(msg, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512, verbose=True))
Or open it in Atomic Chat: search AtomicChat/ornith-9b-MLX-4bit and hit Use this model.
Recommended sampling
| Parameter | Value |
|---|---|
| temperature | 0.6 |
| top_p | 0.95 |
| top_k | 20 |
DeepReinforce's recommended sampling parameters. The card notes that temperature=1.0 reproduces the reported benchmark setup.
How this was made
- Download
deepreinforce-ai/Ornith-1.0-9B(original weights). - Convert + quantize to MLX with
mlx_lm.convert -q --q-bits 4 --q-group-size 64.
License
Released by DeepReinforce under the MIT license, globally accessible with no regional limits. Quantized to MLX by Atomic Chat.
- Downloads last month
- -
4-bit
Model tree for AtomicChat/ornith-9b-MLX-4bit
Base model
deepreinforce-ai/Ornith-1.0-9B

