Views
No views yet
facebook/wav2vec2-large-960h-lv60-self hidden layers, with k=1000.pip install speechbrain transformers1import torch
2from speechbrain.inference.vocoders import UnitHIFIGAN
3
4hifi_gan_unit = UnitHIFIGAN.from_hparams(source="speechbrain/hifigan-wav2vec-l1-3-7-12-18-23-k1000-LibriTTS", savedir="pretrained_models/vocoder")
5codes = torch.randint(0, 99, (100, 1))
6waveform = hifi_gan_unit.decode_unit(codes)
7run_opts={"device":"cuda"} when calling the from_hparams method.@misc{SB2021,
author = {Ravanelli, Mirco and Parcollet, Titouan and Rouhe, Aku and Plantinga, Peter and Rastorgueva, Elena and Lugosch, Loren and Dawalatabad, Nauman and Ju-Chieh, Chou and Heba, Abdel and Grondin, Francois and Aris, William and Liao, Chien-Feng and Cornell, Samuele and Yeh, Sung-Lin and Na, Hwidong and Gao, Yan and Fu, Szu-Wei and Subakan, Cem and De Mori, Renato and Bengio, Yoshua },
title = {SpeechBrain},
year = {2021},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\\\\url{https://github.com/speechbrain/speechbrain}},
}