Pytorch Seq2Seq Tutorial for Machine Translation

Channel Avatar
Pytorch Seq2Seq Tutorial for Machine Translation
Pytorch Seq2Seq Tutorial for Machine Translation
In this tutorial we build a Sequence to Sequence (Seq2Seq) model from scratch and apply it to machine translation on a dataset with German to English sentences, specifically the Multi30k dataset. There was a lot of things to go through and explain so the video is a bit longer than my normal videos, but I really felt I wanted to share my thoughts, explanations and the details of the implementation!

Resources I used and read to learn about Seq2Seq:

Comment on resources:
I think bentrevett on Github is awesome and I was heavily inspired in this video by his Seq2Seq Tutorials and I really recommend checking him out, he puts out a lot of great tutorials on his Github.

️ Support the channel ️

Paid Courses I recommend for learning (affiliate links, no extra cost for you):
Machine Learning Specialization
Deep Learning Specialization
MLOps Specialization
GAN Specialization
NLP Specialization

Free Resources that are great:

My Deep Learning Setup and Recording Setup:

GitHub Repository:

One-Time Donations:

️ You Can Connect with me on:
Twitter –
LinkedIn –
Github –

0:00 – Introduction
1:27 – Imports
2:05 – Data processing using Torchtext
5:55 – Implementation of Encoder
11:02 – Implementation of Decoder
19:43 – Putting it togethor to Seq2Seq
27:57 – Setting up training of the network
41:03 – Fixing Errors
42:18 – Evaluation of the model
49:32 – Ending and Bleu score result

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: Pytorch Seq2Seq, Pytorch Machine Translation, Pytorch Translation, Pytorch Seq to Seq, Pytorch Sequence to Sequence, Pytorch Sequence to Sequence Tutorial, Sequence to Sequence Pytorch

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *