How bentrevett/pytorch-seq2seq works
This repository is an educational collection, not a deployable translation service. Its principal workflow is a learner progressing through PyTorch German-to-English seq2seq tutorials: first an encoder–decoder baseline, then a GRU model addressing information compression, then attention-based translation. The README documents those capabilities and identifies legacy tutorials; notebook internals were not sampled, so the graph does not infer their code-level data flow.
Main entry points: 2 - Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation.ipynb GRU Encoder Decoder · 1 - Sequence to Sequence Learning with Neural Networks.ipynb LSTM Baseline · 3 - Neural Machine Translation by Jointly Learning to Align and Translate.ipynb Attention Translation
Components 10
Current Tutorials
- LSTM Baseline
1 - Sequence to Sequence Learning with Neural Networks.ipynb - GRU Encoder Decoder
2 - Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation.ipynb - Attention Translation
3 - Neural Machine Translation by Jointly Learning to Align and Translate.ipynb
Legacy Tutorials
- Legacy LSTM
legacy/1 - Sequence to Sequence Learning with Neural Networks .ipynb - Legacy GRU
legacy/2 - Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation.ipynb - Legacy Attention
legacy/3 - Neural Machine Translation by Jointly Learning to Align and Translate.ipynb - Inference and BLEU
legacy/4 - Packed Padded Sequences, Masking, Inference and BLEU.ipynb - Convolutional Seq2Seq
legacy/5 - Convolutional Sequence to Sequence Learning.ipynb - Transformer Tutorial
legacy/6 - Attention is All You Need.ipynb
Other components
- Learner
Connections 5
- Learner → LSTM Baseline: studies first
README.md - Learner → GRU Encoder Decoder: studies next
README.md - Learner → Attention Translation: studies next
README.md - LSTM Baseline → GRU Encoder Decoder: builds on
README.md - GRU Encoder Decoder → Attention Translation: extends with attention
README.md