Command lineΒΆ
mixturekit build CONFIG.yaml [--output DIR] [--dtype bfloat16|float16|float32] [--no-streaming]
[--push-to-hub ORG/NAME] [--private]
mixturekit train CONFIG.yaml
mixturekit visualize MODEL [--text TEXT] [--html FILE] [--device cuda|mps|cpu] [--port 8501]
mixturekit card MODEL [--repo-id ORG/NAME]
mixturekit push MODEL ORG/NAME [--private]
mixturekit export MODEL OUTPUT
mixturekit benchmark CONFIG.yaml
buildMerges the experts described in the YAML file (see Configuration) and saves the configuration it was built from, with the datatype used, as
mixturekit_config.json.--push-to-hubuploads the result.trainTrains the routers or stitch layers (see Training). Needs
mixturekit[train].visualizeOpens the routing app, or with
--textor--htmlprints the share of every expert and writes an HTML view (see Routing visualizer). Needsmixturekit[vis]for the app.cardWrites the model card (
README.md) of a merged model.pushUploads a merged model with its card to the Hugging Face Hub. Training state (checkpoints, optimizer) and the local build configuration are not uploaded; the card holds the build configuration with the local paths removed.
--privaterefuses to upload into an existing public repository.exportWrites a traditional MoE of Llama, Mistral or Qwen3 experts as a native Mixtral or Qwen3-MoE model (see Export to Mixtral, Qwen3-MoE and GGUF).
benchmarkScores merged models and their experts with lm-evaluation-harness (see Benchmarks). Needs
mixturekit[bench].