I found in NLP lectures that we are using x[:, i] as input instead of x[i] when we want to predict the next number, though, numbers are arranged in x[i] order. Why are we doing so?
This is the forum for fastai v2 discussion. You should try asking in the relevant course forum.
I didn’t find the one for NLP course.
There’s a megathread of sorts here: A Code-First Introduction to Natural Language Processing 2019