Sequence Models and Transformers Sequence-to-Sequence Models and Attention ByJu Yeon Eum February 27, 2025October 11, 2026 Attention was invented to fix one specific failure: compressing a whole sentence into one vector.