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

fix: make sampling more reproducible #441

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

yahiaelgamal
Copy link
Contributor

Without setting the random_state in the GroupedDataFrame.sample, we will never be able to reproduce results. Other sampling logic through the file correctly sets the random_state/seed, but this one is missing.

@tomaarsen
Copy link
Member

Hello!

Well spotted! Thanks for this :)

  • Tom Aarsen

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@tomaarsen tomaarsen merged commit cbc01ec into huggingface:main Nov 24, 2023
18 checks passed
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

Successfully merging this pull request may close these issues.

3 participants