Instructions to use hf-internal-testing/tiny-random-VitsModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-VitsModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="hf-internal-testing/tiny-random-VitsModel")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-VitsModel") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-VitsModel") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_blank": true, | |
| "clean_up_tokenization_spaces": true, | |
| "is_uroman": false, | |
| "language": "eng", | |
| "model_max_length": 4096, | |
| "normalize": true, | |
| "pad_token": "k", | |
| "phonemize": false, | |
| "tokenizer_class": "VitsTokenizer", | |
| "unk_token": "<unk>" | |
| } | |