Instructions to use AXERA-TECH/CosyVoice2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AXERA-TECH/CosyVoice2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="AXERA-TECH/CosyVoice2")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AXERA-TECH/CosyVoice2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download token2wav-axmodels/flow_encoder_28.axmodel from AXERA-TECH/CosyVoice2: direct link, hf CLI and curl.
- Browser
- Download file 41.7 MB
-
https://huggingface.co/AXERA-TECH/CosyVoice2/resolve/main/token2wav-axmodels/flow_encoder_28.axmodel
- Command line
-
hf download hf://AXERA-TECH/CosyVoice2/token2wav-axmodels/flow_encoder_28.axmodel
-
curl -L -o flow_encoder_28.axmodel https://huggingface.co/AXERA-TECH/CosyVoice2/resolve/main/token2wav-axmodels/flow_encoder_28.axmodel
41.7 MB
- Xet hash:
- 7f1396ef307e7650b5fb001bcda8e1a5eecb5b1ad9a4873e8ce850ef4b0d0d66
- Size of remote file:
- 41.7 MB
- SHA256:
- 017195d57340881889812f4fb4532a3f5094d43bd2252789f8f9997a9f096de6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.