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
Mastering PyTorch
Mastering PyTorch

Mastering PyTorch: Create and deploy deep learning models from CNNs to multimodal models, LLMs, and beyond , Second Edition

eBook
$41.99
Paperback
$51.99
Subscription
Free Trial
Renews at $12.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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • Understand how to use PyTorch to build advanced neural network models
  • Get the best from PyTorch by working with Hugging Face, fastai, PyTorch Lightning, PyTorch Geometric, Flask, and Docker
  • Unlock faster training with multiple GPUs and optimize model deployment using efficient inference frameworks

Description

PyTorch is making it easier than ever before for anyone to build deep learning applications. This PyTorch deep learning book will help you uncover expert techniques to get the most out of your data and build complex neural network models. You’ll build convolutional neural networks for image classification and recurrent neural networks and transformers for sentiment analysis. As you advance, you'll apply deep learning across different domains, such as music, text, and image generation, using generative models, including diffusion models. You'll not only build and train your own deep reinforcement learning models in PyTorch but also learn to optimize model training using multiple CPUs, GPUs, and mixed-precision training. You’ll deploy PyTorch models to production, including mobile devices. Finally, you’ll discover the PyTorch ecosystem and its rich set of libraries. These libraries will add another set of tools to your deep learning toolbelt, teaching you how to use fastai to prototype models and PyTorch Lightning to train models. You’ll discover libraries for AutoML and explainable AI (XAI), create recommendation systems, and build language and vision transformers with Hugging Face. By the end of this book, you'll be able to perform complex deep learning tasks using PyTorch to build smart artificial intelligence models.

Who is this book for?

This deep learning with PyTorch book is for data scientists, machine learning engineers, machine learning researchers, and deep learning practitioners looking to implement advanced deep learning models using PyTorch. This book is ideal for those looking to switch from TensorFlow to PyTorch. Working knowledge of deep learning with Python is required.

What you will learn

  • Implement text, vision, and music generation models using PyTorch
  • Build a deep Q-network (DQN) model in PyTorch
  • Deploy PyTorch models on mobile devices (Android and iOS)
  • Become well versed in rapid prototyping using PyTorch with fastai
  • Perform neural architecture search effectively using AutoML
  • Easily interpret machine learning models using Captum
  • Design ResNets, LSTMs, and graph neural networks (GNNs)
  • Create language and vision transformer models using Hugging Face

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 31, 2024
Length: 558 pages
Edition : 2nd
Language : English
ISBN-13 : 9781801079969

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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 31, 2024
Length: 558 pages
Edition : 2nd
Language : English
ISBN-13 : 9781801079969

Packt Subscriptions

See our plans and pricing
Modal Close icon
$12.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
$129.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
$179.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 $ 167.97
Machine Learning with PyTorch and Scikit-Learn
$54.99
Modern Computer Vision with PyTorch
$60.99
Mastering PyTorch
$51.99
Total $ 167.97 Stars icon
Banner background image

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.7
(18 Ratings)
5 star 77.8%
4 star 16.7%
3 star 5.6%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Kelsey S. Jul 27, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I've been working with PyTorch for a while now, but I really feel like this book took my skills to the next level. The explanations are clear and concise, and the code examples really helped me to understand the concepts. I especially appreciated the coverage of advanced techniques like generative models and graph neural networks, but most of the content is also completely suitable for beginners. I appreciate that the author also focuses on the modern landscape, including how to transition from TensorFlow to PyTorch, coverage of LLMs, neural networks in mobile settings (eg quantized models), autoML, integration with Hugging Face and beyond. I've already used some of the techniques from the book in my own work, and I'm really excited to see what else I can accomplish with PyTorch. Overall, I highly recommend this book to anyone who wants to learn more about PyTorch and deep learning.
Amazon Verified review Amazon
misagh bahramipoor Jul 14, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Mastering PyTorch stands out as an essential resource for both aspiring and seasoned machine learning engineers looking to stay abreast of the latest developments in deep learning. Its comprehensive approach, practical focus, and timely coverage of emerging trends make it a must-read for professionals aiming to master PyTorch and apply it effectively in diverse domains. Whether you’re developing CNNs for image recognition, fine-tuning large language models, or exploring the frontiers of generative and multimodal learning, this book offers invaluable guidance and insights.
Amazon Verified review Amazon
Sharad Joshi Jun 19, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is one of the best books to practically learn PyTorch. It strikes a great balance between code and theory, covering all major algorithms and giving you a solid tour of the ML/AI world up to early 2024.
Amazon Verified review Amazon
Ahmed Ahres Jun 08, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I've been reading "Mastering PyTorch" and I'm blown away by the depth and breadth of knowledge shared by the author. As an AI enthusiast myself, I was looking for a book that would take my skills to the next level, and this book absolutely delivered.The author's expertise in PyTorch and AI shines through on every page. The book is meticulously organized, with each chapter building upon the previous one to create a cohesive and comprehensive learning experience. The writing is clear, concise, and engaging, making even the most complex concepts accessible to readers with varying levels of experience.I truly loved the focus on practical applications and real-world examples. The author doesn't just explain the theory behind PyTorch and AI; they show you how to implement models, optimize training, and deploy them to production. The chapters on generative models, reinforcement learning, and transformers are particularly impressive, providing a level of detail and insight that's hard to find elsewhere.The book's coverage of the PyTorch ecosystem is also noteworthy, with in-depth explorations of fastai, PyTorch Lightning, and Hugging Face. The author's enthusiasm for these tools is infectious, and I found myself excited to try out new libraries and techniques (would highly recommend looking at Hugging Face!).In short, "Mastering PyTorch" is an essential resource for anyone looking to take their AI and LLM skills to the next level. Whether you're a beginner or an experienced developer, this book definitely has something to offer! The author's passion for PyTorch and AI is evident on every page, and their expertise is generously shared with the reader.If you're serious about mastering PyTorch and building complex AI models, you should definitely consider reading this book!
Amazon Verified review Amazon
Saurav R Jul 10, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
"Mastering PyTorch - Second Edition" by Ashish Ranjan Jha is an exceptional resource for both beginners and advanced practitioners in deep learning. The book covers a wide range of topics, from CNNs to multimodal models and LLMs, providing clear and comprehensive explanations. The practical examples and hands-on approach make it easy to apply the concepts. Highly recommended for anyone looking to deepen their understanding of PyTorch and its applications in AI.
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.