multi30k

作者 msarmi9 · 下载 0 · 点赞 2 · 更新 2023-10-31

translation pytorch

Seq2seq + Attention

Pytorch implementation of Neural Machine Translation by Jointly Learning to Align and Translate. Trained on the Multi30k-de-en dataset with sentencepiece as the tokenizer.

Here's the attention heatmap of a random sample from the test set:

attention-heatmap