Dataset Viewer issue: DatasetWithScriptNotSupportedError

#1
by ai-forever - opened

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

cc @albertvillanova @lhoestq @severo .

Indeed, the dataset viewer doesn't support script-based datasets anymore, and the solution to get it back is to convert the dataset to "data-only" (see https://huggingface.co./docs/hub/datasets-manual-configuration)

The simplest way to do it, for now, is to rely on the datasets library's method push_to_hub (see https://huggingface.co./datasets/jmhessel/newyorker_caption_contest/discussions/4 for an example)

We're working on a CLI tool to do it more easily (https://github.com/huggingface/datasets/pull/6795)

Sign up or log in to comment