How to visualize webdatasets in Dataset Viewer

#2
by Birchlabs - opened

Is there any support for viewing webdatasets in Dataset Viewer?
My webdataset schema is very simple; it's just an image:

Example = TypedDict('Example', {
  '__key__': str,
  'img.png': bytes,
})

I wrote a dataset script, which seems to work, but it looks like it's not supported as a Dataset Viewer idiom:

Error code:   ConfigNamesError
Exception:    DatasetWithScriptNotSupportedError
Message:      The dataset viewer doesn't support this dataset because it runs arbitrary python code.

But WDS is pretty ubiquitous, and this is probably the simplest case possible. So maybe there's a convention for viewing these? I wasn't able to find anything like that though.

cc @albertvillanova @lhoestq @severo .

Hi ! It's indeed not supported yet, but we plan to support it soon :)

Feel free to subscribe to this issue : https://github.com/huggingface/datasets/issues/5337

Sign up or log in to comment