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
File size: 497 Bytes
702a889 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"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
} |