when split dataset with this following line ,the error happens:
train, val, test = datasets.IWSLT.splits(
exts=('.de', '.en'), fields=(SRC, TGT),
filter_pred=lambda x: len(vars(x)['src']) <= MAX_LEN and
len(vars(x)['trg']) <= MAX_LEN)
I think that's mostly due to the versions' incompatible
my versions(actually there is not a requirements file in the repo,I'll be gratefull if someone add it ):
when split dataset with this following line ,the error happens:
I think that's mostly due to the versions' incompatible my versions(actually there is not a requirements file in the repo,I'll be gratefull if someone add it ):
thank u!