- Video
- YouTube
- 1 h 16 min
Building makemore Part 2: MLP
About this
We implement a multilayer perceptron (MLP) character-level language model. In this video we also introduce many basics of machine learning (e. g. model training, learning rate tuning, hyperparameters, evaluation, train/dev/test splits, under/overfitting, etc.).
Continue at sourceKey topics
Chapters
- 0:00intro
- 1:48Bengio et al. 2003 (MLP language model) paper walkthrough
- 9:03(re-)building our training dataset
- 12:19implementing the embedding lookup table
- 18:35implementing the hidden layer + internals of torch.Tensor: storage, views
- 29:15implementing the output layer
- 29:53implementing the negative log likelihood loss
- 32:17summary of the full network




