Chapter 17
Generating Stuff with AI
IN THIS CHAPTER
Reviewing the types of generative AI
Learning about generative adversarial networks (GAN)
Studying variational autoencoders (VAE)
Diffusing order to noise with diffusion algorithms
Examining transformers and coding
Generative AI is designed to create new (and you can argue, creative and original) content by learning to recognize underlying patterns and structures in large datasets (text, images, audio, video, code). In Chapter 16, we talked about LLMs generating text by predicting the next word based on your prompts and the database. LLMs are a specific type of generative AI that focuses on language. In this chapter, we dive into more detail on how generative AI works, such as for generating text, pictures, audio, and code.
Identifying the Types of Generative AI
There are five major types of generative AI algorithms as shown in Figure 17-1:
- Generative adversarial networks (GANs)
- Variational autoencoders (VAEs)
- Diffusion models ...
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