I think it’s because the “text” loader creates a new sample for each “\n” it sees, so the texts you have that contain some of those are then split into several samples. @lhoestq or @albertvillanova if you could conifrm?
PS: it would be easier to just do dsets = load_dataset('imdb') :-p