Text Generation
MLX
Safetensors
qwen3_5_moe
atomic-chat
ornith
deepreinforce-ai
apple-silicon
quantized
conversational
4-bit precision
Instructions to use AtomicChat/Ornith-35B-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use AtomicChat/Ornith-35B-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-35B-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-35B-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-35B-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-35B-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use AtomicChat/Ornith-35B-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-35B-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-35B-MLX-4bit
Run Hermes
hermes
- OpenClaw new
How to use AtomicChat/Ornith-35B-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-35B-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-35B-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-35B-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-35B-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "AtomicChat/Ornith-35B-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-35B-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
forge: regenerate the model card
Browse files
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
-
license_link: https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B
|
|
|
|
| 4 |
base_model:
|
| 5 |
- deepreinforce-ai/Ornith-1.0-35B
|
| 6 |
base_model_relation: quantized
|
|
@@ -10,100 +11,79 @@ library_name: mlx
|
|
| 10 |
tags:
|
| 11 |
- atomic-chat
|
| 12 |
- ornith
|
| 13 |
-
- deepreinforce
|
| 14 |
-
- coding
|
| 15 |
-
- agent
|
| 16 |
- mlx
|
| 17 |
- apple-silicon
|
| 18 |
- quantized
|
| 19 |
-
- qwen3_5
|
| 20 |
---
|
| 21 |
|
| 22 |
<center>
|
| 23 |
|
| 24 |
<div style="display:flex; justify-content:center; align-items:center; gap:2%; max-width:560px; margin:0 auto;">
|
| 25 |
-
<a href="https://atomic.chat"><img src="https://huggingface.co/AtomicChat/ornith-35b-
|
| 26 |
-
<a href="https://discord.gg/8wGSsvmg4V"><img src="https://huggingface.co/AtomicChat/ornith-35b-
|
| 27 |
-
<a href="https://github.com/AtomicBot-ai/Atomic-Chat"><img src="https://huggingface.co/AtomicChat/ornith-35b-
|
| 28 |
</div>
|
| 29 |
|
| 30 |
<br/>
|
| 31 |
|
| 32 |
-
<img src="https://huggingface.co/AtomicChat/ornith-35b-
|
| 33 |
|
| 34 |
<div style="display:flex; justify-content:center; gap:0.5em;">
|
| 35 |
<a href="https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B"><strong>Base model: deepreinforce-ai/Ornith-1.0-35B</strong></a>
|
| 36 |
</div>
|
| 37 |
</center>
|
| 38 |
|
| 39 |
-
**Ornith 1.0 35B**, quantized to
|
| 40 |
|
| 41 |
## Highlights
|
| 42 |
|
| 43 |
-
- **
|
| 44 |
-
- **
|
| 45 |
-
- **
|
| 46 |
-
- **
|
| 47 |
-
- **
|
| 48 |
-
- **
|
| 49 |
-
- **
|
| 50 |
|
| 51 |
> [!NOTE]
|
| 52 |
-
>
|
| 53 |
|
| 54 |
## Model Overview
|
| 55 |
|
| 56 |
| Property | Value |
|
| 57 |
|---|---|
|
| 58 |
| Base model | `deepreinforce-ai/Ornith-1.0-35B` |
|
| 59 |
-
|
|
| 60 |
| Layers | 40 |
|
| 61 |
-
| Experts | 256 routed
|
| 62 |
-
| Context length | 262,144 |
|
| 63 |
-
|
|
| 64 |
-
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
##
|
| 71 |
-
|
| 72 |
-
[4-bit](https://huggingface.co/AtomicChat/ornith-35b-MLX-4bit) ← this · [5-bit](https://huggingface.co/AtomicChat/ornith-35b-MLX-5bit) · [6-bit](https://huggingface.co/AtomicChat/ornith-35b-MLX-6bit) · [8-bit](https://huggingface.co/AtomicChat/ornith-35b-MLX-8bit)
|
| 73 |
-
|
| 74 |
-
## Run on Apple Silicon
|
| 75 |
-
|
| 76 |
-
```bash
|
| 77 |
-
pip install mlx-lm
|
| 78 |
-
mlx_lm.generate --model AtomicChat/ornith-35b-MLX-4bit --prompt "Write a quicksort in Python" --max-tokens 512
|
| 79 |
-
```
|
| 80 |
-
|
| 81 |
-
```python
|
| 82 |
-
from mlx_lm import load, generate
|
| 83 |
-
model, tokenizer = load("AtomicChat/ornith-35b-MLX-4bit")
|
| 84 |
-
msg = [{"role": "user", "content": "Write a quicksort in Python"}]
|
| 85 |
-
prompt = tokenizer.apply_chat_template(msg, add_generation_prompt=True)
|
| 86 |
-
print(generate(model, tokenizer, prompt=prompt, max_tokens=512, verbose=True))
|
| 87 |
-
```
|
| 88 |
-
|
| 89 |
-
Or open it in **[Atomic Chat](https://atomic.chat)**: search `AtomicChat/ornith-35b-MLX-4bit` and hit **Use this model**.
|
| 90 |
-
|
| 91 |
-
## Recommended sampling
|
| 92 |
|
| 93 |
| Parameter | Value |
|
| 94 |
|---|---|
|
| 95 |
-
| temperature |
|
| 96 |
-
| top_p |
|
| 97 |
| top_k | 20 |
|
| 98 |
|
| 99 |
-
DeepReinforce's recommended sampling
|
| 100 |
|
| 101 |
-
## How
|
| 102 |
|
| 103 |
1. Download `deepreinforce-ai/Ornith-1.0-35B` (original weights).
|
| 104 |
-
2. Convert
|
| 105 |
|
| 106 |
## License
|
| 107 |
|
| 108 |
-
|
| 109 |
-
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
license_link: https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B/blob/main/LICENSE
|
| 4 |
+
thumbnail: https://huggingface.co/AtomicChat/ornith-35b-MLX-4bit/resolve/main/hero.png
|
| 5 |
base_model:
|
| 6 |
- deepreinforce-ai/Ornith-1.0-35B
|
| 7 |
base_model_relation: quantized
|
|
|
|
| 11 |
tags:
|
| 12 |
- atomic-chat
|
| 13 |
- ornith
|
| 14 |
+
- deepreinforce-ai
|
|
|
|
|
|
|
| 15 |
- mlx
|
| 16 |
- apple-silicon
|
| 17 |
- quantized
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
<center>
|
| 21 |
|
| 22 |
<div style="display:flex; justify-content:center; align-items:center; gap:2%; max-width:560px; margin:0 auto;">
|
| 23 |
+
<a href="https://atomic.chat" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/ornith-35b-MLX-4bit/resolve/main/pill_atomic_v3.png" alt="Atomic Chat" style="width:100%; height:auto; max-width:186px;"></a>
|
| 24 |
+
<a href="https://discord.gg/8wGSsvmg4V" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/ornith-35b-MLX-4bit/resolve/main/pill_discord_v3.png" alt="Join Discord" style="width:100%; height:auto; max-width:184px;"></a>
|
| 25 |
+
<a href="https://github.com/AtomicBot-ai/Atomic-Chat" style="flex:0 1 auto; min-width:0;"><img src="https://huggingface.co/AtomicChat/ornith-35b-MLX-4bit/resolve/main/pill_github_v3.png" alt="GitHub" style="width:100%; height:auto; max-width:141px;"></a>
|
| 26 |
</div>
|
| 27 |
|
| 28 |
<br/>
|
| 29 |
|
| 30 |
+
<img src="https://huggingface.co/AtomicChat/ornith-35b-MLX-4bit/resolve/main/hero.png" alt="Ornith 1.0 35B" style="width:100%; max-width:100%; height:auto; margin-bottom:0.6em;"/>
|
| 31 |
|
| 32 |
<div style="display:flex; justify-content:center; gap:0.5em;">
|
| 33 |
<a href="https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B"><strong>Base model: deepreinforce-ai/Ornith-1.0-35B</strong></a>
|
| 34 |
</div>
|
| 35 |
</center>
|
| 36 |
|
| 37 |
+
**Ornith 1.0 35B**, 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.
|
| 38 |
|
| 39 |
## Highlights
|
| 40 |
|
| 41 |
+
- **0.0B parameters**: the weights this repo quantizes.
|
| 42 |
+
- **Context length**: 262,144 tokens (256K), as published by DeepReinforce.
|
| 43 |
+
- **40 layers**: Mixture-of-Experts.
|
| 44 |
+
- **Modalities**: Text, Image.
|
| 45 |
+
- **Full imatrix ladder**: every quant is calibrated with an importance matrix.
|
| 46 |
+
- **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.
|
| 47 |
+
- **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.
|
| 48 |
|
| 49 |
> [!NOTE]
|
| 50 |
+
> 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.
|
| 51 |
|
| 52 |
## Model Overview
|
| 53 |
|
| 54 |
| Property | Value |
|
| 55 |
|---|---|
|
| 56 |
| Base model | `deepreinforce-ai/Ornith-1.0-35B` |
|
| 57 |
+
| Parameters | 0.0B |
|
| 58 |
| Layers | 40 |
|
| 59 |
+
| Experts | 256 routed (top-8) |
|
| 60 |
+
| Context length | 262,144 tokens (256K) |
|
| 61 |
+
| Vocabulary | 248,320 |
|
| 62 |
+
| Modalities | Text, Image |
|
| 63 |
+
| Architecture | Mixture-of-Experts, 256 experts (top-8), 16 attention heads over 2 KV heads, `Qwen3_5MoeForConditionalGeneration` |
|
| 64 |
+
| This repo | MLX weights |
|
| 65 |
|
| 66 |
+
## Get started
|
| 67 |
|
| 68 |
+
- **[Atomic Chat](https://atomic.chat):** search `AtomicChat/ornith-35b-MLX-4bit` and hit **Use this model**.
|
| 69 |
+
- **mlx-lm:** `mlx_lm.generate --model AtomicChat/ornith-35b-MLX-4bit --prompt "Hello" --max-tokens 512`
|
| 70 |
+
- **Server:** `mlx_lm.server --model AtomicChat/ornith-35b-MLX-4bit --port 8080`
|
| 71 |
|
| 72 |
+
## Best practices
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
| Parameter | Value |
|
| 75 |
|---|---|
|
| 76 |
+
| temperature | 1.0 |
|
| 77 |
+
| top_p | 1.0 |
|
| 78 |
| top_k | 20 |
|
| 79 |
|
| 80 |
+
DeepReinforce's recommended sampling configuration for `deepreinforce-ai/Ornith-1.0-35B`.
|
| 81 |
|
| 82 |
+
## How these were made
|
| 83 |
|
| 84 |
1. Download `deepreinforce-ai/Ornith-1.0-35B` (original weights).
|
| 85 |
+
2. Convert and quantize with `mlx_lm.convert` on our pipeline.
|
| 86 |
|
| 87 |
## License
|
| 88 |
|
| 89 |
+
Original model by DeepReinforce, released under the MIT license. Full terms: [MIT](https://huggingface.co/deepreinforce-ai/Ornith-1.0-35B/blob/main/LICENSE). Quantized by Atomic Chat.
|
|
|