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 gradio.png from AXERA-TECH/CosyVoice2: direct link, hf CLI and curl.
- Browser
- Download file 285 kB
-
https://huggingface.co/AXERA-TECH/CosyVoice2/resolve/main/gradio.png
- Command line
-
hf download hf://AXERA-TECH/CosyVoice2/gradio.png
-
curl -L -o gradio.png https://huggingface.co/AXERA-TECH/CosyVoice2/resolve/main/gradio.png
285 kB

- Xet hash:
- 8b05ee2c70224cf70134613d73715c663cb0baacfcc11839901de66303e9381d
- Size of remote file:
- 285 kB
- SHA256:
- c0256628643739f264e9fdae352de70f65ed739cbc00c9ec8d0c22c7a3680809
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.