Based on the docs 40, the second argument should be passed as probabilities:

As with  NLLLoss  8, the input given is expected to contain  log-probabilities  and is not restricted to a 2D Tensor. The targets are given as  probabilities  (i.e. without taking the logarithm).