seq2seq icon indicating copy to clipboard operation
seq2seq copied to clipboard

What is the right input-output data structure that AttentionSeq2Seq wants?

Open ghost opened this issue 7 years ago • 2 comments

Hello, I'm trying to fit the AttentionSeq2Seq but I have problems with shape. What is the correct shape for training this model? Do i have to pass an array with encoder-input , decoder-input and another array with decoder-output like :
https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html

Thank you.

ghost avatar Mar 12 '18 10:03 ghost

Any reply to this?

joewandy avatar May 29 '18 03:05 joewandy

Did you try anything? Do you have some code to share and your error message? In principle, AttentionSeq2Seq takes the same input as any other Seq2Seq model.

See some usage here: https://github.com/farizrahman4u/seq2seq/blob/master/tests/test.py

phdowling avatar May 29 '18 07:05 phdowling