Encoder Decoder Model- LSTM

Hi,
I am new to Pytorch.I want to develop an LSTM based encoder decoder model for sequence to sequence generation.I need to use MSE rather than cross entropy loss and wants multi step prediction.Please help me with a Pytorch sample code to begin with.

Regards,
karthika

hey, i would recommend the following link:

https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html