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
Commit History
-
replace mnn with onnxruntime
lihongjie26bfbe8 -
add gradio gui code
lihongjie41b3743
-
放宽 torch 和 transformers版本限制
Verified signaturebd3a258
-
update
lihongjie4ae14db -
add
lihongjie677b20d
-
update
lihongjiea9c365b -
update
lihongjief66b0a3