-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Bad error message when trying to download gated dataset #5953
Comments
cc @sanchit-gandhi @Vaibhavs10 @lhoestq - this is mainly for demos that use Common Voice datasets as done here: https://github.com/facebookresearch/fairseq/tree/main/examples/mms#-transformers |
Hi ! the error for me is
And tbh idk how you managed to get your error. "n_shards.json" is not even a thing in |
Okay, I am able to reproduce @patrickvonplaten's original error: https://github.com/Vaibhavs10/scratchpad/blob/main/cv13_datasets_test.ipynb Also not sure why it looks for |
Ok I see, this file is downloaded from the CV dataset script - let me investigate |
Ok I see: when you log out you no longer have access to the repository. Therefore the dataset script is loaded from cache:
and the script tries to download the n_shards.json but fails |
Is this ok for you #5954 ? I'll do a release this afternoon |
Cool! |
this is included in the new release 2.13.0 |
Describe the bug
When I attempt to download a model from the Hub that is gated without being logged in, I get a nice error message. E.g.:
E.g.
If I do the same for a gated dataset on the Hub, I'm not gated a nice error message IMO:
Steps to reproduce the bug
and then:
Expected behavior
Better error message
Environment info
Copy-and-paste the text below in your GitHub issue.
datasets
version: 2.12.0The text was updated successfully, but these errors were encountered: