liveBook · Manning

Dataset

As explained in Grokking AI Applications

A dataset is an organized collection of data examples used to train or evaluate a machine-learning model.

A dataset is a collection of training examples that helps a model improve its predictions. Like a student checking guesses against new information, a neural network repeatedly uses examples to reduce errors. section 1.6

Useful dataset design follows a simple pattern:

  • Gather varied material so the model encounters many subjects, disciplines, contexts, and topics. section 1.6
  • Present examples during repeated training passes, allowing the network to adjust its parameters when predictions are wrong. section 1.6

GPT-3 training data

GPT-3 used a 45 TB dataset containing scraped webpages, books, English Wikipedia, and academic articles. This broad collection supported text completion across varied contexts. section 1.6

Figure 1.12 The two stages of GPT-3. First, it gets trained, and then the sentence completion is inferred.

Visualizes the distinction between training a model and inferring a sentence completion. section 1.6

How Grokking AI Applications covers it

How deep it goes
Explains dataset diversity, content sources, and scale, then connects examples to iterative parameter adjustment.
Examples
Uses GPT-3's 45 TB collection of webpages, books, Wikipedia, and academic articles as a concrete example.
What you can do after
Understand how dataset breadth supports model performance across different contexts and topics.
How it connects
Connects datasets with neural networks, backpropagation, model training, inference, fine-tuning, and GPUs.

Also explained in

Compare how 24 books explain dataset →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking AI Applications. The section links point to the parts of the book it draws on.