Transformer Architecture: Encoder and Decoder
摘要
The chapter provides a detailed mathematical dissection of the transformer architecture, focusing on the encoder and decoder components. Topics include multi-head attention, layer normalization, residual connections, and output processing, alongside an analysis of their interactions and hyperparameter optimization.