@hugomontenegro
I currently preprocessed my dataset to the form {'input_ids': **tokenized ids of input**, 'attention_mask': **attention mask of input** , 'decoder_input_ids': **tokenized ids of output**,              'decoder_attention_mask': **attention mask of input**, 'labels': **tokenized ids of output**}, and ended up with a list of dictionaries in the above format.
However, when I pass this list of dictionaries to the Trainer class as the train_dataset, and call trainer.train(), I get the following error:
ValueError: too many values to unpack (expected 2)
Can you please give me advice on how to fix this? (Sorry for bombarding you with so many questions)