Book description
Learn how to use generative media techniques with AI to create novel images or music in this practical, hands-on guide. Data scientists and software engineers will understand how state-of-the-art generative models work, how to fine-tune and adapt them to your needs, and how to combine existing building blocks to create new models and creative applications in different domains.
This book introduces theoretical concepts in an intuitive way, with extensive code samples and illustrations that you can run on services such as Google Colaboratory, Kaggle, or Hugging Face Spaces with minimal setup. You'll learn how to use open source libraries such as Transformers and Diffusers, conduct code exploration, and study several existing projects to help guide your work.
- Learn the fundamentals of classic and modern generative AI techniques
- Build and customize models that can generate text, images, and sound
- Explore trade-offs between training from scratch and using large, pretrained models
- Create models that can modify images by transferring the style of other images
- Tweak and bend transformers and diffusion models for creative purposes
- Train a model that can write text based on your style
- Deploy models as interactive demos or services
Publisher resources
Table of contents
- Preface
- 1. An Introduction to Generative Media
- 2. Transformers
- 3. Compressing and Representing Information
- 4. Diffusion Models
- 5. Stable Diffusion and Conditional Generation
- 6. Fine-Tuning Language Models
- 7. Fine-Tuning Stable Diffusion
- 8. Creative Applications of Text-To-Image Models
- 9. Generating Audio
- 10. Rapidly Advancing Areas in Generative AI
- A. Open-Source Tools
- B. LLM Memory Requirements
- C. End-to-End Retrieval-Augmented Generation
- About the Authors
Product information
- Title: Hands-On Generative AI with Transformers and Diffusion Models
- Author(s):
- Release date: November 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098149246
You might also like
book
Natural Language Processing with Transformers, Revised Edition
Since their introduction in 2017, transformers have quickly become the dominant architecture for achieving state-of-the-art results …
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
Modern Generative AI with ChatGPT and OpenAI Models
Harness the power of AI with innovative, real-world applications, and unprecedented productivity boosts, powered by the …
book
Deep Learning for Coders with fastai and PyTorch
Deep learning is often viewed as the exclusive domain of math PhDs and big tech companies. …