Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

AXERA-TECH
/
CosyVoice2

Text-to-Speech
Transformers
ONNX
English
Chinese
CosyVoice2
Speech
Model card Files Files and versions
xet
Community

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")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("AXERA-TECH/CosyVoice2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CosyVoice2 / scripts
5.13 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 7 commits
lihongjie
replace mnn with onnxruntime
26bfbe8 7 months ago
  • CosyVoice-BlankEN
    add 8 months ago
  • tokenizer
    update 8 months ago
  • audio.py
    2.31 kB
    update 8 months ago
  • cosyvoice2_tokenizer.py
    3.94 kB
    update 8 months ago
  • frontend.py
    14.5 kB
    update 8 months ago
  • gradio_demo.py
    5.9 kB
    replace mnn with onnxruntime 7 months ago
  • meldataset.py
    6.79 kB
    update 8 months ago
  • process_prompt.py
    3.4 kB
    update 8 months ago
  • requirements.txt
    1.12 kB
    add gradio gui code 7 months ago