`When I try to rebuild a Transformer model based on HarvardNLP paper ’ The Annotated Transformer’ and try to train that model, I got a problem ‘RuntimeError: Expected tensor for argument #1 ‘indices’ to have scalar type Long; but got torch.IntTensor instead (while checking arguments for embedding)’.
But in the paper’s Colab, that problem did not occur.