
This video will give you an overview about the course.
The aim of this video is to dive into a quick introduction to PyTorch.
• Get a basic understanding of PyTorch
• Know what we can do with Pytorch
• Learn how PyTorch compares to Tensorflow and MxNet
The aim of this video is to learn the Installation and Jupyter Notebook setup for PyTorch.
• Cover PyTorch and Jupyter in VS Code
• Take a look at PyTorch Dockerfile
• Investigate PyTorch GPU support on Docker
The aim of this video is to learn about the basic tensor operations.
• Create Tensors and data types
• Create Tensor math
• Work with NumPy
The aim of this video is to learn about the advanced tensor operations.
• Take a look at using the GPU
• Discuss Gradients
• Perform numerical algebra with PyTorch
We’ll take a look at loading and saving data with this video.
• Work with dataset and dataloader
• Take a look at the built in torchvision datasets
This video is your homework for day one.
• Take a look at the Question and try solving it on your own before the next lecture
The aim of this video is to get introduced to neural networks.
• Explore Machine Learning
• Get a brief understanding of neural networks and deep learning
• Quick visualization of the concepts learnt
The aim of this video is to learn to create a neural network with PyTorch Sequential.
• Learn the concept of Inputs
• Learn the concept of Outputs
• Link inputs and outputs with sequential layers
The aim of this video is to learn about activations, loss functions, and gradients.
• Add activations to our model
• Hook up a loss function
• Compute gradients, and know why to use them
The aim of this video is to learn and implement the concepts of forward and backward passes.
• Take forward passes to the model
• Backward propagate with the computing gradients in the model
• Update the model weights
In this video, build a network with nn.module.
• Get in-depth understanding of inputs and outputs
• Building an object-oriented model
• Learn loop using an optimizer
This video is your homework for day two.
• Take a look at the Question and try solving it on your own before the next lecture
The aim of this video is to load structured data for classification.
• Load a CSV dataset
• Train and test the data
The aim of this video is to learn about pre-processing data.
• Handle categorical values
• Transform a Dataset
The aim of this video is to learn about classification, accuracy, and the confusion matrix.
• Build a simple classification network
• Run training loops
• Use test data with a confusion matrix
The aim of this video is to load structured data for regression.
• Discuss regression versus classification
• Encode numbers, categories, and dates
The aim of this video is to create neural networks for regression.
• Build a simple regression network
• Setup the training loops
• Take a look at the reporting error
This video is your homework for day three.
• Take a look at the Question and try solving it on your own before the next lecture
With this video, get to study the convolutional networks for image analysis.
• Learn what makes a convolutional network
• Know why to use convolutional networks
• Explore why are convolutional networks effective on images
The aim of this video is to get an in-depth understanding of the convolutional concepts.
• Learn about Filters and Strides
• Study the concept of Pooling and Padding
The aim of this video is to implement a convolutional network.
• Use torchvision to get image datasets
• Look at stacking convolutional layers
• Train and evaluate a pre-convolutional network
The aim of this video is to visualize a convolutional network layers.
• Visualize tensors with matplotlib.pyplot
• Augment a network to see intermediate results
• Visualize individual image filters
The aim of this video is to implementing an end-to-end deep convolutional network.
• Base our architecture of the AlexNet
• Connect convolutional and fully-connected classifiers
• Use CUDA with PyTorch
This video is your homework for day four.
• Take a look at the Question and try solving it on your own before the next lecture
This video aims to explain about transfer learning and prebuilt models.
• Learn about transfer learning
• Know the use transfer learning
• Explore transfer learning gotchas
This video aims to explain about deep learning with VGG.
• Explore VGG models in PyTorch
• Learn about the input and output layers
• Study the different layer patterns
This video aims to explain about transfer learning with VGG.
• Load a pre-trained model and use an alternate dataset
• Adjust the output layers
• Train and validate your network
This video aims to explain about transfer learning with ResNet.
• Compare ResNet to VGG and load a pre-trained model
• Use an alternate dataset of MNIST digits and adjust the output layers
• Train and validate the network
This video is your homework for day five.
• Take a look at the Question and try solving it on your own before the next lecture
This video aims to explain about recurrent networks, RNN, and LSTM, GRU.
• Take a look at Recurrent networks
• Explore LSTM networks
• Learn about GRU networks
This video aims to explain about text modeling with bag-of-words approach.
• Parse words from text with spaCy
• Dive into word ordinal numbers
• Explore the sequence of words bag-of-word encodings
This video aims to explain about sentiment analysis with bag-of-words technique.
• Review the data
• Build a PyTorch dataset with one hot encoding
• Perform sentiment analysis – predict the rating with regression
This video aims to explain about sentiment analysis with word embeddings.
• Learn about language models and word embeddings with spaCy
• Encode sequences with word embeddings
• Perform sentiment analysis
This video is your homework for day six.
• Take a look at the Question and try solving it on your own before the next lecture
This video aims to explain about GANs and DCGANs.
• Learn about classification, regression, and generation
• Learn what a GAN is and what is a DCGAN?
• Explore how to train GANs
This video aims to explain how to implement DCGAN model with PyTorch.
• Study about Generator models
• Learn about Discriminator models
• Implementing DCGAN Model with PyTorch
This video aims to explain how to train and evaluate DCGAN on an image dataset.
• Load up training data
• Take a look at Generation vectors and Adversarial training
• Visualize generated images
This video aims to explain how to improve performance.
• Custom initialization
• Perform data normalization
• Work on improving performance
This video is your homework for day seven.
• Take a look at the Question and try to solve it on your own
This video will give you an overview about the course.
An introductory video. We speak about the NLP and deep learning. An intuition of what we are about to learn.
Value of natural language processing
Value of deep learning
Deep learning over traditional NLP
Why we want to work with PyTorch as our framework of choice and convincing students why PyTorch is great to learn.
PyTorch as a multipurpose library
Appreciate the ease of PyTorch
Future of PyTorch
In this video, let's have a look at installing and setting up PyTorch and get going with PyTorch.
Where to get PyTorch?
How to install PyTorch?
Check installation
Understand our project statement, the solution, and why the project falls into a given NLP paradigm.
Introduction to projects
In-depths of sentiment analyzer
In-depths of NMT
Install NLTK, spaCy, and their necessary modules.
Install NLTK and spaCy
Install stopword module in NLTK
Install English model in spacy
We’llhave a look at the dataset, see different data loading techniques, and perform tokenization.
Look at the dataset
Look at sentence tokenization
Tokenize the entire dataset
In this video, we will look at the stop words. Here we’ll seek the help of NLTK and spaCy to complete this task.
Explore NLTK and spaCystopwords
Define custom stopwords
Stopword removal on the entire dataset
In this video, we will see how we perform lemmatization and why we even need to perform it.
Understand lemmatization
Perform lemmatization on the entire dataset
Optimize lemmatization
In this video, we’ll stitch together all the steps and practices we have seen so far so that we have a same streamlined, and maintainable piece of code.
Understand pipelines
spaCypipelines
Custom pipelines
Understanding the intuitions of word embeddings.
Types of word embedding
Concepts of word embedding
Installing gensim.
Testing the installations
Trying out various features in gensim.
Writing code in python using gensim
Understanding conceptual relationships in corpus.
Understand word similarities
Detailed understanding of working of Word2vec.
Setting up Word2vec
Text source of Word2vec
Importance of pre trained embeddings
Understand the working of RNN and explore the representation.
Types of RNN
Defining of RNN
Use cases of RNN
Start working with PyTorch and implement the sentiment analyzer.
Explore the architecture
Define the model
Optimizer, Loss Function, Device selection
Obtaining the sentiments classified by RNN.
Sorting and Padding data within the batch, and epochs for training
Preparing Data to be fed into RNN
Running Train and Evaluation modes on model
Discuss the structure of LSTM and advantages of LSTMs over RNN.
LSTM Cell components
Bidirectional LSTMs
Multilayer LSTMs
Adapting to the new architecture.
Implementing to the new architecture
Structural changes in responses
Redefining the parameters
Completing our Sentiment Analyzer with LSTM.
Initializing Model
Running the Epochs
Readable live results
Explaining more complex architectures for NLP, with schematic representation.
Key components of seq2seq
Encoders and Decoders
Use cases
Additional packages and libraries to be installed.
Installing Torchtext
Installing English model
Installing the German Model
We will obtain the data and perform the preprocessing and write our Encoder class.
Explore Torchtext
Fields and Bucket Iterators
GRU units
We completed the decoder with a discussion on the architecture.
Understanding the output dimensions after each step
Pulling out the target token from the decoder
Writing our seq2seq model, to tie together encoder and decoder sections.
Defining hyper-parameters and model objects.
Training and Evaluation modes for the model
Running epochs and saving model
Understand the limitations of seq2seq model, and how attention networks improve the seq2seq model.
Limitations of seq2seq model
The Intuition behind the working of Attention
Features of attention networks
Discuss the changes in architecture and understanding the interaction of attention layer with the encoder and decoder.
Attention Layer and the Attention Vector
Defining Attention class
Tensor transformations for attention
Completing the seq2seq model with attention network.
Changes in the decoder architecture for attention layer
Tensor transformations
Running epochs and training the model
Thoughts on what the steps should be to improve the skills.
Improvements for the neural translation machine
Projects for Classification
Projects for seq2seq models
PyTorch: written in Python, is grabbing the attention of all data science professionals due to its ease of use over other libraries and its use of dynamic computation graphs. PyTorch is a Deep Learning framework that is a boon for researchers and data scientists.
This course takes a practical approach and is filled with real-world examples to help you create your own application using PyTorch! Learn the most commonly used Deep Learning models, techniques, and algorithms through PyTorch code. Get yourself acquainted with the advanced concepts such as Transfer Learning, Natural Language Processing and implementation of Generative Adversarial Networks. Moving further you will build real-world NLP applications such as Sentiment Analyzer & advanced Neural Translation Machine.
Contents and Overview
This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.
The first course, PyTorch Deep Learning in 7 Days is for those who are in a hurry to get started with PyTorch. You will be introduced to the most commonly used Deep Learning models, techniques, and algorithms through PyTorch code. This course is an attempt to break the myth that Deep Learning is complicated and show you that with the right choice of tools combined with a simple and intuitive explanation of core concepts, Deep Learning is as accessible as any other application development technologies out there. It’s a journey from diving deep into the fundamentals to getting acquainted with the advanced concepts such as Transfer Learning, Natural Language Processing and implementation of Generative Adversarial Networks. By the end of the course, you will be able to build Deep Learning applications with PyTorch.
The second course, Hands-On Natural Language Processing with Pytorch you will build two complete real-world NLP applications throughout the course. The first application is a Sentiment Analyzer that analyzes data to determine whether a review is positive or negative towards a particular movie. You will then create an advanced Neural Translation Machine that is a speech translation engine, using Sequence to Sequence models with the speed and flexibility of PyTorch to translate given text into different languages. By the end of the course, you will have the skills to build your own real-world NLP models using PyTorch's Deep Learning capabilities.
About the Authors:
Will Ballard is the chief technology officer at GLG, responsible for engineering and IT. He was also responsible for the design and operation of large data centres that helped run site services for customers including Gannett, Hearst Magazines, NFL, NPR, The Washington Post, and Whole Foods. He has also held leadership roles in software development at NetSolve (now Cisco), NetSpend, and Works (now Bank of America).
Jibin Mathew is a Tech-Entrepreneur, Artificial Intelligence enthusiast and an active researcher. He has spent several years as a Software Solutions Architect, with a focus on Artificial Intelligence for the past 5 years. He has architected and built various solutions in Artificial Intelligence which includes solutions in Computer Vision, Natural Language Processing/Understanding and Data sciences, pushing the limits of computational performance and model accuracies. He is well versed with concepts in Machine learning and Deep learning and serves as a consultant for clients from Retail, Environment, Finance and Health care.