null
Loading…
Skip to main content Skip to buy box

Holiday gifts by Fri, Dec 18? Order by Thu, Dec 3. Plan gifts Gifts by Dec 18? Order by Dec 3. Plan

Free shipping on most orders over $95 in the contiguous US

Specialists Mon–Fri, 8:30 am–5 pm PTSpecialists Mon–Fri, 8:30–5 PT866-522-6657

Learn Generative AI with PyTorch: Build GANs, transformers, and diffusion models book cover by Mark Liu
Paperback

Learn Generative AI with PyTorch: Build GANs, transformers, and diffusion models

by Mark Liu

From $50.99 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $47.99 at 1,000+

Total $1,274.75

Paperback · 432 pages Manning · 2024

Format

Paperback
Volume pricing

The more copies, the less each one costs

Applied automatically in your cart. No code needed.

More than a box of books

Turn this order into a program

Groups that order together often pair the copies with something more. We handle the extras so you don't have to.

About the book

Learn Generative AI with PyTorch

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.

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

Details

Publisher
Manning
Author
Mark Liu
Format
Paperback
Published
Nov 26, 2024
ISBN-13
9781633436466
ISBN-10
1633436462
Pages
432
Carton quantity
16 copies
Buying for a group

Learn Generative AI with PyTorch for groups: pricing

Volume pricing applies automatically in your cart. No codes, no account needed.

CopiesPrice per copyYou save
25 – 99 $50.99 15% off list
100 – 249 $50.39 16% off list
250 – 499 $49.79 17% off list
500 – 999 $49.19 18% off list
1,000+ $47.99 20% off list
Ways groups use it

Popular for

1
Book clubs

A copy for every member, on one order.

2
Events and conferences

A book for every attendee, delivered to your venue.

3
Gifts

For clients, staff, members or volunteers.

Where can I buy 100 copies of Learn Generative AI with PyTorch?

BookPal sells Learn Generative AI with PyTorch in quantity. At 100 copies the price is $50.39 a copy, against a list price of $59.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.

  • New books only, straight from the publisher
  • Volume prices apply automatically in the cart, with no code needed
  • Order at least 10 business days before you need the books (11 from mid-November through December)

Ask a specialist about a larger or mixed order

What does Learn Generative AI with PyTorch cost when I buy for a group?

Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $50.99 (15% off list); 100 to 249 copies, $50.39 (16% off list); 250 to 499 copies, $49.79 (17% off list); 500 to 999 copies, $49.19 (18% off list); 1,000+ copies, $47.99 (20% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.

How fast can I get copies of Learn Generative AI with PyTorch?

Need them by a specific date? Request a quote and we'll confirm timing before you pay.

Can you ship to several locations or people's homes?

Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.

Can I get a formal quote for approval before ordering?

Yes. Request a quote and we'll send a PDF you can forward for approval.

Do you accept purchase orders and tax-exempt orders?

Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.

What if I find a lower price?

Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.

Send for approval

Get a yes from your approver

Learn Generative AI with PyTorch: Build GANs, transformers, and diffusion models
Email it to my approver

Your approver gets a link to this page with the quantity set and an "Approve and order" button. Nothing is sent until you press send in your email app.

Log In
Review Your Cart
Your cart is empty Your cart is empty Your cart is empty

Menu

Recently Viewed Recently Viewed
Back to top Back to top