Pytorch always use batches (even if it means having a first dimension of size 1).
If you have a single element with 1139 possible label, then output should be 1x1139 and target should be a LongTensor of size 1 (containing the index of the correct label).