The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
version: string
truncation: null
padding: null
added_tokens: list<item: struct<id: int64, content: string, single_word: bool, lstrip: bool, rstrip: bool, normali (... 26 chars omitted)
child 0, item: struct<id: int64, content: string, single_word: bool, lstrip: bool, rstrip: bool, normalized: bool, (... 14 chars omitted)
child 0, id: int64
child 1, content: string
child 2, single_word: bool
child 3, lstrip: bool
child 4, rstrip: bool
child 5, normalized: bool
child 6, special: bool
normalizer: struct<type: string, normalizers: list<item: struct<type: string, prepend: string, pattern: struct<S (... 34 chars omitted)
child 0, type: string
child 1, normalizers: list<item: struct<type: string, prepend: string, pattern: struct<String: string>, content: string>>
child 0, item: struct<type: string, prepend: string, pattern: struct<String: string>, content: string>
child 0, type: string
child 1, prepend: string
child 2, pattern: struct<String: string>
child 0, String: string
child 3, content: string
pre_tokenizer: null
post_processor: struct<type: string, single: list<item: struct<SpecialToken: struct<id: string, type_id: int64>, Seq (... 267 chars omitted)
child 0, type: string
child 1, single: list<item: struct<SpecialToken: struct<id: string, type_id: int64>, Sequence: struct<id: string, typ (... 14 chars omitted)
child 0, item: struct<SpecialToken: struct<id: str
...
0, <unused9>: int64
child 73431, <unused10>: int64
child 73432, <unused11>: int64
child 73433, <unused12>: int64
child 73434, <unused13>: int64
child 73435, <unused14>: int64
child 73436, <unused15>: int64
child 73437, <unused16>: int64
child 73438, <unused17>: int64
child 73439, <unused18>: int64
child 9, merges: list<item: string>
child 0, item: string
additional_special_tokens: list<item: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>>
child 0, item: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
unk_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
bos_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
eos_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
to
{'additional_special_tokens': List({'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}), 'bos_token': {'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}, 'eos_token': {'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}, 'unk_token': {'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
version: string
truncation: null
padding: null
added_tokens: list<item: struct<id: int64, content: string, single_word: bool, lstrip: bool, rstrip: bool, normali (... 26 chars omitted)
child 0, item: struct<id: int64, content: string, single_word: bool, lstrip: bool, rstrip: bool, normalized: bool, (... 14 chars omitted)
child 0, id: int64
child 1, content: string
child 2, single_word: bool
child 3, lstrip: bool
child 4, rstrip: bool
child 5, normalized: bool
child 6, special: bool
normalizer: struct<type: string, normalizers: list<item: struct<type: string, prepend: string, pattern: struct<S (... 34 chars omitted)
child 0, type: string
child 1, normalizers: list<item: struct<type: string, prepend: string, pattern: struct<String: string>, content: string>>
child 0, item: struct<type: string, prepend: string, pattern: struct<String: string>, content: string>
child 0, type: string
child 1, prepend: string
child 2, pattern: struct<String: string>
child 0, String: string
child 3, content: string
pre_tokenizer: null
post_processor: struct<type: string, single: list<item: struct<SpecialToken: struct<id: string, type_id: int64>, Seq (... 267 chars omitted)
child 0, type: string
child 1, single: list<item: struct<SpecialToken: struct<id: string, type_id: int64>, Sequence: struct<id: string, typ (... 14 chars omitted)
child 0, item: struct<SpecialToken: struct<id: str
...
0, <unused9>: int64
child 73431, <unused10>: int64
child 73432, <unused11>: int64
child 73433, <unused12>: int64
child 73434, <unused13>: int64
child 73435, <unused14>: int64
child 73436, <unused15>: int64
child 73437, <unused16>: int64
child 73438, <unused17>: int64
child 73439, <unused18>: int64
child 9, merges: list<item: string>
child 0, item: string
additional_special_tokens: list<item: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>>
child 0, item: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
unk_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
bos_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
eos_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
to
{'additional_special_tokens': List({'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}), 'bos_token': {'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}, 'eos_token': {'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}, 'unk_token': {'content': Value('string'), 'lstrip': Value('bool'), 'normalized': Value('bool'), 'rstrip': Value('bool'), 'single_word': Value('bool')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
VoxCPM2
VoxCPM2 is a tokenizer-free, diffusion autoregressive Text-to-Speech model β 2B parameters, 30 languages, 48kHz audio output, trained on over 2 million hours of multilingual speech data.
Highlights
- π 30-Language Multilingual β No language tag needed; input text in any supported language directly
- π¨ Voice Design β Generate a novel voice from a natural-language description alone (gender, age, tone, emotion, paceβ¦); no reference audio required
- ποΈ Controllable Cloning β Clone any voice from a short clip, with optional style guidance to steer emotion, pace, and expression while preserving timbre
- ποΈ Ultimate Cloning β Provide reference audio + its transcript for audio-continuation cloning; every vocal nuance faithfully reproduced
- π 48kHz Studio-Quality Output β Accepts 16kHz reference; outputs 48kHz via AudioVAE V2's built-in super-resolution, no external upsampler needed
- π§ Context-Aware Synthesis β Automatically infers appropriate prosody and expressiveness from text content
- β‘ Real-Time Streaming β RTF as low as ~0.3 on NVIDIA RTX 4090, and ~0.13 accelerated by Nano-VLLM
- π Fully Open-Source & Commercial-Ready β Apache-2.0 license, free for commercial use
Arabic, Burmese, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Indonesian, Italian, Japanese, Khmer, Korean, Lao, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Tagalog, Thai, Turkish, Vietnamese
Chinese Dialects: εε·θ―, η²€θ―, ε΄θ―, δΈεθ―, ζ²³εθ―, ιθ₯Ώθ―, ε±±δΈθ―, 倩ζ΄₯θ―, ι½εθ―
Quick Start
Installation
pip install voxcpm
Requirements: Python β₯ 3.10, PyTorch β₯ 2.5.0, CUDA β₯ 12.0 Β· Full Quick Start β
Text-to-Speech
from voxcpm import VoxCPM
import soundfile as sf
model = VoxCPM.from_pretrained("openbmb/VoxCPM2", load_denoiser=False)
wav = model.generate(
text="VoxCPM2 brings multilingual support, creative voice design, and controllable voice cloning.",
cfg_value=2.0,
inference_timesteps=10,
)
sf.write("output.wav", wav, model.tts_model.sample_rate)
Voice Design
Put the voice description in parentheses at the start of text, followed by the content to synthesize:
wav = model.generate(
text="(A young woman, gentle and sweet voice)Hello, welcome to VoxCPM2!",
cfg_value=2.0,
inference_timesteps=10,
)
sf.write("voice_design.wav", wav, model.tts_model.sample_rate)
Controllable Voice Cloning
# Basic cloning
wav = model.generate(
text="This is a cloned voice generated by VoxCPM2.",
reference_wav_path="speaker.wav",
)
sf.write("clone.wav", wav, model.tts_model.sample_rate)
# Cloning with style control
wav = model.generate(
text="(slightly faster, cheerful tone)This is a cloned voice with style control.",
reference_wav_path="speaker.wav",
cfg_value=2.0,
inference_timesteps=10,
)
sf.write("controllable_clone.wav", wav, model.tts_model.sample_rate)
Ultimate Cloning
Provide both the reference audio and its exact transcript for maximum fidelity. Pass the same clip to both reference_wav_path and prompt_wav_path for highest similarity:
wav = model.generate(
text="This is an ultimate cloning demonstration using VoxCPM2.",
prompt_wav_path="speaker_reference.wav",
prompt_text="The transcript of the reference audio.",
reference_wav_path="speaker_reference.wav",
)
sf.write("hifi_clone.wav", wav, model.tts_model.sample_rate)
Streaming
import numpy as np
chunks = []
for chunk in model.generate_streaming(text="Streaming is easy with VoxCPM!"):
chunks.append(chunk)
wav = np.concatenate(chunks)
sf.write("streaming.wav", wav, model.tts_model.sample_rate)
Model Details
| Property | Value |
|---|---|
| Architecture | Tokenizer-free Diffusion Autoregressive (LocEnc β TSLM β RALM β LocDiT) |
| Backbone | Based on MiniCPM-4, totally 2B parameters |
| Audio VAE | AudioVAE V2 (asymmetric encode/decode, 16kHz in β 48kHz out) |
| Training Data | 2M+ hours multilingual speech |
| LM Token Rate | 6.25 Hz |
| Max Sequence Length | 8192 tokens |
| dtype | bfloat16 |
| VRAM | ~8 GB |
| RTF (RTX 4090) | ~0.30 (standard) / ~0.13 (Nano-vLLM) |
Performance
VoxCPM2 achieves state-of-the-art or competitive results on major zero-shot and controllable TTS benchmarks.
See the GitHub repo for full benchmark tables (Seed-TTS-eval, CV3-eval, InstructTTSEval, MiniMax Multilingual Test).
Fine-tuning
VoxCPM2 supports both full SFT and LoRA fine-tuning with as little as 5β10 minutes of audio:
# LoRA fine-tuning (recommended)
python scripts/train_voxcpm_finetune.py \
--config_path conf/voxcpm_v2/voxcpm_finetune_lora.yaml
# Full fine-tuning
python scripts/train_voxcpm_finetune.py \
--config_path conf/voxcpm_v2/voxcpm_finetune_all.yaml
See the Fine-tuning Guide for full instructions.
Limitations
- Voice Design and Style Control results may vary between runs; generating 1β3 times is recommended to obtain the desired output.
- Performance varies across languages depending on training data availability.
- Occasional instability may occur with very long or highly expressive inputs.
- Strictly forbidden to use for impersonation, fraud, or disinformation. AI-generated content should be clearly labeled.
Citation
@article{voxcpm2_2026,
title = {VoxCPM2: Tokenizer-Free TTS for Multilingual Speech Generation, Creative Voice Design, and True-to-Life Cloning},
author = {VoxCPM Team},
journal = {GitHub},
year = {2026},
}
@article{voxcpm2025,
title = {VoxCPM: Tokenizer-Free TTS for Context-Aware Speech Generation and True-to-Life Voice Cloning},
author = {Zhou, Yixuan and Zeng, Guoyang and Liu, Xin and Li, Xiang and
Yu, Renjie and Wang, Ziyang and Ye, Runchuan and Sun, Weiyue and
Gui, Jiancheng and Li, Kehan and Wu, Zhiyong and Liu, Zhiyuan},
journal = {arXiv preprint arXiv:2509.24650},
year = {2025},
}
License
Released under the Apache-2.0 license, free for commercial use. For production deployments, we recommend thorough testing and safety evaluation tailored to your use case.
- Downloads last month
- 21