Instructions to use Aratako/MioTTS-2.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aratako/MioTTS-2.6B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Aratako/MioTTS-2.6B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Aratako/MioTTS-2.6B") model = AutoModelForCausalLM.from_pretrained("Aratako/MioTTS-2.6B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Aratako/MioTTS-2.6B: direct link, hf CLI and curl.
- Browser
- Download file 163 Bytes
-
https://huggingface.co/Aratako/MioTTS-2.6B/resolve/main/generation_config.json
- Command line
-
hf download hf://Aratako/MioTTS-2.6B/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Aratako/MioTTS-2.6B/resolve/main/generation_config.json
163 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 7 | |
| ], | |
| "pad_token_id": 0, | |
| "transformers_version": "4.57.6" | |
| } | |