fastnlp / fastNLP

fastNLP: A Modularized and Extensible NLP Framework. Currently still in incubation.
https://gitee.com/fastnlp/fastNLP
Apache License 2.0
3.06k stars 450 forks source link

ELMO预训练模型下载问题咨询 #308

Closed superwars closed 3 years ago

superwars commented 4 years ago

image 我使用fastNLP教程当中的ELMO的例子,但是出现了如下的问题:

requests.exceptions.ProxyError: HTTPConnectionPool(host='10.141.250.66', port=8123): Max retries exceeded with url: http://212.129.155.247/embedding/elmo_en_Small.zip (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc6b93baa90>: Failed to establish a new connection: [Errno 110] Connection timed out',)))

这是网络的原因吗?

yhcc commented 4 years ago

应该是诶。尝试直接访问http://212.129.155.247/embedding/elmo_en_Small.zip 下载,然后解压这个文件,把model_dir_or_name修改为这个解压后的文件夹路径应该就可以了。