How to use Seq2SeqTrainer (Seq2SeqDataCollator) in v4.2.1

The PR has been merged, so you should be able to use a similar workflow. Note that the processing that used to be done in Seq2SeqDataCollator is now done on the dataset directly.

1 Like