Dataset Viewer issue: DatasetWithScriptNotSupportedError

#3
by bigainlco - opened

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

cc @albertvillanova @lhoestq @severo .

Thanks for opening the discussion. As stated in the error message:

Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library)

Is it an option for you to convert the dataset to "data-only"? More details at https://huggingface.co/docs/datasets/main/en/cli#convert-to-parquet

I tried the command: datasets-cli convert_to_parquet bigainlco/LooGLE
however, i get the error below:
usage: datasets-cli []
HuggingFace Datasets CLI tool: error: invalid choice: 'convert_to_parquet' (choose from 'convert', 'env', 'test', 'run_beam', 'dummy_data') '''

Could you help to find what's going on ? thanks a lot @severo

you need the latest version of datasets:

pip install -U datasets

hi, it works after i update the package datasets

However, after i run " datasets-cli convert_to_parquet bigainlco/LooGLE" , i get the error below:
Screenshot from 2024-05-13 18-19-16.png

hi @albertvillanova @severo , we really appreciate it if you could help fix the above-mentioned problem during busy time . Thanks very much!

Sign up or log in to comment