Pytorch for Beginners #41 | Transformer Model: Implement Encoder

Publicado el: 10 abril 2022
en el canal de: Makeesy AI
2,365
35

Transformer Model: Implement Encoder

In this tutorial, we’ll implement the Transformer Encoder. We’ll first discuss the internal components of Transformer Encoder and then implement them. Also, we’ll discuss the difference between Post-Layer-Normalization and Pre-Layer-Normalization, and try to understand which one works better and why. At the end, we’ll test our implementation with dummy inputs.

The code used in this tutorial is available here-

Multiheaded Attention: https://github.com/makeesyai/makeesy-...

Encoder Module: https://github.com/makeesyai/makeesy-...

The papers mentioned in this tutorial -

Attention Is All You Need: https://arxiv.org/pdf/1706.03762.pdf

On Layer Normalization in the Transformer Architecture: https://arxiv.org/pdf/2002.04745.pdf

#pytorch #tutorial #transformer #encoder


En esta página del sitio puede ver el video en línea Pytorch for Beginners #41 | Transformer Model: Implement Encoder de Duración hora minuto segunda en buena calidad , que subió el usuario Makeesy AI 10 abril 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,365 veces y le gustó 35 a los espectadores. Disfruta viendo!