What an Expert Is in a Mixture-of-Experts Model
What a Hugging Face post says a Mixture of Experts model replaces, what an expert is not and what the router does for each token.
For: Learners who know what a Transformer is.
What scaling dense models drove
Over the past few years, scaling dense language models has driven most progress in LLMs.[1]
What MoE replaces
A Mixture of Experts model keeps the Transformer backbone, but replaces certain dense feed-forward layers with a set of experts.[1]
What an expert is not, and what the router does
An “expert” is not a topic-specialized module (e.g., "math expert", "code expert").[1]
For each token, a router selects a small subset of experts to process it.[1]
Sources
- Mixture of Experts (MoEs) in Transformers (huggingface.co · checked )
Related concepts
More articles
- LearningWhat Assisted Generation Is and What Its Two Models DoWhat a Hugging Face post says assisted generation is also known as, what its core idea is and what the assistant and target models do each cycle.
- LearningWhy Full Weight Fine-Tuning Is Costly and What PEFT IsWhat a Hugging Face post says about the cost of default full weight training, who that cost affects and what PEFT is.
- LearningWhy Quantization Costs AccuracyWhat a Hugging Face post says quantization is, what it saves and why reducing precision too far degrades a model's performance.