Dataset Viewer issue: TooBigContentError

#2
by franciscoliu - opened

The dataset viewer is not working. Could you help us fix this for a better visualization? I appreciate the help!

Error details:

Error code:   TooBigContentError

cc @albertvillanova @lhoestq @severo .

Hi ! the error message says

Make sure that:

  1. the Parquet files contain a page index to enable random access without loading entire row groups
  2. otherwise use smaller row-group sizes when serializing the Parquet files

You can try to fix that by reuploading the dataset using the latest version of the datasets library (it does both 1 and 2 lol)

repo_id = "ND-25/MCS-bench"
load_dataset(repo_id, "default").push_to_hub(repo_id, "default")
load_dataset(repo_id, "preview").push_to_hub(repo_id, "preview")

let me know if this helps :)

Sign up or log in to comment