Datasets:
Fix get_patterns_in_dataset_repository error
#5
by
lhoestq
HF staff
- opened
There was a breaking change in the get_patterns_in_dataset_repository
function causing
TypeError: get_patterns_in_dataset_repository() missing 1 required positional argument: 'base_path'
You can fix that by simply not using it and providing the filenames explicitly.
The same fix was used in codeparrot/github-code:
https://huggingface.co/datasets/codeparrot/github-code/discussions/3
taisazero
changed pull request status to
merged
Thank you so much for this fix!