Nanbeige4.3-33B MLX bf16

MLX conversion of Nanbeige/Nanbeige4.3-33B, by the Nanbeige Team. Source revision: c1093c501cc6460427c0ac634db7223d0450c0ee. Unquantized BF16.

Usage

from mlx_lm import load, generate
model, tokenizer = load("fcmeyer/Nanbeige4.3-33B-MLX-bf16")
prompt = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Hello!"}],
    tokenize=False, add_generation_prompt=True, enable_thinking=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=256))

The upstream chat template is preserved. enable_thinking controls current reasoning; preserve_thinking=True retains previous reasoning for agent workflows. Upstream recommends tool_call_format="xml"; JSON is also supported. Template support does not certify any server's tool parser.

Validation

Weight files: 66,238,009,106 bytes. Tensor count: 471. English/Chinese generation, finite smoke logits, tokenizer equivalence, and eight thinking/tool template cases passed. Small fixed synthetic diagnostic corpus (563 scored tokens): mean token NLL 2.073693, perplexity 7.954143.

Teacher-forced fidelity versus BF16 on the same 563 tokens: mean KL(BF16 || quant) 0.000000 nats/token; top-1 token agreement 100.00%. Lower KL means closer output distributions on these inputs. This does not establish downstream capability equivalence. This is a conversion regression check, not a standardized capability benchmark or a claim of benchmark equivalence. See the included validation JSON for outputs and per-category measurements. The source's 524,288-token context setting is retained; full 512K context has not been validated. Performance results, when included, apply only to the stated hardware and tested lengths.

Performance

Measured on Apple M5 Max with 128 GB unified memory, unquantized KV cache, 512-token prefill steps, 256 output tokens; one warm-up and three measured trials per length. Prompts are seeded synthetic token sequences. Values are medians.

Input tokens Prefill tok/s Decode tok/s Peak GB
512 553.88 7.92 66.88
4096 664.59 7.98 67.68
16384 497.04 7.55 70.28

Peak memory is MLX's reported peak allocation, excluding other applications and OS memory. See environment.json for OS/runtime details.

Reproduction

Use the included requirements.lock.txt, conversion.json, evaluation.json, and scripts/release.py. From the repository root:

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -r requirements.lock.txt
.venv/bin/hf download Nanbeige/Nanbeige4.3-33B --revision c1093c501cc6460427c0ac634db7223d0450c0ee --local-dir source
.venv/bin/python scripts/release.py convert bf16
.venv/bin/python scripts/release.py validate bf16

For quantized variants, then run .venv/bin/python scripts/release.py convert bf16 and .venv/bin/python scripts/release.py validate bf16. All quantized variants derive independently from BF16.

Attribution

Original model: Nanbeige Team, Nanbeige4.3-33B (2026), Apache-2.0. Conversion and measurements: fcmeyer. No claim is made that this is universally the best quantization.

Downloads last month
276
Safetensors
Model size
33B params
Tensor type
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for fcmeyer/Nanbeige4.3-33B-MLX-bf16

Finetuned
(8)
this model