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.