Instructions to use sonselfa/CosyVoice2-KO-SFT-v6-epoch3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- CosyVoice
How to use sonselfa/CosyVoice2-KO-SFT-v6-epoch3 with CosyVoice:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
CosyVoice2 Korean SFT v6 - Epoch 3
ํ๊ตญ์ด ์ต์๊ณผ ๊ฐ์ ยท๋ฐํ ์คํ์ผ์ ๊ฐํํ๊ธฐ ์ํด CosyVoice2-0.5B์ LLM ๋ถ๋ถ์ supervised fine-tuningํ community checkpoint์ ๋๋ค. Claude์ Codex์ ์ฐ๊ฒฐํ๋ ๋ก์ปฌ MCP๋ cosyvoice2-ko-sft-mcp ์ ์ฅ์์์ ์ ๊ณตํฉ๋๋ค.
Highlights
- Local privacy: ๋ฌธ์ฅ๊ณผ reference audio๋ฅผ ์ธ๋ถ TTS API๋ก ์ ์กํ์ง ์๊ณ ์ฌ์ฉ์ PC์์ ํฉ์ฑ
- Korean prosody: ํ๊ตญ์ด ๊ฐ์ ยท๋ฐํ ์คํ์ผ ๋ฐ์ดํฐ ๊ธฐ๋ฐ SFT
- Accessible GPU target: 0.5B๊ธ LLM ์ฝ์ด, 12GB VRAM๊ธ RTX 3060์์ ์ฌ์ฉ ๊ฐ๋ฅ, RTX 5060 Ti 16GB์์๋ ๋ ์ฌ์ ์๋ ๊ตฌ๋
- Unlimited local retries: ๋ค์ด๋ก๋ ํ ํธ์ถ๋น ๊ณผ๊ธยทAPI rate limit ์์ด ๋ฐ๋ณต ์์ฑ
- Agent integration: Claude Code, Claude Desktop, Codex์์ ๊ณตํต MCP tool๋ก ํธ์ถ
- Offline inference: ์ต์ด ๋ค์ด๋ก๋๊ฐ ๋๋๋ฉด Hugging Face offline mode ์ง์
0.5B๋ ์ธ์ด๋ชจ๋ธ ์ฝ์ด์ ๊ท๋ชจ๋ฅผ ๋ปํฉ๋๋ค. ์ ์ฒด TTS ์คํ์๋ flow, vocoder, tokenizer, speaker encoder ๋ฐ ONNX ๊ตฌ์ฑ์์๊ฐ ์ถ๊ฐ๋ก ํ์ํฉ๋๋ค.
Verified Hardware
| GPU | Runtime | Result |
|---|---|---|
| RTX 5060 Ti 16GB | PyTorch 2.8.0, CUDA 12.8, FP16 | 7.04s WAV, RTF 1.31, peak allocated 3.38GiB, peak reserved 4.06GiB |
| RTX 3090 24GB | PyTorch 2.3.1, CUDA 12.1 | 7.76s WAV, RTF 1.07 |
| RTX 3060 12GB | 12GB-class target | Supported with memory headroom based on the measured 4.06GiB peak reserve |
Exact throughput depends on driver, PyTorch build, prompt length, and whether the model cache is warm.
Model Details
| Item | Value |
|---|---|
| Base model | FunAudioLLM/CosyVoice2-0.5B |
| Fine-tuned component | CosyVoice2 LLM |
| Selected checkpoint | SFT v6 Epoch 3 |
| Training precision | BF16 autocast |
| Saved tensor dtype | FP32 |
| Gradient accumulation | 32 |
| Learning rate | 1e-5 |
| Checkpoint metadata | epoch 3, step 344 |
| State-dict tensor entries | 295 |
| State-dict parameter entries | 641,938,468 |
| Sample rate | 24 kHz |
Epoch 3 was selected after per-epoch validation and listening comparison. The recorded validation
snapshot reports loss 3.0528906387 and accuracy 0.2699536899. These training metrics are not a
standalone measure of perceived TTS quality; broader CER, speaker-similarity, RTF, and loudness
benchmarks will be added in a later model-card revision.
Required Base Files
This repository intentionally contains only the fine-tuned LLM artifact. Download the remaining
components from the pinned FunAudioLLM/CosyVoice2-0.5B base model:
cosyvoice2.yamlCosyVoice-BlankEN/flow.pthift.ptcampplus.onnxspeech_tokenizer_v2.onnx
The companion MCP installer assembles the base snapshot and overlays llm.safetensors
automatically.
Local MCP Usage
git clone --recursive https://github.com/feedingstick321-maker/cosyvoice2-ko-sft-mcp.git
cd cosyvoice2-ko-sft-mcp
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1
.\.venv\Scripts\cosyvoice-ko-prepare.exe
Then register the executable with an MCP client:
codex mcp add cosyvoice-ko -- "$PWD\.venv\Scripts\cosyvoice-ko-mcp.exe"
claude mcp add --transport stdio --scope user cosyvoice-ko -- "$PWD\.venv\Scripts\cosyvoice-ko-mcp.exe"
Training Data
The model was fine-tuned using AI Hub's ๊ฐ์ฑ ๋ฐ ๋ฐํ ์คํ์ผ๋ณ ์์ฑํฉ์ฑ ๋ฐ์ดํฐ. The source audio, labels, parquet files, speech tokens, embeddings, and production audio are not included in this repository.
๋ณธ ๋ชจ๋ธ์ ๊ณผํ๊ธฐ์ ์ ๋ณดํต์ ๋ถ์ ์ฌ์์ผ๋ก ํ๊ตญ์ง๋ฅ์ ๋ณด์ฌํ์งํฅ์์ ์ง์์ ๋ฐ์ ๊ตฌ์ถ๋ AI Hub์ '๊ฐ์ฑ ๋ฐ ๋ฐํ ์คํ์ผ๋ณ ์์ฑํฉ์ฑ ๋ฐ์ดํฐ'๋ฅผ ํ์ฉํ์ฌ ํ์ต๋์์ต๋๋ค.
Dataset page: https://www.aihub.or.kr/aihubdata/data/view.do?dataSetSn=466
Intended Use
- Korean narration, podcast drafts, local agent workflows, accessibility prototypes
- Private/local synthesis where text and reference audio should remain on-device
- Research and evaluation of Korean prosody and voice-conditioned TTS
Limitations
- Output quality depends strongly on reference-audio quality and matching prompt text.
- Long text should be segmented into sentence or utterance units.
- This checkpoint does not include a distributable fixed-speaker
spk2info.pt; use a reference voice you have permission to use. - It may produce pronunciation, prosody, loudness, or stability errors and requires listening review for production use.
- RTX 3060/5060 Ti support refers to local inference. Throughput depends on driver, PyTorch build, text length, and selected precision.
Responsible Use
Do not impersonate people, evade consent, or distribute generated audio deceptively. Users are responsible for the rights to every registered reference voice and for clearly disclosing synthetic audio where required.
License and Attribution
Code and base model lineage are Apache-2.0. See LICENSE and NOTICE. This is a community model and
is not an official FunAudioLLM, Alibaba, NIA, Anthropic, or OpenAI release.
- Downloads last month
- -
Model tree for sonselfa/CosyVoice2-KO-SFT-v6-epoch3
Base model
FunAudioLLM/CosyVoice2-0.5B