Try upgrading datasets library using %pip install -U datasets. Then restart the kernel. In the second run skip installing the libraries cell. Seems to have worked for me.
Found cached dataset csv (file:///root/.cache/huggingface/datasets/knkarthick___csv/knkarthick–dialogsum-cd36827d3490488d/0.0.0/6954658bab30a358235fa864b05cf819af0e179325c740e4bc853bcc7ec513e1)
File /opt/conda/lib/python3.10/site-packages/datasets/load.py:1804, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, num_proc, storage_options, **config_kwargs)
1800 # Build dataset for splits
1801 keep_in_memory = (
1802 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
1803 )
→ 1804 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory)
1805 # Rename and cast features to match task schema
1806 if task is not None:
File /opt/conda/lib/python3.10/site-packages/datasets/builder.py:1108, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory)
1106 is_local = not is_remote_filesystem(self._fs)
1107 if not is_local:
→ 1108 raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).name} is not supported.")
1109 if not os.path.exists(self._output_dir):
1110 raise FileNotFoundError(
1111 f"Dataset {self.name}: could not find data in {self._output_dir}. Please make sure to call "
1112 "builder.download_and_prepare(), or use "
1113 “datasets.load_dataset() before trying to access the Dataset object.”
1114 )
NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported.
Hi everyone! Thank you for reporting this. We are looking into this issue. Will update you as soon as possible. In the meantime, please try Sanket and Derya’s workarounds. Thank you and sorry for the inconvenience!
Hi everyone! The issue should now be fixed. If you launch the lab again from the classroom, you should see pip install -U datasets in the 2nd code cell.
Hi Kevin. Can you post here a screenshot of the pip install cell (usually the 2nd code cell of the lab), and also a screenshot of the error after running the pip installs? I can forward it to the team for checking. Thanks.