Instructions to use Aratako/MioTTS-0.1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aratako/MioTTS-0.1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Aratako/MioTTS-0.1B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Aratako/MioTTS-0.1B") model = AutoModelForCausalLM.from_pretrained("Aratako/MioTTS-0.1B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {%- for message in messages %} | |
| {{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n' }} | |
| {%- endfor %} | |
| {%- if add_generation_prompt %} | |
| {{ '<|im_start|>assistant\n' }} | |
| {%- endif %} |