`load_from_disk` fails to load dataset after a `.map` operation
I am usingload_from_diskto load a dataset I stored using.save_to_disk.This works fine the first time, and I proceed to apply a.mapoperation (and train a model).This storescachefiles in the dataset’s directory, but these result inValueError: Couldn't castfollowed byDatasetGenerationError: An error occurred while generating the datasetwhen trying to load it a second time using the same call toload_from_disk.If I remove thecachefiles, it works fine again – the first time.What am I doing wrong here?