@sai_m did a good explanation for the preprocessing process for the dataset in torchtext. Just one point add to that. The text classification datasets in torchtext apply a new abstract that you don’t use Field anymore. Take a look at the code here 2