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 main_api_ax650 from AXERA-TECH/CosyVoice2: direct link, hf CLI and curl.
- Browser
- Download file 9.65 MB
-
https://huggingface.co/AXERA-TECH/CosyVoice2/resolve/main/main_api_ax650
- Command line
-
hf download hf://AXERA-TECH/CosyVoice2/main_api_ax650
-
curl -L -o main_api_ax650 https://huggingface.co/AXERA-TECH/CosyVoice2/resolve/main/main_api_ax650
9.65 MB
- Xet hash:
- f2187a18c00739ab95d4e615f9abb9dd21c787a267ee3dc16845baf084f52eba
- Size of remote file:
- 9.65 MB
- SHA256:
- 5fe8c83f7b4b3d9537f273c9928fc452319de4396938754bec747e02c4bb2c81
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.