@classmethod
def build_model(cls, cfg: Wav2Vec2CtcConfig, task: FairseqTask):
    'Build a new model instance.'
    w2v_encoder = Wav2VecEncoder(cfg, task.target_dictionary)
    return cls(cfg, w2v_encoder)
Build a new model instance.
@classmethod
def build_model(cls, cfg: Wav2Vec2CtcConfig, task: FairseqTask):
    
    w2v_encoder = Wav2VecEncoder(cfg, task.target_dictionary)
    return cls(cfg, w2v_encoder)