Hi ! This statement makes all your input samples have the same length equal to max_seq_length.
It crops the end of each batch, otherwise you end up with a sample smaller than max_seq_length.
So you can remove this statement but you you may need to apply padding to the last sample in this case to make it have a length of max_seq_length