Error loading wikitext data    raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).__name__} is not supported.")
NONE
+1 
```
Found cached dataset csv (file:///home/ubuntu/.cache/huggingface/datasets/theSquarePond___csv/theSquarePond--XXXXX-bbf0a8365d693d2c/0.0.0/eea64c71ca8b46dd3f537ed218fc9bf495d5707789152eb2764f5c78fa66d59d)
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
Cell In[14], line 4
      1 get_ipython().system('pip install -U datasets')
      3 # Load dataset from the hub
----> 4 dataset = load_dataset(dataset_name)

File ~/anaconda3/envs/python38-env/lib/python3.8/site-packages/datasets/load.py:1810, 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)
   1806 # Build dataset for splits
   1807 keep_in_memory = (
   1808     keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
   1809 )
-> 1810 ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory)
   1811 # Rename and cast features to match task schema
   1812 if task is not None:

File ~/anaconda3/envs/python38-env/lib/python3.8/site-packages/datasets/builder.py:1128, in DatasetBuilder.as_dataset(self, split, run_post_process, verification_mode, ignore_verifications, in_memory)
   1126 is_local = not is_remote_filesystem(self._fs)
   1127 if not is_local:
-> 1128     raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).__name__} is not supported.")
   1129 if not os.path.exists(self._output_dir):
   1130     raise FileNotFoundError(
   1131         f"Dataset {self.name}: could not find data in {self._output_dir}. Please make sure to call "
   1132         "builder.download_and_prepare(), or use "
   1133         "datasets.load_dataset() before trying to access the Dataset object."
   1134     )

NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported.
```
2023-10-26T04:05:17Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1780381518
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5qHndO
https://api.github.com/repos/huggingface/datasets/issues/comments/1780381518/reactions
2023-10-26T04:06:16Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1780381518
https://avatars.githubusercontent.com/u/33258732?v=4
https://api.github.com/users/zachsmith1/events{/privacy}
https://api.github.com/users/zachsmith1/followers
https://api.github.com/users/zachsmith1/following{/other_user}
https://api.github.com/users/zachsmith1/gists{/gist_id}
https://github.com/zachsmith1
zachsmith1
MDQ6VXNlcjMzMjU4NzMy
https://api.github.com/users/zachsmith1/orgs
https://api.github.com/users/zachsmith1/received_events
https://api.github.com/users/zachsmith1/repos
https://api.github.com/users/zachsmith1/starred{/owner}{/repo}
https://api.github.com/users/zachsmith1/subscriptions
User
https://api.github.com/users/zachsmith1
public
NONE
+1

```
Found cached dataset csv ([file://C:/Users/Shady/.cache/huggingface/datasets/knkarthick___csv/knkarthick--dialogsum-cd36827d3490488d/0.0.0/6954658bab30a358235fa864b05cf819af0e179325c740e4bc853bcc7ec513e1](file:///C:/Users/Shady/.cache/huggingface/datasets/knkarthick___csv/knkarthick--dialogsum-cd36827d3490488d/0.0.0/6954658bab30a358235fa864b05cf819af0e179325c740e4bc853bcc7ec513e1))
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
Cell In[38], line 3
      1 huggingface_dataset_name = "knkarthick/dialogsum"
----> 3 dataset = load_dataset(huggingface_dataset_name)

File D:\Desktop\Workspace\GenAI\genai\lib\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 D:\Desktop\Workspace\GenAI\genai\lib\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.
```
2023-10-26T12:08:03Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1780984169
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5qJ6lp
https://api.github.com/repos/huggingface/datasets/issues/comments/1780984169/reactions
2023-10-26T12:08:03Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1780984169
https://avatars.githubusercontent.com/u/18053661?v=4
https://api.github.com/users/Englader/events{/privacy}
https://api.github.com/users/Englader/followers
https://api.github.com/users/Englader/following{/other_user}
https://api.github.com/users/Englader/gists{/gist_id}
https://github.com/Englader
Englader
MDQ6VXNlcjE4MDUzNjYx
https://api.github.com/users/Englader/orgs
https://api.github.com/users/Englader/received_events
https://api.github.com/users/Englader/repos
https://api.github.com/users/Englader/starred{/owner}{/repo}
https://api.github.com/users/Englader/subscriptions
User
https://api.github.com/users/Englader
public
COLLABORATOR
This error stems from a breaking change in `fsspec`. It has been fixed in the latest `datasets` release (`2.14.6`). Updating the installation with `pip install -U datasets` should fix the issue.

2023-10-26T12:58:21Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1781073234
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5qKQVS
https://api.github.com/repos/huggingface/datasets/issues/comments/1781073234/reactions
2023-10-26T12:58:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1781073234
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
> 此错误源于 中的重大更改。此问题已在最新版本 （） 中修复。更新安装应该可以解决此问题。`fsspec``datasets``2.14.6``pip install -U datasets`

thanks ,  太好啦，刚好解决了我的问题，GPT都没解决了，终于被你搞定了
2023-10-26T13:37:45Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1781146637
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5qKiQN
https://api.github.com/repos/huggingface/datasets/issues/comments/1781146637/reactions
2023-10-26T13:37:45Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1781146637
https://avatars.githubusercontent.com/u/34565048?v=4
https://api.github.com/users/yueool/events{/privacy}
https://api.github.com/users/yueool/followers
https://api.github.com/users/yueool/following{/other_user}
https://api.github.com/users/yueool/gists{/gist_id}
https://github.com/yueool
yueool
MDQ6VXNlcjM0NTY1MDQ4
https://api.github.com/users/yueool/orgs
https://api.github.com/users/yueool/received_events
https://api.github.com/users/yueool/repos
https://api.github.com/users/yueool/starred{/owner}{/repo}
https://api.github.com/users/yueool/subscriptions
User
https://api.github.com/users/yueool
public
NONE
https://stackoverflow.com/questions/77433096/notimplementederror-loading-a-dataset-cached-in-a-localfilesystem-is-not-suppor/77433141#77433141
2023-11-07T06:49:13Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1797911922
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5rKfVy
https://api.github.com/repos/huggingface/datasets/issues/comments/1797911922/reactions
2023-11-07T06:49:13Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1797911922
https://avatars.githubusercontent.com/u/150074539?v=4
https://api.github.com/users/RubTalha/events{/privacy}
https://api.github.com/users/RubTalha/followers
https://api.github.com/users/RubTalha/following{/other_user}
https://api.github.com/users/RubTalha/gists{/gist_id}
https://github.com/RubTalha
RubTalha
U_kgDOCPH0qw
https://api.github.com/users/RubTalha/orgs
https://api.github.com/users/RubTalha/received_events
https://api.github.com/users/RubTalha/repos
https://api.github.com/users/RubTalha/starred{/owner}{/repo}
https://api.github.com/users/RubTalha/subscriptions
User
https://api.github.com/users/RubTalha
public
MEMBER
Fixed by:
- https://github.com/huggingface/datasets/pull/6334

The fix was released in `datasets-2.14.6`.
2023-11-07T07:26:54Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1797948424
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5rKoQI
https://api.github.com/repos/huggingface/datasets/issues/comments/1797948424/reactions
2023-11-07T07:26:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1797948424
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
this is fixed in 2.15.0, but broken again in 2.17.0. Can someone verify?
2024-02-23T08:52:20Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1960942119
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps504Zon
https://api.github.com/repos/huggingface/datasets/issues/comments/1960942119/reactions
2024-02-23T08:52:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1960942119
https://avatars.githubusercontent.com/u/105786647?v=4
https://api.github.com/users/dhruv-anand-aintech/events{/privacy}
https://api.github.com/users/dhruv-anand-aintech/followers
https://api.github.com/users/dhruv-anand-aintech/following{/other_user}
https://api.github.com/users/dhruv-anand-aintech/gists{/gist_id}
https://github.com/dhruv-anand-aintech
dhruv-anand-aintech
U_kgDOBk4tFw
https://api.github.com/users/dhruv-anand-aintech/orgs
https://api.github.com/users/dhruv-anand-aintech/received_events
https://api.github.com/users/dhruv-anand-aintech/repos
https://api.github.com/users/dhruv-anand-aintech/starred{/owner}{/repo}
https://api.github.com/users/dhruv-anand-aintech/subscriptions
User
https://api.github.com/users/dhruv-anand-aintech
public
NONE
I'm on `2.17.1` and can confirm it's broken again. Downgrading to `2.16` helped.
2024-02-23T13:27:55Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1961328876
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps5054Ds
https://api.github.com/repos/huggingface/datasets/issues/comments/1961328876/reactions
2024-02-23T13:27:55Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1961328876
https://avatars.githubusercontent.com/u/4938840?v=4
https://api.github.com/users/jgontrum/events{/privacy}
https://api.github.com/users/jgontrum/followers
https://api.github.com/users/jgontrum/following{/other_user}
https://api.github.com/users/jgontrum/gists{/gist_id}
https://github.com/jgontrum
jgontrum
MDQ6VXNlcjQ5Mzg4NDA=
https://api.github.com/users/jgontrum/orgs
https://api.github.com/users/jgontrum/received_events
https://api.github.com/users/jgontrum/repos
https://api.github.com/users/jgontrum/starred{/owner}{/repo}
https://api.github.com/users/jgontrum/subscriptions
User
https://api.github.com/users/jgontrum
public
NONE
> 2.14.6

i update the version but the error still exist 

2024-03-07T10:48:34Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-1983246881
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps52NfIh
https://api.github.com/repos/huggingface/datasets/issues/comments/1983246881/reactions
2024-03-07T10:48:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1983246881
https://avatars.githubusercontent.com/u/92644899?v=4
https://api.github.com/users/Mariemomezzine/events{/privacy}
https://api.github.com/users/Mariemomezzine/followers
https://api.github.com/users/Mariemomezzine/following{/other_user}
https://api.github.com/users/Mariemomezzine/gists{/gist_id}
https://github.com/Mariemomezzine
Mariemomezzine
U_kgDOBYWmIw
https://api.github.com/users/Mariemomezzine/orgs
https://api.github.com/users/Mariemomezzine/received_events
https://api.github.com/users/Mariemomezzine/repos
https://api.github.com/users/Mariemomezzine/starred{/owner}{/repo}
https://api.github.com/users/Mariemomezzine/subscriptions
User
https://api.github.com/users/Mariemomezzine
public
NONE
The issue seems to persist in 2.18.0
2024-03-16T19:46:44Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-2002104766
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps53VbG-
https://api.github.com/repos/huggingface/datasets/issues/comments/2002104766/reactions
2024-03-16T19:46:44Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2002104766
https://avatars.githubusercontent.com/u/28976175?v=4
https://api.github.com/users/JPonsa/events{/privacy}
https://api.github.com/users/JPonsa/followers
https://api.github.com/users/JPonsa/following{/other_user}
https://api.github.com/users/JPonsa/gists{/gist_id}
https://github.com/JPonsa
JPonsa
MDQ6VXNlcjI4OTc2MTc1
https://api.github.com/users/JPonsa/orgs
https://api.github.com/users/JPonsa/received_events
https://api.github.com/users/JPonsa/repos
https://api.github.com/users/JPonsa/starred{/owner}{/repo}
https://api.github.com/users/JPonsa/subscriptions
User
https://api.github.com/users/JPonsa
public
NONE
same problem in 2.18.0
2024-03-19T03:33:20Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-2005689988
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps53jGaE
https://api.github.com/repos/huggingface/datasets/issues/comments/2005689988/reactions
2024-03-19T03:33:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2005689988
https://avatars.githubusercontent.com/u/67619204?v=4
https://api.github.com/users/GoGoZeppeli-towa/events{/privacy}
https://api.github.com/users/GoGoZeppeli-towa/followers
https://api.github.com/users/GoGoZeppeli-towa/following{/other_user}
https://api.github.com/users/GoGoZeppeli-towa/gists{/gist_id}
https://github.com/GoGoZeppeli-towa
GoGoZeppeli-towa
MDQ6VXNlcjY3NjE5MjA0
https://api.github.com/users/GoGoZeppeli-towa/orgs
https://api.github.com/users/GoGoZeppeli-towa/received_events
https://api.github.com/users/GoGoZeppeli-towa/repos
https://api.github.com/users/GoGoZeppeli-towa/starred{/owner}{/repo}
https://api.github.com/users/GoGoZeppeli-towa/subscriptions
User
https://api.github.com/users/GoGoZeppeli-towa
public
MEMBER
Which version of `fsspec` and OS are you using ?
2024-03-19T16:35:50Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-2007645149
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps53qjvd
https://api.github.com/repos/huggingface/datasets/issues/comments/2007645149/reactions
2024-03-19T16:35:50Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2007645149
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
> Which version of `fsspec` and OS are you using ?

`fsspec-2023.10.0` and Windows 10, guess fsspec version too old...
2024-03-19T16:46:20Z
https://github.com/huggingface/datasets/issues/6352#issuecomment-2007665075
https://api.github.com/repos/huggingface/datasets/issues/6352
IC_kwDODunzps53qomz
https://api.github.com/repos/huggingface/datasets/issues/comments/2007665075/reactions
2024-03-19T16:46:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2007665075
https://avatars.githubusercontent.com/u/67619204?v=4
https://api.github.com/users/GoGoZeppeli-towa/events{/privacy}
https://api.github.com/users/GoGoZeppeli-towa/followers
https://api.github.com/users/GoGoZeppeli-towa/following{/other_user}
https://api.github.com/users/GoGoZeppeli-towa/gists{/gist_id}
https://github.com/GoGoZeppeli-towa
GoGoZeppeli-towa
MDQ6VXNlcjY3NjE5MjA0
https://api.github.com/users/GoGoZeppeli-towa/orgs
https://api.github.com/users/GoGoZeppeli-towa/received_events
https://api.github.com/users/GoGoZeppeli-towa/repos
https://api.github.com/users/GoGoZeppeli-towa/starred{/owner}{/repo}
https://api.github.com/users/GoGoZeppeli-towa/subscriptions
User
https://api.github.com/users/GoGoZeppeli-towa
public
I was trying to load  the wiki dataset, but i got this error 

    traindata = load_dataset('wikitext', 'wikitext-2-raw-v1', split='train')
  File "/home/aelkordy/.conda/envs/prune_llm/lib/python3.9/site-packages/datasets/load.py", line 1804, in load_dataset
    ds = builder_instance.as_dataset(split=split, verification_mode=verification_mode, in_memory=keep_in_memory)
  File "/home/aelkordy/.conda/envs/prune_llm/lib/python3.9/site-packages/datasets/builder.py", line 1108, in as_dataset
    raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).__name__} is not supported.")
NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported.