Text Generation
MLX
Safetensors
qwen3_5
atomic-chat
ornith
deepreinforce
coding
agent
apple-silicon
quantized
conversational
4-bit precision
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
- OpenClaw new
How to use AtomicChat/ornith-9b-MLX-4bit 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-4bit"
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-4bit" \ --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-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"} ] }'
| license: mit | |
| license_link: https://huggingface.co/deepreinforce-ai/Ornith-1.0-9B | |
| 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 | |
| - coding | |
| - agent | |
| - mlx | |
| - apple-silicon | |
| - quantized | |
| - qwen3_5 | |
| <center> | |
| <div style="display:flex; justify-content:center; align-items:center; gap:2%; max-width:560px; margin:0 auto;"> | |
| <a href="https://atomic.chat"><img src="https://huggingface.co/AtomicChat/ornith-9b-GGUF/resolve/main/pill_atomic_v3.png" alt="Atomic Chat" style="width:100%; height:auto; max-width:186px;"></a> | |
| <a href="https://discord.gg/8wGSsvmg4V"><img src="https://huggingface.co/AtomicChat/ornith-9b-GGUF/resolve/main/pill_discord_v3.png" alt="Discord" style="width:100%; height:auto; max-width:184px;"></a> | |
| <a href="https://github.com/AtomicBot-ai/Atomic-Chat"><img src="https://huggingface.co/AtomicChat/ornith-9b-GGUF/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-GGUF/resolve/main/hero.png" alt="Ornith 1.0 9B" style="width:520px; 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**, quantized to **MLX 4-bit** by [Atomic Chat](https://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_5` model type with a `hidden_size` of 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`](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8). | |
| > [!NOTE] | |
| > This is the **MLX 4-bit** build for Apple Silicon (M-series). For llama.cpp/Ollama/CPU use the [GGUF repo](https://huggingface.co/AtomicChat/ornith-9b-GGUF). | |
| ## 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. | | |
| <img src="https://huggingface.co/AtomicChat/ornith-9b-GGUF/resolve/main/benchmark.png" alt="Ornith 1.0 9B benchmarks" style="width:100%; max-width:900px;"/> | |
| 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](https://huggingface.co/AtomicChat/ornith-9b-MLX-4bit) ← this · [5-bit](https://huggingface.co/AtomicChat/ornith-9b-MLX-5bit) · [6-bit](https://huggingface.co/AtomicChat/ornith-9b-MLX-6bit) · [8-bit](https://huggingface.co/AtomicChat/ornith-9b-MLX-8bit) | |
| ## Run on Apple Silicon | |
| ```bash | |
| pip install mlx-lm | |
| mlx_lm.generate --model AtomicChat/ornith-9b-MLX-4bit --prompt "Write a quicksort in Python" --max-tokens 512 | |
| ``` | |
| ```python | |
| 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](https://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 | |
| 1. Download `deepreinforce-ai/Ornith-1.0-9B` (original weights). | |
| 2. 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. | |