Pinecone数据集下载失败解决方法

ConnectionError: Couldn't reach http://qim.fs.quoracdn.net/quora_duplicate_questions.tsv (ConnectionError(MaxRetryError("HTTPConnectionPool(host='qim.fs.quoracdn.net', port=80): Max retries exceeded with url: /quora_duplicate_questions.tsv (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2e3c3eefd0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))")))
Downloading data files:   0%|                                                                                                                                                      | 0/1 [03:20<?, ?it/s]

解决方法:

需要代理服务器

# export http_proxy="http://192.168.12.180:1080"
# export https_proxy="http://192.168.12.180:1080"



python test_sentinac.py
{'http': 'http://192.168.12.180:6666', 'https': 'http://192.168.12.180:6666'}
Downloading and preparing dataset quora/default to /root/.cache/huggingface/datasets/quora/default/0.0.0/36ba4cd42107f051a158016f1bea6ae3f4685c5df843529108a54e42d86c1e04...
Downloading data: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 58.2M/58.2M [00:05<00:00, 11.1MB/s]
Downloading data files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:08<00:00,  8.12s/it]
Extracting data files: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 798.31it/s]
Dataset quora downloaded and prepared to /root/.cache/huggingface/datasets/quora/default/0.0.0/36ba4cd42107f051a158016f1bea6ae3f4685c5df843529108a54e42d86c1e04. Subsequent calls will reuse this data.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值