Skip to content

Dataset scripts are no longer supported #25

Description

@mihikagaonkar

Lastest version of datasets does not support Python loading scripts

The secret `HF_TOKEN` does not exist in your Colab secrets.
To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.
You will be able to reuse this secret in all of your notebooks.
Please note that authentication is recommended but still optional to access public models or datasets.
  warnings.warn(
README.md: 
 5.57k/? [00:00<00:00, 76.2kB/s]
DocLayNet.py: 
 8.44k/? [00:00<00:00, 132kB/s]
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
[/tmp/ipython-input-2426931006.py](https://localhost:8080/#) in <cell line: 0>()
      1 from datasets import load_dataset
----> 2 dataset = load_dataset("ds4sd/DocLayNet")

3 frames
[/usr/local/lib/python3.11/dist-packages/datasets/load.py](https://localhost:8080/#) in dataset_module_factory(path, revision, download_config, download_mode, data_dir, data_files, cache_dir, **download_kwargs)
    987                     proxies=download_config.proxies,
    988                 )
--> 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:

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions