Error
datasets/builder.py fails to reach https://www.researchgate.net/profile/Rishabh-Misra/publication/332141218_News_Category_Dataset/data/5ca2da43a6fdccab2f67c89b/News-Category-Dataset-v2.json , causing dataset preparation to fail.
Details
OS: MacOS Monterey 12.0
env: Anaconda - conda 4.10.1
Python: 3.9.12
error message:
HF_DATASETS_CACHE=../data/flex python -c "import fewshot; fewshot.make_challenge('flex');" main
Using custom data configuration flex-ac8d318a269483f2
Downloading and preparing dataset flex_challenge/flex (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to ../data/flex/flex_challenge/flex-ac8d318a269483f2/0.0.1/e5706b643506c30eaea9d75cf6d7cccccd7b2a87583e02892efab5b10291f493...
0 examples [00:00, ? examples/s]Downloading and preparing dataset flex/newsgroupbao (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to ../data/flex/flex/newsgroupbao/0.0.1/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5...
Downloading: 5.58kB [00:00, 2.19MB/s]
Downloading: 88.5kB [00:00, 57.8MB/s]
Downloading and preparing dataset newsgroups/18828_sci.space (download: 13.99 MiB, generated: 1.73 MiB, post-processed: Unknown size, total: 15.72 MiB) to ../data/flex/newsgroups/18828_sci.space/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1... | 0.00/2.13k [00:00<?, ?B/s]
Downloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.7M/14.7M [00:06<00:00, 2.23MB/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_sci.space/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading: 100%|██████████████████Downloading and preparing dataset newsgroups/18828_sci.crypt (download: 13.99 MiB, generated: 1.96 MiB, post-processed: Unknown size, total: 15.94 MiB) to ../data/flex/newsgroups/18828_sci.crypt/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...0, 1.56MB/s]
1 examples [00:10, 10.83s/ exampDataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_sci.crypt/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_rec.autos (download: 13.99 MiB, generated: 1.24 MiB, post-processed: Unknown size, total: 15.22 MiB) to ../data/flex/newsgroups/18828_rec.autos/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...
988 examples [00:11, 7.58s/ exaDataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_rec.autos/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_sci.med (download: 13.99 MiB, generated: 1.80 MiB, post-processed: Unknown size, total: 15.79 MiB) to ../data/flex/newsgroups/18828_sci.med/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...
1979 examples [00:12, 5.31s/ exDataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_sci.med/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_sci.electronics (download: 13.99 MiB, generated: 1.18 MiB, post-processed: Unknown size, total: 15.17 MiB) to ../data/flex/newsgroups/18828_sci.electronics/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...9 examples [00:14, 3.72s/ examples]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_sci.electronics/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_rec.sport.hockey (download: 13.99 MiB, generated: 1.68 MiB, post-processed: Unknown size, total: 15.66 MiB) to ../data/flex/newsgroups/18828_rec.sport.hockey/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...examples [00:15, 2.60s/ examples]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_rec.sport.hockey/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_rec.motorcycles (download: 13.99 MiB, generated: 1.15 MiB, post-processed: Unknown size, total: 15.14 MiB) to ../data/flex/newsgroups/18828_rec.motorcycles/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...0 examples [00:16, 1.82s/ examples]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_rec.motorcycles/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_rec.sport.baseball (download: 13.99 MiB, generated: 1.31 MiB, post-processed: Unknown size, total: 15.29 MiB) to ../data/flex/newsgroups/18828_rec.sport.baseball/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...ples [00:17, 1.28s/ examples]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_rec.sport.baseball/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_comp.graphics (download: 13.99 MiB, generated: 1.58 MiB, post-processed: Unknown size, total: 15.57 MiB) to ../data/flex/newsgroups/18828_comp.graphics/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...
0 examples [00:00, ? examples/s]Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_comp.graphics/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_comp.windows.x (download: 13.99 MiB, generated: 1.79 MiB, post-processed: Unknown size, total: 15.78 MiB) to ../data/flex/newsgroups/18828_comp.windows.x/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...
1 examples [00:00, 1.02 exampleDataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_comp.windows.x/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_comp.os.ms-windows.misc (download: 13.99 MiB, generated: 2.27 MiB, post-processed: Unknown size, total: 16.26 MiB) to ../data/flex/newsgroups/18828_comp.os.ms-windows.misc/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...2, 1.46 examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_comp.os.ms-windows.misc/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_comp.sys.mac.hardware (download: 13.99 MiB, generated: 1.01 MiB, post-processed: Unknown size, total: 15.00 MiB) to ../data/flex/newsgroups/18828_comp.sys.mac.hardware/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...00:03, 2.08 examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_comp.sys.mac.hardware/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_comp.sys.ibm.pc.hardware (download: 13.99 MiB, generated: 1.13 MiB, post-processed: Unknown size, total: 15.12 MiB) to ../data/flex/newsgroups/18828_comp.sys.ibm.pc.hardware/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1... 2.97 examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_comp.sys.ibm.pc.hardware/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_talk.politics.mideast (download: 13.99 MiB, generated: 2.78 MiB, post-processed: Unknown size, total: 16.76 MiB) to ../data/flex/newsgroups/18828_talk.politics.mideast/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...es [00:00, ? examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_talk.politics.mideast/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_misc.forsale (download: 13.99 MiB, generated: 903.68 KiB, post-processed: Unknown size, total: 14.87 MiB) to ../data/flex/newsgroups/18828_misc.forsale/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...
1 examples [00:01, 1.46s/ exampDataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_misc.forsale/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_talk.politics.misc (download: 13.99 MiB, generated: 2.01 MiB, post-processed: Unknown size, total: 15.99 MiB) to ../data/flex/newsgroups/18828_talk.politics.misc/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...ples [00:02, 1.02s/ examples]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_talk.politics.misc/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_talk.politics.guns (download: 13.99 MiB, generated: 1.83 MiB, post-processed: Unknown size, total: 15.82 MiB) to ../data/flex/newsgroups/18828_talk.politics.guns/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...ples [00:03, 1.40 examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_talk.politics.guns/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_talk.religion.misc (download: 13.99 MiB, generated: 1.31 MiB, post-processed: Unknown size, total: 15.30 MiB) to ../data/flex/newsgroups/18828_talk.religion.misc/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...ples [00:04, 2.00 examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_talk.religion.misc/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_alt.atheism (download: 13.99 MiB, generated: 1.59 MiB, post-processed: Unknown size, total: 15.58 MiB) to ../data/flex/newsgroups/18828_alt.atheism/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...
3598 examples [00:05, 2.85 examDataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_alt.atheism/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Downloading and preparing dataset newsgroups/18828_soc.religion.christian (download: 13.99 MiB, generated: 2.20 MiB, post-processed: Unknown size, total: 16.19 MiB) to ../data/flex/newsgroups/18828_soc.religion.christian/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1...:06, 4.06 examples/s]
Dataset newsgroups downloaded and prepared to ../data/flex/newsgroups/18828_soc.religion.christian/3.0.0/e6e5083c29aede4dcb47b3eb525f4cb2b34be7c1d24579e8d3c7921c275d04f1. Subsequent calls will reuse this data.
Dataset flex downloaded and prepared to ../data/flex/flex/newsgroupbao/0.0.1/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5. Subsequent calls will reuse this data.
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6021/6021 [00:00<00:00, 34493.84ex/s]
Downloading and preparing dataset flex/reutersbao (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to ../data/flex/flex/reutersbao/0.0.1/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5... | 3481/6021 [00:00<00:00, 34808.62ex/s]
Downloading: 16.7kB [00:00, 3.04MB/s]
Downloading: 19.9kB [00:00, 7.84MB/s]
Downloading and preparing dataset reuters21578/ModApte (download: 7.77 MiB, generated: 12.48 MiB, post-processed: Unknown size, total: 20.25 MiB) to ../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072... | 0.00/4.18k [00:00<?, ?B/s]
Downloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8.15M/8.15M [00:03<00:00, 2.14MB/s]
Dataset reuters21578 downloaded and prepared to ../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072. Subsequent calls will reuse this data.
Downloading: 100%|█████████████████████Reusing dataset reuters21578 (../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072)████████████████████████████████████████████████████████████████████████████████████████████████████████▋| 8.14M/8.15M [00:03<00:00, 1.96MB/s]
5052 examples [00:08, 1.49 examReusing dataset reuters21578 (../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072)
0 examples [00:00, ? examples/s] Reusing dataset reuters21578 (../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072)
352 examples [00:01, 11.35 exampReusing dataset reuters21578 (../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072)
0 examples [00:00, ? examples/s] Reusing dataset reuters21578 (../data/flex/reuters21578/ModApte/1.0.0/db07a538280c8bed1b46d585df036b84c9293e3fe69a423355c77929cd4c8072)
568 examples [00:01, 10.69 examples/s]Dataset flex downloaded and prepared to ../data/flex/flex/reutersbao/0.0.1/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5. Subsequent calls will reuse this data.
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 835/835 [00:00<00:00, 32325.82ex/s]
Using custom data configuration huffpostbao-814d632a0c092409 | 0/835 [00:00<?, ?ex/s]
Downloading and preparing dataset flex/huffpostbao (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to ../data/flex/flex/huffpostbao-814d632a0c092409/0.0.1/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5...
Using custom data configuration default
Downloading and preparing dataset huff_post/default (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to ../data/flex/huff_post/default/0.0.2/4d0d3813bfdbad5ed9ec7da463465833b8f1692cb723a71a1a203433f571b3da...
Traceback (most recent call last):
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 652, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 986, in _prepare_split
for key, record in utils.tqdm(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/tqdm/std.py", line 1133, in __iter__
for obj in iterable:
File "/Users/hyperbolicjb/.cache/huggingface/modules/datasets_modules/datasets/flex/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5/flex.py", line 171, in _generate_examples
dataset = datasets.load_dataset(**load_dataset_kwargs)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/load.py", line 742, in load_dataset
builder_instance.download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 574, in download_and_prepare
self._download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 630, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/Users/hyperbolicjb/.cache/huggingface/modules/datasets_modules/datasets/huffpost/4d0d3813bfdbad5ed9ec7da463465833b8f1692cb723a71a1a203433f571b3da/huffpost.py", line 26, in _split_generators
path = dl_manager.download(_URL)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 195, in download
downloaded_path_or_paths = map_nested(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 195, in map_nested
return function(data_struct)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 218, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 281, in cached_path
output_path = get_from_cache(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 623, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://www.researchgate.net/profile/Rishabh-Misra/publication/332141218_News_Category_Dataset/data/5ca2da43a6fdccab2f67c89b/News-Category-Dataset-v2.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 62, in _call_target
return target(*args, **kwargs)
File "/Users/hyperbolicjb/Projects/flex/fewshot/datasets/store.py", line 73, in __init__
self.store = load_dataset(**hf_load_kwargs)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/load.py", line 742, in load_dataset
builder_instance.download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 574, in download_and_prepare
self._download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 654, in _download_and_prepare
raise OSError(
OSError: Cannot find data file.
Original error:
Couldn't reach https://www.researchgate.net/profile/Rishabh-Misra/publication/332141218_News_Category_Dataset/data/5ca2da43a6fdccab2f67c89b/News-Category-Dataset-v2.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 652, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 986, in _prepare_split
for key, record in utils.tqdm(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/tqdm/std.py", line 1133, in __iter__
for obj in iterable:
File "/Users/hyperbolicjb/.cache/huggingface/modules/datasets_modules/datasets/challenge/e5706b643506c30eaea9d75cf6d7cccccd7b2a87583e02892efab5b10291f493/challenge.py", line 109, in _generate_examples
sampler = instantiate(challenge.metadatasampler)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 180, in instantiate
return instantiate_node(config, *args, recursive=_recursive_, convert=_convert_)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 245, in instantiate_node
value = instantiate_node(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 223, in instantiate_node
items = [
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 224, in <listcomp>
instantiate_node(item, convert=convert, recursive=recursive)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 245, in instantiate_node
value = instantiate_node(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 249, in instantiate_node
return _call_target(target, *args, **kwargs)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 64, in _call_target
raise type(e)(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 62, in _call_target
return target(*args, **kwargs)
File "/Users/hyperbolicjb/Projects/flex/fewshot/datasets/store.py", line 73, in __init__
self.store = load_dataset(**hf_load_kwargs)
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/load.py", line 742, in load_dataset
builder_instance.download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 574, in download_and_prepare
self._download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 654, in _download_and_prepare
raise OSError(
OSError: Error instantiating 'fewshot.datasets.store.Store' : Cannot find data file.
Original error:
Couldn't reach https://www.researchgate.net/profile/Rishabh-Misra/publication/332141218_News_Category_Dataset/data/5ca2da43a6fdccab2f67c89b/News-Category-Dataset-v2.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/hyperbolicjb/Projects/flex/fewshot/challenges/registration.py", line 13, in make
return registry.make(id, **evaluator_kwargs)
File "/Users/hyperbolicjb/Projects/flex/fewshot/challenges/registration.py", line 108, in make
return self.get_spec(id).make(**evaluator_kwargs)
File "/Users/hyperbolicjb/Projects/flex/fewshot/challenges/registration.py", line 29, in make
return Evaluator(config_name=self.id, hash=self.hash, **evaluator_kwargs)
File "/Users/hyperbolicjb/Projects/flex/fewshot/challenges/eval.py", line 89, in __init__
self.dataset = load_dataset(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/load.py", line 742, in load_dataset
builder_instance.download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 574, in download_and_prepare
self._download_and_prepare(
File "/Users/hyperbolicjb/opt/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 654, in _download_and_prepare
raise OSError(
OSError: Cannot find data file.
Original error:
Error instantiating 'fewshot.datasets.store.Store' : Cannot find data file.
Original error:
Couldn't reach https://www.researchgate.net/profile/Rishabh-Misra/publication/332141218_News_Category_Dataset/data/5ca2da43a6fdccab2f67c89b/News-Category-Dataset-v2.json
I have installed the requirements by first pip install -r requirements.txt
, then pip install -r .
, as suggested in the previously resolved issue.
No connection problem accessing https://www.researchgate.net/profile/Rishabh-Misra/publication/332141218_News_Category_Dataset/data/5ca2da43a6fdccab2f67c89b/News-Category-Dataset-v2.json in the browser.