Instructions to use Bingsu/torchaudio_tacotron2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Bingsu/torchaudio_tacotron2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForPreTraining model = AutoModelForPreTraining.from_pretrained("Bingsu/torchaudio_tacotron2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Bingsu/torchaudio_tacotron2: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/Bingsu/torchaudio_tacotron2/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Bingsu/torchaudio_tacotron2/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Bingsu/torchaudio_tacotron2/resolve/main/preprocessor_config.json
497 Bytes
| { | |
| "auto_map": { | |
| "AutoFeatureExtractor": "processing_tacotron2.Tacotron2FeatureExtractor", | |
| "AutoProcessor": "processing_tacotron2.Tacotron2Processor" | |
| }, | |
| "feature_extractor_type": "Tacotron2FeatureExtractor", | |
| "feature_size": 80, | |
| "hop_length": 256, | |
| "mel_fmax": 8000.0, | |
| "mel_fmin": 0.0, | |
| "n_fft": 1024, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "processor_class": "Tacotron2Processor", | |
| "return_attention_mask": true, | |
| "sampling_rate": 22050, | |
| "win_length": 1024 | |
| } |