Model.generate encoder decoder
Instead of using model.generate()
How can I get the output of the decoder by taking the encoder hidden states and a start token to loop over the decoder model

cuz recently model.generate doesn’t fit my custom model.
Are there any examples or tutorial 
Thank you very much
Hi,

I've answered your question on the forum: https://discuss.huggingface.co/t/generate-without-using-the-generate-method/11379

Please ask this question on our [forum](https://discuss.huggingface.co/) instead of here. We like to keep Github issues for bugs or feature requests.

Thanks!