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

Bug in get_sbert_embedding.py? #44

Closed
lancorrect opened this issue Oct 13, 2022 · 2 comments
Closed

Bug in get_sbert_embedding.py? #44

lancorrect opened this issue Oct 13, 2022 · 2 comments

Comments

@lancorrect
Copy link

Hi,

When I run get_bert_embedding.bash, I get an error bellow.

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/sentence-transformers/roberta-large-nli-stsb-mean-tokens (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))

Is this your code's problem or sentence-transformers' problem? Thanks a lot !

@gaotianyu1350
Copy link
Member

It seems that you have a problem connect to Huggingface's server. Please check that the computer/server where you run this code base has internet connection to Huggingface's server.

@lancorrect
Copy link
Author

It's so kind to receive your reply.

I checked my network environment and found that it's not stable to download models from sentence-transformers. Then I changed ip address and it works now.

Thanks again!

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