This is a 6-bit affine MLX quantization of JetBrains/Mellum2.1-12B-A2.5B-Thinking, a reasoning Mixture-of-Experts coding model (12B total, 2.5B active, 64 experts with 8 active per token). It emits reasoning in <think>...</think> blocks before the final answer.
Full 164-task HumanEval+, greedy, 8,192-token budget including reasoning: 146/164 (BF16 original: 153/164). On a 16 GB M4 MacBook Pro it decodes at 47 / 46 / 43 tok/s at 1K / 4K / 16K context and peaks at 10.5 GB MLX memory, so 24 GB or more is recommended. On a 16 GB Mac, use the NVFP4 build (6.84 GB). Raw results and a comparison with other quantizations: github.com/imaddde867/mellum-mlx.
import os
os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com"
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("mlx-community/Mellum2.1-12B-A2.5B-Thinking-6bit", revision="0c4927ce10ab23ff85db09c5bbede49dbebe1cb1")
model = AutoModelForCausalLM.from_pretrained("mlx-community/Mellum2.1-12B-A2.5B-Thinking-6bit", revision="0c4927ce10ab23ff85db09c5bbede49dbebe1cb1", device_map="auto")