Instructions to use OpenSound/CapSpeech-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenSound/CapSpeech-models with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="OpenSound/CapSpeech-models")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenSound/CapSpeech-models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download nar_duration_predictor/tokenizer.json from OpenSound/CapSpeech-models: direct link, hf CLI and curl.
- Browser
- Download file 789 kB
-
https://huggingface.co/OpenSound/CapSpeech-models/resolve/main/nar_duration_predictor/tokenizer.json
- Command line
-
hf download hf://OpenSound/CapSpeech-models/nar_duration_predictor/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/OpenSound/CapSpeech-models/resolve/main/nar_duration_predictor/tokenizer.json
789 kB
File too large to display, you can check the raw version instead.