-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Prefer split patterns from directories over split patterns from filenames #4985
Prefer split patterns from directories over split patterns from filenames #4985
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ! adding a test just for this is maybe overkill but as you want
src/datasets/data_files.py
Outdated
@@ -73,10 +73,10 @@ class Url(str): | |||
Split.TRAIN: ["**"], | |||
} | |||
|
|||
ALL_SPLIT_PATTERNS = [SPLIT_PATTERN_SHARDED] | |||
ALL_SPLIT_PATTERNS = [SPLIT_PATTERN_SHARDED] # TODO: should this be changed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine this way. This corresponds to the patterns that contain custom split names (other than train/dev/test)
Can we merge this one since the issue this PR fixes was reported for the second time? I also think we don't need a test for this simple change. |
@mariosasko sure! could you please approve it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! Thanks for fixing this.
Hi there @polinaeterna @mariosasko! I have installed 5.2.3.dev0, which should have this fix. Unfortunately, I am still getting the error: Any help would be greatly appreciated! |
related to #4895