Closed ereday closed 3 years ago
@xutaima Following old issues on MMA code, I understand that you're sort of a contact person for issues on MMA. I think that this error is triggered by a bug in the implementation as I get this error after a couple of iterations pass. Can you have a look at it?
Hi @ereday, thanks for reaching out. Sorry that we haven't updated the document yet. As to this error please add --left-pad-source
option for training.
🐛 Bug
I was trying to train MMA-Hard model (a Simultaneous Translation model) on the WMT15 de-en data. After training started and 100-120 iterations done, I got "Only right padding is supported" error. You can find complete error message below.
To Reproduce
I've installed fairseq library today (September 17, 2021) (commit id: f6abcc2a6732) using following commands:
I obtained the data using the bash script provided in fairseq repository. Preprocessing/Binarization was also done using the commands provided in the readme:
Training command as follows:
As mentioned above, after a few iterations, I got the following error message:
Here is some information about my environment:
Additional context