Hi @swayson the reason is that you have set padding to True and your bs for data processing is 1000,
when padding is True then it pads to the longest sequence in the batch. So the max seq length for all batches is not same and your bs for training is 32 so might be taking examples which have different seq lengths.
You can set padding to to max_lengh to  pad to a max length specified in max_length or to the max acceptable input length for the model if no length is provided