# fine-tuningBERT2BERT

**URL:** <https://discuss.huggingface.co/t/fine-tuningbert2bert/40548>\
**Category:** 🤗Transformers\
**Created:** [May 21, 2023, 6:23pm UTC](https://discuss.huggingface.co/t/fine-tuningbert2bert/40548 "2023-05-21T18:23:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inoormoq](https://avatars.discourse-cdn.com/v4/letter/i/ba8739/32.png) [@inoormoq](https://discuss.huggingface.co/u/inoormoq)\
**Post date:** [May 21, 2023, 6:23pm UTC](https://discuss.huggingface.co/t/fine-tuningbert2bert/40548/1 "2023-05-21T18:23:30Z")

</div>

‘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](https://huggingface.co/blog/warm-starting-encoder-decoder)  
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.
