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

Repository Not Found for url: https://huggingface.co/api/models/sentence-transformers/distilbert-base-nli-mean-tokens. #1244

Closed
Rosie2023Rosie opened this issue May 9, 2023 · 4 comments

Comments

@Rosie2023Rosie
Copy link

Hi everyone
I have this line of code and it was running perfectly until yesterday

sentence_model = SentenceTransformer("distilbert-base-nli-mean-tokens")

Now when I tried to run it the following error raised ..


RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-645a0801-003551080903725b044045e8)

Repository Not Found for url: https://huggingface.co/api/models/sentence-transformers/distilbert-base-nli-mean-tokens.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.

Anyone can help please..

@MaartenGr
Copy link
Owner

This is a known issue with HuggingFace at the moment. You can find more information about that here. I would advise waiting until HuggingFace has restored those models. You could also see if you have any of the models cached and load them locally but I am quite sure HuggingFace is working hard on a fix seeing the large dependencies of OSS on sentence-transformers.

@Rosie2023Rosie
Copy link
Author

Rosie2023Rosie commented May 9, 2023

Oh thanks
Then, we will be waiting and praying for them to fix it soon..

@MaartenGr
Copy link
Owner

It seems that the models are online again, so the issue should be resolved!

@Rosie2023Rosie
Copy link
Author

yah, it works again ..
Thanks alot..

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

No branches or pull requests

2 participants