Skip to content
AgenticAIWiki
  1. Learn
  2. Part 1. Gen AI concepts
  3. Chapter 5

How models are trained

7 lessons · 31 min

From web text to assistant

Full screen
Raw textbooks, web, codetextprompt: What is the capital of France?

Swipe to change step

Step 1 of 9. Training starts with an enormous pile of raw text: books, websites and code. Nobody labels it. The text itself is the lesson. Raw text (books, web, code), highlighted.

In this chapter

  1. 5.1Pretraining4 min read
  2. 5.2Supervised fine-tuning4 min read
  3. 5.3RLHF4 min read
  4. 5.4Constitutional AI and principle-based safety4 min read
  5. 5.5Knowledge cutoffs and what the model can't know4 min read
  6. 5.6Foundation models and pre-training at scale6 min read
  7. 5.7Responsible AI and safety: an overview5 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…