Skip to Content
Building and Training Generative AI Models: A Practical Guide to Generative AI Development and Scaling
book

Building and Training Generative AI Models: A Practical Guide to Generative AI Development and Scaling

by Irena Cronin
March 2026
Intermediate
652 pages
11h 12m
English
Apress

Overview

This book is a hands-on, technical guide to building and deploying generative AI models using advanced deep learning architectures like transformers, GANs, VAEs, and diffusion models. Designed for AI engineers, data scientists, and ML practitioners, it offers a practical roadmap from data ingestion to real-world deployment and evaluation.

The book starts by guiding readers on selecting the right model architecture for their application, be it text generation, image synthesis, or multimodal tasks. It then walks through essential components of model training, including dataset handling, self-supervised learning, and core optimisation techniques such as backpropagation, gradient descent, and learning rate scheduling. It also delves into large-scale training infrastructure, covering GPU/TPU usage, distributed computing frameworks, and system-level strategies for scaling performance. Practical guidance is provided on fine-tuning models with domain-specific data and applying reinforcement learning from human feedback (RLHF), model quantisation, and pruning to improve efficiency. Key challenges in generative AI—such as overfitting, bias, hallucination, and data efficiency—are addressed through proven techniques and emerging best practices. Readers will also gain insight into model interpretability and generalisation, ensuring robust and trustworthy outputs. The book demonstrates how to build scalable, production-ready generative systems across domains like media, healthcare, scientific simulation, and design through real-world examples and applied case studies.

 

By the end, readers will gain an understanding of how to architect, optimise, and apply generative models across diverse domains such as media creation, healthcare, design, scientific simulation, and beyond.

What you will learn;

  • Learn how to choose and implement generative models—VAEs, GANs, transformers, and diffusion models—for specific use cases.
  • Master training optimization techniques such as backpropagation, gradient descent, adaptive learning rates, and regularization.
  • Apply best practices for large-scale training using GPUs, TPUs, and distributed computing frameworks for performance scaling.
  • Boost model efficiency through quantization, pruning, fine-tuning, and RLHF to enhance output quality and reduce overhead.

Who this book is for:

AI Engineers and Machine Learning Practitioners looking to build and deploy generative models in real-world applications.  Data Scientists working on deep learning projects involving text, vision, audio, or multimodal generation.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Generative AI for Software Development

Generative AI for Software Development

Sergio Pereira
Visualizing Generative AI

Visualizing Generative AI

Priyanka Vergadia, Valliappa Lakshmanan

Publisher Resources

ISBN: 9798868823329Purchase LinkPublisher Website