The Annotated Transformer

transformerattentionnlppytorchdeep-learningannotated

Abstraction: Line-by-line annotated implementation of Attention Is All You Need

Key points:

Connections: Pytorch · Transformers · Attention Mechanism · Positional Encoding

Source: https://nlp.seas.harvard.edu/2018/04/03/attention.html