graykode / graykode/xlnet-Pytorch

Low accuracy on sample task

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
581
Forks
103
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.