Text Generation
MLX
Safetensors
raon1_mini
raon
Mixture of Experts
reasoning
korean
dflash2
apple-silicon
conversational
8-bit precision
Run this model with HF Jobs
Run netprojects/Raon-1-mini-MLX-8bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/netprojects/Raon-1-mini-MLX-8bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/netprojects/Raon-1-mini-MLX-8bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/netprojects/Raon-1-mini-MLX-8bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use netprojects/Raon-1-mini-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Raon-1-mini-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("netprojects/Raon-1-mini-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 netprojects/Raon-1-mini-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 "netprojects/Raon-1-mini-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": "netprojects/Raon-1-mini-MLX-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use netprojects/Raon-1-mini-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 "netprojects/Raon-1-mini-MLX-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "netprojects/Raon-1-mini-MLX-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "netprojects/Raon-1-mini-MLX-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use netprojects/Raon-1-mini-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 "netprojects/Raon-1-mini-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 netprojects/Raon-1-mini-MLX-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Raon-1-mini-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 "netprojects/Raon-1-mini-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 "netprojects/Raon-1-mini-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"
|
Download README.md from netprojects/Raon-1-mini-MLX-8bit: direct link, hf CLI and curl.
- Browser
- Download file 6.78 kB
-
https://huggingface.co/netprojects/Raon-1-mini-MLX-8bit/resolve/main/README.md
- Command line
-
hf download hf://netprojects/Raon-1-mini-MLX-8bit/README.md
-
curl -L -o README.md https://huggingface.co/netprojects/Raon-1-mini-MLX-8bit/resolve/main/README.md
6.78 kB
| library_name: mlx | |
| license: apache-2.0 | |
| pipeline_tag: text-generation | |
| base_model: KRAFTON/Raon-1-mini | |
| base_model_relation: quantized | |
| language: | |
| - ko | |
| - en | |
| - ja | |
| - zh | |
| - es | |
| - fr | |
| - th | |
| tags: | |
| - mlx | |
| - raon | |
| - moe | |
| - reasoning | |
| - korean | |
| - dflash2 | |
| - apple-silicon | |
| # Raon-1-mini MLX 8-bit | |
| [Raon-1 mini](https://huggingface.co/KRAFTON/Raon-1-mini) is KRAFTON AI's open Mixture-of-Experts language model, **trained from scratch**: 28.8B parameters, | |
| 4.3B active per token (6 of 128 routed experts plus 1 shared), 262,144 tokens of context, and a hybrid of 18 Raon Delta | |
| Attention layers and 7 gated MLA layers. It is strong in Korean conversation and agentic tasks, with built-in thinking and six | |
| reasoning effort levels. | |
| This repository is a **8-bit MLX build for Apple Silicon** (30.1 GB), converted by [NetProjects](https://netprojects.com) from | |
| KRAFTON's MXFP8 release. It runs with KRAFTON's own MLX model code (`raon_mlx_model.py`, included unchanged), so reasoning effort | |
| and the optional two-stage output head work as described in KRAFTON's MLX instructions. For best speed with this build, run with | |
| `--no-dflash` (plain mlx-lm generation); see the note under the table. | |
| ## Builds | |
| | Build | Size | Top-1 vs bf16 | Plain decode | DFlash2 decode | Note | | |
| |---|---|---|---|---|---| | |
| | [6-bit](https://huggingface.co/netprojects/Raon-1-mini-MLX-6bit) (recommended) | 24.0 GB | 97.8% | 118 tok/s | 184 tok/s | best balance of size, speed and quality | | |
| | [8-bit](https://huggingface.co/netprojects/Raon-1-mini-MLX-8bit) | 30.1 GB | 97.4% | 105 tok/s | 81 tok/s | routed experts identical to KRAFTON MXFP8 | | |
| | [3-bit mixed](https://huggingface.co/netprojects/Raon-1-mini-MLX-3bit-mixed) | 14.4 GB | 93.9% | 133 tok/s | 252 tok/s | smallest, fits 24 GB Macs | | |
| Top-1: share of 311 teacher-forced positions (8 short English / Korean prompts, thinking on and off) where the build picks the same | |
| next token as the bf16 weights. Speeds: one greedy coding prompt (400 tokens, effort `none`), plain generation vs DFlash2, on a MacBook Pro M5 Max | |
| (128 GB) with each build's own CLI; indicative only, real speed depends on the prompt and on how many draft tokens are accepted. | |
| **About DFlash2 with this build:** the DFlash2 draft model (`dflash2/`) is included and works, but on this build it is no faster | |
| than plain generation, so `--no-dflash` is recommended. The 6-bit and 3-bit mixed builds carry a faster | |
| draft check (one change in `raon_mlx_model.py`) and run DFlash2 well. KRAFTON's own 4-bit NVFP4 build is at [KRAFTON/Raon-1-mini-mlx](https://huggingface.co/KRAFTON/Raon-1-mini-mlx). | |
| ## Highlights (from KRAFTON) | |
| - **Reasoning:** six levels (`none`, `low`, `medium`, `high`, `xhigh`, `max`), selectable per request. 96.7 on AIME 2026, | |
| 87.1 on HMMT Feb 2026 and 86.0 on GPQA Diamond. | |
| - **Multi-turn conversation and search:** 64.9 on MultiChallenge and 55.9 on BrowseComp Plus, ahead of the MoE models KRAFTON compares. | |
| - **Multilingual:** trained on Korean, English, Japanese, Chinese, Spanish, French and Thai. | |
| - **Agents:** tool calling, with setups for Hermes Agent, Pi and OpenCode. | |
| All benchmark numbers are KRAFTON's, measured on their release; see the [original model card](https://huggingface.co/KRAFTON/Raon-1-mini) for the full tables. | |
| ## Quickstart | |
| Python 3.11+ with KRAFTON's pinned versions: | |
| ```bash | |
| uv venv --python 3.12 --seed && source .venv/bin/activate | |
| python -m pip install "mlx==0.32.4" "mlx-lm==0.32.2" "transformers==5.20.1" | |
| hf download netprojects/Raon-1-mini-MLX-8bit --local-dir Raon-1-mini-MLX-8bit | |
| cd Raon-1-mini-MLX-8bit | |
| ``` | |
| Generate with the recommended sampling (plain generation, the fastest path for this build): | |
| ```bash | |
| python raon_mlx_model.py generate --no-dflash --prompt "Tell me about KRAFTON AI." \ | |
| --max-tokens 32768 --temp 1.0 --top-p 0.95 --top-k 20 --presence-penalty 1.5 | |
| ``` | |
| Add `--reasoning-effort low` (or `none` … `max`) to set the effort, and use | |
| `python raon_mlx_model.py serve --no-dflash --host 127.0.0.1 --port 8000` for an OpenAI-compatible server that accepts | |
| `reasoning_effort`. | |
| In Python with mlx-lm (the model code is loaded from this folder, so `trust_remote_code=True` is needed): | |
| ```python | |
| from mlx_lm import load, generate | |
| from mlx_lm.sample_utils import make_sampler, make_logits_processors | |
| model, tokenizer = load("Raon-1-mini-MLX-8bit", trust_remote_code=True) | |
| prompt = tokenizer.apply_chat_template([{"role": "user", "content": "Tell me about KRAFTON AI."}], | |
| tokenize=False, add_generation_prompt=True, enable_thinking=True) | |
| print(generate(model, tokenizer, prompt=prompt, max_tokens=32768, | |
| sampler=make_sampler(temp=1.0, top_p=0.95, top_k=20), | |
| logits_processors=make_logits_processors(presence_penalty=1.5))) | |
| ``` | |
| `python -m mlx_lm server --model Raon-1-mini-MLX-8bit --trust-remote-code` also works (it supports tool calling but ignores | |
| `reasoning_effort`). KRAFTON recommends `presence_penalty` 0 for coding and math and 1.5 for everything else, and effort `none` | |
| for chat and simple tool calls. | |
| ## How this build was made | |
| - Source: [KRAFTON/Raon-1-mini](https://huggingface.co/KRAFTON/Raon-1-mini) at revision `aa14d2989727` (MXFP8: routed experts in fp8 with one power-of-two scale per 32 inputs, | |
| everything else in bf16). | |
| - Weights: the routed experts (about 89% of the weights) keep KRAFTON's own MXFP8 weights bit for bit (MLX's native mxfp8 format, the same fp8 codes and scales); the other linear layers use 8-bit affine quantization (group size 64). The output head and the token embedding are 8-bit; the router, the MLA `kv_b_proj` and the small RDA gate | |
| projections stay in bf16. No weights were trained or otherwise changed. | |
| - Code and extras from [KRAFTON/Raon-1-mini-mlx](https://huggingface.co/KRAFTON/Raon-1-mini-mlx) at revision `78b7555b8902`, unchanged: `raon_mlx_model.py`, `raon_serve.py`, | |
| tokenizer and chat template, the DFlash2 draft model (`dflash2/`) and `head_stage1_a2g64gm.safetensors`. | |
| - Converted with mlx 0.32.4 and mlx-lm 0.32.2. Checks: top-1 97.4% and top-32 KL | |
| 0.0023 against the bf16 weights, plus English, Korean and thinking-mode smoke tests through KRAFTON's CLI. | |
| - Other builds: [6-bit](https://huggingface.co/netprojects/Raon-1-mini-MLX-6bit), [3-bit mixed](https://huggingface.co/netprojects/Raon-1-mini-MLX-3bit-mixed). | |
| ## License | |
| Apache License 2.0, as released by KRAFTON (see `LICENSE` and `NOTICE`). The license covers the model weights, configuration | |
| files and other components in this repository; it does not cover KRAFTON's hosted Raon service, which has its own terms. | |
| Credits: Raon-1 mini, its MLX model code and the DFlash2 draft model by KRAFTON AI. MLX conversion by | |
| [NetProjects](https://netprojects.com). Not affiliated with KRAFTON. | |