Pytorch for Beginners #43 | Transformer Model: Implement EncoderDecoder

Published: 24 April 2022
on channel: Makeesy AI
1,410
25

Transformer Model: Implement EncoderDecoder

In this tutorial, we’ll complete the implementation of TransformerEncoderDecoder model. First, we’ll discuss the embeddings layers and their implementation. Next, we’ll implement TransformerEncoderDecoder class with the Generator. We’ll also try to understand why do we need to have encode, decode, and generate methods rather than just one forward method. At the end we’ll test the implementation with dummy Source and Target inputs.

In the next tutorial, we’ll train our implementation of TransformerEncoderDecoder model for Neural Machine Translation and see how well it performs. Stay tuned!!

The code used in this tutorial is available here-
https://github.com/makeesyai/makeesy-...

#pytorch #tutorial #transformer #encoder #decoder #seq2seq


On this page of the site you can watch the video online Pytorch for Beginners #43 | Transformer Model: Implement EncoderDecoder with a duration of hours minute second in good quality, which was uploaded by the user Makeesy AI 24 April 2022, share the link with friends and acquaintances, this video has already been watched 1,410 times on youtube and it was liked by 25 viewers. Enjoy your viewing!