Instructions to use cudo528/Darwin-9B-Opus-mlx-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use cudo528/Darwin-9B-Opus-mlx-8bit 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("cudo528/Darwin-9B-Opus-mlx-8bit") 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 cudo528/Darwin-9B-Opus-mlx-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "cudo528/Darwin-9B-Opus-mlx-8bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "cudo528/Darwin-9B-Opus-mlx-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use cudo528/Darwin-9B-Opus-mlx-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "cudo528/Darwin-9B-Opus-mlx-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "cudo528/Darwin-9B-Opus-mlx-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cudo528/Darwin-9B-Opus-mlx-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use cudo528/Darwin-9B-Opus-mlx-8bit 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 "cudo528/Darwin-9B-Opus-mlx-8bit"
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 cudo528/Darwin-9B-Opus-mlx-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use cudo528/Darwin-9B-Opus-mlx-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "cudo528/Darwin-9B-Opus-mlx-8bit"
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 "cudo528/Darwin-9B-Opus-mlx-8bit" \ --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"
Darwin-9B-Opus (MLX 8-bit Optimized)
This repository provides an MLX-optimized 8-bit quantized version of FINAL-Bench/Darwin-9B-Opus, an ultra-efficient advanced reasoning model.
์งํ์ ๋จธ์ง(Evolutionary Merge) ๊ธฐ๋ฒ์ด ์ ์ฉ๋ 9B ์ฒด๊ธ์ ๊ฐ๋ ฅํ ๋ชจ๋ธ์ Apple Silicon(Mac) ํ๊ฒฝ์์ ์๋ณธ์ ์ฑ๋ฅ ์์ค์ ์ต์ํํ๋ฉด์๋ ๋ถ๋๋ฝ๊ฒ ๊ตฌ๋ํ ์ ์๋๋ก **8-bit(INT8)**๋ก ์์ํ ๋ฐ ํฌ๋งท ๋ณํ์ ์๋ฃํ ๋ฒ์ ์ ๋๋ค.
โ ๏ธ Hugging Face View Note: ํ๊น ํ์ด์ค ์์คํ ์ด MLX ์์ํ ํฌ๋งท์ ํ์ฑํ๋ ๊ณผ์ ์์ ํ๋ผ๋ฏธํฐ ์ ๋ฐ ํ ์ ํ์ ํ๊ธฐ์ ์๊ณก์ด ์์ ์ ์์ผ๋, ์ค์ 8๋นํธ ๊ฐ์ค์น๊ฐ ์ ์ ์ ์ฉ๋ ํ์ผ์ ๋๋ค. ๋งฅ๋ถ ๋ก์ปฌ ํ๊ฒฝ์์ ์ ์ ์๋ํฉ๋๋ค.
๐ Key Features
- High Precision (8-bit): 4๋นํธ ์์ํ ๋๋น ์๋ณธ FP16 ๋ชจ๋ธ ๊ณ ์ ์ ํ๋์ฝ์ด ์ถ๋ก ์ฑ๋ฅ๊ณผ ํ ์คํธ ํ์ง์ ์ฌ์ค์ ๊ฑฐ์ ๊ทธ๋๋ก ๋ณด์กดํ๋ฉด์๋, ๋ฉ๋ชจ๋ฆฌ ๋์ญํญ ์ด๋์ ์ฑ๊ฒผ์ต๋๋ค.
- Top-Tier 9B Reasoning: ํ๋์ฝ์ด ๋ฐ์ฌ๊ธ ์ถ๋ก ํ
์คํธ์ธ **GPQA Diamond์์ 82.5%**๋ผ๋ ์ฒด๊ธ ํ๊ดด ์์ค์ ๊ณ ๋์ ์ ๊ธฐ๋กํ์ต๋๋ค. ๊น์ ์ฌ๊ณ ๊ณผ์ (
<thought>)์ ํตํ ๊ณ ๋๋ ๋ ผ๋ฆฌ ์ถ๋ก ์ด ๊ฐ๋ฅํฉ๋๋ค. - Agentic Capabilities: ์ฝ๋ฉ ์์ด์ ํธ(Coding Agent) ์ฑ๋ฅ๊ณผ ์ ๊ตํ ๋๊ตฌ ํธ์ถ(Tool Calling) ์ธํฐํ์ด์ค๋ฅผ ๊ธฐ๋ณธ ๋ด์ฅํ๊ณ ์์ต๋๋ค.
- Global Multilingual: ํ๊ตญ์ด, ์์ด, ์ค๊ตญ์ด, ์ผ๋ณธ์ด, ํ๋์ค์ด, ๋ ์ผ์ด ๋ฑ 10๊ฐ ์ด์์ ๋ค๊ตญ์ด ํ๊ฒฝ์ ์๋ฒฝํ๊ฒ ์ง์ํฉ๋๋ค.
๐ ๏ธ Installation
์ด ๋ชจ๋ธ์ ๋ก์ปฌ ํ๊ฒฝ์์ ๊ตฌ๋ํ๋ ค๋ฉด ์ต์ ๋ฒ์ ์ mlx-lm ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ํ์ํฉ๋๋ค.
pip install -U mlx-lm
๐ป How to Use
1. Python API๋ฅผ ์ด์ฉํ ์ถ๋ก ์ฝ๋
from mlx_lm import load, generate
# ๋ณธ์ธ์ 8๋นํธ ์ ์ฅ์ ์ด๋ฆ์ผ๋ก ์์ ํ์ฌ ์ฌ์ฉํ์ธ์.
model, tokenizer = load("cudo528/Darwin-9B-Opus-mlx-8bit")
prompt = "์ํ์ ๊ท๋ฉ๋ฒ์ ์๋ฆฌ๋ฅผ ์คํ์๋ ์ดํดํ ์ ์๊ฒ ์ฌ์ด ๋น์ ๋ฅผ ๋ค์ด ํ๊ตญ์ด๋ก ์ค๋ช
ํด์ค."
response = generate(
model,
tokenizer,
prompt=prompt,
max_tokens=2048,
verbose=True # ๋ชจ๋ธ์ ์ฌ์ธต ์ฌ๊ณ ๊ณผ์ (<thought>)์ ํฐ๋ฏธ๋์์ ์ค์๊ฐ์ผ๋ก ๋ณด๋ ค๋ฉด True
)
print(response)
2. ํฐ๋ฏธ๋(CLI) ํ๊ฒฝ์์ ์ฆ์ ์คํ
mlx_lm.generate --model cudo528/Darwin-9B-Opus-mlx-8bit --prompt "Write a Python script for a simple custom neural network layer." --max-tokens 1024
๐ Architecture & Lineage
- Original Base Model: FINAL-Bench/Darwin-9B-Opus
- Quantization Bit: 8-bit (INT8)
- Format: MLX Formatted (
.safetensors) - License: Apache-2.0
- Downloads last month
- 23
8-bit
Model tree for cudo528/Darwin-9B-Opus-mlx-8bit
Base model
FINAL-Bench/Darwin-9B-OpusEvaluation results
- Accuracy on GPQA Diamondself-reported82.500