# Fine-tune MT5ConditionalGeneration for question generation

**URL:** <https://discuss.huggingface.co/t/fine-tune-mt5conditionalgeneration-for-question-generation/13354>\
**Category:** Intermediate\
**Created:** [January 4, 2022, 8:42am UTC](https://discuss.huggingface.co/t/fine-tune-mt5conditionalgeneration-for-question-generation/13354 "2022-01-04T08:42:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alirahmati](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@alirahmati](https://discuss.huggingface.co/u/alirahmati)\
**Post date:** [January 4, 2022, 8:42am UTC](https://discuss.huggingface.co/t/fine-tune-mt5conditionalgeneration-for-question-generation/13354/1 "2022-01-04T08:42:31Z")

</div>

I trained MT5ConditionalGeneration for an end2end question generation task. Now I have a problem with inference. for example, when I test the model with sample A, the output of MODEl.generate() is B. After that, when I test the model with sample B (which was the output of A), the output of the model is again B. can someone tell me why??
