Instructions to use susnato/tortoise-tts_dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use susnato/tortoise-tts_dev with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("susnato/tortoise-tts_dev", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from susnato/tortoise-tts_dev: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/susnato/tortoise-tts_dev/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://susnato/tortoise-tts_dev/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/susnato/tortoise-tts_dev/resolve/main/tokenizer_config.json
1.22 kB
| { | |
| "add_bos_token": false, | |
| "add_eos_token": false, | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "[STOP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "1": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "2": { | |
| "content": "[SPACE]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": false | |
| }, | |
| "255": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [], | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "[STOP]", | |
| "errors": "replace", | |
| "model_max_length": 402, | |
| "pad_token": "[STOP]", | |
| "tokenizer_class": "ClvpTokenizer", | |
| "tokenizer_file": "/home/susnato/.cache/huggingface/hub/models--susnato--clvp_dev/snapshots/75fdab928ec8ef23e0f66bb0bf70518989388456/tokenizer.json", | |
| "unk_token": "[UNK]" | |
| } | |