• Zhaoheng Ni's avatar
    Add modularized SSL training recipe (#2876) · 2eaefe27
    Zhaoheng Ni authored
    Summary:
    TorchAudio currently has one training recipe for HuBET + LibriSpeech pre-training. It may not suit well when users want to use customized dataset, or use a new training objective (such as contrastive loss in Wav2Vec2). The PR addresses the issue by providing a modularized training recipe for audio self-supervised learning. Users can inject customized model module, loss function, optimizer, lr scheduler, and datamodule for training a SSL model.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2876
    
    Reviewed By: hwangjeff
    
    Differential Revision: D42617414
    
    Pulled By: nateanl
    
    fbshipit-source-id: 6413df45a9d106ed1d5ff830bf628c54368c5792
    2eaefe27
__init__.py 88 Bytes