Summary
Keywords
Full Transcript
Implement a Recurrent Neural Net (RNN) in PyTorch! Learn how we can use the nn.RNN module and work with an input sequence. I also show you how easily we can switch to a gated recurrent unit (GRU) or long short-term memory (LSTM) RNN. ~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~ ✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtube&utm_campaign=pythonengineer * 🚀🚀 JOIN MY NEWSLETTER 🚀🚀 https://www.python-engineer.com/newsletter/ 🚀🚀 Get exclusive content on Patreon: 🚀🚀 https://www.patreon.com/patrickloeber If you enjoyed this video, please subscribe to the channel! Code: https://github.com/patrickloeber/pytorch-examples PyTorch Beginner Course: https://www.youtube.com/playlist?list=PLqnslRFeH2UrcDBWF5mfPGpqQDSta6VK4 Beginner Course Code: https://github.com/patrickloeber/pytorchTutorial PyTorch Tutorial 13 - Feed-Forward Neural Network: https://youtu.be/oPhxf2fXHkQ RNN: https://pytorch.org/docs/stable/generated/torch.nn.RNN.html LSTM: https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html GRU: https://pytorch.org/docs/stable/generated/torch.nn.GRU.html Further Readings: https://karpathy.github.io/2015/05/21/rnn-effectiveness/ https://stanford.edu/~shervine/teaching/cs-230/cheatsheet-recurrent-neural-networks#architecture https://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html You can find me here: Website: https://www.python-engineer.com Twitter: https://twitter.com/patloeber GitHub: https://github.com/patrickloeber #PyTorch ---------------------------------------------------------------------------------------------------------- * 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! 🙏
