
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
The main goal of this course is to train you to perform complex NLP tasks (and build intelligent language applications) using Deep Learning 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.
This course uses Python 3.6, Pytorch 1.0, NLTK 3.3.0, and Spacy 2.0 , while not the latest version available, it provides relevant and informative content for legacy users of PyTorch.
About the Author:
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 a consultant for clients from Retail, Environment, Finance and Health care.