    def __len__(self):
        """
        The length of the noising dataset is the length of src.
        """
        return len(self.src_dataset)
The length of the noising dataset is the length of src.
fairseq/data/noising.py