How Sequence-to-Sequence Works