Pytorch for Beginners #41 | Transformer Model: Implement Encoder

Veröffentlicht am: 10 April 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Pytorch for Beginners #41 | Transformer Model: Implement Encoder mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Makeesy AI 10 April 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,365 Mal angesehen und es wurde von 35 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!