LLM Architecture & Transformers — Study Guide
An illustrated, end-to-end study guide for the LLM Architecture & Transformers certification. Four modules take you from raw text to generated tokens: inputs (tokenization, embeddings, positional encoding), the attention mechanism, the transformer block and stack, and decoding plus scaling. Rich with Mermaid diagrams, comparison tables, formulas, and worked numeric examples.
Key facts
- Course price: $195 (one-time payment)
- Field: Artificial Intelligence & LLMs
- Prepares for: LLM Architecture & Transformers
- 4 modules · 16 lessons · about 3 hours of lessons
- Self-paced, online, illustrated lessons
Course outline
- Inputs: Tokenization, Embeddings & Positional Encoding — How raw text becomes the position-aware vectors a transformer consumes.
- From Text to Tokens: BPE & Subword Tokenization
- Embeddings & Weight Tying
- Positional Encoding: Sinusoidal, Learned, RoPE & ALiBi
- Putting the Input Pipeline Together
- The Attention Mechanism — Scaled dot-product attention, causal masking, multi-head, and the long-context toolkit.
- Scaled Dot-Product Attention, Step by Step
- Causal Masking & Autoregression
- Multi-Head Attention
- Long Context: Complexity, FlashAttention, KV-Cache & GQA
- The Transformer Block & Stack — Residuals, normalization, the feed-forward network, and stacking N blocks into a decoder.
- Residual Connections & the Residual Stream
- Normalization: LayerNorm vs RMSNorm, Pre- vs Post-Norm
- The Feed-Forward Network: GELU & SwiGLU
- The Decoder-Only Stack of N Blocks
- From Logits to Text & Scaling — Logits, softmax, sampling strategies, precision, scaling laws and mixture-of-experts.
- Logits, Softmax & Sampling
- Numerical Precision: fp16, bf16 & fp8
- Scaling Laws & Mixture-of-Experts
- Failure Modes & The Full Forward Pass