Sign up and get 15% off the four courses and Lifetime.

How the machines work

Member lesson

Context windows and what a model forgets

Lesson 10 of 13 in How the machines work.

Lesson

A language model can only work with the text it can hold in view at one time, and that amount is called its context window. It is measured in tokens, the small pieces of text a model reads as single units, and it includes the model's own replies as well as everything you have typed.

The model itself has no memory. What looks like memory is the whole conversation being sent again with every new message. We will follow a skincare startup that uses a chat assistant to write product descriptions in its brand voice.

Member

The rest of this comes with the course.

You have read the opening of this lesson. The rest of it comes with the course, or with a membership.

One membership covers all four courses and Brands.

  • All lessons in the four Learn courses
  • All brand breakdowns in the Brands section
  • All quizzes, flashcards and crosswords
  • An AI teacher on every lesson, for up to 60 questions a day
  • A scored final project and a portfolio card in every course
  • A portfolio page for the work you pass
  • All course material published during the membership

Price

One course is $29, paid once.One course is ₹1,499 + GST, paid once. Membership is charged at $20 each month until it is cancelled. Lifetime access is $60, paid once.Membership is charged at ₹699 + GST each month until it is cancelled. Lifetime access is ₹4,999 + GST, paid once.