Natural Language Processing with Deep Learning in Python (Udemy.com)
Complete guide on deriving and implementing word2vec, GloVe, word embeddings, and sentiment analysis with recursive nets
Created by: Lazy Programmer Inc.
Last updated August 2026
What you will learn
- Understand and implement word2vec
- Understand the CBOW method in word2vec
- Understand the skip-gram method in word2vec
- Understand the negative sampling optimization in word2vec
- Understand and implement GloVe using gradient descent and alternating least squares
- Use recurrent neural networks for parts-of-speech tagging
- Use recurrent neural networks for named entity recognition
- Understand and implement recursive neural networks for sentiment analysis
- Understand and implement recursive neural tensor networks for sentiment analysis
- Use Gensim to obtain pretrained word vectors and compute similarities and analogies
- Understand important foundations for OpenAI ChatGPT, GPT-4, DALL-E, Midjourney, and Stable Diffusion
Course Description
Ever wondered how AI technologies like OpenAI ChatGPT, GPT-4, DALL-E, Midjourney, and Stable Diffusion really work? In this course, you will learn the foundations of these groundbreaking applications.
In this course we are going to look at NLP (natural language processing) with deep learning.
Previously, you learned about some of the basics, like how many NLP problems are just regular machine learning and data science problems in disguise, and simple, practical methods like bag-of-words and term-document matrices.
These allowed us to do some pretty cool things, like detect spam emails, write poetry, spin articles, and group together similar words.
In this course I’m going to show you how to do even more awesome things. We’ll learn not just 1, but 4 new architectures in this course.
First up is word2vec.
In this course, I’m going to show you exactly how word2vec works, from theory to implementation, and you’ll see that it’s merely the application of skills you already know.
Word2vec is interesting because it magically maps words to a vector space where you can find analogies, like:
king - man = queen - woman
France - Paris = England - London
December - Novemeber = July - June
For those beginners who find algorithms tough and just want to use a library, we will demonstrate the use of the Gensim library to obtain pre-trained word vectors, compute similarities and analogies, and apply those word vectors to build text classifiers.
We are also going to look at the GloVe method, which also finds word vectors, but uses a technique called matrix factorization, which is a popular algorithm for recommender systems.
Amazingly, the word vectors produced by GLoVe are just as good as the ones produced by word2vec, and it’s way easier to train.
We will also look at some classical NLP problems, like parts-of-speech tagging and named entity recognition, and use recurrent neural networks to solve them. You’ll see that just about any problem can be solved using neural networks, but you’ll also learn the dangers of having too much complexity.
Lastly, you’ll learn about recursive neural networks, which finally help us solve the problem of negation in sentiment analysis. Recursive neural networks exploit the fact that sentences have a tree structure, and we can finally get away from naively using bag-of-words.
All of the materials required for this course can be downloaded and installed for FREE. We will do most of our work in Numpy, Matplotlib, and Theano. I am always available to answer your questions and help you along your data science journey.
This course focuses on "how to build and understand", not just "how to use". Anyone can learn to use an API in 15 minutes after reading some documentation. It's not about "remembering facts", it's about "seeing for yourself" via experimentation. It will teach you how to visualize what's happening in the model internally. If you want more than just a superficial look at machine learning models, this course is for you.
See you in class!
"If you can't implement it, you don't understand it"
Or as the great physicist Richard Feynman said: "What I cannot create, I do not understand".
My courses are the ONLY courses where you will learn how to implement machine learning algorithms from scratch
Other courses will teach you how to plug in your data into a library, but do you really need help with 3 lines of code?
After doing the same thing with 10 datasets, you realize you didn't learn 10 things. You learned 1 thing, and just repeated the same 3 lines of code 10 times...
Suggested Prerequisites:
calculus (taking derivatives)
matrix addition, multiplication
probability (conditional and joint distributions)
Python coding: if/else, loops, lists, dicts, sets
Numpy coding: matrix and vector operations, loading a CSV file
neural networks and backpropagation, be able to derive and code gradient descent algorithms on your own
Can write a feedforward neural network in Theano or TensorFlow
Can write a recurrent neural network / LSTM / GRU in Theano or TensorFlow from basic primitives, especially the scan function
Helpful to have experience with tree algorithms
WHAT ORDER SHOULD I TAKE YOUR COURSES IN?:
Check out the lecture "Machine Learning and AI Prerequisite Roadmap" (available in the FAQ of any of my courses, including the free Numpy course)
UNIQUE FEATURES
Every line of code explained in detail - email me any time if you disagree
No wasted time "typing" on the keyboard like other courses - let's be honest, nobody can really write code worth learning about in just 20 minutes from scratch
Not afraid of university-level math - get important details about algorithms that other courses leave out
Instructor Details
- 4.7 Rating
8,590 Reviews
Lazy Programmer Inc.
The Lazy Programmer is a seasoned online educator with an unwavering passion for sharing knowledge. With over 10 years of experience, he has revolutionized the field of data science and machine learning by captivating audiences worldwide through his comprehensive courses and tutorials.
Equipped with a multidisciplinary background, the Lazy Programmer holds a remarkable duo of master's degrees. His first foray into academia led him to pursue computer engineering, with a specialized focus on machine learning and pattern recognition. Undeterred by boundaries, he then ventured into the realm of statistics, exploring its applications in financial engineering.
Recognized as a trailblazer in his field, the Lazy Programmer quickly embraced the power of deep learning when it was still in its infancy. As one of the pioneers, he fearlessly embarked on instructing one of the first-ever online courses on deep learning, catapulting him to the forefront of the industry.
More courses by Lazy Programmer Inc.
Deep Learning Prerequisites: The Numpy Stack in Python (V2+) (2026)
4.5 (22,542 Reviews)
Provider: Udemy
Time: 6.3h
$99.99
[2026] Tensorflow 2: Deep Learning & Artificial Intelligence
4.6 (14,206 Reviews)
Provider: Udemy
Time: 26.1h
$149.99
Data Science: Natural Language Processing (NLP) in Python (2026)
4.6 (12,915 Reviews)
Provider: Udemy
Time: 11.9h
$22.99
Data Science: Deep Learning and Neural Networks in Python (2026)
4.7 (10,287 Reviews)
Provider: Udemy
Time: 12.2h
$15.99
Bayesian Machine Learning in Python: A/B Testing (2026)
4.7 (8,053 Reviews)
Provider: Udemy
Time: 10.4h
$109.99
Deep Learning: Advanced Natural Language Processing and RNNs (2026)
4.6 (7,747 Reviews)
Provider: Udemy
Time: 8.4h
$99.99
Reviews
By Gerardo Zelaya Eufemia on 3/20/2024
I have edited this twice because I realized I made some mistakes in my first judgement: (1) His answers are sometimes antagonistic but the guy wants us to think by ourselves. He even states the step to master the topics and not just run by what he says. (2) Most links are updated, just not on the videos, but read the comments in the code and you probably will find the updated links as alternative to the original ones. (3) Explanations are great. Sometimes he rushes and combine definitions, e.g. BoW and CBoW, but for a first run over the course, this is fantastic, and in the second run, search each key word separately to see it by yourselves (4) The course content in general is great and his repo is massive with info that is fantastic.
By Frederick Zhang on 7/30/2021
To date, I have taken over a dozen courses taught by Lazy Programmer, and this is the most code-intensive one yet, so be prepared to write A LOT of code. You might also want to brush up on matrix factorization for the word2vec section. Be aware this is deep learning, so training for some models cannot be completed within a "reasonable" amount of time. My PC is rocking an i9 CPU along with a decent GPU, and some of the models we write would take over a day to finish training. Both the theory and implementation in the last section on recursive neural networks (a.k.a. tree neural networks) and recursive neural tensor networks require a huge amount of effort to fully comprehend. If you've taken a computer science algorithms course, specifically on tree traversals, you'll be ahead of the game. However, there are still loads of intensive work you have to do to find your footing. This entire course probably needs to be gone through more than once for most students. The learning curve compared to the simple NLP course is super steep. A massive amount of work went into producing this course, so a big kudos to the instructor!
By Vikram Bajwa on 6/7/2020
Best online course on deep learning with NLP I have taken. The instructor didn't hesitate about including each step of the derivation and pointing out the common mistakes by students. It's complex but easy to follow. Lazy programmer's method of teaching is efficient and unique. Thanks a lot for the course!
By Henry Chung on 6/5/2020
Awesome tutorial on word embedding (word2vec and glove) techniques with implementations all from scratch. I found it was more advanced than your typical Udemy course, which was exactly what I was looking for. Each section is a step by step guide to mastering the algorithm from intuitions to theory and code. There are even implementations in different libraries so you can pick whichever one you like, like Numpy, Theano, or Tensorflow.
By Sachin on 4/18/2020
This is really great course on NLP. Instructor has very good understanding of tech domain and he is trying to demonstrate core part of algos which makes course stand out from other courses. But there are some scenarios like instructor can give some real world examples to explain some concepts/theory ans also should give some business case background for such cases. This will help us to understand why we learning such concept and how they are solving tech/business problems.
By Donovan Gonzales on 8/3/2019
This course is good for intermediate deep learning students who are already familiar with a bit of deep learning. The instructor is the best with going into the details and explaining everything piece by piece. Some basics like gradient descent and calculus are required but it's not too difficult.
By Sandeep Dalal on 9/26/2018
As someone who learns from scratch, I really enjoyed this approach of this course. It's always updated with the latest topics, and good even if you are advanced. The instructor teaches the concepts with ease and clarity. You'll also find the code to make the topics truly understandable.
By Gaurav Munjal on 9/3/2018
I've taken multiple courses from this instructor, and once I've taken them I learned why they should be taken one by one with some space in between and to go by the right order. It goes really deep where some other courses would try to pack in everything into one course without really teaching anything besides the surface level. This is a really interesting topic, and judging by the current research I think its really important to combine deep learning with natural language processing. Organization of the course is very good. Starts with the "beginners corner" then a review of important topics before going onto the main topics. Within each section it starts by going through the derivations and then you get to write the code up from scratch. Never seen anything like this. It's good to know that this is a course for advanced topics. It looks like the other students who didn't enjoy the course were beginners who just got lost.
By Massimiliano D'Amico on 5/27/2018
good course! All the lazy programmer courses are done very well, they give complete preparation but they are very challenging; their sequence forms a pleasant and complete course path; congratulations to the author. This course has been updated recently, and enriched with various contents that clarify more base concepts!
By Lee Hyuk Soo on 1/24/2018
A great series on advanced deep learning application. The programming exercises are well designed and guide the student through the ideas in each section. The problem selection is interesting and focus on word embeddings and sentiment analysis. The teacher is excellent and shows his experience by teaching the material in a mature and well thought out manner.
Quality Score
Overall Score : 94 / 100




![[2026] Tensorflow 2: Deep Learning & Artificial Intelligence](/programming/artificial-intelligence/images/2430492_5cdb_8.jpg?v=1789268228)





