Can not load audiofolder dataset on kaggle
COLLABORATOR
Hi! `audiofolder` requires `datasets>=2.5.0`, so please update the `datasets`' installation (`pip install -U datasets`) in the environment (and restart the env for the update to take effect) to resolve the issue.
2023-05-14T12:53:36Z
https://github.com/huggingface/datasets/issues/5854#issuecomment-1546893884
https://api.github.com/repos/huggingface/datasets/issues/5854
IC_kwDODunzps5cM7o8
https://api.github.com/repos/huggingface/datasets/issues/comments/1546893884/reactions
2023-08-16T13:35:35Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1546893884
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
> Hi! `audiofolder` requires `datasets>=2.5.0`, so please update the `datasets`' installation (`pip install -U datasets`) in the environment to resolve the issue.

I don't think it is a problem of the version. It runs ok on colab or local machine. Only on kaggle will has this bug.
2023-05-14T13:50:54Z
https://github.com/huggingface/datasets/issues/5854#issuecomment-1546905207
https://api.github.com/repos/huggingface/datasets/issues/5854
IC_kwDODunzps5cM-Z3
https://api.github.com/repos/huggingface/datasets/issues/comments/1546905207/reactions
2023-05-14T13:50:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1546905207
https://avatars.githubusercontent.com/u/93691919?v=4
https://api.github.com/users/ILG2021/events{/privacy}
https://api.github.com/users/ILG2021/followers
https://api.github.com/users/ILG2021/following{/other_user}
https://api.github.com/users/ILG2021/gists{/gist_id}
https://github.com/ILG2021
ILG2021
U_kgDOBZWgDw
https://api.github.com/users/ILG2021/orgs
https://api.github.com/users/ILG2021/received_events
https://api.github.com/users/ILG2021/repos
https://api.github.com/users/ILG2021/starred{/owner}{/repo}
https://api.github.com/users/ILG2021/subscriptions
User
https://api.github.com/users/ILG2021
public
COLLABORATOR
Based on your dataset info, the installed version is `2.1.0`, which does not include `audiofolder`.

By default, Kaggle preinstalls `datasets` into a new env, but the version it installs is outdated and does not contain newer features such as `audiofolder`
2023-07-21T13:53:45Z
https://github.com/huggingface/datasets/issues/5854#issuecomment-1645629011
https://api.github.com/repos/huggingface/datasets/issues/5854
IC_kwDODunzps5iFk5T
https://api.github.com/repos/huggingface/datasets/issues/comments/1645629011/reactions
2023-07-21T13:53:45Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1645629011
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
### Describe the bug
It's crash log:
FileNotFoundError: Couldn't find a dataset script at /kaggle/working/audiofolder/audiofolder.py or any data file in the same directory. Couldn't find 'audiofolder' on the Hugging Face Hub either: FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/master/datasets/audiofolder/audiofolder.py


### Steps to reproduce the bug

![image](https://github.com/huggingface/datasets/assets/93691919/a2829d27-d15c-4acc-86fb-d1987c760468)
common_voice = load_dataset("audiofolder", data_dir="/kaggle/working/data")

### Expected behavior

load dataset without error. It works ok on colab, but on kaggle it happends.

### Environment info

- `datasets` version: 2.1.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.31
- Python version: 3.10.10
- PyArrow version: 9.0.0
- Pandas version: 1.5.3