In the Human Numbers notebook, where we are exploring the validation set tokens, I think:
x1[:,0] and y1[:,0]
should be
x1[0] and y1[0]
In the video for the lesson (around 1 hour, 48 minutes), Jeremy is showing the x1[:,0] notation and getting the results/output that you would expect to get from x1[0]. I don’t know why/how??
The rest of the notebook in the repo is using the x1[0] format to explore the text of the validation set.