Few question on language modeling from lesson 4.
1.While testing a trained language model, why do we need to reset the hidden states? What exactly the reseting is doing here?
Reset hidden state
m.reset()
- What exactly is the prediction here
Get predictions from model
res,*_ = m(t)
When i look at the shape of res it says
torch.Size([21, 37392])
What is 21 here?
Thanks for your help