-
Notifications
You must be signed in to change notification settings - Fork 375
Open
Labels
Description
Hi,
I see that this implementation is lacking masked attention on encoder. Input_lengths should be passed to decoder (not just encoder) in order to compute this. OpenNMT already provided this in function sequence_mask.
Best,
shubhamagarwal92 and petermartigny