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

Bug in F1 score computation #3

Closed
trangham283 opened this issue Aug 13, 2021 · 1 comment
Closed

Bug in F1 score computation #3

trangham283 opened this issue Aug 13, 2021 · 1 comment

Comments

@trangham283
Copy link

Hello, thank you for releasing the code!

I'm wondering if this line for computing the F1 score is a bug (flipped order of truth and pred), or it's because of how your data is set up. If so, could you elaborate?

A similar issue is raised here.

@martinmamql
Copy link
Owner

Hi Trang,

Greetings! Thank you very much for pointing it out -- it is indeed a bug of evaluating the F1 score in MOSEI sentiment and I have corrected the code. Using the correct version, I can obtain an F1 score of over 82% within 20 epochs on MOSEI sentiment, using the default run.sh in the Github page, which is even better than the reported number in the paper (81.8%). More hyper-parameter tuning might help the performance.

Thank you very much for your post!

Sincerely,
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants