emerging-techniques-moe-training
Train Mixture of Experts (MoE) models using DeepSpeed or HuggingFace. Use when training large-scale models with limited compute (5× cost reduction vs dense models), implementing sparse architectures like Mixtral 8x7B or DeepSeek-V3, or scaling model capacity without proportional compute increase. Covers MoE architectures, routing mechanisms, load balancing, expert parallelism, and inference optimization.
Original · translation is not supported for this source languageTarget: Learning & research. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original text
Topics in the source
- MoE Training: Mixture of Experts
- When to Use This Skill
- Installation
- Quick Start
- Basic MoE Architecture
- DeepSpeed MoE Training
- Core Concepts
- 1. MoE Architecture
Use MoE Training when you need to: Train larger models with limited compute (5× cost reduction vs dense models) Scale model capacity without proportional compute increase Achieve better performance per compute budget than dense models Specialize experts for different domains/tasks/languages Reduce inference latency with sparse activation (only 13B/47B params active in Mixtral) Implement SOTA models like Mixtral 8x7B, DeepSeek-V3, Switch Transformers Notable MoE Models: Mixtral 8x7B (Mistral AI), DeepSeek-V3, Switch Transformers (Google), GLaM (Google), NLLB-MoE (Meta) Key Components: Experts: Multiple specialized FFN networks (typically 8-128) Router/Gate: Learned network that selects which experts to use Top-k Routing: Activate only k experts per token (k=1 or k=2) Load Balancing: Ensure even expert utilization Top-1 Routing (Switch Transformer): Top-2 Routing (Mixtral): Expert Choice Routing: Auxiliary Loss: Router Z-Loss (Stability): DeepSpeed MoE Tutorial: https://www.deepspeed.ai/tutorials/mixture-of-experts-nlg/ Mixtral Paper: https://arxiv.org/abs/2401.04088 Switch Transformers: https://arxiv.org/abs/2101.03961 HuggingFace MoE Guide: https://huggingface.co/blog/moe NVIDIA Mo
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/ai-research/emerging-techniques-moe-training/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:43.089Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.