Natural Language Processing (NLP)
Module 21 · Large language models from training to generation
Understand how decoder language models are trained, served, prompted, aligned, sampled, and evaluated.
8 lessons
Follow in order
Use the button below to sign in and unlock lessons.
Your path
Lessons in sequence
Work through these in order—each lesson builds on the previous one.
-
Lesson 1 of 8
21.1 Scaling and data
-
Lesson 2 of 8
21.2 The next-token objective
-
Lesson 3 of 8
21.3 Decoder-only architecture
-
Lesson 4 of 8
21.4 Sampling, temperature, top-k, and top-p
-
Lesson 5 of 8
21.5 Context windows and KV cache
-
Lesson 6 of 8
21.6 In-context learning and prompting
-
Lesson 7 of 8
21.7 Instruction tuning, RLHF, and DPO overview
-
Lesson 8 of 8
21.8 Limitations and emergent behaviour