-
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
expanduser in save_to_disk #5651
Comments
|
#self-assign File path to code: https://github.com/huggingface/datasets/blob/2.13.0/src/datasets/arrow_dataset.py#L1364 @RmZeta2718 I created a pull request for this issue. |
Hello, https://huggingface.co/docs/datasets/package_reference/main_classes#datasets.Dataset.save_to_disk |
@ashikshafi08 I think you misunderstood the warning. The method |
@mariosasko It's been several months and the PR is not reviewed. Could you please take a look? I assume this is not complicated and could be merged fairly soon. |
Describe the bug
save_to_disk() does not expand
~
dataset = load_datasets("any dataset")
dataset.save_to_disk("~/data")
/home/<user>/data
)related issue huggingface/transformers#10628
Steps to reproduce the bug
As described above.
Expected behavior
expanduser correctly
Environment info
The text was updated successfully, but these errors were encountered: