Instructions to use echarlaix/tiny-random-vits with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use echarlaix/tiny-random-vits with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="echarlaix/tiny-random-vits")# Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("echarlaix/tiny-random-vits") model = AutoModelForTextToWaveform.from_pretrained("echarlaix/tiny-random-vits", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from echarlaix/tiny-random-vits: direct link, hf CLI and curl.
- Browser
- Download file 623 Bytes
-
https://huggingface.co/echarlaix/tiny-random-vits/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://echarlaix/tiny-random-vits/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/echarlaix/tiny-random-vits/resolve/main/tokenizer_config.json
623 Bytes
| { | |
| "add_blank": true, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "k", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "38": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": 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>" | |
| } | |