liveBook · Manning

Training

As explained in The Complete Obsolete Guide to Generative AI

Model training is the process of fitting a model by exposing it to data so it learns patterns for making predictions or generating outputs.

Model training fits a model by exposing it to large collections of data, helping it learn patterns that support predictions or generated outputs. It creates the impression of intelligence without making the system humanly intelligent or self-aware. section 1.1

A typical generative training process looks like this:

  • Gather large collections of text, images, audio, or video. section 1.1 section 4.1
  • Analyze examples to discover patterns, relationships, styles, and structures. section 1.1 section 4.1
  • Represent the material numerically so the system can work with those patterns. section 4.1
  • Generate candidate outputs, compare them with examples or preferences, and adjust the model repeatedly. section 1.1 section 4.1

Training a writing style

Feed GPT as much of your writing as possible through llama_index, then ask it to answer questions or scenarios in your style. The result can be useful, but still deserves verification rather than a ceremonial trust fall. section 3.8

Figure 4.1 The training process for building a media-generation LLM

Use the training-process figure to follow how media examples become a model capable of generating audio, images, or video. section 4.1

How The Complete Obsolete Guide to Generative AI covers it

How deep it goes
Explains data gathering, pattern learning, numerical representation, feedback, and iteration, while stopping short of detailed mathematics.
Examples
Uses internet text, personal writing processed with llama_index, and audio, image, and video collections as training examples.
What you can do after
Understand how to train models with existing data and domain constraints, then verify generated results for accuracy.
How it connects
Connects training with natural language processing, large language models, multimodal learning, prompting, and domain-specific constraints.

Also explained in

Compare how 24 books explain training →

Related concepts

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