liveBook · Manning

Foundational model

As explained in The AI Pocket Book

A preexisting model used as-is or with minimal adaptation instead of building one from scratch.

A pretrained model is an existing, general-purpose model used as-is or with limited adaptation instead of rebuilt from scratch. Off-the-shelf models are the practical version of this idea: ready to use, easy to deploy, and usually customized first through prompts. section 3.15 section 3.3

Clarifying an ambiguous request

Suppose you ask an existing language model to make a table of 200-meter world records. The request leaves the format and contents unclear. Adding a few demonstrations in the prompt—few-shot prompting—steers the model without changing its internal parameters. section 3.3

A sensible adaptation ladder is:

  • Start with the pretrained model and improve the prompt, including examples when the task is ambiguous. section 3.3
  • Add retrieval-augmented generation when the model needs substantial contextual information. section 3.3
  • Fine-tune only when prompting and added context are insufficient, or when a smaller specialized model is preferable. section 3.15 section 3.3

Fine-tuning creates an altered copy by continuing training on task-specific data and adjusting internal parameters. That is more involved than using the pretrained model directly, which remains the default starting point for many customizations. section 3.3 section 3.15

How The AI Pocket Book covers it

How deep it goes
Explains unaltered use, prompt adaptation, retrieval, and fine-tuning parameters, but stops short of training procedures.
Examples
Uses a world-record table prompt, few-shot demonstrations, RAG context, and Midjourney image prompts as concrete adaptations.
What it assumes
Assumes familiarity with AI tasks but teaches customization from zero through prompts, examples, contextual retrieval, and later fine-tuning.
What you can do after
Apply it via prompts and retrieval, then evaluate whether fine-tuning is justified for the intended task.
How it connects
Connects pretrained models with foundation models, prompt engineering, few-shot prompting, RAG, and fine-tuning.

Also explained in

Compare how 21 books explain foundational model →

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.