Dataset Viewer issue: FileFormatMismatchBetweenSplitsError when using webdataset

#1
by ejschwartz - opened

The dataset viewer is not working.

Error details:

Error code:   FileFormatMismatchBetweenSplitsError

All three splits, train, test, and validation, use webdataset. But only the train split has more than one file. How can I force the other two splits to also be interpreted as being the webdataset format?

cc @albertvillanova @lhoestq @severo .

@albertvillanova @lhoestq @severo Pinging again! Please help!

@albertvillanova @lhoestq @severo @julien-c Pinging again! Please help!

Hi ! sorry for the delay, it seems your dataset contains JSON files that can't be loaded in Arrow (which is required to make the viewer work). This can happen when some fields in your JSON data have varying types (e.g. have a mix of string or int in a list). There is some work on the Arrow and HF community side to support such data (using the JsonType in Arrow), but this feature is not available yet.

ejschwartz changed discussion status to closed
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment