You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MoE surgery: extract individual experts for targeted training + tiny deployment #439
Take a 35B MoE model. Extract just the code expert (~4-5B). Fine-tune it. Publish it.
OpenCode/VSCode users get a 4B model with the coding depth of a 35B.
Why This Is Huge
MoE models have N experts, but users typically need 1-2. A coder needs the code expert.
A reasoning tool needs the reasoning expert. A creative writer needs the creative expert.
Current reality: You download 35B and use 3B of it. Wasteful. With MoE surgery: You download 4B and get 35B-quality in your domain.
Technical Approach
Load the full 35B model (needs >32GB, use CPU offload or multi-GPU)
Identify experts by domain — the router/gate network decides which expert activates for which tokens. Run coding prompts through the model, track which expert(s) activate most for code tokens
Extract expert weights — save just the router + shared attention + target expert(s)
Convert to dense — remove the MoE routing, make it a standard dense model
Fine-tune the extracted expert — LoRA on top for Continuum tool system
Publish — continuum-ai/qwen3.5-4b-code-cont (extracted from 35B MoE code expert)
What Makes This Novel
Nobody publishes individual extracted experts from MoE models
The naming convention tells users exactly what they're getting
Plasticity compaction on top → even smaller
Candle can load the extracted dense model (no MoE support needed)
Activity
joelteply commentedon Mar 30, 2026
MoE surgery proven: cpu_expert_prune.py works. Expert extraction for targeted training is research, not an issue.
fix(benchmark): gym cards name their artifact + grade on done — the 0…
fix(grade): subscribe on the LIVE bus tier — grade-on-done shipped on…
Causal memory slice B + grader-hears-the-store bridge (#447, #450) (#…