LLMs Part 3: Building an LSTM

This post is part 3 in a series where I attempted to teach myself the very basics of language modelling. See Part 1 and Part 2.