Generative AI & LLM Engineering: Transformers to Agents

A practical 40-lesson follow-on to "Machine Learning from Zero to Advanced". Go from how GPT models are trained and sampled, through prompting, embeddings, vector search, RAG and fine-tuning, to tool-using agents, MCP and production serving. It ends with four capstone projects and a roadmap. Every lesson gives intuition, math, a worked numeric example and runnable provider-neutral Python.

Lessons
40
Hours of video
8.9
Minutes of reading
417
Finished here
0
#LessonVideoReadStatus
1How GPT Is Trained: Next-Token Prediction Explained with Math and Code13:5811 min
2Scaling Laws Explained: Why Bigger Models Keep Getting Better12:3410 min
3Sampling Explained: Greedy, Temperature, Top-k, Top-p (With Numbers)13:0310 min
4Context Windows and RoPE Explained: How LLMs Know Word Order13:5811 min
5The KV Cache Explained: Why LLM Decoding Is Memory-Bound13:3311 min
6Why LLMs Hallucinate (and What Actually Helps)11:429 min
7Prompt Patterns and System Prompts: Programming in Plain English12:4910 min
8Few-Shot Prompting and In-Context Learning Explained (With Code)12:1910 min
9Chain-of-Thought and Reasoning Models: How LLMs Learn to Think12:4810 min
10Structured Output and Evaluating Prompts Like Real Software15:1412 min
11Sentence Embeddings and Contrastive Training: How Meaning Becomes Math12:4710 min
12Cosine vs Dot Product: How Exact Vector Search Really Works13:0310 min
13ANN Indexes Explained: HNSW, IVF and Product Quantization15:2912 min
14Vector Databases in Practice: Filtering, Sizing, and Real Code13:1410 min
15RAG Explained: How to Ground LLMs in Your Own Data12:2710 min
16Chunking Strategies for RAG: How to Split Documents Right13:4111 min
17Retrieval and Query Rewriting: Fix RAG Before It Fails14:3912 min
18Reranking with Cross-Encoders: The Cheap Trick That Fixes RAG Search13:4611 min
19Hybrid Search Explained: BM25 + Dense Vectors with Reciprocal Rank Fusion13:1010 min
20Evaluating RAG: Metrics, Test Sets and 8 Failure Modes12:2610 min
21Supervised Fine-Tuning Explained: Chat Templates, Loss Masking and Code11:479 min
22LoRA Math Explained: Low-Rank Adaptation Derived From Scratch14:5011 min
23QLoRA Explained: Fine-Tune a 7B Model on One GPU with 4-Bit Quantization12:5510 min
24RLHF Explained: Reward Models, KL Penalty and PPO Step by Step15:0212 min
25DPO Derived: Preference Optimization Without RL14:1911 min
26Fine-Tune vs RAG vs Prompt: How to Decide (A Practical Framework)12:519 min
27Tool and Function Calling: How LLMs Actually Use Tools13:1110 min
28The ReAct Loop, Planning and Reflection: How AI Agents Actually Think13:1811 min
29Agent Memory Explained: Short-Term, Long-Term and Context Management13:0910 min
30Multi-Agent Systems: When They Help and When They Hurt12:5510 min
31Model Context Protocol (MCP) Explained: One Standard for AI Tools13:2411 min
32Latency and Cost Math for LLM Applications: Predict Your Bill13:5110 min
33Quantization Explained: INT8, INT4, GPTQ and AWQ for LLMs15:1312 min
34Serving LLMs with vLLM: Continuous Batching and PagedAttention Explained14:3711 min
35LLM Guardrails and Prompt Injection: Securing and Monitoring AI in Production14:0411 min
36Build a Document Q&A RAG Bot: Hybrid Search, Reranking, Citations, Evals14:1411 min
37Capstone 2: Build a Repo-Aware Coding Assistant (Python, Sandboxed, Tested)13:0510 min
38Capstone: Fine-Tune a Small Open Model End to End (QLoRA + TRL)12:3210 min
39Capstone 4: Deploy a Tool-Using AI Agent to Production (FastAPI, Docker, Guardrails)12:5010 min
40LLM Engineering Roadmap: What You Learned and Where to Go Next11:048 min