PyTorch RNN Tutorial – Name Classification Using A Recurrent Neural Net

Implement a Recurrent Neural Net (RNN) from scratch in PyTorch! I briefly explain the theory and different kinds of applications of RNNs. Then we implement a RNN to do name classification.

This tutorial is closely oriented on the following article:

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
🪁 Code faster with Kite: *
✅ Write cleaner code with Sourcery: *


🚀🚀 Get exclusive content on Patreon: 🚀🚀

If you enjoyed this video, please subscribe to the channel!

Code and slides:

Download the data:

PyTorch Beginner Course:

PyTorch Chatbot Tutorial:

Further resources:

You can find me here:


* This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

Source of this Python/AI Video

AI video(s) you might be interested in …