Transformer =========== Implement a basic transformer architecture based on the original paper by `Vaswani et al. (2017) `_. The implementation of the positional encodings adapted from corresponding `PyTorch tutorial `_. Transformer Module Documentation ================================ .. automodule:: nlp_uncertainty_zoo.models.transformer :members: :show-inheritance: :undoc-members: