BatchSampler - with trainer
I am trying to use Transformers Trainer and I want to generate batches and not single items.I need that in order to generate batches of different sizes without doing padding.Is that possible to do with the implemented trainer ?