fine-tuningBERT2BERT

‘Seq2SeqTrainingArguments’ object has no attribute ‘generation_config’

I’m working on a paraphrasing project using BERT2BERT model as in Leveraging Pre-trained Language Model Checkpoints for Encoder-Decoder Models
how ever, I keep getting this error and I have no idea how to solve it. I’m using seq2seq training and seq2seqtrainingarguments. I have done my research and nothing seems to work. also tried to define the generation_config in the dataclass. but the results are pretty bad.
I really wish you could help.
Thank you.