Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accuracy metric in LM finetuning always zero #30

Closed
tholor opened this issue Aug 1, 2019 · 1 comment
Closed

Accuracy metric in LM finetuning always zero #30

tholor opened this issue Aug 1, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tholor
Copy link
Member

tholor commented Aug 1, 2019

The accuracy metric reported by the Evaluator for masked LM task during LM finetuning is wrong. This is due to the fact that we have there a nested list of predictions with different lengths (different number of masked tokens per sample). This leads to wrongly converted numpy arrays and a wrong metric. I am working on a fix.

@tholor tholor added the bug Something isn't working label Aug 1, 2019
@tholor tholor self-assigned this Aug 1, 2019
@tholor
Copy link
Member Author

tholor commented Aug 2, 2019

Fixed by #31

@tholor tholor closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant