-
Notifications
You must be signed in to change notification settings - Fork 81
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
Handling dataset redirects #2688
Comments
The dataset viewer only knows the last repository name if it has been renamed once or more. For example, To support this, if the dataset has not been found in the database, we should request the Hub to get the current name of the repo (in the example: We can get this info by looking at the |
also:
^ this is a bug |
With #3035, it now returns 404 with https://datasets-server.huggingface.co/splits?dataset=mnist or https://datasets-server.huggingface.co/splits?dataset=squad |
Let's close. We don't plan to support repositories redirection in this API. |
Currently datasets-server doesn't appear to handle dataset redirects, and gives an error.
For example:
Querying
datasets
endpoints with the datasetsquad
worksQuerying
datasets-server
endpoints with the datasetsquad
gives an "unknown error"Querying
datasets-server
endpoints with a random dataset name (e.g.xyz2309348
) gives an expected response (e.g. dataset unknown/doesn't exist)Querying
datasets-server
endpoints with the redirected name (rajpurkar/squad
) works.The text was updated successfully, but these errors were encountered: