Dataset scripts are no longer supported, but found superb.py
NONE
I got a pretty similar issue when I try to load bigbio/neurotrial_ner dataset. 
`Dataset scripts are no longer supported, but found neurotrial_ner.py`
2025-07-21T14:10:07Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3096949005
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps64l7EN
https://api.github.com/repos/huggingface/datasets/issues/comments/3096949005/reactions
2025-07-21T14:10:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3096949005
https://avatars.githubusercontent.com/u/6295808?v=4
https://api.github.com/users/dejokz/events{/privacy}
https://api.github.com/users/dejokz/followers
https://api.github.com/users/dejokz/following{/other_user}
https://api.github.com/users/dejokz/gists{/gist_id}
https://github.com/dejokz
dejokz
MDQ6VXNlcjYyOTU4MDg=
https://api.github.com/users/dejokz/orgs
https://api.github.com/users/dejokz/received_events
https://api.github.com/users/dejokz/repos
https://api.github.com/users/dejokz/starred{/owner}{/repo}
https://api.github.com/users/dejokz/subscriptions
User
https://api.github.com/users/dejokz
public
NONE
Same here. I was running this tutorial and got a similar error: https://github.com/openai/whisper/discussions/654 (I'm a first-time transformers library user)

RuntimeError: Dataset scripts are no longer supported, but found librispeech_asr.py

What am I supposed to do at this point?

Thanks
2025-07-22T10:43:47Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3102186067
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps6455pT
https://api.github.com/repos/huggingface/datasets/issues/comments/3102186067/reactions
2025-07-22T10:44:03Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3102186067
https://avatars.githubusercontent.com/u/45080861?v=4
https://api.github.com/users/gMontoyaSpeech/events{/privacy}
https://api.github.com/users/gMontoyaSpeech/followers
https://api.github.com/users/gMontoyaSpeech/following{/other_user}
https://api.github.com/users/gMontoyaSpeech/gists{/gist_id}
https://github.com/gMontoyaSpeech
gMontoyaSpeech
MDQ6VXNlcjQ1MDgwODYx
https://api.github.com/users/gMontoyaSpeech/orgs
https://api.github.com/users/gMontoyaSpeech/received_events
https://api.github.com/users/gMontoyaSpeech/repos
https://api.github.com/users/gMontoyaSpeech/starred{/owner}{/repo}
https://api.github.com/users/gMontoyaSpeech/subscriptions
User
https://api.github.com/users/gMontoyaSpeech
public
NONE
hey I got the same error and I have tried to downgrade version to 3.6.0 and it works.
`pip install datasets==3.6.0`
2025-07-22T15:27:21Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3103380232
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps64-dMI
https://api.github.com/repos/huggingface/datasets/issues/comments/3103380232/reactions
2025-07-22T15:27:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3103380232
https://avatars.githubusercontent.com/u/202590134?v=4
https://api.github.com/users/Tin-viAct/events{/privacy}
https://api.github.com/users/Tin-viAct/followers
https://api.github.com/users/Tin-viAct/following{/other_user}
https://api.github.com/users/Tin-viAct/gists{/gist_id}
https://github.com/Tin-viAct
Tin-viAct
U_kgDODBNHtg
https://api.github.com/users/Tin-viAct/orgs
https://api.github.com/users/Tin-viAct/received_events
https://api.github.com/users/Tin-viAct/repos
https://api.github.com/users/Tin-viAct/starred{/owner}{/repo}
https://api.github.com/users/Tin-viAct/subscriptions
User
https://api.github.com/users/Tin-viAct
public
NONE
Thank you very much @Tin-viAct . That indeed did the trick for me :) 
Now the code continue its normal flow 
2025-07-22T17:11:00Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3103924102
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps65Ah-G
https://api.github.com/repos/huggingface/datasets/issues/comments/3103924102/reactions
2025-07-22T17:11:00Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3103924102
https://avatars.githubusercontent.com/u/45080861?v=4
https://api.github.com/users/gMontoyaSpeech/events{/privacy}
https://api.github.com/users/gMontoyaSpeech/followers
https://api.github.com/users/gMontoyaSpeech/following{/other_user}
https://api.github.com/users/gMontoyaSpeech/gists{/gist_id}
https://github.com/gMontoyaSpeech
gMontoyaSpeech
MDQ6VXNlcjQ1MDgwODYx
https://api.github.com/users/gMontoyaSpeech/orgs
https://api.github.com/users/gMontoyaSpeech/received_events
https://api.github.com/users/gMontoyaSpeech/repos
https://api.github.com/users/gMontoyaSpeech/starred{/owner}{/repo}
https://api.github.com/users/gMontoyaSpeech/subscriptions
User
https://api.github.com/users/gMontoyaSpeech
public
NONE
Thanks @Tin-viAct, Works!
2025-07-24T14:25:36Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3113684351
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps65lw1_
https://api.github.com/repos/huggingface/datasets/issues/comments/3113684351/reactions
2025-07-24T14:25:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3113684351
https://avatars.githubusercontent.com/u/80170218?v=4
https://api.github.com/users/johnbarb71/events{/privacy}
https://api.github.com/users/johnbarb71/followers
https://api.github.com/users/johnbarb71/following{/other_user}
https://api.github.com/users/johnbarb71/gists{/gist_id}
https://github.com/johnbarb71
johnbarb71
MDQ6VXNlcjgwMTcwMjE4
https://api.github.com/users/johnbarb71/orgs
https://api.github.com/users/johnbarb71/received_events
https://api.github.com/users/johnbarb71/repos
https://api.github.com/users/johnbarb71/starred{/owner}{/repo}
https://api.github.com/users/johnbarb71/subscriptions
User
https://api.github.com/users/johnbarb71
public
MEMBER
I converted [openslr/librispeech_asr](https://huggingface.co/datasets/openslr/librispeech_asr) to Parquet - thanks for reporting.

It's now compatible with `datasets` 4.0  !

I'll try to ping the authors of the other datasets like [s3prl/superb](https://huggingface.co/datasets/s3prl/superb) and [espnet/yodas2](https://huggingface.co/datasets/espnet/yodas2)
2025-07-25T15:16:36Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3118509647
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps654K5P
https://api.github.com/repos/huggingface/datasets/issues/comments/3118509647/reactions
2025-07-25T15:19:13Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3118509647
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
How come a breaking change was allowed and now requires extra work from individual authors for things to be usable? 

https://en.wikipedia.org/wiki/Backward_compatibility
2025-07-29T10:08:22Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3131714366
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps66qis-
https://api.github.com/repos/huggingface/datasets/issues/comments/3131714366/reactions
2025-07-29T10:08:22Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3131714366
https://avatars.githubusercontent.com/u/27398253?v=4
https://api.github.com/users/pgzmnk/events{/privacy}
https://api.github.com/users/pgzmnk/followers
https://api.github.com/users/pgzmnk/following{/other_user}
https://api.github.com/users/pgzmnk/gists{/gist_id}
https://github.com/pgzmnk
pgzmnk
MDQ6VXNlcjI3Mzk4MjUz
https://api.github.com/users/pgzmnk/orgs
https://api.github.com/users/pgzmnk/received_events
https://api.github.com/users/pgzmnk/repos
https://api.github.com/users/pgzmnk/starred{/owner}{/repo}
https://api.github.com/users/pgzmnk/subscriptions
User
https://api.github.com/users/pgzmnk
public
MEMBER
We follow semantic versioning so that breaking changes only occur in major releases. Also note that dataset scripts have been legacy for some time now, with a message on the dataset pages to ask authors to update their datasets.

It's ok to ping older versions of `datasets`, but imo a few remaining datasets need to be converted since they are valuable to the community.
2025-07-30T15:01:03Z
https://github.com/huggingface/datasets/issues/7693#issuecomment-3136740791
https://api.github.com/repos/huggingface/datasets/issues/7693
IC_kwDODunzps669t23
https://api.github.com/repos/huggingface/datasets/issues/comments/3136740791/reactions
2025-07-30T15:01:03Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3136740791
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
### Describe the bug

Hello,

I'm trying to follow the [Hugging Face Pipelines tutorial](https://huggingface.co/docs/transformers/main_classes/pipelines) but the tutorial seems to work only on old datasets versions.

I then get the error :

```
--------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[65], [line 1](vscode-notebook-cell:?execution_count=65&line=1)
----> [1](vscode-notebook-cell:?execution_count=65&line=1) dataset = datasets.load_dataset("superb", name="asr", split="test")
      3 # KeyDataset (only *pt*) will simply return the item in the dict returned by the dataset item
      4 # as we're not interested in the *target* part of the dataset. For sentence pair use KeyPairDataset
      5 for out in tqdm(pipe(KeyDataset(dataset, "file"))):

File ~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:1392, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, keep_in_memory, save_infos, revision, token, streaming, num_proc, storage_options, **config_kwargs)
   1387 verification_mode = VerificationMode(
   1388     (verification_mode or VerificationMode.BASIC_CHECKS) if not save_infos else VerificationMode.ALL_CHECKS
   1389 )
   1391 # Create a dataset builder
-> [1392](https://file+.vscode-resource.vscode-cdn.net/home/edwin/Desktop/debug/llm_course/~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:1392) builder_instance = load_dataset_builder(
   1393     path=path,
   1394     name=name,
   1395     data_dir=data_dir,
   1396     data_files=data_files,
   1397     cache_dir=cache_dir,
   1398     features=features,
   1399     download_config=download_config,
   1400     download_mode=download_mode,
   1401     revision=revision,
   1402     token=token,
   1403     storage_options=storage_options,
   1404     **config_kwargs,
   1405 )
   1407 # Return iterable dataset in case of streaming
   1408 if streaming:

File ~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:1132, in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, storage_options, **config_kwargs)
   1130 if features is not None:
   1131     features = _fix_for_backward_compatible_features(features)
-> [1132](https://file+.vscode-resource.vscode-cdn.net/home/edwin/Desktop/debug/llm_course/~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:1132) dataset_module = dataset_module_factory(
   1133     path,
   1134     revision=revision,
   1135     download_config=download_config,
   1136     download_mode=download_mode,
   1137     data_dir=data_dir,
   1138     data_files=data_files,
   1139     cache_dir=cache_dir,
   1140 )
   1141 # Get dataset builder class
   1142 builder_kwargs = dataset_module.builder_kwargs

File ~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:1031, in dataset_module_factory(path, revision, download_config, download_mode, data_dir, data_files, cache_dir, **download_kwargs)
   1026             if isinstance(e1, FileNotFoundError):
   1027                 raise FileNotFoundError(
   1028                     f"Couldn't find any data file at {relative_to_absolute_path(path)}. "
   1029                     f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1).__name__}: {e1}"
   1030                 ) from None
-> [1031](https://file+.vscode-resource.vscode-cdn.net/home/edwin/Desktop/debug/llm_course/~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:1031)             raise e1 from None
   1032 else:
   1033     raise FileNotFoundError(f"Couldn't find any data file at {relative_to_absolute_path(path)}.")

File ~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:989, in dataset_module_factory(path, revision, download_config, download_mode, data_dir, data_files, cache_dir, **download_kwargs)
    981 try:
    982     api.hf_hub_download(
    983         repo_id=path,
    984         filename=filename,
   (...)    987         proxies=download_config.proxies,
    988     )
--> [989](https://file+.vscode-resource.vscode-cdn.net/home/edwin/Desktop/debug/llm_course/~/Desktop/debug/llm_course/.venv/lib/python3.11/site-packages/datasets/load.py:989)     raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
    990 except EntryNotFoundError:
    991     # Use the infos from the parquet export except in some cases:
    992     if data_dir or data_files or (revision and revision != "main"):

RuntimeError: Dataset scripts are no longer supported, but found superb.py
```

NB : I tried to replace "superb" by  "anton-l/superb_demo" but I get a 'torchcodec' importing error. Maybe I misunderstood something.

### Steps to reproduce the bug

```
import datasets
from transformers import pipeline
from transformers.pipelines.pt_utils import KeyDataset
from tqdm.auto import tqdm

pipe = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-base-960h", device=0)
dataset = datasets.load_dataset("superb", name="asr", split="test")

# KeyDataset (only *pt*) will simply return the item in the dict returned by the dataset item
# as we're not interested in the *target* part of the dataset. For sentence pair use KeyPairDataset
for out in tqdm(pipe(KeyDataset(dataset, "file"))):
    print(out)
    # {"text": "NUMBER TEN FRESH NELLY IS WAITING ON YOU GOOD NIGHT HUSBAND"}
    # {"text": ....}
    # ....
```

### Expected behavior

Get the tutorial expected results

### Environment info

--- SYSTEM INFO ---
Operating System: Ubuntu 24.10                              
Kernel: Linux 6.11.0-29-generic
Architecture: x86-64

--- PYTHON ---
Python 3.11.13

--- VENV INFO ----
datasets=4.0.0
transformers=4.53
tqdm=4.67.1