Review of RNN

image.png

Drawback of RNN

Transformer

Tutorial

Step by Step into Transformer

Code

Let's build GPT: from scratch, in code, spelled out.

Given a training set $(x_1, x_2, \ldots,x_T)$.

$\max_\theta\Pi_{t=1}^{T}p_\theta(x_t|x_1, \ldots,x_{t-1})$