Skip to content
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

Improve the error message when Hugging Face resource isn't found a the referenced location. #313

Closed
meanderingstream opened this issue Dec 17, 2023 · 1 comment · Fixed by #314

Comments

@meanderingstream
Copy link

If a users enters an incorrect hf: resource location, say GPT2 instead of gpt2, the error returned indicates a missing ETag. The error would be more useful if it indicated that the resource was not found at GPT2 or whatever the location the user entered.

@jonatanklosko
Copy link
Member

FTR the reason why the error is confusing is that for "GPT2" instead of 404 HF returns 307 and redirects to "gpt2".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants