How much can a model keep in mind?
A teacher writes on a whiteboard during a lesson. When the board is full, the oldest notes are wiped to make room. The board can be big, but it always has a size.
A language model has a board like this, called its context window. What fits on it, and what happens when a conversation gets too long?
Diagramm
Four cards: a whiteboard, when it is full the oldest notes are wiped; a phone screen shows only the latest messages; a small notepad, new notes push out old pages; in a long talk you remember the last sentences best. Below: how much of a conversation can a model keep in mind?