Text Generation
MLX
Safetensors
qwen3_5
atomic-chat
ornith
deepreinforce-ai
apple-silicon
quantized
conversational
5-bit
Instructions to use AtomicChat/Ornith-9B-MLX-5bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AtomicChat/Ornith-9B-MLX-5bit 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-5bit") 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-5bit 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-5bit"
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-5bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use AtomicChat/Ornith-9B-MLX-5bit 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-5bit"
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-5bit
Run Hermes
hermes
- OpenClaw new
How to use AtomicChat/Ornith-9B-MLX-5bit with OpenClaw:
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-5bit"
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 "AtomicChat/Ornith-9B-MLX-5bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- MLX LM
How to use AtomicChat/Ornith-9B-MLX-5bit 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-5bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AtomicChat/Ornith-9B-MLX-5bit" # 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-5bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
File size: 4,224 Bytes
2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 2ef3de0 3afc1f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | ---
license: mit
license_link: https://huggingface.co/deepreinforce-ai/Ornith-1.0-9B/blob/main/LICENSE
thumbnail: https://huggingface.co/AtomicChat/ornith-9b-MLX-5bit/resolve/main/hero.png
base_model:
- deepreinforce-ai/Ornith-1.0-9B
base_model_relation: quantized
quantized_by: AtomicChat
pipeline_tag: text-generation
library_name: mlx
tags:
- atomic-chat
- ornith
- deepreinforce-ai
- mlx
- apple-silicon
- quantized
---
<center>
<div style="display:flex; justify-content:center; align-items:center; gap:2%; max-width:560px; margin:0 auto;">
<a href="https://atomic.chat" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/ornith-9b-MLX-5bit/resolve/main/pill_atomic_v3.png" alt="Atomic Chat" style="width:100%; height:auto; max-width:186px;"></a>
<a href="https://discord.gg/8wGSsvmg4V" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/ornith-9b-MLX-5bit/resolve/main/pill_discord_v3.png" alt="Join Discord" style="width:100%; height:auto; max-width:184px;"></a>
<a href="https://github.com/AtomicBot-ai/Atomic-Chat" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/ornith-9b-MLX-5bit/resolve/main/pill_github_v3.png" alt="GitHub" style="width:100%; height:auto; max-width:141px;"></a>
</div>
<br/>
<img src="https://huggingface.co/AtomicChat/ornith-9b-MLX-5bit/resolve/main/hero.png" alt="Ornith 1.0 9B" style="width:100%; max-width:100%; height:auto; margin-bottom:0.6em;"/>
<div style="display:flex; justify-content:center; gap:0.5em;">
<a href="https://huggingface.co/deepreinforce-ai/Ornith-1.0-9B"><strong>Base model: deepreinforce-ai/Ornith-1.0-9B</strong></a>
</div>
</center>
**Ornith 1.0 9B**, self-quantized to MLX by [Atomic Chat](https://atomic.chat). Built straight from DeepReinforce's original weights with a per-tensor importance matrix, so this is not a repack of somebody else's files. Runs fully offline.
## Highlights
- **0.0B parameters**: the weights this repo quantizes.
- **Context length**: 262,144 tokens (256K), as published by DeepReinforce.
- **32 layers**: Dense decoder.
- **Modalities**: Text, Image.
- **Full imatrix ladder**: every quant is calibrated with an importance matrix.
- **State-of-the-Art Coding Agents**: Available in 9B-Dense, 31B-Dense, 35B-MoE, and 397B-MoE (post-trained on top of Gemma 4 and Qwen 3.5), achieving state-of-the-art performance among open-source models of comparable size on coding benchmarks such as Terminal-Bench 2.1, SWE-Bench, NL2Repo and OpenClaw.
- **Self-Improving Training Framework**: Ornith-1.0 employs RL to learn to generate not only solution rollouts, but also the scallfold that drive those rollouts. By jointly optimizing the scaffold and the resulting solution, the model discovers better search trajectories and generates higher-quality solutions.
> [!NOTE]
> These MLXs are **self-quantized from the original weights**, not a repack. The importance matrix keeps low-bit quants closer to the full-precision model.
## Model Overview
| Property | Value |
|---|---|
| Base model | `deepreinforce-ai/Ornith-1.0-9B` |
| Parameters | 0.0B |
| Layers | 32 |
| Context length | 262,144 tokens (256K) |
| Vocabulary | 248,320 |
| Modalities | Text, Image |
| Architecture | Dense decoder, 16 attention heads over 4 KV heads, `Qwen3_5ForConditionalGeneration` |
| This repo | MLX weights |
## Get started
- **[Atomic Chat](https://atomic.chat):** search `AtomicChat/ornith-9b-MLX-5bit` and hit **Use this model**.
- **mlx-lm:** `mlx_lm.generate --model AtomicChat/ornith-9b-MLX-5bit --prompt "Hello" --max-tokens 512`
- **Server:** `mlx_lm.server --model AtomicChat/ornith-9b-MLX-5bit --port 8080`
## Best practices
| Parameter | Value |
|---|---|
| temperature | 1.0 |
| top_p | 1.0 |
| top_k | 20 |
DeepReinforce's recommended sampling configuration for `deepreinforce-ai/Ornith-1.0-9B`.
## How these were made
1. Download `deepreinforce-ai/Ornith-1.0-9B` (original weights).
2. Convert and quantize with `mlx_lm.convert` on our pipeline.
## License
Original model by DeepReinforce, released under the MIT license. Full terms: [MIT](https://huggingface.co/deepreinforce-ai/Ornith-1.0-9B/blob/main/LICENSE). Quantized by Atomic Chat.
|