annotated_encoder_decoder icon indicating copy to clipboard operation
annotated_encoder_decoder copied to clipboard

Cannot read IWSLT dataset

Open erlebach opened this issue 4 years ago • 0 comments

Hi,

The following code does not execute: """ train_data, valid_data, test_data = datasets.IWSLT.splits( exts=('.de', '.en'), fields=(SRC, TRG), filter_pred=lambda x: len(vars(x)['src']) <= MAX_LEN and len(vars(x)['trg']) <= MAX_LEN """ What should I replace this code with? Thanks for a great code base.

erlebach avatar Oct 19 '21 15:10 erlebach