It starts with a lot of text
You ask ChatGPT a question and the answer appears in seconds. But the model behind it took months to make. This lesson follows the whole path, from a pile of text to the answer on your screen.
The diagram has two rows. Top: making the model (done once). Bottom: using it (every time you ask). Lit blocks are where we are; faded ones do not exist yet. It all starts with text: books, websites, code, articles, forums, cleaned of copies, spam and personal details (the lesson Data shows how).
Approfondimento
Pre-training sets are measured in trillions of tokens. A typical pipeline: language detection, exact and near-duplicate removal (e.g. MinHash), quality filters, removal of personal data, and decontamination: dropping text that overlaps the tests the model will be checked on.
Diagramma
The Text data block is highlighted, surrounded by labels: books, websites, code, articles, forums. The rest of the diagram is faded.