8000 Different F1 scores with the same hyperparameters and same random seeds · Issue #33 · allenai/kb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Different F1 scores with the same hyperparameters and same random seeds #33

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

Open
abdkiwan opened this issue Dec 12, 2020 · 1 comment
Open

Comments

@abdkiwan
Copy link

Hello,

I trained a knowbert language model on some medical data, and want to fine-tune it on a relation classification task. However, I get different Micro/Macro F1 scores every time a fine-tune it while keeping the same hyperparameters and the same random seeds.

Does anybody know what the problem could be ?

thanks in advance,

@MichalPitr
Copy link

Probably check if you are setting random seeds for all random number generators - Python's random, numpy, torch, sklearn, etc...

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
0