Hi, I have a question about the perplexity calculation from the guide 30.
Why do we divide by i in the example, see ppl = torch.exp(torch.stack(lls).sum() / i)?
If you have a codebase or paper that exemplifies this behaviour could you please share it?
Thanks!