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

fixed max_example_bug #73

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

EricMungai97
Copy link
Contributor

If the max_examples parameter is larger than the number of examples in the dataset, you will get an error when trying to select a range that is out of bounds. To fix this, you can check the number of examples in the dataset and adjust the max_examples parameter accordingly.

@norabelrose norabelrose self-requested a review February 16, 2023 00:34
Copy link
Member

@norabelrose norabelrose left a comment

Choose a reason for hiding this comment

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

LGTM, 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

Successfully merging this pull request may close these issues.

2 participants