Text Generation using Language Models with LSTM
Go to main | Course Page
Section 1: Introduction to Language Modelling
- Introduction
- Simple RNN Language Model
- Training an RNN Language Model
Section 2: State-Of-The-Art Models
- Transformer-based Language Models
- Example Application: Google's LaMDA
Section 3: Text Generation using Language Models with LSTM (Code Demo)
- Setup Environment and Import Data
- Helper Function for Creating Corpus
- Set Device Configuration
- Define Architecture and Hyperparameters
- Load Dataset
- Initialize Model
- Define loss and optimizer
- Train Model
- Examine Output
- Save Model