JANGQ-AI/Nemotron-Cascade-2-30B-A3B-JANG_4M
<p align="center"> <a href="https://mlx.studio"><img src="https://raw.githubusercontent.com/jjang-ai/jangq/main/assets/mlx-studio-light.png" alt="MLX Studio" width="500"></a> </p>
<p align="center"> <a href="https://mlx.studio"><img src="https://mlx.studio/assets/screenshots/mlx-studio-featured.png?v=1" alt="MLX Studio App" width="600"></a> </p>
<h4 align="center"><a href="https://mlx.studio">MLX Studio</a> — the only app that natively supports JANG models with reasoning</h4>
IMO Gold Medal reasoning in 17 GB. Nemotron-Cascade-2 achieves 88% MMLU with reasoning at just 17 GB — fits on 16 GB MacBooks. Hybrid Mamba-2 SSM + MoE + Attention. Only 6 KV cache attention layers = minimal memory at long context.
LM Studio, Ollama, oMLX do NOT support JANG format. Use [MLX Studio](https://mlx.studio) or pip install "jang[mlx]>=2.1.5".<p align="center"> <img src="https://raw.githubusercontent.com/jjang-ai/jangq/main/assets/jangq-logo-dark.png" alt="JANG" width="300"> </p>
<p align="center"> <a href="https://vmlx.net"><img src="vmlx-app.png" alt="vMLX — run JANG models on Apple Silicon" width="820"></a> </p>
<h3 align="center">⚡ All JANG models are meant to be run in <a href="https://vmlx.net">vMLX</a></h3>
<h3 align="center">Nemotron-Cascade-2-30B-A3B — JANG_4M (4.1-bit, 8-bit attention) — Reasoning</h3> <p align="center"><b>JANG</b> — Jang Adaptive N-bit Grading | The GGUF Equivalent for MLX</p>
<p align="center"> <a href="https://github.com/jjang-ai/jangq"><img src="https://img.shields.io/badge/GitHub-Source_Code-blue?logo=github" alt="GitHub"></a> <a href="https://pypi.org/project/jang/"><img src="https://img.shields.io/pypi/v/jang?label=PyPI&color=green" alt="PyPI"></a> <a href="https://jangq.ai"><img src="https://img.shields.io/badge/Web-jangq.ai-orange" alt="Website"></a> <a href="https://x.com/dealignai"><img src="https://img.shields.io/badge/X-@dealignai-black?logo=x" alt="X/Twitter"></a> </p>
JANG is fully open-source. Quantization engine, research, and full commit history: github.com/jjang-ai/jangq. Created by Jinho Jang.
Key Features
- 93.0% MMLU (200 questions, reasoning mode) — IMO Gold Medal model in 17 GB
- 55 tok/s generation, 154 tok/s prefill
- 10.3 GB on disk, 10.3 GB GPU RAM (peak 11.1 GB)
- Reasoning mode:
<think>...</think>step-by-step problem solving - Tiny KV cache: only 6 attention layers, 0.2 GB at 32K context
- Hybrid architecture: Mamba-2 SSM + MoE (128 experts, top-6) + Attention
Results: JANG vs MLX (200-question MMLU)
Per-subject comparison. All models tested with and without reasoning.
Summary
JANG2L is the **only quantization that fits 24 GB Macs** while delivering 88% MMLU with reasoning. JANG4M beats MLX 4-bit (93.0% vs 92.5%) at the same 17 GB size.
Also see: JANG_2L (10 GB) — fits 16 GB Macs, 88% reasoning MMLU.
Specs
Requirements
- Apple Silicon Mac with 24+ GB unified memory
- [MLX Studio](https://mlx.studio) or
pip install "jang[mlx]>=2.1.5"
Quick Start
pip install "jang[mlx]>=2.1.5"from jang_tools.loader import load_jang_model
from mlx_lm import generate
model, tokenizer = load_jang_model("JANGQ-AI/Nemotron-Cascade-2-30B-A3B-JANG_4M")
# With reasoning (recommended)
messages = [{"role": "user", "content": "Solve: what is the integral of x^2 * e^x?"}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False,
add_generation_prompt=True, enable_thinking=True)
result = generate(model, tokenizer, prompt=prompt, max_tokens=2048)
# Without reasoning (faster)
prompt = tokenizer.apply_chat_template(messages, tokenize=False,
add_generation_prompt=True, enable_thinking=False)
result = generate(model, tokenizer, prompt=prompt, max_tokens=100)Technical Notes
- Mamba-2 SSM: Most layers use state-space models, enabling efficient long-context with minimal KV cache.
- Only 6 attention layers: KV cache is tiny (0.2 GB at 32K). Most models use 25-100% attention layers.
- nemotron_h architecture: Requires JANG loader for proper weight mapping. Standard mlx-lm has incomplete support.
- IMO Gold Medal: This model achieves competition-level mathematical reasoning at 30B scale.
<p align="center"> <b>JANG</b> — Created by <a href="https://jangq.ai">Jinho Jang</a> (eric@jangq.ai) · <a href="https://x.com/dealignai">@dealignai</a><br> <a href="https://github.com/jjang-ai/jangq">GitHub</a> · <a href="https://pypi.org/project/jang/">PyPI</a> · <a href="https://huggingface.co/JANGQ-AI">HuggingFace</a> </p>
