You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
You may meet problems like:
requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /junnyu/roformer_chinese_base/resolve/main/vocab.txt (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'huggingface.co'. (_ssl.c:1007)")))
This setting also helps downloading models from Tensorflow Hub and PyTorch Hub, although the problems met on these sites are different from the one on Hugging Face.
Please be noted that the exact setting including the domain name and port number are highly likely different for your environment, provided you need to have a proxy server at first.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
You may meet problems like:
requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /junnyu/roformer_chinese_base/resolve/main/vocab.txt (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'huggingface.co'. (_ssl.c:1007)")))
Describe the solution you'd like
Setting proxy as below get rid of this problem.
import os
os.environ['HTTP_PROXY'] = 'http://proxy.company.com:port number>'
os.environ['HTTPS_PROXY'] = 'http://proxy.company.com:port number'
This setting also helps downloading models from Tensorflow Hub and PyTorch Hub, although the problems met on these sites are different from the one on Hugging Face.
Please be noted that the exact setting including the domain name and port number are highly likely different for your environment, provided you need to have a proxy server at first.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: