liveBook · Manning

Validation set

A validation set is held-out data used to assess a model during development and guide model selection or tuning, rather than to fit its parameters.

How 3 Manning books explain it

Building LLM Applications with DSPy

A validation set is a dataset partition used to tune choices or configurations during model development.

How it is used
Supplies DSPy optimizers with data for choosing among generated prompts.
How deep it goes
Defines its optimization role and gives split sizes and automatic-splitting behavior, without implementing an optimizer.
Examples
Contrasts a zero-shot ATIS intent-classification baseline using test data with later validation-dependent optimization.
What you can do after
Apply it via DSPy optimizers to select prompts while keeping development and test data for separate performance checks.

Read how Building LLM Applications with DSPy explains validation set →

Building Reliable AI Systems

A held-out subset of data used to assess a model during development without fitting its parameters on that subset.

How it is used
Checks fine-tuning performance on held-out examples during training.
How deep it goes
Specifies split size, distribution, metrics, stopping signals, and leakage precautions without deriving the metrics.
Examples
Uses a 10–20% split and rising validation loss as concrete planning and monitoring examples.
What you can do after
Apply it via a validation file in OpenAI’s fine-tuning API or metrics computed in custom training code.

Read how Building Reliable AI Systems explains validation set →

Grokking Statistics

A validation dataset is a held-out dataset used to evaluate model choices after training and iterative testing but before final assessment.

How it is used
Protects final model evaluation from clues leaked through repeated testing and model changes.
How deep it goes
Defines the dataset’s role and rationale but does not detail splitting procedures or implementation.
Examples
Uses repeated testing and model changes that accidentally leak clues from the test dataset.
What you can do after
Evaluate tested models on data excluded from iterative testing before trusting their reported performance.

Read how Grokking Statistics explains validation set →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.