Learn Generative AI with Pytorch by Liu, Mark

Learn Generative AI with Pytorch

Learn how generative AI works by building your very own models that can write coherent text, create...
€111,44 EUR
€111,44 EUR
SKU: 9781633436466
Product Type: Books
Please hurry! Only 0 left in stock
Author: Mark Liu
Format: Paperback
Language: English
Subtotal: €111,44
10 customers are viewing this product
Learn Generative AI with Pytorch by Liu, Mark

Learn Generative AI with Pytorch

€111,44

Learn Generative AI with Pytorch

€111,44
Author: Mark Liu
Format: Paperback
Language: English
Learn how generative AI works by building your very own models that can write coherent text, create realistic images, and even make lifelike music.

Learn Generative AI with PyTorch teaches the underlying mechanics of generative AI by building working AI models from scratch. Throughout, you'll use the intuitive PyTorch framework that's instantly familiar to anyone who's worked with Python data tools. Along the way, you'll master the fundamentals of General Adversarial Networks (GANs), Transformers, Large Language Models (LLMs), variational autoencoders, diffusion models, LangChain, and more!

In Learn Generative AI with PyTorch you'll build these amazing models:

- A simple English-to-French translator
- A text-generating model as powerful as GPT-2
- A diffusion model that produces realistic flower images
- Music generators using GANs and Transformers
- An image style transfer model
- A zero-shot know-it-all agent

The generative AI projects you create use the same underlying techniques and technologies as full-scale models like GPT-4 and Stable Diffusion. You don't need to be a machine learning expert--you can get started with just some basic Python programming skills.

Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.

About the technology

Transformers, Generative Adversarial Networks (GANs), diffusion models, LLMs, and other powerful deep learning patterns have radically changed the way we manipulate text, images, and sound. Generative AI may seem like magic at first, but with a little Python, the PyTorch framework, and some practice, you can build interesting and useful models that will train and run on your laptop. This book shows you how.

About the book

Learn Generative AI with PyTorch introduces the underlying mechanics of generative AI by helping you build your own working AI models. You'll begin by creating simple images using a GAN, and then progress to writing a language translation transformer line-by-line. As you work through the fun and fascinating projects, you'll train models to create anime images, write like Hemingway, make music like Mozart, and more. You just need Python and a few machine learning basics to get started. You'll learn the rest as you go!

What's inside

- Build an English-to-French translator
- Create a text-generation LLM
- Train a diffusion model to produce high-resolution images
- Music generators using GANs and Transformers

About the reader

Examples use simple Python. No deep learning experience required.

About the author

Mark Liu is the founding director of the Master of Science in Finance program at the University of Kentucky.

The technical editor on this book was Emmanuel Maggiori.

Table of Contents

Part 1
1 What is generative AI and why PyTorch?
2 Deep learning with PyTorch
3 Generative adversarial networks: Shape and number generation
Part 2
4 Image generation with generative adversarial networks
5 Selecting characteristics in generated images
6 CycleGAN: Converting blond hair to black hair
7 Image generation with variational autoencoders
Part 3
8 Text generation with recurrent neural networks
9 A line-by-line implementation of attention and Transformer
10 Training a Transformer to translate English to French
11 Building a generative pretrained Transformer from scratch
12 Training a Transformer to generate text
Part 4
13 Music generation with MuseGAN
14 Building and training a music Transformer
15 Diffusion models and text-to-image Transformers
16 Pretrained large language models and the LangChain library
Appendixes
A Installing Python, Jupyter Notebook, and PyTorch
B Minimally qualified readers and deep learning basics

Author: Mark Liu
Publisher: Manning Publications
Published: 11/26/2024
Pages: 432
Binding Type: Paperback
Weight: 0.92lbs
ISBN: 9781633436466

Returns Policy

You may return most new, unopened items within 30 days of delivery for a full refund. We'll also pay the return shipping costs if the return is a result of our error (you received an incorrect or defective item, etc.).

You should expect to receive your refund within four weeks of giving your package to the return shipper, however, in many cases you will receive a refund more quickly. This time period includes the transit time for us to receive your return from the shipper (5 to 10 business days), the time it takes us to process your return once we receive it (3 to 5 business days), and the time it takes your bank to process our refund request (5 to 10 business days).

If you need to return an item, simply login to your account, view the order using the "Complete Orders" link under the My Account menu and click the Return Item(s) button. We'll notify you via e-mail of your refund once we've received and processed the returned item.

Shipping

We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations.

When you place an order, we will estimate shipping and delivery dates for you based on the availability of your items and the shipping options you choose. Depending on the shipping provider you choose, shipping date estimates may appear on the shipping quotes page.

Please also note that the shipping rates for many items we sell are weight-based. The weight of any such item can be found on its detail page. To reflect the policies of the shipping companies we use, all weights will be rounded up to the next full pound.

Related Products

Recently Viewed Products