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
| { | |
| " ": 19, | |
| "'": 1, | |
| "-": 14, | |
| "0": 23, | |
| "1": 15, | |
| "2": 28, | |
| "3": 11, | |
| "4": 27, | |
| "5": 35, | |
| "6": 36, | |
| "_": 30, | |
| "a": 26, | |
| "b": 24, | |
| "c": 12, | |
| "d": 5, | |
| "e": 7, | |
| "f": 20, | |
| "g": 37, | |
| "h": 6, | |
| "i": 18, | |
| "j": 16, | |
| "k": 0, | |
| "l": 21, | |
| "m": 17, | |
| "n": 29, | |
| "o": 22, | |
| "p": 13, | |
| "q": 34, | |
| "r": 25, | |
| "s": 8, | |
| "t": 33, | |
| "u": 4, | |
| "v": 32, | |
| "w": 9, | |
| "x": 31, | |
| "y": 3, | |
| "z": 2, | |
| "–": 10 | |
| } | |