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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 260 Bytes
b9a20ca | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"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>"
}
|