Instructions to use michael-chan-000/tts-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use michael-chan-000/tts-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="michael-chan-000/tts-v2")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("michael-chan-000/tts-v2") model = AutoModelForTextToWaveform.from_pretrained("michael-chan-000/tts-v2") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin_of_text|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|end_of_text|>", | |
| "is_local": false, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_token": "<|end_of_text|>", | |
| "processor_class": "HiggsAudioV2Processor", | |
| "tokenizer_class": "TokenizersBackend", | |
| "trust_remote": true | |
| } | |