runtimeerror
Opened this issue · 7 comments
@sdws258 Try removing this line
If it works well, I will update a patch to fix the issue
@sdws258 Try removing this line
If it works well, I will update a patch to fix the issue
It looks good to me
@sdws258 Try removing this line
If it works well, I will update a patch to fix the issue
yeah, it works
max-source-positions
and max-target-positions
specify the max length of the samples. You should set it according to your dataset.
If you want to train with a sample whose target length is 132, max-target-positions
should be set at least \lambda * 132, i.e., 1056 or larger if lambda=8.
Moreover, dropping some examples does not satisfy the length limitation is normal behavior (your 1st screenshot). But we usually don't drop valid or test samples for fair evaluation (2nd screenshot).
We do not have an official result on IWSLT14 for now. It will be appreciated if you can train a model and tell us your result.
Hi, I also encountered the same question, and I solved it by using "python /path/to/fairseq_cli/dagprocess.py" and "python /path/to/fairseq_cli/train.py". I recommend you to use this command.