fixed nan (torch.Tensor() sometimes will return nan)
Merge branch 'master' of https://github.com/robertsdionne/nlp