File size: 795 Bytes
e793b84
 
92102fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fd2fe9b
92102fe
 
e793b84
cdc7c9c
 
 
8deec7c
cdc7c9c
fd44903
 
cdc7c9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---

license: mit

language:
- de
- en

tags:
- translation
- pytorch

datasets:
- multi30k

metrics:
- bleu

model-index:
- name: multi30k
  results:
  - task:
      type: translation
    dataset:
      type: multi30k
      name: multi30k-de-en
    metrics:
      - type: bleu
        value: 33.468
        name: Test BLEU
        args: n_gram=4
---


# Seq2seq + Attention

Pytorch implementation of [Neural Machine Translation by Jointly Learning to Align and Translate](https://arxiv.org/abs/1409.0473). Trained on the [Multi30k-de-en](http://www.statmt.org/wmt16/multimodal-task.html#task1) dataset with sentencepiece as the tokenizer.    

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

![attention-heatmap](attention-heatmap.png)