Vtome.ru - электронная библиотека

Deep Learning with PyTorch : Step-by-Step A Beginner's Guide (2024)

  • Добавил: literator
  • Дата: 12-09-2024, 18:23
  • Комментариев: 0
Название: Deep Learning with PyTorch : Step-by-Step A Beginner's Guide
Автор: Daniel Voigt Godoy
Издательство: Leanpub
Год: 2024-07-29: v1.2
Страниц: 1047
Язык: английский
Формат: pdf (true)
Размер: 33.5 MB

If you're looking for a book where you can learn about Deep Learning and PyTorch without having to spend hours deciphering cryptic text and code, and that's easy and enjoyable to read, this is it :-)

The book covers from the basics of gradient descent all the way up to fine-tuning large NLP models (BERT and GPT-2) using HuggingFace. It is divided into four parts:

Part I: Fundamentals (gradient descent, training linear and logistic regressions in PyTorch)
Part II: Computer Vision (deeper models and activation functions, convolutions, transfer learning, initialization schemes)
Part III: Sequences (RNN, GRU, LSTM, seq2seq models, attention, self-attention, transformers)
Part IV: Natural Language Processing (tokenization, embeddings, contextual word embeddings, ELMo, BERT, GPT-2)

This is not a typical book: most tutorials start with some nice and pretty image classification problem to illustrate how to use PyTorch. It may seem cool, but I believe it distracts you from the main goal: how PyTorch works? In this book, I present a structured, incremental, and from first principles approach to learn PyTorch (and get to the pretty image classification problem in due time).

PyTorch is the fastest-growing framework for developing Deep Learning models and it has a huge ecosystem. That is, there are many tools and libraries developed on top of PyTorch. It is the preferred framework in academia already and is making its way in the industry. This book aims to get you started with PyTorch while giving you a solid understanding of how it works.

Moreover, this is not a formal book in any way: I am writing this book as if I were having a conversation with you, the reader. I will ask you questions (and give you answers shortly afterward) and I will also make (silly) jokes.

My job here is to make you understand the topic, so I will avoid fancy mathematical notation as much as possible and spell it out in plain English.

In this book, I will guide you through the development of many models in PyTorch, showing you why PyTorch makes it much easier and more intuitive to build models in Python: autograd, dynamic computation graph, model classes and much, much more.

We will build, step-by-step, not only the models themselves but also your understanding as I show you both the reasoning behind the code and how to avoid some common pitfalls and errors along the way.

Who Should Read This Book?
I wrote this book for beginners in general—not only PyTorch beginners. Every now and then, I will spend some time explaining some fundamental concepts that I believe are essential to have a proper understanding of what’s going on in the code.

The best example is gradient descent, which most people are familiar with at some level. Maybe you know its general idea, perhaps you’ve seen it in Andrew Ng’s Machine Learning course, or maybe you’ve even computed some partial derivatives yourself!

In real life, the mechanics of gradient descent will be handled automatically by PyTorch (uh, spoiler alert!). But, I will walk you through it anyway (unless you choose to skip Chapter 0 altogether, of course), because lots of elements in the code, as well as choices of hyper-parameters (learning rate, mini-batch size, etc.), can be much more easily understood if you know where they come from. Maybe you already know some of these concepts well: If this is the case, you can simply skip them, since I’ve made these explanations as independent as possible from the rest of the content.

Скачать Deep Learning with PyTorch : Step-by-Step A Beginner's Guide (2024)



ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!










ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.