Downloads · 30 days
19
7% of all-time downloads
jedisct1/Nex-N2-mini-mlx-OptiQ-4bit
Nex-N2-mini-mlx-OptiQ-4bit is a text generation model from jedisct1. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
This is nex-agi/Nex-N2-mini converted to MLX format and quantized with oMLX's oQ4 mixed-precision scheme (4-bit base, sensitivity-driven bit allocation, MSE-optimal clipping). The result is about 19 GB on disk, roughl…
Downloads · 30 days
19
7% of all-time downloads
All-time downloads
263
Public
Parameters
34.7B
20.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors20.4 GB · 100%
How the weights are stored.
U3234.6B · 100%
From the Hugging Face model README
This is nex-agi/Nex-N2-mini converted to MLX format and quantized with oMLX's oQ4 mixed-precision scheme (4-bit base, sensitivity-driven bit allocation, MSE-optimal clipping). The result is about 19 GB on disk, roughly 4.7 bits per weight effective, with sensitive tensors such as the linear-attention projections kept at higher precision.
Nex-N2-mini is an agentic model built around what its authors call Agentic Thinking: it interleaves reasoning, tool use, and environment feedback rather than treating them as separate stages. The architecture is a hybrid MoE (qwen3_5_moe): 40 layers alternating linear attention with full attention every fourth layer, 256 experts with 8 active per token, and a 262k-token context window.
The original checkpoint includes a vision tower. MLX text inference does not use it, so the vision weights were dropped during conversion; this copy is text-only. Expect around 21 GB of memory in use during inference.
With mlx-lm, either directly:
mlx_lm.generate --model Nex-N2-mini-OptiQ-4bit --prompt "Hello"
or as an OpenAI-compatible server:
mlx_lm.server --model Nex-N2-mini-OptiQ-4bit
It also works out of the box with oMLX.
Tool calling works without any extra configuration. The chat template uses the
Qwen3-Coder XML style, which mlx-lm and oMLX both detect automatically, so servers
return proper structured tool_calls, and thinking ends up in the reasoning field
instead of leaking into the response content. Tested end to end with
Swival as the harness, including multi-step tasks that
exercise file edits, search, and shell commands while the model is thinking.
An 8-bit companion is available at jedisct1/Nex-N2-mini-mlx-8bit.