Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Generative AI with Python and TensorFlow 2
Generative AI with Python and TensorFlow 2

Generative AI with Python and TensorFlow 2: Create images, text, and music with VAEs, GANs, LSTMs, Transformer models

Arrow left icon
Profile Icon Joseph Babcock Profile Icon Raghav Bali
Arrow right icon
€8.99 €39.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (28 Ratings)
eBook Apr 2021 488 pages 1st Edition
eBook
€8.99 €39.99
Paperback
€49.99
Subscription
Free Trial
Renews at €11.99p/m
Arrow left icon
Profile Icon Joseph Babcock Profile Icon Raghav Bali
Arrow right icon
€8.99 €39.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (28 Ratings)
eBook Apr 2021 488 pages 1st Edition
eBook
€8.99 €39.99
Paperback
€49.99
Subscription
Free Trial
Renews at €11.99p/m
eBook
€8.99 €39.99
Paperback
€49.99
Subscription
Free Trial
Renews at €11.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • 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

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.

Who is this book 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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 30, 2021
Length: 488 pages
Edition : 1st
Language : English
ISBN-13 : 9781800208506
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Apr 30, 2021
Length: 488 pages
Edition : 1st
Language : English
ISBN-13 : 9781800208506
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€11.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€119.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€169.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 133.97
Generative AI with Python and TensorFlow 2
€49.99
Machine Learning with PyTorch and Scikit-Learn
€41.99
Machine Learning for Time-Series with Python
€41.99
Total 133.97 Stars icon
Visually different images

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4
(28 Ratings)
5 star 75%
4 star 3.6%
3 star 10.7%
2 star 7.1%
1 star 3.6%
Filter icon Filter
Top Reviews

Filter reviews by




Khawaja Muddassar Oct 01, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I would rate my Packt product a solid 5 out of 5! The content is well-structured, informative, and packed with practical examples that enhance understanding and implementation. Highly recommended!
Feefo Verified review Feefo
dr t Jul 13, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is targeted at programmers and machine learning practitioners who want to learn about generative models. It is not for complete beginners - as the authors themselves state, one should have a basic understanding of probability, linear algebra, and deep learning.The book starts by introducing core concepts such as Docker, Kubernetes and Tensorflow, and then moves onto more advanced (and interesting) topics such as generating digits, images, music and deep fakes, and even copying artist’s styles to generate new art. Consequently, as the reader progresses through the book there are ample opportunities to use his/her coding skills to experiment.For this reader there were two chapters of special interest.- Chapter 8 on using transformers to generate text, in which BERT and GPT are introduced and explained, and then a program created to generate fake headlines. Having recently read Rothman’s book on transformers this chapter was very useful.- Chapter 10 in which various aspects of reinforcement learning are discussed.By the end of the book, this reader definitely felt that he had acquired a much firmer understanding of GANs and what they are capable of. Recommended and a good book to gain knowledge to have in one’s arsenal.
Amazon Verified review Amazon
Ivan and Zorro Jun 16, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
New and fascinating take on AI/machine learning where your models can generate new unstructured data. Want to see the Mona Lisa as if it were painted by Picasso or Van Gogh? That’s generative AI. It’s the same technology that Google was afraid to release to the public for fear of an overwhelming torrent of really fake news. This book assumes you have a good handle on machine learning concepts, but does start with a review of Bayes. It then jumps right into Tensorflow and companion tools for development such as Docker, AWS and Kubeflow. Definitely a long way from toy examples in a Jupyter notebook. If you are interested in going beyond prediction into creation this is a good place to start.
Amazon Verified review Amazon
Claudio Rodriguez May 16, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A few years ago, I was fascinated by Generative AI while reading Deep Learning with Python by Francois Chollet. The book was not about generative AI, and only 1 chapter was devoted to a high-level view and some great examples.Generative AI with Python and TensorFlow 2 goes into a deeper dive with Generative AI, starting with controlling a fleet of servers to a fast crash course in Deep Neural Networks. By Chapter 4, you're already generating data, which is mostly text. The explanations of each subject are fantastic, and I'm deeply grateful for all the graphics the authors provided to explain. I don't work with matrices daily, so I find the formulas very useful.I'm still going through the book, but there was one particular reason I was interested in it. Chapter 11 is about Music Generation, which is another part I find fascinating. While it's mostly an explanation of different models to analyze music, I find that I was looking for just that. - If you're looking to get started with Generating things with Generative AI, this is a great place to start. - If you're a seasoned AI generator, the main advantage of this book is using Tensorflow 2 for its examples, but you probably already saw this material from other places.
Amazon Verified review Amazon
SoImpossible Aug 22, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book provides thorough insight not only with deep neural networks, GANs and emerging applications in generative AI, but also covers some very important theory with mathematical derivations. What really stood out to me, was the containerisation using Docker and Kubernetes which is vital for developing and deploying your AI projects. Example configurations are provided within the book itself, with detailed explanations and an overview of what those mean. I have only scratched the surface with this text, but I am looking forward to thoroughly studying the techniques for composing music with generative models. I am also very excited about the emerging applications such as discovering pharmaceutical drugs using generative models. Generative AI for medical applications is going to be huge and this book is a great way to become familiar with this exciting new field.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.