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.

1 Like