Sequence to sequence network implementation in Pytorch
- simple_seq2seq.py: This code contains the implementation of paper Sequence to Sequence Learning with Neural Networks
- phrase_seq2seq.py: This code contains the implementation of paper Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
- attention_seq2seq.py: This code contains the implementation of paper Neural Machine translation by Jointly Learning to Align and Translate
- padded_seq2seq.py: This code contains the usage of padded sequences and masking
- transformer.py: This code contains the implementation of paper Attention is All You Need
- BERT_basic.py: This code contains the implementation of paper BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding