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

Make sure eval subset is sampled without replacing #3651

Merged
merged 1 commit into from Aug 14, 2023

Conversation

andreaskoepf
Copy link
Collaborator

Explicitly specify replace=False for numpy.random.choice (it was missing and default is replace=True which could lead to duplicate examples in the evaluation set).

Copy link
Collaborator

@shahules786 shahules786 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@shahules786 shahules786 merged commit 90e442a into main Aug 14, 2023
1 check passed
@shahules786 shahules786 deleted the fix_max_eval_sampling branch August 14, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants