Run this model with HF Jobs

Run jesusluque/qwen3-30b-topiary-w576-code on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/jesusluque/qwen3-30b-topiary-w576-code. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/jesusluque/qwen3-30b-topiary-w576-code on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Qwen3-30B-A3B โ€” Topiary w576 (code calibration)

A Topiary checkpoint: the routed experts of Qwen/Qwen3-30B-A3B sculpted by routed activation salience, truncated to their top-576 of 768 intermediate neurons (โˆ’25% expert width), then quantized to 4-bit (group size 64). Calibrated on code โ€” this is the coding-slanted sibling of the mixed-calibration w640; smaller, sharper on code, weaker on math.

Standard mlx-lm checkpoint โ€” loads with stock mlx-lm, no custom code:

pip install mlx-lm
mlx_lm.generate --model jesusluque/qwen3-30b-topiary-w576-code --prompt "..."

The equal-bytes head-to-head that motivated Topiary

At the same memory budget, against the community 3-bit quantization:

Checkpoint GB Code PPL โ†“ WikiText PPL โ†“
This model (w576-fine, 4-bit) 13.10 2.87 12.98
Community 3-bit, full width 13.36 3.26 15.70
Mixed 3โ€“4-bit 14.00 3.07 13.38

Calibrated on code, it still wins general text by โˆ’17% PPL. Other signals: HumanEval 84%, GSM8K 78%, MMLU 64%, ARC 43%, HellaSwag 60%, ~55 tok/s decode.

Honest limit: the code-only calibration trades math away (GSM8K 78% vs 94% of the mixed-calibration w640 sibling). The calibration corpus is an amplitude-vs-specialization dial โ€” choose the sibling that matches your use.

Calibration

Code corpus (The Stack: Python + C++ + Swift), routed-only statistics (salience accumulated only over tokens the router sends to each expert).

Provenance

  • Base: Qwen/Qwen3-30B-A3B (Apache-2.0)
  • Build: neuron-granularity permutation of the original bf16 experts, truncation to k=576 of 768, then 4-bit g64 quantization.
  • All numbers reproducible from frozen configs; greedy decoding, fixed seeds.

Update (Aug 2026): pruning costs knowledge โ€” measured on the taper sibling

The taper flagship of this family was compared against the UNPRUNED Qwen3-30B-A3B-4bit on a four-benchmark suite (n=500 on MMLU/LAMBADA): reasoning intact (MATH-500/MBPP), but -10 MMLU / -4.4 LAMBADA points โ€” salience pruning removes knowledge, not reasoning. This model shares the pruning method and was NOT re-measured on that suite; expect a knowledge cost of similar nature. If broad world knowledge dominates your workload, prefer the unpruned checkpoint. Details: github.com/jesusluque/topiary-stream (paper ยง2.4).

Downloads last month
10
Safetensors
Model size
23B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for jesusluque/qwen3-30b-topiary-w576-code

Quantized
(158)
this model