sartajbhuvaji/bonsai-distilled-depth22-experts92-500-warmup75-lr1e4-fixedloss-best

Source: 🤗text-generationapache-2.05.5B params11 GBsafetensors✓ 2 checksumsupdated 3d ago
or submit a torrent

bonsai: depth22/experts92

Pruned and distilled from Qwen3-30B-A3B-Base for TypeScript code completion. Part of the bonsai project, which applies the Minitron structured-pruning and knowledge-distillation recipe (Muralidharan et al. 2024, Sreenivas et al. 2024) to a Mixture-of-Experts model, a pruning axis neither paper covers.

What was pruned

  • Depth: 22 of 48 layers removed (26 kept)
  • Experts: 92 of 128 routed experts removed per layer (36 kept)
  • Result: ~5.53B parameters (18.1% of baseline's ~30.5B)

Training

500-step fixed-loss short schedule (75-step warmup, peak LR 1e-4), distilled against the uncorrected teacher. Best = final checkpoint (step 499), no earlier minimum.

Results

HumanEval-TS (TypeScript MultiPL-E), full 159-problem suite, temperature 0.2, top-p 0.95:

pass@1
Qwen3-30B-A3B-Base (unpruned) 0.717 (114/159)
This model 0.069 (11/159)

9.6% of baseline accuracy at 18.1% of baseline's parameters.

Notes

Smallest and least accurate candidate in this collection. Combines aggressive depth and expert pruning. Not recommended. See depth0/experts64.

Project

Other checkpoints from this sweep: bonsai collection. Code and full writeup: github.com/SartajBhuvaji/bonsai (private repo).