Data is collected, preprocessed, tokenized, and split into training, validation, and test sets, with techniques like data augmentation applied.