🔤Sequence-to-Sequence Model (Seq2Seq)
Also known as Seq2Seq, Encoder-Decoder Model, Sequence to Sequence
A model with two parts. One reads the input, and the other writes a new output from it.
Think of it like
It is like a friend who hears your whole sentence. Then she says it in French.
Example
A seq2seq model reads 'Where is the station?' in English. Its decoder writes 'Wo ist der Bahnhof?' in German, one word at a time.
Why it matters
It made it possible to turn text into other text of any length. Translation and summary tools grew from it.
Definition
Common mistake
Key takeaways
- 1Encoder reads. The whole input comes first.
- 2Decoder writes. One piece at a time.
- 3Any length. Input and output can differ.