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. If this is not possible, please open a discussion for direct help.
Why? It worked well in before. By the way load_datasets works! and viewer works yesterday as well!
- cis-lmu/udhr-lid · Datasets at Hugging Face
- cis-lmu/glotlid-corpus · Datasets at Hugging Face
I have the exact same problem and cannot tell where the error is, given I have not changed anything and this used to work. Hope we can get some assistance.
I have the exact same problem
@lhoestq, care to join? I don’t know who to tag.
We had to disable the viewer for datasets with a script for now, because some people were abusing it. Sorry for the inconvenience.
We’re seeing if there is a viable long-term solution.
In the meantime, if you want the dataset viewer to work you need to remove the dataset script and use a supported data format (csv, parquet, etc.) Personnally I’d recommend uploading the dataset using the
datasets library and
If you have a popular datasets (> 100 likes or downloads) that is affected, please let us know here – we can allowlist popular datasets.
I don’t have that much publicity. I was hoping to gain some :))
I fixed one of my datasets, deleted the other one, and I’m still trying to figure out what’s wrong with the third one since the viewer doesn’t work, even though I remove the load script and move to the automatic HuggingFace structure.
cc @severo maybe can help on that last one!
The viewer is being created on your third dataset, it will be available soon
Hi @julien-c, @lhoestq
Is it possible to allow my dataset “lampent/IRFL” to use the dataset viewer with a script?
In my previous work (“nlphuji/vasr”), it worked great, and I want to customize this dataset as well.
I see you made it work using data-only files, congrats!
We recently updated the docs to make it easier to structure your dataset without a dataset script:
Yes, and it works great! However I would like to use the dataset viewer with a script to enable image display instead of strings.
As you can see in the fields “distractors” and “answer” this are actually image identifiers and I would like to load them into the dataset viewer as images. The only methods I am aware of is the one we used in “nlphuji/vasr” (see image below).
Indeed. We have an issue to handle that case, feel free to chime in, or +1.