alt.freeweights.speech / CosyVoice2-0.5B
From: FunAudioLLM <huggingface.co/FunAudioLLM>Newsgroups: alt.freeweights.speechSubject:

CosyVoice2-0.5B

Date: 2026-11-15Commit: eec1ae6Signed: 2DC28CC7B26A283B ✓

Text to speech model. Onnx and safetensors weights, 4.86 GB in all. Published by FunAudioLLM under Apache-2.0.

speech4.86GBCosyVoice2-0.5Bonnx safetensorspermissive
FactsParamsnot statedSize4.86 GBFormatsonnx, safetensorsTasktext to speechLicenseApache-2.0From sourcepermissive
$ fw get FunAudioLLM/CosyVoice2-0.5B
# manifest sha256 1be073115e90… · 4.86 GB · 19 files
$ fw verify ./CosyVoice2-0.5B FunAudioLLM/CosyVoice2-0.5B
From sourceHosted (signed)FunAudioLLM/CosyVoice2-0.5BLast check: 2026-11-15 02:40 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
4.86 GB
Weights
988 MB (safetensors)
Parameters
not stated
Formats
onnx, safetensors
Task
text to speech
License
Apache-2.0 (permissive)
Files
19, each with a sha256
Publisher
FunAudioLLM
Added
2026-11-15
Section
alt.freeweights.speech
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:40 UTCpassed

Model card

From the publisher at commit eec1ae6. Shown as plain text with links; images open at the publisher.

Image: SVG Banners

👉🏻 CosyVoice 👈🏻#

Fun-CosyVoice 3.0: Demos; Paper; Modelscope; Huggingface; CV3-Eval

CosyVoice 2.0: Demos; Paper; Modelscope; HuggingFace

CosyVoice 1.0: Demos; Paper; Modelscope; HuggingFace

Highlight🔥#

Fun-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 (Guangdong, Minnan, Sichuan, Dongbei, Shan3xi, Shan1xi, Shanghai, Tianjin, Shandong, Ningxia, Gansu, etc.) 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#

  • [x] 2025/12
    • [x] release Fun-CosyVoice3-0.5B-2512 base model, rl model and its training/inference script
    • [x] release Fun-CosyVoice3-0.5B modelscope gradio space
  • [x] 2025/08
    • [x] Thanks to the contribution from NVIDIA Yuekai Zhang, add triton trtllm runtime support and cosyvoice2 grpo training support
  • [x] 2025/07
    • [x] release Fun-CosyVoice 3.0 eval set
  • [x] 2025/05
    • [x] add CosyVoice2-0.5B vllm support
  • [x] 2024/12
    • [x] 25hz CosyVoice2-0.5B released
  • [x] 2024/09
    • [x] 25hz CosyVoice-300M base model
    • [x] 25hz CosyVoice-300M voice conversion function
  • [x] 2024/08
    • [x] Repetition Aware Sampling(RAS) inference for llm stability
    • [x] Streaming inference mode support, including kv cache and sdpa for rtf optimization
  • [x] 2024/07
    • [x] Flow matching training support
    • [x] WeTextProcessing support when ttsfrd is not available
    • [x] Fastapi server and client

Evaluation#

| Model | Open-Source | Model Size | test-zh CER (%) ↓ | test-zh Speaker Similarity (%) ↑ | test-en WER (%) ↓ | test-en Speaker Similarity (%) ↑ | test-hard CER (%) ↓ | test-hard Speaker Similarity (%) ↑ |

| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |

| Human | - | - | 1.26 | 75.5 | 2.14 | 73.4 | - | - |

| Seed-TTS | ❌ | - | 1.12 | 79.6 | 2.25 | 76.2 | 7.59 | 77.6 |

| MiniMax-Speech | ❌ | - | 0.83 | 78.3 | 1.65 | 69.2 | - | - |

| F5-TTS | ✅ | 0.3B | 1.52 | 74.1 | 2.00 | 64.7 | 8.67 | 71.3 |

| Spark TTS | ✅ | 0.5B | 1.2 | 66.0 | 1.98 | 57.3 | - | - |

| CosyVoice2 | ✅ | 0.5B | 1.45 | 75.7 | 2.57 | 65.9 | 6.83 | 72.4 |

| FireRedTTS2 | ✅ | 1.5B | 1.14 | 73.2 | 1.95 | 66.5 | - | - |

| Index-TTS2 | ✅ | 1.5B | 1.03 | 76.5 | 2.23 | 70.6 | 7.12 | 75.5 |

| VibeVoice-1.5B | ✅ | 1.5B | 1.16 | 74.4 | 3.04 | 68.9 | - | - |

| VibeVoice-Realtime | ✅ | 0.5B | - | - | 2.05 | 63.3 | - | - |

| HiggsAudio-v2 | ✅ | 3B | 1.50 | 74.0 | 2.44 | 67.7 | - | - |

| VoxCPM | ✅ | 0.5B | 0.93 | 77.2 | 1.85 | 72.9 | 8.87 | 73.0 |

| GLM-TTS | ✅ | 1.5B | 1.03 | 76.1 | - | - | - | - |

| GLM-TTS RL | ✅ | 1.5B | 0.89 | 76.4 | - | - | - | - |

| Fun-CosyVoice3-0.5B-2512 | ✅ | 0.5B | 1.21 | 78.0 | 2.24 | 71.8 | 6.71 | 75.8 |

| Fun-CosyVoice3-0.5B-2512_RL | ✅ | 0.5B | 0.81 | 77.4 | 1.68 | 69.5 | 5.44 | 75.0 |

Install#

Clone and install#
  • Clone the repo sh git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git # If you failed to clone the submodule due to network failures, please run the following command until success cd CosyVoice git submodule update --init --recursive
  • Install Conda: please see https://docs.conda.io/en/latest/miniconda.html
  • Create Conda env: sh conda create -n cosyvoice -y python=3.10 conda activate cosyvoice pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com # If you encounter sox compatibility issues # ubuntu sudo apt-get install sox libsox-dev # centos sudo yum install sox sox-devel
Model download#
from huggingface_hub import snapshot_download
snapshot_download('FunAudioLLM/CosyVoice2-0.5B', local_dir='pretrained_models/CosyVoice2-0.5B')
snapshot_download('FunAudioLLM/CosyVoice-ttsfrd', local_dir='pretrained_models/CosyVoice-ttsfrd')

Optionally, you can unzip ttsfrd resource and install ttsfrd package for better text normalization performance.

Notice that this step is not necessary. If you do not install ttsfrd package, we will use wetext by default.

cd pretrained_models/CosyVoice-ttsfrd/
unzip resource.zip -d .
pip install ttsfrd_dependency-0.1-py3-none-any.whl
pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl
Basic Usage#
import sys
sys.path.append('third_party/Matcha-TTS')
from cosyvoice.cli.cosyvoice import AutoModel
import torchaudio

""" CosyVoice2 Usage, check https://funaudiollm.github.io/cosyvoice2/ for more details
"""
cosyvoice = AutoModel(model_dir='pretrained_models/CosyVoice2-0.5B')

# NOTE if you want to reproduce the results on https://funaudiollm.github.io/cosyvoice2, please add text_frontend=False during inference
# en zero_shot usage
for i, j in enumerate(cosyvoice.inference_zero_shot('CosyVoice is undergoing a comprehensive upgrade, providing more accurate, stable, faster, and better voice generation capabilities.', '希望你以后能够做的比我还好呦。', './asset/zero_shot_prompt.wav')):
    torchaudio.save('zero_shot_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)
# zh zero_shot usage
for i, j in enumerate(cosyvoice.inference_zero_shot('收到好友从远方寄来的生日礼物,那份意外的惊喜与深深的祝福让我心中充满了甜蜜的快乐,笑容如花儿般绽放。', '希望你以后能够做的比我还好呦。', './asset/zero_shot_prompt.wav')):
    torchaudio.save('zero_shot_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)

# save zero_shot spk for future usage
assert cosyvoice.add_zero_shot_spk('希望你以后能够做的比我还好呦。', './asset/zero_shot_prompt.wav', 'my_zero_shot_spk') is True
for i, j in enumerate(cosyvoice.inference_zero_shot('收到好友从远方寄来的生日礼物,那份意外的惊喜与深深的祝福让我心中充满了甜蜜的快乐,笑容如花儿般绽放。', '', '', zero_shot_spk_id='my_zero_shot_spk')):
    torchaudio.save('zero_shot_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)
cosyvoice.save_spkinfo()

# fine grained control, for supported control, check cosyvoice/tokenizer/tokenizer.py#L248
for i, j in enumerate(cosyvoice.inference_cross_lingual('在他讲述那个荒诞故事的过程中,他突然[laughter]停下来,因为他自己也被逗笑了[laughter]。', './asset/zero_shot_prompt.wav')):
    torchaudio.save('fine_grained_control_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)

# instruct usage
for i, j in enumerate(cosyvoice.inference_instruct2('收到好友从远方寄来的生日礼物,那份意外的惊喜与深深的祝福让我心中充满了甜蜜的快乐,笑容如花儿般绽放。', '用四川话说这句话<|endofprompt|>', './asset/zero_shot_prompt.wav')):
    torchaudio.save('instruct_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)

# bistream usage, you can use generator as input, this is useful when using text llm model as input
# NOTE you should still have some basic sentence split logic because llm can not handle arbitrary sentence length
def text_generator():
    yield '收到好友从远方寄来的生日礼物,'
    yield '那份意外的惊喜与深深的祝福'
    yield '让我心中充满了甜蜜的快乐,'
    yield '笑容如花儿般绽放。'
for i, j in enumerate(cosyvoice.inference_zero_shot(text_generator(), '希望你以后能够做的比我还好呦。', './asset/zero_shot_prompt.wav', stream=False)):
    torchaudio.save('zero_shot_bistream_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)

Discussion & Communication#

You can directly discuss on Github Issues.

You can also scan the QR code to join our official Dingding chat group.

Image: image

Acknowledge#

  1. We borrowed a lot of code from FunASR.
  2. We borrowed a lot of code from FunCodec.
  3. We borrowed a lot of code from Matcha-TTS.
  4. We borrowed a lot of code from AcademiCodec.
  5. We borrowed a lot of code from WeNet.

Citations#

@article{du2024cosyvoice,
  title={Cosyvoice: A scalable multilingual zero-shot text-to-speech synthesizer based on supervised semantic tokens},
  author={Du, Zhihao and Chen, Qian and Zhang, Shiliang and Hu, Kai and Lu, Heng and Yang, Yexin and Hu, Hangrui and Zheng, Siqi and Gu, Yue and Ma, Ziyang and others},
  journal={arXiv preprint arXiv:2407.05407},
  year={2024}
}

@article{du2024cosyvoice,
  title={Cosyvoice 2: Scalable streaming speech synthesis with large language models},
  author={Du, Zhihao and Wang, Yuxuan and Chen, Qian and Shi, Xian and Lv, Xiang and Zhao, Tianyu and Gao, Zhifu and Yang, Yexin and Gao, Changfeng and Wang, Hui and others},
  journal={arXiv preprint arXiv:2412.10117},
  year={2024}
}

@article{du2025cosyvoice,
  title={CosyVoice 3: Towards In-the-wild Speech Generation via Scaling-up and Post-training},
  author={Du, Zhihao and Gao, Changfeng and Wang, Yuxuan and Yu, Fan and Zhao, Tianyu and Wang, Hao and Lv, Xiang and Wang, Hui and Shi, Xian and An, Keyu and others},
  journal={arXiv preprint arXiv:2505.17589},
  year={2025}
}

@inproceedings{lyu2025build,
  title={Build LLM-Based Zero-Shot Streaming TTS System with Cosyvoice},
  author={Lyu, Xiang and Wang, Yuxuan and Zhao, Tianyu and Wang, Hao and Liu, Huadai and Du, Zhihao},
  booktitle={ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={1--2},
  year={2025},
  organization={IEEE}
}

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.

Files

19 files · 4.86 GBWeights 988 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 19 files with their sha256
FileSizesha256
.gitattributes1.91 KB73138813a47c81e47a6ab599a0d179d0c4362ff3474941f7aad5c7a7b0d14aa7
CosyVoice-BlankEN/config.json659 B168aa1bd401abc3bc262ba15ba4e499627a8b4e006e9d050b47c22de20660185
CosyVoice-BlankEN/generation_config.json242 Be558847a8b4402616f1273797b015104dc266fe4b520056fca88823ba8f8ebe6
CosyVoice-BlankEN/merges.txt1.40 MBac8ff86a72bee70828fbc1119bc4398c6f3a9a6e490d7b0dbe917be025478bd0
CosyVoice-BlankEN/model.safetensors988 MB130282af0dfa9fe5840737cc49a0d339d06075f83c5a315c3372c9a0740d0b96
CosyVoice-BlankEN/tokenizer_config.json1.29 KB482bd979881423375ca5414e4e0d94cd7c5349dbb17fffd46b4d36d71e62a1bc
CosyVoice-BlankEN/vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
README.md12.1 KB7b00725016d3fe143fc13cef1df27615df6ba9cd98c6716c5b98bbc54aefd525
asset/dingding.png123 KB7f04815e2e676d31b089af6fa270135f3214f2193d5e0ad98b491d007d48f1c6
campplus.onnx28.3 MBa6ac6a63997761ae2997373e2ee1c47040854b4b759ea41ec48e4e42df0f4d73
config.json2 B44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
configuration.json47 Bc502b6328c67638b401df8dd05de89e9e8d1cff9cd0ada10dfbdbe13556c20de
cosyvoice2.yaml7.33 KB0af2c0d010c477187c39f3e8fd5f1ae2e4e6f90ad03ba37c10ed6c6a87b05959
flow.decoder.estimator.fp32.onnx286 MBcd54e4281701e6630730da64502d77b7e8b6e5c057cca65128bffb50f85cbf98
flow.pt451 MBff4c2f867674411e0a08cee702996df13fa67c1cd864c06108da88d16d088541
hift.pt83.4 MB3386cc880324d4e98e05987b99107f49e40ed925b8ecc87c1f4939432d429879
llm.pt2.02 GBb144ef55b51ce8cfb79a73c90dbba0bdaba4e451c0ebcfab20f769264f84a608
speech_tokenizer_v2.batch.onnx496 MB5b45a98572ed21e3a3ebf50201f3020567f7db40e9a57509b790b2982f5c07b7
speech_tokenizer_v2.onnx496 MBd43342aa12163a80bf07bffb94c9de2e120a8df2f9917cd2f642e7f4219c6f71
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
eec1ae6c79 pinned now2026-11-15 02:40 UTC19 files · 4.86 GB

Use it

$ fw get FunAudioLLM/CosyVoice2-0.5B
# manifest sha256 1be073115e90… · 4.86 GB · 19 files
$ fw verify ./CosyVoice2-0.5B FunAudioLLM/CosyVoice2-0.5B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/FunAudioLLM/CosyVoice2-0.5B.json --dir ./CosyVoice2-0.5B $ python3 fw.py verify ./CosyVoice2-0.5B ./FunAudioLLM__CosyVoice2-0.5B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download FunAudioLLM/CosyVoice2-0.5B --revision eec1ae6c79877dbd9379285cf8789c9e0879293d --local-dir ./CosyVoice2-0.5B

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
7b00725016d3fe143fc13cef1df27615df6ba9cd98c6716c5b98bbc54aefd525
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: FunAudioLLM <huggingface.co/FunAudioLLM>Newsgroups: alt.freeweights.speechSubject: CosyVoice2-0.5BDate: 2026-11-15Commit: eec1ae6Signed: 2DC28CC7B26A283B ✓
Upstream
FunAudioLLM/CosyVoice2-0.5B
Pinned commit
eec1ae6c79877dbd9379285cf8789c9e0879293d
Manifest
CosyVoice2-0.5B.json · .minisig
Manifest sha256
1be073115e90ba8b8ad2d4d98fb81b689f0d71da8d32a3d860bfb4672be23932
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:40 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/FunAudioLLM/CosyVoice2-0.5B.json $ curl -O https://freeweights.allternit.com/manifests/FunAudioLLM/CosyVoice2-0.5B.json.minisig $ minisign -Vm CosyVoice2-0.5B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download FunAudioLLM/CosyVoice2-0.5B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. CosyVoice2-0.5B.json. Provenance. Takedown history: none.
From: MIT <huggingface.co/MIT>Subject: ast-finetuned-audioset-10-10-0.4593
From: onnx-community <huggingface.co/onnx-community>Subject: ast-finetuned-audioset-10-10-0.4593-ONNX
From: Edge0 <huggingface.co/Edge0>Subject: Audio8-TTS-Preview-0.6b
From: Edge0 <huggingface.co/Edge0>Subject: Audio8-TTS-Realistic-Air
From: facebook <huggingface.co/facebook>Subject: audiobox-aesthetics
From: mlx-community <huggingface.co/mlx-community>Subject: chatterbox-4bit