Vaswani's Transformer (Encoder-Decoder) decoding methods
Hi,

I recently studied this blog https://huggingface.co/blog/how-to-generate for using different decoding methods with PreTrained Models.

I would like to ask if it is possible to use those methods with the simple Encoder-Decoder Transformer model (as mentioned in Vaswani's paper)  (as it is available in pytorch library "torch.nn") or I have to implement those decoding methods by my own.

Thank you in advance.
Hello @manzar96 
The `.generate` method can be used with any HF model with a LM head on top.<|||||>Ok thank you.
So it can be used only with those models https://pytorch.org/hub/huggingface_pytorch-transformers/ (having a LM head on top) <|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
