LLM Engineering
From transformer internals to production-grade LLM systems.
Covers tokenization, transformer architecture, fine-tuning, RAG, evaluation, cost control, and deployment of LLM applications at scale.
Ship a Domain-Tuned LLM End-to-End
Take an open base model, fine-tune it on a domain dataset, align it with preference data, evaluate it on a custom benchmark, and serve it under a measured SLO.
30–50 hours over 2–3 weeks · 7 deliverables · rubric out of 100 · passing score 70
- 1
Foundations of LLMs
Quiz · 10Q · 80% to passHistory, architecture, transformer basics, scaling laws, and the end-to-end LLM training pipeline.
- 2
Tokenization & Text Processing
Quiz · 10Q · 80% to passBPE, WordPiece, Unigram, vocabulary design, special tokens, and building tokenizers from scratch.
Pass Module 1 to unlock - 3
Embeddings & Representation Learning
Quiz · 10Q · 80% to passToken embeddings, positional encodings, semantic spaces, RoPE/ALiBi, and embedding-level design choices.
Pass Module 2 to unlock - 4
Attention Mechanisms
Quiz · 10Q · 80% to passSelf-attention, multi-head attention, QKV math, complexity, causal masking, and efficient variants (FlashAttention, MQA, GQA).
Pass Module 3 to unlock - 5
Transformer Architecture
Quiz · 10Q · 80% to passBlock structure, encoder vs decoder, FFNs, normalization, residual streams, and stacking.
Pass Module 4 to unlock - 6
Training LLMs
Quiz · 10Q · 80% to passLoss functions, optimization, data pipelines, mixed precision, distributed training (DDP, FSDP, ZeRO, TP, PP), and checkpointing.
Pass Module 5 to unlock - 7
Fine-Tuning & Adaptation
Quiz · 10Q · 80% to passWhen to fine-tune, full fine-tuning vs PEFT, LoRA, QLoRA, instruction tuning, dataset design, and serving adapters.
Pass Module 6 to unlock - 8
RLHF & Alignment
Quiz · 10Q · 80% to passReward models, preference data, PPO, DPO, KTO, IPO, Constitutional AI, and safety alignment.
Pass Module 7 to unlock - 9
Evaluation & Benchmarking
Quiz · 10Q · 80% to passPerplexity, task benchmarks, hallucination metrics, LLM-as-judge, leaderboard contamination, and continuous eval pipelines.
Pass Module 8 to unlock - 10
Serving & Deployment
Quiz · 10Q · 80% to passInference optimization, quantization, Triton, ONNX, TensorRT, and production concerns.
Pass Module 9 to unlock - 11
Scaling & Optimization
Quiz · 10Q · 80% to passSharding, ZeRO, DeepSpeed/FSDP, memory optimization, and KV caching.
Pass Module 10 to unlock - 12
Capstone Preparation
Quiz · 10Q · 80% to passDesign, build, train, evaluate, and deploy a small transformer LLM end-to-end.
Pass Module 11 to unlock
