EmptyDatasetError: The directory at xsum doesn't contain any data files

Hello my question is simple but at the same time I can not understand the reason of the error
In short I am trying

this script

The datasets that can be used are listed down in this line

very simple whenever I use any data set except cnn_daily(for example xsum) I got this error

EmptyDatasetError: The directory at xsum doesn’t contain any data files

why?

Ok here is the reason, I have at same directory of scrpit the output directory name the same as the dataset name , so whenever I run the code the scripts tries to load the dataset from this empty directorty that was dedicated for output. Conclusion name your output directory different to dataset name.

1 Like