Instructions to use netprojects/Arete-27B-MTP-MLX-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Arete-27B-MTP-MLX-bf16 with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("netprojects/Arete-27B-MTP-MLX-bf16") config = load_config("netprojects/Arete-27B-MTP-MLX-bf16") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use netprojects/Arete-27B-MTP-MLX-bf16 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/Arete-27B-MTP-MLX-bf16"
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/Arete-27B-MTP-MLX-bf16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/Arete-27B-MTP-MLX-bf16 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/Arete-27B-MTP-MLX-bf16"
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/Arete-27B-MTP-MLX-bf16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Arete-27B-MTP-MLX-bf16 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/Arete-27B-MTP-MLX-bf16"
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/Arete-27B-MTP-MLX-bf16" \ --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"
Arete-27B MLX bf16 with MTP
NousResearch/Arete-27B (revision 108f0afb) converted to MLX. Weights are kept in bfloat16. Size: 55.6 GB.
The bundled MTP head enables faster decoding: about 1.9x on code and 1.5x on prose (4-bit, quiet Mac, greedy decoding, mlx-vlm).
Arete-27B is Nous Research's full supervised fine-tune of Qwen3.8-27B for factual, direct answers on politically sensitive topics across 7 areas, keeping general and agentic skills. The training data is text-only and the vision encoder was frozen. Nous Research's own figures against the base model Qwen3.8-27B:
| Measure | Arete-27B | Qwen3.8-27B |
|---|---|---|
| Fact score (mean) | 2.98 | 2.32 |
| Answers containing propaganda (803 prompts, thinking off) | 0.9% | 22% |
| Hermes Bench | 65.60 | 65.77 |
| Terminal-Bench-2.1 | 70 | 67 |
These are Nous Research's figures for the original weights, not measurements of these builds; see the original model card for the setup.
| Build | Size | Bits per weight | Same next token as bf16 | KL vs bf16 | GSM8K, 50 questions | Peak memory, 8K-token prompt | Recommended Mac | Tool call / coding / thinking / vision |
|---|---|---|---|---|---|---|---|---|
| 6-bit (recommended) | 23.1 GB | 6.66 | 98.7% | 0.0018 | 46/50 | โ | โ | pass / 3/3 / 2/2 / pass |
| 8-bit | 29.9 GB | 8.63 | 99.1% | 0.0005 | โ | โ | โ | pass / 3/3 / 2/2 / pass |
| 4-bit | 16.3 GB | 4.70 | 95.5% | 0.0232 | 47/50 | โ | โ | pass / 3/3 / 2/2 / pass |
| 3-bit | 13.8 GB | 3.91 | 90.1% | 0.0986 | 49/50 | 14.6 GB | 24 GB+ | pass / 3/3 / 2/2 / pass |
| 2.5-bit | 11.8 GB | 3.65 | 84.6% | 0.2417 | 46/50 | 13.8 GB | 24 GB+ | pass / 2/3 / 2/2 / text-only |
| bf16 | 55.6 GB | 16 | reference | โ | โ | โ | โ | โ / โ / โ / โ |
Measured on our builds as described under "What was checked" (GSM8K: thinking off, greedy; peak memory: mlx-lm, text; "Recommended Mac" is the smallest Mac whose default GPU memory limit (about two thirds of RAM up to 36 GB, three quarters above) holds that peak, and longer contexts need more). The 6-bit build is the recommended balance of size and fidelity; 8-bit is closest to bf16; 4-bit is smaller; 3-bit and the text-only 2.5-bit are for Macs with less memory.
Use with mlx-lm (text)
Nous Research evaluated Arete-27B with thinking off, so the example turns it off in the chat template. The model's generation_config.json
carries the sampling defaults inherited from Qwen3.8; mlx-lm does not read them automatically, so set temperature, top-p and top-k to suit your use.
pip install -U "mlx-lm>=0.32.2"
from mlx_lm import load, generate
model, tokenizer = load("netprojects/Arete-27B-MTP-MLX-bf16")
messages = [{"role": "user", "content": "Summarize the main causes of the 2008 financial crisis."}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False, enable_thinking=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=1024))
Tool calls use Qwen's XML format (<tool_call><function=...><parameter=...>), which mlx-lm's server returns as OpenAI tool_calls.
The tokenizer and chat template are Nous Research's files, unchanged.
Use with mlx-vlm (images)
pip install -U "mlx-vlm>=0.7.11"
mlx_vlm.generate --model netprojects/Arete-27B-MTP-MLX-bf16 --image screenshot.png --prompt "What error does this terminal show?" --max-tokens 1000
# mlx-vlm leaves thinking off unless --enable-thinking is given
Faster decoding with MTP
Arete-27B ships no MTP head, so model-mtp.safetensors here is the unchanged MTP head of
Qwen/Qwen3.8-27B (revision 37561816), quantized to the build's bit width.
It was trained against the base model, not against Arete-27B, so it is a base-model head on a fine-tune. mlx-vlm uses it as a
built-in draft model when you pass the same repository as --draft-model. Because Arete-27B's own config.json sets
mtp_num_hidden_layers to 0, this build's config.json sets it to 1 so that loaders pick up the bundled head:
mlx_vlm.generate --model netprojects/Arete-27B-MTP-MLX-bf16 --draft-model netprojects/Arete-27B-MTP-MLX-bf16 --draft-kind mtp \
--temperature 0 --max-tokens 512 --prompt "Write a Python function that checks whether a number is prime."
Quiet-Mac test on the 4-bit build (20 November 2026; the main model servers paused; 8 code and 8 prose prompts, 384 tokens each, greedy, thinking off):
- code: 32.1 tok/s plain, 62.2 tok/s with MTP (1.94x), 84% of drafted tokens accepted
- prose: 32.6 tok/s plain, 47.7 tok/s with MTP (1.47x), 55% of drafted tokens accepted
The head comes from the base model, so its drafts match Arete most often on code and less often on free prose.
Earlier run with other jobs on the machine (5 mixed prompts, 256 tokens):
- 4-bit: 20.5 tok/s plain, 39.8 tok/s with MTP (1.95x), acceptance 75%
- 8-bit: 13.1 tok/s plain, 28.6 tok/s with MTP (2.18x), acceptance 77%
The 6-bit, 3-bit, 2.5-bit and bf16 builds were not timed separately. Every drafted token is checked by the full model; with greedy decoding the text matches plain decoding until a near-tie, where the batched check can round the other way, so long answers can diverge slightly. Gains depend on the prompt and may be smaller than the figures above on text unlike the test prompts.
What was checked
On a MacBook Pro M5 Max (128 GB), 19 November 2026, with mlx 0.32.4, mlx-lm 0.32.2 and mlx-vlm 0.7.11.
- Source. Every file of NousResearch/Arete-27B at revision
108f0afbmatches the Hub's SHA-256 hashes. - Quantization. Each quantized build is checked to be exactly the affine (group 64) quantization of the bf16 build; the vision tower stays in bf16 in the builds that have one (the 2.5-bit build is text-only).
- Agreement with bf16 (953 teacher-forced positions): share of positions where each build picks the same next token as bf16: 8-bit 99.1% (KL 0.0005); 6-bit 98.7% (KL 0.0018); 4-bit 95.5% (KL 0.0232); 3-bit 90.1% (KL 0.0986); 2.5-bit 84.6% (KL 0.2417).
- Tool calling and coding (thinking off): one agent-style prompt with
bashandreadtools and three short Python tasks run against asserts: 8-bit tool call passed, coding 3/3; 6-bit tool call passed, coding 3/3; 4-bit tool call passed, coding 3/3; 3-bit tool call passed, coding 3/3; 2.5-bit tool call passed, coding 2/3. - Thinking (two short maths prompts, reasoning effort low): the reply closes
</think>once and the answer is right: 8-bit 2/2; 6-bit 2/2; 4-bit 2/2; 3-bit 2/2; 2.5-bit 2/2. - GSM8K, 50 fixed test questions (thinking off, greedy, 512-token cap): 6-bit 46/50, 4-bit 47/50, 3-bit 49/50, 2.5-bit 46/50.
- Vision (mlx-vlm): asked to name the shapes and colours in a test image, every build except bf16 (not run) and the text-only 2.5-bit answered correctly and answered a text-only question in the same session.
- MTP bundle. The bundled MTP tensors equal Qwen3.8-27B's
mtp.*weights (revision37561816), quantized exactly to the build's bits; the 6-bit, 8-bit, 4-bit, 3-bit and 2.5-bit builds were loaded in mlx-lm and mlx-vlm with the extra file present and decoded with it as the draft model. The 3-bit build keeps an 8-bit head and the 2.5-bit build a 4-bit head (declared inconfig.jsonasmtplx_mtp_quantization).
Credits
Arete-27B is by Nous Research; the base model is Qwen3.8-27B by the Qwen Team, Alibaba Cloud; the MTP head is Qwen3.8-27B's. If you use the model, please cite their work (see the Arete-27B card and the Qwen3.8-27B card).
License
Apache-2.0, as Arete-27B and Qwen3.8-27B. LICENSE is the Apache-2.0 text from the Arete-27B repository and
NOTICE describes the conversion.
Converted by Paris Michalas, NetProjects. Not affiliated with Nous Research or Alibaba Cloud.
More MLX builds from NetProjects: huggingface.co/netprojects ยท netprojects.com
- Downloads last month
- 112
Quantized