BooleanIQ / Learn

AI from the ground up / Level 400 / LESSON 401

From a word to an answer: the whole journey of one prompt

The full pipeline in one pass; every later episode opens one stop

KnowCore path

Coming soon. This is the lesson outline; the full article is not available yet.

The wrong idea this corrects

"It looks the answer up" and "it writes the whole answer, then shows it".

What you will learn

  1. The text is cut into tokens
  2. Each token becomes a list of numbers
  3. The numbers pass through many layers where every token gathers what it needs from the others
  4. Out comes a score for every possible next token
  5. One is picked, added to the text, and the whole pass runs again
  6. Around the model sit the system prompt, the chat history and sometimes a search.

The picture to remember

A relay through a building of many floors, run once for every word of the answer.

The honest part

This is the mechanism, known exactly. Why that mechanism produces sense is only partly understood (415).