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

Are there any randomness in inference? #17

Open
2000ZRL opened this issue May 1, 2024 · 0 comments
Open

Are there any randomness in inference? #17

2000ZRL opened this issue May 1, 2024 · 0 comments

Comments

@2000ZRL
Copy link

2000ZRL commented May 1, 2024

I found that the inference results on my customized dataset are different if I run the evaluation code for multiple times. I fix the batch size to 4, and the "shuffle" of dataloader is set to False. I don't use "low_resource" during inference. However, if I fix the seed, the results will be consistent. Any clues on why this happened? Thanks.

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

1 participant