liveBook · Manning

Pretraining

As explained in Build a Website with ChatGPT

Pretraining is the initial training of a model on large amounts of data to learn general patterns before task-specific use.

Pretraining is the initial training of a model on huge amounts of text and programming data. It teaches general language patterns, such as how sentences are formed and what word or phrase usually comes next. section 1.1

Predicting what comes next

Given existing text, a pretrained model predicts the next likely word or phrase. Exposure to large amounts of predictable programming code helps explain why it can generate web-page code. section 1.1

How Build a Website with ChatGPT covers it

How deep it goes
Defines exposure, learned patterns, and next-word prediction, but stops short of describing training algorithms or model internals.
Examples
Uses sentence formation, next-word prediction, and exposure to programming code as concrete examples of learned patterns.
What it assumes
Assumes no technical background and defines pretraining through language patterns and next-word prediction.
What you can do after
Evaluate/understand why GPT can generate text and web-page code after learning broad patterns from large datasets.
How it connects
Connects large language models with language patterns, next-word prediction, transformers, and programming-code generation.

Also explained in

Compare how 14 books explain pretraining →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Website with ChatGPT. The section links point to the parts of the book it draws on.