liveBook · Manning

Evaluation dataset

As explained in The AI Pocket Book

A held-out dataset used to tune or select among models during development, separate from the final evaluation data.

A validation set is held-out data for comparing models and selecting the one that best serves the task. Keep it separate from training data, or memorization can make a weak model look capable. section 3.9

Comparing models

To choose between GPT-4o and Llama 3, measure how often each solves coding problems correctly on the same validation set. That task-focused measure may differ from the loss used during training. section 3.9

Use a validation set carefully:

  • Exclude examples already present in training data; otherwise, memorization and overfitting can inflate performance. section 3.9
  • After selecting a model, evaluate it once on a separate test set as a final sanity check. section 3.10
  • Do not reuse the test set after disappointing results; repeated use turns it into another validation set. section 3.10

How The AI Pocket Book covers it

How deep it goes
Explains selection, business-aligned measures, data separation, and test-set leakage, but does not detail dataset construction procedures.
Examples
Uses GPT-4o versus Llama 3 coding comparisons and crossword clues that may already have publicly available answers.
What you can do after
Apply it to select models with task-relevant measures before conducting a separate final test.
How it connects
Connects model selection with training sets, overfitting, performance measures, and test sets.

Also explained in

Compare how 27 books explain evaluation dataset →

Related concepts

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