xlnet-Pytorch icon indicating copy to clipboard operation
xlnet-Pytorch copied to clipboard

Low accuracy on sample task

Open ndalton12 opened this issue 6 years ago • 1 comments

Hi author,

Any idea why the performance accuracy is so low on the sample task you provide?

I added the following lines to test accuracy: output = logits.transpose(1, 2) predicts = F.softmax(output, dim=1).argmax(dim=1) print((predicts == target).sum().item() / len(target))

The accuracy for the task is ~0.01% after 100 epochs.

ndalton12 avatar Jul 05 '19 14:07 ndalton12

I think it is not important accuracy in this domain

graykode avatar Jul 08 '19 15:07 graykode