diff --git a/.gitattributes b/.gitattributes index c0f9386..e04dca5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -52,3 +52,4 @@ hift.pt filter=lfs diff=lfs merge=lfs -text flow.decoder.estimator.fp32.onnx filter=lfs diff=lfs merge=lfs -text CosyVoice-BlankEN/model.safetensors filter=lfs diff=lfs merge=lfs -text campplus.onnx filter=lfs diff=lfs merge=lfs -text +llm.rl.pt filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 1696d4a..05aec42 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,3 @@ ---- -frameworks: -- "" -tasks: [] ---- [![SVG Banners](https://svg-banners.vercel.app/api?type=origin&text1=CosyVoice🤠&text2=Text-to-Speech%20💖%20Large%20Language%20Model&width=800&height=210)](https://github.com/Akshay090/svg-banners) ## 👉🏻 CosyVoice 👈🏻 @@ -15,22 +10,15 @@ tasks: [] ## Highlight🔥 -**CosyVoice 2.0** has been released! Compared to version 1.0, the new version offers more accurate, more stable, faster, and better speech generation capabilities. -### Multilingual -- **Supported Language**: Chinese, English, Japanese, Korean, Chinese dialects (Cantonese, Sichuanese, Shanghainese, Tianjinese, Wuhanese, etc.) -- **Crosslingual & Mixlingual**:Support zero-shot voice cloning for cross-lingual and code-switching scenarios. -### Ultra-Low Latency -- **Bidirectional Streaming Support**: CosyVoice 2.0 integrates offline and streaming modeling technologies. -- **Rapid First Packet Synthesis**: Achieves latency as low as 150ms while maintaining high-quality audio output. -### High Accuracy -- **Improved Pronunciation**: Reduces pronunciation errors by 30% to 50% compared to CosyVoice 1.0. -- **Benchmark Achievements**: Attains the lowest character error rate on the hard test set of the Seed-TTS evaluation set. -### Strong Stability -- **Consistency in Timbre**: Ensures reliable voice consistency for zero-shot and cross-language speech synthesis. -- **Cross-language Synthesis**: Marked improvements compared to version 1.0. -### Natural Experience -- **Enhanced Prosody and Sound Quality**: Improved alignment of synthesized audio, raising MOS evaluation scores from 5.4 to 5.53. -- **Emotional and Dialectal Flexibility**: Now supports more granular emotional controls and accent adjustments. +**CosyVoice 3.0** is an advanced text-to-speech (TTS) system based on large language models (LLM), surpassing its predecessor (CosyVoice 2.0) in content consistency, speaker similarity, and prosody naturalness. It is designed for zero-shot multilingual speech synthesis in the wild. +### Key Features +- **Language Coverage**: Covers 9 common languages (Chinese, English, Japanese, Korean, German, Spanish, French, Italian, Russian), 18+ Chinese dialects/accents and meanwhile supports both multi-lingual/cross-lingual zero-shot voice cloning. +- **Content Consistency & Naturalness**: Achieves state-of-the-art performance in content consistency, speaker similarity, and prosody naturalness. +- **Pronunciation Inpainting**: Supports pronunciation inpainting of Chinese Pinyin and English CMU phonemes, providing more controllability and thus suitable for production use. +- **Text Normalization**: Supports reading of numbers, special symbols and various text formats without a traditional frontend module. +- **Bi-Streaming**: Support both text-in streaming and audio-out streaming, and achieves latency as low as 150ms while maintaining high-quality audio output. +- **Instruct Support**: Supports various instructions such as languages, dialects, emotions, speed, volume, etc. + ## Roadmap @@ -71,6 +59,25 @@ tasks: [] - [x] WeTextProcessing support when ttsfrd is not available - [x] Fastapi server and client +## Evaluation +| Model | CER (%) ↓ (test-zh) | WER (%) ↓ (test-en) | CER (%) ↓ (test-hard) | +|-----|------------------|------------------|------------------| +| Human | 1.26 | 2.14 | - | +| F5-TTS | 1.53 | 2.00 | 8.67 | +| SparkTTS | 1.20 | 1.98 | - | +| Seed-TTS | 1.12 | 2.25 | 7.59 | +| CosyVoice2 | 1.45 | 2.57 | 6.83 | +| FireRedTTS-2 | 1.14 | 1.95 | - | +| IndexTTS2 | 1.01 | 1.52 | 7.12 | +| VibeVoice | 1.16 | 3.04 | - | +| HiggsAudio | 1.79 | 2.44 | - | +| MiniMax-Speech | 0.83 | 1.65 | - | +| VoxPCM | 0.93 | 1.85 | 8.87 | +| GLM-TTS | 1.03 | - | - | +| GLM-TTS_RL | 0.89 | - | - | +| CosyVoice3 | 1.21 | 2.24 | 6.71 | +| CosyVoice3_RL | 0.81 | 1.68 | 5.44 | + ## Install @@ -240,4 +247,3 @@ You can also scan the QR code to join our official Dingding chat group. ## Disclaimer The content provided above is for academic purposes only and is intended to demonstrate technical capabilities. Some examples are sourced from the internet. If any content infringes on your rights, please contact us to request its removal. - diff --git a/llm.pt b/llm.pt index 72703b0..d9813d1 100644 --- a/llm.pt +++ b/llm.pt @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d9565e41454e860768447f4ec5c5244a06b1ccdffdc7890fa593d907c93eebcc -size 2024669130 +oid sha256:69f43bd545131c30e98947fb360ea8b4dc9916d8e83dded7757c7ea4f5a24970 +size 2024669519 diff --git a/llm.rl.pt b/llm.rl.pt new file mode 100644 index 0000000..bc852bf --- /dev/null +++ b/llm.rl.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74d34b01a80c7154670ae75ac372d1b1712c78bceae9f467eb9f1f6f61ec764f +size 2024682701