liveBook · Manning

Dataset

As explained in Generative AI in Action

A dataset is an organized collection of data records or examples assembled for analysis or machine-learning development.

A dataset is an organized collection of records or examples assembled for analysis, model development, retrieval, or evaluation. In generative AI workflows, it may supply external knowledge, demonstrate a fine-tuning task, or provide test inputs for measuring model behavior. section 7.2 section 9.3 section 12.3.7

Use datasets in several complementary parts of the GenAI stack:

  • Update an external RAG dataset as information changes, avoiding model retraining whenever new data is added. section 7.2
  • Prepare task examples for fine-tuning, such as teaching a model to return Microsoft Teams-compatible emoji syntax. section 9.3
  • Run model evaluations from CSV or JSONL test data, or enter evaluation records manually through Azure AI Studio. section 12.3.7

EmojiBot fine-tuning dataset

A fine-tuning dataset can encode the desired EmojiBot behavior: given a task involving Microsoft Teams syntax, the model learns to respond with emojis represented by parenthesized text such as (dog). The dataset therefore expresses both the task and the required output convention. section 9.3

Figure 12.1 Azure AI Studio evaluations
figure

Use the Azure AI Studio evaluation setup to inspect how a test dataset supports evaluation runs, metrics, custom flows, and batch execution. section 12.3.7

How Generative AI in Action covers it

How deep it goes
Covers dataset roles and formats, but stops short of detailed schema design, preprocessing, validation, or data-governance procedures.
Examples
Uses external RAG data, an EmojiBot fine-tuning set, and CSV or JSONL evaluation data.
What it assumes
Assumes a defined task for fine-tuning and, for AI-assisted evaluation, a deployed model plus a compute runtime.
What you can do after
Operate/configure RAG updates, fine-tuning preparation, and Azure AI Studio evaluation runs with suitable dataset inputs.
How it connects
Connects datasets with retrieval-augmented generation, fine-tuning, model evaluation, and Azure AI Studio.

Also explained in

Compare how 24 books explain dataset →

Related concepts

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