GenAI Basics / Chapter 2
How GenAI Works
From a sequence of tokens to a system you can reason about.
Learn the mechanism, then explore its limits. This chapter connects visual intuition to the decisions you make as an engineer.
Your learning path
Chapter preview02 How GenAI Works
◉What is a tokenOpen lesson →◉How a model predicts the next tokenOpen lesson →◉Where models learn: pretraining and dataOpen lesson →◉From base model to assistantOpen lesson →◉Parameters and model sizeOpen lesson →◉The context windowOpen lesson →◉Why models make things upOpen lesson →◉Knowledge cutoff and fresh informationOpen lesson →◉Temperature and samplingOpen lesson →◉Reasoning modelsOpen lesson →Chapter and lesson titles come from the shared curriculum. Web lessons are authored independently of mobile.