Hello,
I’m currently using the SNLI dataset with the corresponding split method from torchtext:
datasets.nli.NLIDataset.splits(...)

I would like to filter out examples which have a specific label. My idea was to use a Field object that filters during the preprocessing step, but did not find any similar approaches online. I’m unsure wether removing a complete row is even possible and if it is, how the label-Field object can notify the text-Field object.
Is this something torchtext is capable to do, or should I filter beforehand?
Thanks in advance!