Add feature mean square value to HuBERT Pretrain model output (#2128)
Summary: In [Fairseq](https://github.com/pytorch/fairseq/blob/main/examples/hubert/config/pretrain/hubert_base_librispeech.yaml#L48), the training applies additional penalty loss besides the cross-entropy losses. This PR adds the feature's mean square value to the model output to support such penalty loss. Pull Request resolved: https://github.com/pytorch/audio/pull/2128 Reviewed By: mthrok Differential Revision: D33403972 Pulled By: nateanl fbshipit-source-id: f08fefa2c975a847c6075171b310f57c1980309d
Showing
Please register or sign in to comment