For sentence pair use KeyPairDataset | |
for out in tqdm(pipe(KeyDataset(dataset, "file"))): | |
print(out) | |
# {"text": "NUMBER TEN FRESH NELLY IS WAITING ON YOU GOOD NIGHT HUSBAND"} | |
# {"text": .} |
For sentence pair use KeyPairDataset | |
for out in tqdm(pipe(KeyDataset(dataset, "file"))): | |
print(out) | |
# {"text": "NUMBER TEN FRESH NELLY IS WAITING ON YOU GOOD NIGHT HUSBAND"} | |
# {"text": .} |