Instructions to use Umerpy/speecht5-vocoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Umerpy/speecht5-vocoder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import SpeechT5HifiGan model = SpeechT5HifiGan.from_pretrained("Umerpy/speecht5-vocoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Umerpy/speecht5-vocoder: direct link, hf CLI and curl.
- Browser
- Download file 624 Bytes
-
https://huggingface.co/Umerpy/speecht5-vocoder/resolve/main/config.json
- Command line
-
hf download hf://Umerpy/speecht5-vocoder/config.json
-
curl -L -o config.json https://huggingface.co/Umerpy/speecht5-vocoder/resolve/main/config.json
624 Bytes
| { | |
| "architectures": [ | |
| "SpeechT5HifiGan" | |
| ], | |
| "dtype": "float32", | |
| "initializer_range": 0.01, | |
| "leaky_relu_slope": 0.1, | |
| "model_in_dim": 80, | |
| "model_type": "hifigan", | |
| "normalize_before": true, | |
| "resblock_dilation_sizes": [ | |
| [ | |
| 1, | |
| 3, | |
| 5 | |
| ], | |
| [ | |
| 1, | |
| 3, | |
| 5 | |
| ], | |
| [ | |
| 1, | |
| 3, | |
| 5 | |
| ] | |
| ], | |
| "resblock_kernel_sizes": [ | |
| 3, | |
| 7, | |
| 11 | |
| ], | |
| "sampling_rate": 16000, | |
| "transformers_version": "5.0.0", | |
| "upsample_initial_channel": 512, | |
| "upsample_kernel_sizes": [ | |
| 8, | |
| 8, | |
| 8, | |
| 8 | |
| ], | |
| "upsample_rates": [ | |
| 4, | |
| 4, | |
| 4, | |
| 4 | |
| ] | |
| } | |