Generative AI with Python and TensorFlow 2
Generative AI with Python and TensorFlow 2
Language - English
Updated on Jan, 2023
About the Book
Book description
Fun and exciting projects to learn what artificial minds can create
Key Features
- Code examples are in TensorFlow 2, which make it easy for PyTorch users to follow along
- Look inside the most famous deep generative models, from GPT to MuseGAN
- Learn to build and adapt your own models in TensorFlow 2.x
- Explore exciting, cutting-edge use cases for deep generative AI
Book Description
Machines are excelling at creative human skills such as painting, writing, and composing music. Could you be more creative than generative AI?
In this book, you’ll explore the evolution of generative models, from restricted Boltzmann machines and deep belief networks to VAEs and GANs. You’ll learn how to implement models yourself in TensorFlow and get to grips with the latest research on deep neural networks.
There’s been an explosion in potential use cases for generative models. You’ll look at Open AI’s news generator, deepfakes, and training deep learning agents to navigate a simulated environment.
Recreate the code that’s under the hood and uncover surprising links between text, image, and music generation.
What you will learn
- Export the code from GitHub into Google Colab to see how everything works for yourself
- Compose music using LSTM models, simple GANs, and MuseGAN
- Create deepfakes using facial landmarks, autoencoders, and pix2pix GAN
- Learn how attention and transformers have changed NLP
- Build several text generation pipelines based on LSTMs, BERT, and GPT-2
- Implement paired and unpaired style transfer with networks like StyleGAN
- Discover emerging applications of generative AI like folding proteins and creating videos from images
Who this book is for
This is a book for Python programmers who are keen to create and have some fun using generative models. To make the most out of this book, you should have a basic familiarity with math and statistics for machine learning.

eBook Preview
Author Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now