Dataset Viewer issue: DatasetWithScriptNotSupportedError

#1
by Jiwonny29 - opened

The dataset viewer is not working.
How can I resolve this problem to ensure functionality of my dataset viewer?

Error details:

Error code:   DatasetWithScriptNotSupportedError

cc @albertvillanova @lhoestq @severo .

Yes, the dataset viewer does not support anymore the datasets with a script, it's a recent change we did for security purpose. To get the dataset viewer, you can try to move it to data-only, as explained in the docs: https://huggingface.co/docs/hub/datasets-data-files-configuration (or use the converter space: https://huggingface.co/spaces/albertvillanova/convert-dataset-to-parquet)

Please tell us how it goes.

Now shows

The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library). If this is not possible, please open a discussion for direct help.

we can close

Sign up or log in to comment