Seq2Seq

Domain: NLP Fundamentals

🎯 Motivation

Sequence-to-sequence models take an input sequence and produce an output sequence of different length.

📋 Concrete Example

Translation: input 5 Chinese words, output 7 English words. The lengths differ, and that is fine.

🔗 Analogy

Like a translator who reads a 3-line Chinese poem and writes a 4-line English version.