Framework documentation

MoE and LoRA routing
for frozen language models.

Learn Mutations, the Anchored Plug-in MoE Python framework: convert Qwen3 models, train specialists, calibrate expert routing, and deploy Needle branches while preserving a frozen base-model fallback.

All 18 guides are published and validated. Integration labels distinguish complete package lifecycles from composable and research paths.

01

Introduction

04

Core components

08

Workflows

08TrainingTrain independent MoE experts and LoRA specialists over a frozen LLM backbone, compare local mini-MoE workflows, and inspect isolation and preservation checks.10 tracked features09CalibrationFit and calibrate MoE router heads, build utility labels, control false specialist activation, and measure routing regret while keeping the LLM anchor frozen.10 tracked features10RegistryManage MoE expert packages with manifest validation, Hugging Face Hub transfers, explicit model synchronization, version upgrades, and exact rollback.11 tracked features11InferenceRun sparse anchored top-1 MoE inference, compose expert packages with a frozen Qwen3 base, and inspect dispatch, capacity fallback, and route telemetry.9 tracked features12EvaluationEvaluate MoE correctness, expert routing, model quality, latency, throughput, and memory with bounded experiments and exact base-model fallback checks.7 tracked features16Prompt-routed adaptersTrain independent LoRA adapters for Qwen3 attention and MLP projections, then use an external prompt router to select a specialist or frozen base per response.4 tracked features17Needle branchesBuild frozen-prefix Needle LLM branches, train independent LoRA or copied suffixes, and deploy specialists with cached JAX decoding or native model exports.9 tracked features18Browser deploymentDeploy routed Needle LLMs in the browser with the official WASM runtime, a frozen base download, specialist byte patches, and recent-context tool routing.3 tracked features

13

Learn by example

14

Project