-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Generative AI Foundations in Python
By :

In this hands-on section, we’ll reinforce the concepts discussed throughout the chapter by putting them into practice. You’ll get a first-hand experience and deep dive into the actual implementation of generative models, specifically GANs, diffusion models, and transformers.
The Python code provided will guide you through this process. Manipulating and observing the code in action will build your understanding of the intricate workings and potential applications of these models. This exercise will provide insight into model capabilities for tasks like generating art from prompts and synthesizing hyper-realistic images.
We’ll be utilizing the highly versatile PyTorch
library, a popular choice among machine learning practitioners, to facilitate our operations. PyTorch
provides a powerful and dynamic toolset to define and compute gradients, which is central to training these...