Dataset Viewer issue

#5
by nguyenhuuthuat09 - opened

Dear HF team, our data viewer is not working again. Can you double check it for us?

"The dataset viewer is not working."

image.png

Thank you so much for your support!

cc @albertvillanova @lhoestq @severo .

This is expected for gated datasets.

CC: @severo

This is expected for gated datasets.

No it works for gated datasets in general

Dear HF team, our data viewer is not working again. Can you double check it for us?

This is because you use the HfFileSystem in your dataset script without authentication. We recommend to not use it.

@asoria suggested removing the dataset script and use YAML instead in a PR. This is a more robust solution.

I'm opening a PR to to fix this

Thank you, @albertvillanova and @lhoestq !

https://huggingface.co/datasets/uonlp/CulturaX/discussions/6

Yes, I can see @asoria 's PR but I want to keep datasets script for our repo and before, the viewer still worked.

This is because you use the HfFileSystem in your dataset script without authentication. We recommend to not use it.

I see that in OSCAR's dataset script, they have a file checksum.sha256 containing all the names of the files in a data directory and they use that to get the urls to the data files (instead of using Hf FileSystem like us). Do you think the same way will solve our problem?

P/s: Sory again, We chatted in 2 chats so I don't know your comment in the other chat.

I see that in OSCAR's dataset script, they have a file checksum.sha256 containing all the names of the files in a data directory and they use that to get the urls to the data files (instead of using Hf FileSystem like us). Do you think the same way will solve our problem?

yes that works too !

Thank you so much, @albertvillanova and @lhoestq ! My dataset viewer is back now!

However, there are still a few subsets that have this error: "the dataset is currently locked, please try again later. Error code: LockedDatasetTimeoutError". Does this mean I should wait and these subsets will work properly in the future?

image.png

Yea they'll work soon :)

That's great! Thank you so much again, @albertvillanova and @lhoestq ! I am gonna close this issue!

nguyenhuuthuat09 changed discussion status to closed

Sign up or log in to comment