Skip to content
  • 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 source

Key topics

Chapters

  1. 0:00intro
  2. 1:48Bengio et al. 2003 (MLP language model) paper walkthrough
  3. 9:03(re-)building our training dataset
  4. 12:19implementing the embedding lookup table
  5. 18:35implementing the hidden layer + internals of torch.Tensor: storage, views
  6. 29:15implementing the output layer
  7. 29:53implementing the negative log likelihood loss
  8. 32:17summary of the full network
All 19 chapters on YouTube
Report or remove