// Course · stage 4 of 9
Transformers & LLMs
Tokenisation and embeddings, attention, modern LLM architectures, MoE and new architectures, pre-training and scaling laws.
5 unitsabout 54 hours47 algorithms
01Units in this stage
In order. Each unit has goals, algorithms, must-read papers, a project and a self-test.
02Algorithms you will meet
Algorithms Atlas →Byte-Pair Encoding (BPE) TokenizationWord2VecSentence Embeddings (Sentence-BERT)SentencePiece TokenizationGloVeELMo (Contextual Word Embeddings)Transformer & Self-AttentionBERTT5 (Text-to-Text Transfer Transformer)GPT-3 & In-Context LearningRotary Position Embedding (RoPE)Layer NormalizationALiBi (Attention with Linear Biases)SwiGLU (Gated Linear Units)RMSNormMulti-Query Attention (MQA)Grouped-Query Attention (GQA)Multi-head Latent Attention (MLA)FlashAttention (v1–v3)Sliding-Window & Sparse AttentionNative Sparse Attention (NSA)YaRN (Context Window Extension)Ring AttentionSparsely-Gated Mixture of ExpertsGShard (Expert Parallelism)Switch TransformerMixtral (Top-2 MoE)DeepSeekMoE (Fine-Grained & Shared Experts)Auxiliary-Loss-Free Load BalancingStructured State Spaces (S4)Mamba (Selective State Spaces)Mamba-2 (State Space Duality)Linear AttentionRWKVRetentive Network (RetNet)Hyena HierarchyxLSTMGated Delta NetworksHybrid Architectures (Jamba)Diffusion Language Models (LLaDA)Looped Language ModelsScaling LawsChinchilla Compute-Optimal ScalingEmergent AbilitiesμP (Maximal Update Parametrization)Multi-Token Prediction (MTP)Mixed Precision & FP8 Training
Part of these routes: Everyday Users · Application Developers · Algorithm Researchers · Product Managers & Leaders · Domain Scientists