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