Dataset Viewer issue: DatasetWithScriptNotSupportedError

#4
by Cike-Dev - opened

The dataset viewer is not working.

Error details:

Error code:   DatasetWithScriptNotSupportedError

Pls show me how to load this dataset via load_dataset from the datasets library.
Thanks a million!

cc @albertvillanova @lhoestq @severo .

I used this command to open a PR to update the dataset

uv run --with "datasets==3.6.0" datasets-cli convert_to_parquet poleval/poleval2019_cyberbullying --trust_remote_code

the PR is here: https://huggingface.co/datasets/poleval/poleval2019_cyberbullying/discussions/5

while we wait for the author to merge the PR, you can do

from datasets import load_dataset

ds_task01 = load_dataset("poleval/poleval2019_cyberbullying", "task01", revision="refs/pr/5")
ds_task02 = load_dataset("poleval/poleval2019_cyberbullying", "task02", revision="refs/pr/5")

I used this command to open a PR to update the dataset

uv run --with "datasets==3.6.0" datasets-cli convert_to_parquet poleval/poleval2019_cyberbullying --trust_remote_code

the PR is here: https://huggingface.co/datasets/poleval/poleval2019_cyberbullying/discussions/5

while we wait for the author to merge the PR, you can do

from datasets import load_dataset

ds_task01 = load_dataset("poleval/poleval2019_cyberbullying", "task01", revision="refs/pr/5")
ds_task02 = load_dataset("poleval/poleval2019_cyberbullying", "task02", revision="refs/pr/5")

Thank you @lhoestq

Cike-Dev changed discussion status to closed

Sign up or log in to comment