dataset  4.0.0 , issue with load_dataset loading audio dataset
Author: nanyi545
Pull request: no
Labels: name: bug

### System Info

dataset: 4.0.0
pytorch: 2.7.1+cu126
system:   Ubuntu 22.04.5 LTS



### Who can help?

_No response_

### Information

- [x] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

I am play around with the newest version.

following
https://huggingface.co/docs/datasets/v4.0.0/en/package_reference/main_classes#datasets.Audio

I tried below

`import datasets
print(datasets.__version__)
import torch
print(torch.__version__)

from datasets import load_dataset, Audio
ds = load_dataset("PolyAI/minds14", name="en-US", split="train")
ds = ds.cast_column("audio", Audio(sampling_rate=44100))
print(ds[0]["audio"])`


but i got error: 

Traceback (most recent call last):
  File "/home/xh/ww/hug5/audio1.py", line 8, in <module>
    ds = load_dataset("PolyAI/minds14", name="en-US", split="train")
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xh/miniconda3/envs/hug5/lib/python3.11/site-packages/datasets/load.py", line 1392, in load_dataset
    builder_instance = load_dataset_builder(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/home/xh/miniconda3/envs/hug5/lib/python3.11/site-packages/datasets/load.py", line 1132, in load_dataset_builder
    dataset_module = dataset_module_factory(
                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xh/miniconda3/envs/hug5/lib/python3.11/site-packages/datasets/load.py", line 1031, in dataset_module_factory
    raise e1 from None
  File "/home/xh/miniconda3/envs/hug5/lib/python3.11/site-packages/datasets/load.py", line 989, in dataset_module_factory
    raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
RuntimeError: Dataset scripts are no longer supported, but found minds14.py


### Expected behavior

i expect audio dataset loaded successfully

Comments:
Hi @nanyi545, datasets that use Python scripts to control loading are no longer supported. You'll need to ping the dataset owner on that repo and ask them to update!

> Hi [@nanyi545](https://github.com/nanyi545), datasets that use Python scripts to control loading are no longer supported. You'll need to ping the dataset owner on that repo and ask them to update!

but this is the official document of huggingface. could u please update the quick tour?

https://huggingface.co/docs/transformers/v4.53.3/en/quicktour

@francisLee777 which code snippet in the quick tour uses a dataset with a loading script?

> [@francisLee777](https://github.com/francisLee777) which code snippet in the quick tour uses a dataset with a loading script?

key word : PolyAI/minds14

https://huggingface.co/docs/transformers/v4.53.3/zh/quicktour

Ah, interesting! That model isn't used in the English documentation, so I missed it. cc @stevhliu - maybe we should update the Chinese docs? I confirmed that dataset isn't working right now because it uses a Python loader.

Yeah, I think we can just update with a new dataset like this one https://huggingface.co/datasets/slprl/StressTest. Would you like to open a PR to update this @francisLee777?