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
Auf dieser Seite können Sie das Online-Video Pytorch for Beginners #43 | Transformer Model: Implement EncoderDecoder mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Makeesy AI 24 April 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,410 Mal angesehen und es wurde von 25 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!