I am using the Seq2SeqTrainer and pass an datasets.arrow_dataset.Dataset as train_dataset when initiating the object. Is the dataset by default shuffled per epoch? If not, how to make it shuffled?
An example is from the official example: transformers/run_seq2seq.py at master · huggingface/transformers · GitHub 36
Thanks!