Skip to main content
Apress

PyTorch Recipes

A Problem-Solution Approach to Build, Train and Deploy Neural Network Models

  • Book
  • © 2023
  • Latest edition

Overview

  • Is beginner friendly, explaining the step-by-step process for learning and understanding PyTorch
  • Includes helpful tips and tricks for using PyTorch to train deep learning models
  • Covers newer topics like distributed PyTorch, sci-kit learn compatibility, and deployment of PyTorch models

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (10 chapters)

Keywords

About this book

Learn how to use PyTorch to build neural network models using code snippets updated for this second edition. This book includes new chapters covering topics such as distributed PyTorch modeling, deploying PyTorch models in production, and developments around PyTorch with updated code.


You'll start by learning how to use tensors to develop and fine-tune neural network models and implement deep learning models such as LSTMs, and RNNs. Next, you'll explore probability distribution concepts using PyTorch, as well as supervised and unsupervised algorithms with PyTorch. This is followed by a deep dive on building models with convolutional neural networks, deep neural networks, and recurrent neural networks using PyTorch. This new edition covers also topics such as Scorch, a compatible module equivalent to the Scikit machine learning library, model quantization to reduce parameter size, and preparing a model for deployment within a production system. Distributed parallel processing for balancing PyTorch workloads, using PyTorch for image processing, audio analysis, and model interpretation are also covered in detail. Each chapter includes recipe code snippets to perform specific activities.

By the end of this book, you will be able to confidently build neural network models using PyTorch.


What You Will Learn
  • Utilize new code snippets and models to train machine learning models using PyTorch
  • Train deep learning models with fewer and smarter implementations
  • Explore the PyTorch framework for model explainability and to bring transparency to model interpretation
  • Build, train, and deploy neural network models designed to scale with PyTorch
  • Understand best practices for evaluating and fine-tuning models using PyTorch
  • Use advanced torch features in training deep neural networks
  • Explore various neural network models using PyTorch
  • Discover functions compatible with sci-kit learn compatible models
  • Perform distributed PyTorch training and execution




Who This Book Is For
Machine learning engineers, data scientists and Python programmers and software developers interested in learning the PyTorch framework.

Reviews

“The book covers all important facets of neural network implementation and modeling, and could definitely be useful to students and developers keen for an in-depth look at how to build models using PyTorch, or how to engineer particular neural network features using this platform.” (Mariana Damova, Computing Reviews, July 24, 2023)

Authors and Affiliations

  • Bangalore, India

    Pradeepta Mishra

About the author

Pradeepta Mishra is the Director of AI, Fosfor at L&T Infotech (LTI), leading a large group of Data Scientists, computational linguistics experts, Machine Learning and Deep Learning experts in building the next-generation product, ‘Leni,’ the world’s first virtual data scientist. He has expertise across core branches of Artificial Intelligence including Autonomous ML and Deep Learning pipelines, ML Ops, Image Processing, Audio Processing, Natural Language Processing (NLP), Natural Language Generation (NLG), design and implementation of expert systems, and personal digital assistants. In 2019 and 2020, he was named one of "India's Top "40Under40DataScientists" by Analytics India Magazine. Two of his books are translated into Chinese and Spanish based on popular demand. 

He delivered a keynote session at the Global Data Science conference 2018, USA. He has delivered a TEDx talk on "Can Machines Think?", available on the official TEDx YouTube channel. He has mentored more than 2000 data scientists globally. He has delivered 200+ tech talks on data science, ML, DL, NLP, and AI in various Universities, meetups, technical institutions, and community-arranged forums. He is a visiting faculty member to more than 10 universities, where he teaches deep learning and machine learning to professionals, and mentors them in pursuing a rewarding career in Artificial Intelligence.


Bibliographic Information

  • Book Title: PyTorch Recipes

  • Book Subtitle: A Problem-Solution Approach to Build, Train and Deploy Neural Network Models

  • Authors: Pradeepta Mishra

  • DOI: https://doi.org/10.1007/978-1-4842-8925-9

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Pradeepta Mishra 2023

  • Softcover ISBN: 978-1-4842-8924-2Published: 08 December 2022

  • eBook ISBN: 978-1-4842-8925-9Published: 07 December 2022

  • Edition Number: 2

  • Number of Pages: XXIV, 266

  • Number of Illustrations: 37 b/w illustrations, 20 illustrations in colour

  • Topics: Python, Big Data, Big Data/Analytics

Publish with us