Главная
Study mode:
on
1
Awesome song and introduction
2
Importing the modules
3
An outline of an LSTM class
4
init: Creating and initializing the tensors
5
lstm_unit: Doing the LSTM math
6
forward: Make a forward pass through an unrolled LSTM
7
configure_optimizers: Configure the...optimizers.
8
training_step: Calculate the loss and log progress
9
Using and training our homemade LSTM
10
Evaluating training with TensorBoard
11
Adding more epochs to training
12
Using and training PyTorch's nn.lstm
Description:
Learn how to implement and train Long Short-Term Memory (LSTM) networks using PyTorch and Lightning in this comprehensive 33-minute tutorial. Code an LSTM unit from scratch, then utilize PyTorch's nn.LSTM() function for comparison. Discover Lightning's powerful features, including adding training epochs without restarting and easily visualizing training results. Explore key concepts such as importing modules, creating LSTM classes, initializing tensors, performing LSTM calculations, configuring optimizers, and calculating loss. Gain hands-on experience in training both custom-built and PyTorch-provided LSTM models, and learn to evaluate training progress using TensorBoard. Perfect for those looking to deepen their understanding of LSTM implementation and training techniques in PyTorch and Lightning.

Long Short-Term Memory with PyTorch + Lightning

StatQuest with Josh Starmer
Add to list