Bingsu / torchaudio_tacotron2_kss

huggingface.co
Total runs: 109
24-hour runs: 13
7-day runs: -1
30-day runs: 4
Model's Last Updated: February 13 2025
text-to-speech

Introduction of torchaudio_tacotron2_kss

Model Details of torchaudio_tacotron2_kss

Torchaudio_Tacotron2_kss

torchaudio Tacotron2 model, trained on kss dataset.

License
  • code: MIT License
  • pytorch_model.bin weights: CC BY-NC-SA 4.0 (license of the kss dataset)
Requirements
pip install torch torchaudio transformers phonemizer

and you have to install espeak-ng

If you are using Windows, you need to set additional environment variables. see: https://github.com/bootphon/phonemizer/issues/44

Usage
import torch
from transformers import AutoModel, AutoTokenizer

repo = "Bingsu/torchaudio_tacotron2_kss"
model = AutoModel.from_pretrained(
    repo,
    trust_remote_code=True,
    revision="589d6557e8b4bb347f49de74270541063ba9c2bc"
    )
tokenizer = AutoTokenizer.from_pretrained(repo)
model.eval()
vocoder = torch.hub.load("seungwonpark/melgan:aca59909f6dd028ec808f987b154535a7ca3400c", "melgan", trust_repo=True, pretrained=False)
url = "https://huggingface.co/Bingsu/torchaudio_tacotron2_kss/resolve/main/melgan.pt"
state_dict = torch.hub.load_state_dict_from_url(url)
vocoder.load_state_dict(state_dict)

vocoder is same as original seungwonpark/melgan , but the weights are on the cuda, so I brought them separately.

text = "반갑습니다 타코트론2입니다."
inp = tokenizer(text, return_tensors="pt", return_length=True, return_attention_mask=False)
with torch.inference_mode():
    out = model(**inp)
    audio = vocoder(out[0])
import IPython.display as ipd

ipd.Audio(audio[0].numpy(), rate=22050)

Runs of Bingsu torchaudio_tacotron2_kss on huggingface.co

109
Total runs
13
24-hour runs
15
3-day runs
-1
7-day runs
4
30-day runs

More Information About torchaudio_tacotron2_kss huggingface.co Model

More torchaudio_tacotron2_kss license Visit here:

https://choosealicense.com/licenses/other

torchaudio_tacotron2_kss huggingface.co

torchaudio_tacotron2_kss huggingface.co is an AI model on huggingface.co that provides torchaudio_tacotron2_kss's model effect (), which can be used instantly with this Bingsu torchaudio_tacotron2_kss model. huggingface.co supports a free trial of the torchaudio_tacotron2_kss model, and also provides paid use of the torchaudio_tacotron2_kss. Support call torchaudio_tacotron2_kss model through api, including Node.js, Python, http.

torchaudio_tacotron2_kss huggingface.co Url

https://huggingface.co/Bingsu/torchaudio_tacotron2_kss

Bingsu torchaudio_tacotron2_kss online free

torchaudio_tacotron2_kss huggingface.co is an online trial and call api platform, which integrates torchaudio_tacotron2_kss's modeling effects, including api services, and provides a free online trial of torchaudio_tacotron2_kss, you can try torchaudio_tacotron2_kss online for free by clicking the link below.

Bingsu torchaudio_tacotron2_kss online free url in huggingface.co:

https://huggingface.co/Bingsu/torchaudio_tacotron2_kss

torchaudio_tacotron2_kss install

torchaudio_tacotron2_kss is an open source model from GitHub that offers a free installation service, and any user can find torchaudio_tacotron2_kss on GitHub to install. At the same time, huggingface.co provides the effect of torchaudio_tacotron2_kss install, users can directly use torchaudio_tacotron2_kss installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

torchaudio_tacotron2_kss install url in huggingface.co:

https://huggingface.co/Bingsu/torchaudio_tacotron2_kss

Url of torchaudio_tacotron2_kss

torchaudio_tacotron2_kss huggingface.co Url

Provider of torchaudio_tacotron2_kss huggingface.co

Bingsu
ORGANIZATIONS

Other API from Bingsu

huggingface.co

Total runs: 9.7M
Run Growth: -780.5K
Growth Rate: -8.03%
Updated:November 21 2024
huggingface.co

Total runs: 156
Run Growth: 112
Growth Rate: 71.79%
Updated:August 04 2023
huggingface.co

Total runs: 26
Run Growth: 19
Growth Rate: 73.08%
Updated:November 28 2022
huggingface.co

Total runs: 9
Run Growth: 4
Growth Rate: 44.44%
Updated:January 02 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 16 2023