src/transformers/models/wav2vec2/processing_wav2vec2.py/Wav2Vec2Processor/as_target_processor
class Wav2Vec2Processor:    def as_target_processor(self):
        """
        Temporarily sets the tokenizer for processing the input. Useful for encoding the labels when fine-tuning
        Wav2Vec2.
        """
        self.current_processor = self.tokenizer
        yield
        self.current_processor = self.feature_extractor