DMD icon indicating copy to clipboard operation
DMD copied to clipboard

这个错误怎么解决

Open fygfff opened this issue 1 year ago • 2 comments

requests.exceptions.ProxyError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /bert-base-uncased/resolve/main/tokenizer_config.json (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))))"), '(Request ID: 737b9db1-9199-430a-ac90-7c9956c977c0)')

fygfff avatar May 18 '24 11:05 fygfff

代码默认去huggingface下载bert的预训练权重,可能是网络原因无法连接到huggingface 可以先把权重下载下来,然后指定权重加载的路径

LianqingHikari avatar Dec 31 '24 08:12 LianqingHikari

对下载到本地也是一样的

Issac304 avatar Jan 06 '25 02:01 Issac304