SpaceStar314 commited on
Commit
f522bbf
·
verified ·
1 Parent(s): eb50dce

Add files using upload-large-folder tool

Browse files
Files changed (36) hide show
  1. .gitattributes +11 -0
  2. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/.gitattributes +35 -0
  3. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/README.md +1315 -0
  4. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/config.json +167 -0
  5. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/generation_config.json +12 -0
  6. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/merges.txt +0 -0
  7. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/preprocessor_config.json +6 -0
  8. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/speech_tokenizer/config.json +94 -0
  9. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/speech_tokenizer/configuration.json +1 -0
  10. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/speech_tokenizer/preprocessor_config.json +10 -0
  11. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/tokenizer_config.json +316 -0
  12. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/vocab.json +0 -0
  13. Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-VoiceDesign/config.json +163 -163
  14. audio_encoders/xet/logs/xet_20260422T194401846+0200_27380.log +0 -0
  15. audio_encoders/xet/logs/xet_20260423T145426523+0200_40880.log +0 -0
  16. checkpoints/xl/rt_artemisLuxe_matureFLAT20.safetensors +3 -0
  17. checkpoints/xl/rt_perfectdeliberate_v90.safetensors +3 -0
  18. checkpoints/xl/rta_copaxTimeless_xplus2BNSFW1.safetensors +3 -0
  19. diffusion_models/Wan2.2/smoothMix2214BI2V_i2v_high.safetensors +3 -0
  20. diffusion_models/Wan2.2/smoothMix2214BI2V_i2v_low.safetensors +3 -0
  21. diffusion_models/Wan2.2/wb_dasiwaWAN22I2V14BLightspeed_boundbite_high_V10.safetensors +3 -0
  22. diffusion_models/Wan2.2/wb_dasiwaWAN22I2V14BLightspeed_boundbite_low_V10.safetensors +3 -0
  23. diffusion_models/cocomix/copaxTimeless_qwenUnreal_Overcooked_bf16.safetensors +3 -0
  24. diffusion_models/zi/zp_moodyPornMix_zitV11DPO.safetensors +3 -0
  25. diffusion_models/zi/zpw_nsfwProjectAnime_v10FP16.safetensors +3 -0
  26. omnivoice/OmniVoice/.gitattributes +36 -0
  27. omnivoice/OmniVoice/README.md +785 -0
  28. omnivoice/OmniVoice/audio_tokenizer/.gitattributes +35 -0
  29. omnivoice/OmniVoice/audio_tokenizer/LICENSE +43 -0
  30. omnivoice/OmniVoice/audio_tokenizer/README.md +199 -0
  31. omnivoice/OmniVoice/audio_tokenizer/config.json +129 -0
  32. omnivoice/OmniVoice/audio_tokenizer/preprocessor_config.json +9 -0
  33. omnivoice/OmniVoice/chat_template.jinja +89 -0
  34. omnivoice/OmniVoice/config.json +101 -0
  35. omnivoice/OmniVoice/tokenizer.json +3 -0
  36. omnivoice/OmniVoice/tokenizer_config.json +23 -0
.gitattributes CHANGED
@@ -38,3 +38,14 @@ clip/ltx23/ltx-2.3_text_projection_bf16.safetensors filter=lfs diff=lfs merge=lf
38
  checkpoints/xl/rs_pleasurechest_v2.safetensors filter=lfs diff=lfs merge=lfs -text
39
  unet/flux/v_reaflux_v10FP8.safetensors filter=lfs diff=lfs merge=lfs -text
40
  diffusion_models/ltx2/ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
38
  checkpoints/xl/rs_pleasurechest_v2.safetensors filter=lfs diff=lfs merge=lfs -text
39
  unet/flux/v_reaflux_v10FP8.safetensors filter=lfs diff=lfs merge=lfs -text
40
  diffusion_models/ltx2/ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors filter=lfs diff=lfs merge=lfs -text
41
+ checkpoints/xl/rta_copaxTimeless_xplus2BNSFW1.safetensors filter=lfs diff=lfs merge=lfs -text
42
+ checkpoints/xl/rt_artemisLuxe_matureFLAT20.safetensors filter=lfs diff=lfs merge=lfs -text
43
+ checkpoints/xl/rt_perfectdeliberate_v90.safetensors filter=lfs diff=lfs merge=lfs -text
44
+ omnivoice/OmniVoice/tokenizer.json filter=lfs diff=lfs merge=lfs -text
45
+ diffusion_models/Wan2.2/wb_dasiwaWAN22I2V14BLightspeed_boundbite_high_V10.safetensors filter=lfs diff=lfs merge=lfs -text
46
+ diffusion_models/zi/zp_moodyPornMix_zitV11DPO.safetensors filter=lfs diff=lfs merge=lfs -text
47
+ diffusion_models/Wan2.2/wb_dasiwaWAN22I2V14BLightspeed_boundbite_low_V10.safetensors filter=lfs diff=lfs merge=lfs -text
48
+ diffusion_models/Wan2.2/smoothMix2214BI2V_i2v_low.safetensors filter=lfs diff=lfs merge=lfs -text
49
+ diffusion_models/Wan2.2/smoothMix2214BI2V_i2v_high.safetensors filter=lfs diff=lfs merge=lfs -text
50
+ diffusion_models/zi/zpw_nsfwProjectAnime_v10FP16.safetensors filter=lfs diff=lfs merge=lfs -text
51
+ diffusion_models/cocomix/copaxTimeless_qwenUnreal_Overcooked_bf16.safetensors filter=lfs diff=lfs merge=lfs -text
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/README.md ADDED
@@ -0,0 +1,1315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # Qwen3-TTS
6
+
7
+ ## Overview
8
+ ### Introduction
9
+
10
+ <p align="center">
11
+ <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/qwen3_tts_introduction.png" width="90%"/>
12
+ <p>
13
+
14
+ Qwen3-TTS covers 10 major languages (Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, and Italian) as well as multiple dialectal voice profiles to meet global application needs. In addition, the models feature strong contextual understanding, enabling adaptive control of tone, speaking rate, and emotional expression based on instructions and text semantics, and they show markedly improved robustness to noisy input text. Key features:
15
+
16
+ * **Powerful Speech Representation**: Powered by the self-developed Qwen3-TTS-Tokenizer-12Hz, it achieves efficient acoustic compression and high-dimensional semantic modeling of speech signals. It fully preserves paralinguistic information and acoustic environmental features, enabling high-speed, high-fidelity speech reconstruction through a lightweight non-DiT architecture.
17
+ * **Universal End-to-End Architecture**: Utilizing a discrete multi-codebook LM architecture, it realizes full-information end-to-end speech modeling. This completely bypasses the information bottlenecks and cascading errors inherent in traditional LM+DiT schemes, significantly enhancing the model’s versatility, generation efficiency, and performance ceiling.
18
+ * **Extreme Low-Latency Streaming Generation**: Based on the innovative Dual-Track hybrid streaming generation architecture, a single model supports both streaming and non-streaming generation. It can output the first audio packet immediately after a single character is input, with end-to-end synthesis latency as low as 97ms, meeting the rigorous demands of real-time interactive scenarios.
19
+ * **Intelligent Text Understanding and Voice Control**: Supports speech generation driven by natural language instructions, allowing for flexible control over multi-dimensional acoustic attributes such as timbre, emotion, and prosody. By deeply integrating text semantic understanding, the model adaptively adjusts tone, rhythm, and emotional expression, achieving lifelike “what you imagine is what you hear” output.
20
+
21
+
22
+ ### Model Architecture
23
+
24
+ <p align="center">
25
+ <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/overview.png" width="80%"/>
26
+ <p>
27
+
28
+ ### Released Models Description and Download
29
+
30
+ Below is an introduction and download information for the Qwen3-TTS models that have already been released. Other models mentioned in the technical report will be released in the near future. Please select and download the model that fits your needs.
31
+
32
+ | Tokenizer Name | Description |
33
+ |---------------------------------|-------------|
34
+ | Qwen3-TTS-Tokenizer-12Hz | The Qwen3-TTS-Tokenizer-12Hz model which can encode the input speech into codes and decode them back into speech. |
35
+
36
+
37
+ | Model | Features | Language Support | Streaming | Instruction Control |
38
+ |---|---|---|---|---|
39
+ | Qwen3-TTS-12Hz-1.7B-VoiceDesign | Performs voice design based on user-provided descriptions. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | ✅ |
40
+ | Qwen3-TTS-12Hz-1.7B-CustomVoice | Provides style control over target timbres via user instructions; supports 9 premium timbres covering various combinations of gender, age, language, and dialect. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | ✅ |
41
+ | Qwen3-TTS-12Hz-1.7B-Base | Base model capable of 3-second rapid voice clone from user audio input; can be used for fine-tuning (FT) other models. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | |
42
+ | Qwen3-TTS-12Hz-0.6B-CustomVoice | Supports 9 premium timbres covering various combinations of gender, age, language, and dialect. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | |
43
+ | Qwen3-TTS-12Hz-0.6B-Base | Base model capable of 3-second rapid voice clone from user audio input; can be used for fine-tuning (FT) other models. | Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian | ✅ | |
44
+
45
+ During model loading in the qwen-tts package or vLLM, model weights will be automatically downloaded based on the model name. However, if your runtime environment is not conducive to downloading weights during execution, you can refer to the following commands to manually download the model weights to a local directory:
46
+
47
+ ```bash
48
+ # Download through ModelScope (recommended for users in Mainland China)
49
+ pip install -U modelscope
50
+ modelscope download --model Qwen/Qwen3-TTS-Tokenizer-12Hz --local_dir ./Qwen3-TTS-Tokenizer-12Hz
51
+ modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-1.7B-CustomVoice
52
+ modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --local_dir ./Qwen3-TTS-12Hz-1.7B-VoiceDesign
53
+ modelscope download --model Qwen/Qwen3-TTS-12Hz-1.7B-Base --local_dir ./Qwen3-TTS-12Hz-1.7B-Base
54
+ modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local_dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
55
+ modelscope download --model Qwen/Qwen3-TTS-12Hz-0.6B-Base --local_dir ./Qwen3-TTS-12Hz-0.6B-Base
56
+
57
+ # Download through Hugging Face
58
+ pip install -U "huggingface_hub[cli]"
59
+ huggingface-cli download Qwen/Qwen3-TTS-Tokenizer-12Hz --local-dir ./Qwen3-TTS-Tokenizer-12Hz
60
+ huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --local-dir ./Qwen3-TTS-12Hz-1.7B-CustomVoice
61
+ huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --local-dir ./Qwen3-TTS-12Hz-1.7B-VoiceDesign
62
+ huggingface-cli download Qwen/Qwen3-TTS-12Hz-1.7B-Base --local-dir ./Qwen3-TTS-12Hz-1.7B-Base
63
+ huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice --local-dir ./Qwen3-TTS-12Hz-0.6B-CustomVoice
64
+ huggingface-cli download Qwen/Qwen3-TTS-12Hz-0.6B-Base --local-dir ./Qwen3-TTS-12Hz-0.6B-Base
65
+ ```
66
+
67
+
68
+ ## Quickstart
69
+
70
+ ### Environment Setup
71
+
72
+ The easiest way to quickly use Qwen3-TTS is to install the `qwen-tts` Python package from PyPI. This will pull in the required runtime dependencies and allow you to load any released Qwen3-TTS model. We recommend using a **fresh, isolated environment** to avoid dependency conflicts with existing packages. You can create a clean Python 3.12 environment like this:
73
+
74
+ ```bash
75
+ conda create -n qwen3-tts python=3.12 -y
76
+ conda activate qwen3-tts
77
+ ```
78
+
79
+ then run:
80
+
81
+ ```bash
82
+ pip install -U qwen-tts
83
+ ```
84
+
85
+ If you want to develop or modify the code locally, install from source in editable mode.
86
+
87
+ ```bash
88
+ git clone https://github.com/QwenLM/Qwen3-TTS.git
89
+ cd Qwen3-TTS
90
+ pip install -e .
91
+ ```
92
+
93
+ Additionally, we recommend using FlashAttention 2 to reduce GPU memory usage.
94
+
95
+ ```bash
96
+ pip install -U flash-attn --no-build-isolation
97
+ ```
98
+
99
+ If your machine has less than 96GB of RAM and lots of CPU cores, run:
100
+
101
+ ```bash
102
+ MAX_JOBS=4 pip install -U flash-attn --no-build-isolation
103
+ ```
104
+
105
+ Also, you should have hardware that is compatible with FlashAttention 2. Read more about it in the official documentation of the [FlashAttention repository](https://github.com/Dao-AILab/flash-attention). FlashAttention 2 can only be used when a model is loaded in `torch.float16` or `torch.bfloat16`.
106
+
107
+
108
+ ### Python Package Usage
109
+
110
+ After installation, you can import `Qwen3TTSModel` to run custom voice TTS, voice design, and voice clone. The model weights can be specified either as a Hugging Face model id (recommended) or as a local directory path you downloaded. For all the `generate_*` functions below, besides the parameters shown and explicitly documented, you can also pass generation kwargs supported by Hugging Face Transformers `model.generate`, e.g., `max_new_tokens`, `top_p`, etc.
111
+
112
+ #### Custom Voice Generate
113
+
114
+ For custom voice models (`Qwen3-TTS-12Hz-1.7B/0.6B-CustomVoice`), you just need to call `generate_custom_voice`, passing a single string or a batch list, along with `language`, `speaker`, and optional `instruct`. You can also call `model.get_supported_speakers()` and `model.get_supported_languages()` to see which speakers and languages the current model supports.
115
+
116
+ ```python
117
+ import torch
118
+ import soundfile as sf
119
+ from qwen_tts import Qwen3TTSModel
120
+
121
+ model = Qwen3TTSModel.from_pretrained(
122
+ "Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice",
123
+ device_map="cuda:0",
124
+ dtype=torch.bfloat16,
125
+ attn_implementation="flash_attention_2",
126
+ )
127
+
128
+ # single inference
129
+ wavs, sr = model.generate_custom_voice(
130
+ text="其实我真的有发现,我是一个特别善于观察别人情绪的人。",
131
+ language="Chinese", # Pass `Auto` (or omit) for auto language adaptive; if the target language is known, set it explicitly.
132
+ speaker="Vivian",
133
+ instruct="用特别愤怒的语气说", # Omit if not needed.
134
+ )
135
+ sf.write("output_custom_voice.wav", wavs[0], sr)
136
+
137
+ # batch inference
138
+ wavs, sr = model.generate_custom_voice(
139
+ text=[
140
+ "其实我真的有发现,我是一个特别善于观察别人情绪的人。",
141
+ "She said she would be here by noon."
142
+ ],
143
+ language=["Chinese", "English"],
144
+ speaker=["Vivian", "Ryan"],
145
+ instruct=["", "Very happy."]
146
+ )
147
+ sf.write("output_custom_voice_1.wav", wavs[0], sr)
148
+ sf.write("output_custom_voice_2.wav", wavs[1], sr)
149
+ ```
150
+
151
+ For `Qwen3-TTS-12Hz-1.7B/0.6B-CustomVoice` models, the supported speaker list and speaker descriptions are provided below. We recommend using each speaker’s native language for the best quality. Of course, each speaker can speak any language supported by the model.
152
+
153
+ | Speaker | Voice Description | Native language |
154
+ | --- | --- | --- |
155
+ | Vivian | Bright, slightly edgy young female voice. | Chinese |
156
+ | Serena | Warm, gentle young female voice. | Chinese |
157
+ | Uncle_Fu | Seasoned male voice with a low, mellow timbre. | Chinese |
158
+ | Dylan | Youthful Beijing male voice with a clear, natural timbre. | Chinese (Beijing Dialect) |
159
+ | Eric | Lively Chengdu male voice with a slightly husky brightness. | Chinese (Sichuan Dialect) |
160
+ | Ryan | Dynamic male voice with strong rhythmic drive. | English |
161
+ | Aiden | Sunny American male voice with a clear midrange. | English |
162
+ | Ono_Anna | Playful Japanese female voice with a light, nimble timbre. | Japanese |
163
+ | Sohee | Warm Korean female voice with rich emotion. | Korean |
164
+
165
+ #### Voice Design
166
+
167
+ For the voice design model (`Qwen3-TTS-12Hz-1.7B-VoiceDesign`), you can use `generate_voice_design` to provide the target text and a natural-language `instruct` description.
168
+
169
+ ```python
170
+ import torch
171
+ import soundfile as sf
172
+ from qwen_tts import Qwen3TTSModel
173
+
174
+ model = Qwen3TTSModel.from_pretrained(
175
+ "Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign",
176
+ device_map="cuda:0",
177
+ dtype=torch.bfloat16,
178
+ attn_implementation="flash_attention_2",
179
+ )
180
+
181
+ # single inference
182
+ wavs, sr = model.generate_voice_design(
183
+ text="哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
184
+ language="Chinese",
185
+ instruct="体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
186
+ )
187
+ sf.write("output_voice_design.wav", wavs[0], sr)
188
+
189
+ # batch inference
190
+ wavs, sr = model.generate_voice_design(
191
+ text=[
192
+ "哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
193
+ "It's in the top drawer... wait, it's empty? No way, that's impossible! I'm sure I put it there!"
194
+ ],
195
+ language=["Chinese", "English"],
196
+ instruct=[
197
+ "体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
198
+ "Speak in an incredulous tone, but with a hint of panic beginning to creep into your voice."
199
+ ]
200
+ )
201
+ sf.write("output_voice_design_1.wav", wavs[0], sr)
202
+ sf.write("output_voice_design_2.wav", wavs[1], sr)
203
+ ```
204
+
205
+ #### Voice Clone
206
+
207
+ For the voice clone model (`Qwen3-TTS-12Hz-1.7B/0.6B-Base`), to clone a voice and synthesize new content, you just need to provide a reference audio clip (`ref_audio`) along with its transcript (`ref_text`). `ref_audio` can be a local file path, a URL, a base64 string, or a `(numpy_array, sample_rate)` tuple. If you set `x_vector_only_mode=True`, only the speaker embedding is used so `ref_text` is not required, but cloning quality may be reduced.
208
+
209
+ ```python
210
+ import torch
211
+ import soundfile as sf
212
+ from qwen_tts import Qwen3TTSModel
213
+
214
+ model = Qwen3TTSModel.from_pretrained(
215
+ "Qwen/Qwen3-TTS-12Hz-1.7B-Base",
216
+ device_map="cuda:0",
217
+ dtype=torch.bfloat16,
218
+ attn_implementation="flash_attention_2",
219
+ )
220
+
221
+ ref_audio = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/clone.wav"
222
+ ref_text = "Okay. Yeah. I resent you. I love you. I respect you. But you know what? You blew it! And thanks to you."
223
+
224
+ wavs, sr = model.generate_voice_clone(
225
+ text="I am solving the equation: x = [-b ± √(b²-4ac)] / 2a? Nobody can — it's a disaster (◍•͈⌔•͈◍), very sad!",
226
+ language="English",
227
+ ref_audio=ref_audio,
228
+ ref_text=ref_text,
229
+ )
230
+ sf.write("output_voice_clone.wav", wavs[0], sr)
231
+ ```
232
+
233
+ If you need to reuse the same reference prompt across multiple generations (to avoid recomputing prompt features), build it once with `create_voice_clone_prompt` and pass it via `voice_clone_prompt`.
234
+
235
+ ```python
236
+ prompt_items = model.create_voice_clone_prompt(
237
+ ref_audio=ref_audio,
238
+ ref_text=ref_text,
239
+ x_vector_only_mode=False,
240
+ )
241
+ wavs, sr = model.generate_voice_clone(
242
+ text=["Sentence A.", "Sentence B."],
243
+ language=["English", "English"],
244
+ voice_clone_prompt=prompt_items,
245
+ )
246
+ sf.write("output_voice_clone_1.wav", wavs[0], sr)
247
+ sf.write("output_voice_clone_2.wav", wavs[1], sr)
248
+ ```
249
+
250
+ For more examples of reusable voice clone prompts, batch cloning, and batch inference, please refer to the [example codes](https://github.com/QwenLM/Qwen3-TTS/blob/main/examples/test_model_12hz_base.py). With those examples and the `generate_voice_clone` function description, you can explore more advanced usage patterns.
251
+
252
+ #### Voice Design then Clone
253
+
254
+ If you want a designed voice that you can reuse like a cloned speaker, a practical workflow is: (1) use the **VoiceDesign** model to synthesize a short reference clip that matches your target persona, (2) feed that clip into `create_voice_clone_prompt` to build a reusable prompt, and then (3) call `generate_voice_clone` with `voice_clone_prompt` to generate new content without re-extracting features every time. This is especially useful when you want a consistent character voice across many lines.
255
+
256
+ ```python
257
+ import torch
258
+ import soundfile as sf
259
+ from qwen_tts import Qwen3TTSModel
260
+
261
+ # create a reference audio in the target style using the VoiceDesign model
262
+ design_model = Qwen3TTSModel.from_pretrained(
263
+ "Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign",
264
+ device_map="cuda:0",
265
+ dtype=torch.bfloat16,
266
+ attn_implementation="flash_attention_2",
267
+ )
268
+
269
+ ref_text = "H-hey! You dropped your... uh... calculus notebook? I mean, I think it's yours? Maybe?"
270
+ ref_instruct = "Male, 17 years old, tenor range, gaining confidence - deeper breath support now, though vowels still tighten when nervous"
271
+ ref_wavs, sr = design_model.generate_voice_design(
272
+ text=ref_text,
273
+ language="English",
274
+ instruct=ref_instruct
275
+ )
276
+ sf.write("voice_design_reference.wav", ref_wavs[0], sr)
277
+
278
+ # build a reusable clone prompt from the voice design reference
279
+ clone_model = Qwen3TTSModel.from_pretrained(
280
+ "Qwen/Qwen3-TTS-12Hz-1.7B-Base",
281
+ device_map="cuda:0",
282
+ dtype=torch.bfloat16,
283
+ attn_implementation="flash_attention_2",
284
+ )
285
+
286
+ voice_clone_prompt = clone_model.create_voice_clone_prompt(
287
+ ref_audio=(ref_wavs[0], sr), # or "voice_design_reference.wav"
288
+ ref_text=ref_text,
289
+ )
290
+
291
+ sentences = [
292
+ "No problem! I actually... kinda finished those already? If you want to compare answers or something...",
293
+ "What? No! I mean yes but not like... I just think you're... your titration technique is really precise!",
294
+ ]
295
+
296
+ # reuse it for multiple single calls
297
+ wavs, sr = clone_model.generate_voice_clone(
298
+ text=sentences[0],
299
+ language="English",
300
+ voice_clone_prompt=voice_clone_prompt,
301
+ )
302
+ sf.write("clone_single_1.wav", wavs[0], sr)
303
+
304
+ wavs, sr = clone_model.generate_voice_clone(
305
+ text=sentences[1],
306
+ language="English",
307
+ voice_clone_prompt=voice_clone_prompt,
308
+ )
309
+ sf.write("clone_single_2.wav", wavs[0], sr)
310
+
311
+ # or batch generate in one call
312
+ wavs, sr = clone_model.generate_voice_clone(
313
+ text=sentences,
314
+ language=["English", "English"],
315
+ voice_clone_prompt=voice_clone_prompt,
316
+ )
317
+ for i, w in enumerate(wavs):
318
+ sf.write(f"clone_batch_{i}.wav", w, sr)
319
+ ```
320
+
321
+ #### Tokenizer Encode and Decode
322
+
323
+ If you only want to encode and decode audio for transport or training and so on, `Qwen3TTSTokenizer` supports encode/decode with paths, URLs, numpy waveforms, and dict/list payloads, for example:
324
+
325
+ ```python
326
+ import soundfile as sf
327
+ from qwen_tts import Qwen3TTSTokenizer
328
+
329
+ tokenizer = Qwen3TTSTokenizer.from_pretrained(
330
+ "Qwen/Qwen3-TTS-Tokenizer-12Hz",
331
+ device_map="cuda:0",
332
+ )
333
+
334
+ enc = tokenizer.encode("https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/tokenizer_demo_1.wav")
335
+ wavs, sr = tokenizer.decode(enc)
336
+ sf.write("decode_output.wav", wavs[0], sr)
337
+ ```
338
+
339
+ For more tokenizer examples (including different input formats and batch usage), please refer to the [example codes](https://github.com/QwenLM/Qwen3-TTS/blob/main/examples/test_tokenizer_12hz.py). With those examples and the description for `Qwen3TTSTokenizer`, you can explore more advanced usage patterns.
340
+
341
+ ### Launch Local Web UI Demo
342
+
343
+ To launch the Qwen3-TTS web ui demo, simply install the `qwen-tts` package and run `qwen-tts-demo`. Use the command below for help:
344
+
345
+ ```bash
346
+ qwen-tts-demo --help
347
+ ```
348
+
349
+ To launch the demo, you can use the following commands:
350
+
351
+ ```bash
352
+ # CustomVoice model
353
+ qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice --ip 0.0.0.0 --port 8000
354
+ # VoiceDesign model
355
+ qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign --ip 0.0.0.0 --port 8000
356
+ # Base model
357
+ qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-Base --ip 0.0.0.0 --port 8000
358
+ ```
359
+
360
+ And then open `http://<your-ip>:8000`, or access it via port forwarding in tools like VS Code.
361
+
362
+ #### Base Model HTTPS Notes
363
+
364
+ To avoid browser microphone permission issues after deploying the server, for Base model deployments, it is recommended/required to run the gradio service over **HTTPS** (especially when accessed remotely or behind modern browsers/gateways). Use `--ssl-certfile` and `--ssl-keyfile` to enable HTTPS. First we need to generate a private key and a self-signed cert (valid for 365 days):
365
+
366
+ ```bash
367
+ openssl req -x509 -newkey rsa:2048 \
368
+ -keyout key.pem -out cert.pem \
369
+ -days 365 -nodes \
370
+ -subj "/CN=localhost"
371
+ ```
372
+
373
+ Then run the demo with HTTPS:
374
+
375
+ ```bash
376
+ qwen-tts-demo Qwen/Qwen3-TTS-12Hz-1.7B-Base \
377
+ --ip 0.0.0.0 --port 8000 \
378
+ --ssl-certfile cert.pem \
379
+ --ssl-keyfile key.pem \
380
+ --no-ssl-verify
381
+ ```
382
+
383
+ And open `https://<your-ip>:8000` to experience it. If your browser shows a warning, it’s expected for self-signed certificates. For production, use a real certificate.
384
+
385
+ ### DashScope API Usage
386
+
387
+ To further explore Qwen3-TTS, we encourage you to try our DashScope API for a faster and more efficient experience. For detailed API information and documentation, please refer to the following:
388
+
389
+ | API Description | API Documentation (Mainland China) | API Documentation (International) |
390
+ |------------------|-----------------------------------|------------------------------------|
391
+ | Real-time API for Qwen3-TTS of custom voice model. | [https://help.aliyun.com/zh/model-studio/qwen-tts-realtime](https://help.aliyun.com/zh/model-studio/qwen-tts-realtime) | [https://www.alibabacloud.com/help/en/model-studio/qwen-tts-realtime](https://www.alibabacloud.com/help/en/model-studio/qwen-tts-realtime) |
392
+ | Real-time API for Qwen3-TTS of voice clone model. | [https://help.aliyun.com/zh/model-studio/qwen-tts-voice-cloning](https://help.aliyun.com/zh/model-studio/qwen-tts-voice-cloning) | [https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-cloning](https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-cloning) |
393
+ | Real-time API for Qwen3-TTS of voice design model. | [https://help.aliyun.com/zh/model-studio/qwen-tts-voice-design](https://help.aliyun.com/zh/model-studio/qwen-tts-voice-design) | [https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-design](https://www.alibabacloud.com/help/en/model-studio/qwen-tts-voice-design) |
394
+
395
+
396
+ ## vLLM Usage
397
+
398
+ vLLM officially provides day-0 support for Qwen3-TTS! Welcome to use vLLM-Omni for Qwen3-TTS deployment and inference. For installation and more details, please check [vLLM-Omni official documentation](https://docs.vllm.ai/projects/vllm-omni/en/latest/getting_started/quickstart/#installation). Now only offline inference is supported. Online serving will be supported later, and vLLM-Omni will continue to offer support and optimization for Qwen3-TTS in areas such as inference speed and streaming capabilities.
399
+
400
+ ### Offline Inference
401
+ You can use vLLM-Omni to inference Qwen3-TTS locally, we provide examples in [vLLM-Omni repo](https://github.com/vllm-project/vllm-omni/tree/main/examples/offline_inference/qwen3_tts) which can generate audio output:
402
+ ```bash
403
+ # git clone https://github.com/vllm-project/vllm-omni.git
404
+
405
+ # cd vllm-omni/examples/offline_inference/qwen3_tts
406
+
407
+ # Run a single sample with CustomVoice task
408
+ python end2end.py --query-type CustomVoice
409
+
410
+ # Batch sample (multiple prompts in one run) with CustomVoice task:
411
+ python end2end.py --query-type CustomVoice --use-batch-sample
412
+
413
+ # Run a single sample with VoiceDesign task
414
+ python end2end.py --query-type VoiceDesign
415
+
416
+ # Batch sample (multiple prompts in one run) with VoiceDesign task:
417
+ python end2end.py --query-type VoiceDesign --use-batch-sample
418
+
419
+ # Run a single sample with Base task in icl mode-tag
420
+ python end2end.py --query-type Base --mode-tag icl
421
+ ```
422
+
423
+ ## Evaluation
424
+
425
+ During evaluation, we ran inference for all models with `dtype=torch.bfloat16` and set `max_new_tokens=2048`. All other sampling parameters used the defaults from the checkpoint’s `generate_config.json`. For the Seed-Test and InstructTTS-Eval test sets, we set `language="auto"`, while for all other test sets we explicitly passed the corresponding `language`. The detailed results are shown below.
426
+
427
+
428
+ <details>
429
+ <summary>Speech Generation Benchmarks</summary>
430
+
431
+ *Zero-shot speech generation on the Seed-TTS test set. Performance is measured by Word Error Rate (WER, ↓), where lower is better.*
432
+
433
+ <table>
434
+ <thead>
435
+ <tr>
436
+ <th style="text-align: center;">Datasets</th>
437
+ <th style="text-align: left;">Model</th>
438
+ <th colspan="2" style="text-align: center;">Performance</th>
439
+ </tr>
440
+ <tr style="border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;">
441
+ <td colspan="4" style="text-align: center;"><em>Content Consistency</em></td>
442
+ </tr>
443
+ </thead>
444
+ <tbody>
445
+ <tr>
446
+ <td rowspan="14" style="text-align: center; vertical-align: middle;">SEED<br><em>test-zh</em> | <em>test-en</em></td>
447
+ <td style="text-align: left;">Seed-TTS (Anastassiou et al., 2024)</td>
448
+ <td style="text-align: center;">1.12</td>
449
+ <td style="text-align: center;">2.25</td>
450
+ </tr>
451
+ <tr>
452
+ <td style="text-align: left;">MaskGCT (Wang et al., 2024)</td>
453
+ <td style="text-align: center;">2.27</td>
454
+ <td style="text-align: center;">2.62</td>
455
+ </tr>
456
+ <tr>
457
+ <td style="text-align: left;">E2 TTS (Eskimez et al., 2024)</td>
458
+ <td style="text-align: center;">1.97</td>
459
+ <td style="text-align: center;">2.19</td>
460
+ </tr>
461
+ <tr>
462
+ <td style="text-align: left;">F5-TTS (Chen et al., 2024)</td>
463
+ <td style="text-align: center;">1.56</td>
464
+ <td style="text-align: center;">1.83</td>
465
+ </tr>
466
+ <tr>
467
+ <td style="text-align: left;">Spark TTS (Wang et al., 2025)</td>
468
+ <td style="text-align: center;">1.20</td>
469
+ <td style="text-align: center;">1.98</td>
470
+ </tr>
471
+ <tr>
472
+ <td style="text-align: left;">Llasa-8B (Ye et al., 2025b)</td>
473
+ <td style="text-align: center;">1.59</td>
474
+ <td style="text-align: center;">2.97</td>
475
+ </tr>
476
+ <tr>
477
+ <td style="text-align: left;">KALL-E (Xia et al., 2024)</td>
478
+ <td style="text-align: center;">0.96</td>
479
+ <td style="text-align: center;">1.94</td>
480
+ </tr>
481
+ <tr>
482
+ <td style="text-align: left;">FireRedTTS 2 (Xie et al., 2025)</td>
483
+ <td style="text-align: center;">1.14</td>
484
+ <td style="text-align: center;">1.95</td>
485
+ </tr>
486
+ <tr>
487
+ <td style="text-align: left;">CosyVoice 3 (Du et al., 2025)</td>
488
+ <td style="text-align: center;"><strong>0.71</strong></td>
489
+ <td style="text-align: center;">1.45</td>
490
+ </tr>
491
+ <tr>
492
+ <td style="text-align: left;">MiniMax-Speech (Zhang et al., 2025a)</td>
493
+ <td style="text-align: center;">0.83</td>
494
+ <td style="text-align: center;">1.65</td>
495
+ </tr>
496
+ <tr>
497
+ <td style="text-align: left;">Qwen3-TTS-25Hz-0.6B-Base</td>
498
+ <td style="text-align: center;">1.18</td>
499
+ <td style="text-align: center;">1.64</td>
500
+ </tr>
501
+ <tr>
502
+ <td style="text-align: left;">Qwen3-TTS-25Hz-1.7B-Base</td>
503
+ <td style="text-align: center;">1.10</td>
504
+ <td style="text-align: center;">1.49</td>
505
+ </tr>
506
+ <tr>
507
+ <td style="text-align: left;">Qwen3-TTS-12Hz-0.6B-Base</td>
508
+ <td style="text-align: center;">0.92</td>
509
+ <td style="text-align: center;">1.32</td>
510
+ </tr>
511
+ <tr>
512
+ <td style="text-align: left;">Qwen3-TTS-12Hz-1.7B-Base</td>
513
+ <td style="text-align: center;">0.77</td>
514
+ <td style="text-align: center;"><strong>1.24</strong></td>
515
+ </tr>
516
+ </tbody>
517
+ </table>
518
+
519
+ <br>
520
+
521
+ *Multilingual speech generation on the TTS multilingual test set. Performance is measured by Word Error Rate (WER, ↓) for content consistency and Cosine Similarity (SIM, ↑) for speaker similarity.*
522
+
523
+ <table>
524
+ <thead>
525
+ <tr>
526
+ <th rowspan="2" style="text-align: left; vertical-align: bottom;">Language</th>
527
+ <th colspan="2" style="text-align: center;">Qwen3-TTS-25Hz</th>
528
+ <th colspan="2" style="text-align: center;">Qwen3-TTS-12Hz</th>
529
+ <th rowspan="2" style="text-align: center; vertical-align: bottom;">MiniMax</th>
530
+ <th rowspan="2" style="text-align: center; vertical-align: bottom;">ElevenLabs</th>
531
+ </tr>
532
+ <tr>
533
+ <th style="text-align: center;">0.6B-Base</th>
534
+ <th style="text-align: center;">1.7B-Base</th>
535
+ <th style="text-align: center;">0.6B-Base</th>
536
+ <th style="text-align: center;">1.7B-Base</th>
537
+ </tr>
538
+ </thead>
539
+ <tbody>
540
+ <tr>
541
+ <td colspan="7" style="text-align: center; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;"><em>Content Consistency</em></td>
542
+ </tr>
543
+ <tr>
544
+ <td style="text-align: left;">Chinese</td>
545
+ <td style="text-align: center;">1.108</td>
546
+ <td style="text-align: center;"><strong>0.777</strong></td>
547
+ <td style="text-align: center;">1.145</td>
548
+ <td style="text-align: center;">0.928</td>
549
+ <td style="text-align: center;">2.252</td>
550
+ <td style="text-align: center;">16.026</td>
551
+ </tr>
552
+ <tr>
553
+ <td style="text-align: left;">English</td>
554
+ <td style="text-align: center;">1.048</td>
555
+ <td style="text-align: center;">1.014</td>
556
+ <td style="text-align: center;"><strong>0.836</strong></td>
557
+ <td style="text-align: center;">0.934</td>
558
+ <td style="text-align: center;">2.164</td>
559
+ <td style="text-align: center;">2.339</td>
560
+ </tr>
561
+ <tr>
562
+ <td style="text-align: left;">German</td>
563
+ <td style="text-align: center;">1.501</td>
564
+ <td style="text-align: center;">0.960</td>
565
+ <td style="text-align: center;">1.089</td>
566
+ <td style="text-align: center;">1.235</td>
567
+ <td style="text-align: center;">1.906</td>
568
+ <td style="text-align: center;"><strong>0.572</strong></td>
569
+ </tr>
570
+ <tr>
571
+ <td style="text-align: left;">Italian</td>
572
+ <td style="text-align: center;">1.169</td>
573
+ <td style="text-align: center;">1.105</td>
574
+ <td style="text-align: center;">1.534</td>
575
+ <td style="text-align: center;"><strong>0.948</strong></td>
576
+ <td style="text-align: center;">1.543</td>
577
+ <td style="text-align: center;">1.743</td>
578
+ </tr>
579
+ <tr>
580
+ <td style="text-align: left;">Portuguese</td>
581
+ <td style="text-align: center;">2.046</td>
582
+ <td style="text-align: center;">1.778</td>
583
+ <td style="text-align: center;">2.254</td>
584
+ <td style="text-align: center;">1.526</td>
585
+ <td style="text-align: center;">1.877</td>
586
+ <td style="text-align: center;"><strong>1.331</strong></td>
587
+ </tr>
588
+ <tr>
589
+ <td style="text-align: left;">Spanish</td>
590
+ <td style="text-align: center;">2.031</td>
591
+ <td style="text-align: center;">1.491</td>
592
+ <td style="text-align: center;">1.491</td>
593
+ <td style="text-align: center;">1.126</td>
594
+ <td style="text-align: center;"><strong>1.029</strong></td>
595
+ <td style="text-align: center;">1.084</td>
596
+ </tr>
597
+ <tr>
598
+ <td style="text-align: left;">Japanese</td>
599
+ <td style="text-align: center;">4.189</td>
600
+ <td style="text-align: center;">5.121</td>
601
+ <td style="text-align: center;">6.404</td>
602
+ <td style="text-align: center;">3.823</td>
603
+ <td style="text-align: center;"><strong>3.519</strong></td>
604
+ <td style="text-align: center;">10.646</td>
605
+ </tr>
606
+ <tr>
607
+ <td style="text-align: left;">Korean</td>
608
+ <td style="text-align: center;">2.852</td>
609
+ <td style="text-align: center;">2.631</td>
610
+ <td style="text-align: center;"><strong>1.741</strong></td>
611
+ <td style="text-align: center;">1.755</td>
612
+ <td style="text-align: center;">1.747</td>
613
+ <td style="text-align: center;">1.865</td>
614
+ </tr>
615
+ <tr>
616
+ <td style="text-align: left;">French</td>
617
+ <td style="text-align: center;">2.852</td>
618
+ <td style="text-align: center;"><strong>2.631</strong></td>
619
+ <td style="text-align: center;">2.931</td>
620
+ <td style="text-align: center;">2.858</td>
621
+ <td style="text-align: center;">4.099</td>
622
+ <td style="text-align: center;">5.216</td>
623
+ </tr>
624
+ <tr>
625
+ <td style="text-align: left;">Russian</td>
626
+ <td style="text-align: center;">5.957</td>
627
+ <td style="text-align: center;">4.535</td>
628
+ <td style="text-align: center;">4.458</td>
629
+ <td style="text-align: center;"><strong>3.212</strong></td>
630
+ <td style="text-align: center;">4.281</td>
631
+ <td style="text-align: center;">3.878</td>
632
+ </tr>
633
+ <tr style="border-top: 1px solid #ddd;">
634
+ <td colspan="7" style="text-align: center; border-bottom: 1px solid #ddd;"><em>Speaker Similarity</em></td>
635
+ </tr>
636
+ <tr>
637
+ <td style="text-align: left;">Chinese</td>
638
+ <td style="text-align: center;">0.797</td>
639
+ <td style="text-align: center;">0.796</td>
640
+ <td style="text-align: center;"><strong>0.811</strong></td>
641
+ <td style="text-align: center;">0.799</td>
642
+ <td style="text-align: center;">0.780</td>
643
+ <td style="text-align: center;">0.677</td>
644
+ </tr>
645
+ <tr>
646
+ <td style="text-align: left;">English</td>
647
+ <td style="text-align: center;">0.811</td>
648
+ <td style="text-align: center;">0.815</td>
649
+ <td style="text-align: center;"><strong>0.829</strong></td>
650
+ <td style="text-align: center;">0.775</td>
651
+ <td style="text-align: center;">0.756</td>
652
+ <td style="text-align: center;">0.613</td>
653
+ </tr>
654
+ <tr>
655
+ <td style="text-align: left;">German</td>
656
+ <td style="text-align: center;">0.749</td>
657
+ <td style="text-align: center;">0.737</td>
658
+ <td style="text-align: center;">0.769</td>
659
+ <td style="text-align: center;"><strong>0.775</strong></td>
660
+ <td style="text-align: center;">0.733</td>
661
+ <td style="text-align: center;">0.614</td>
662
+ </tr>
663
+ <tr>
664
+ <td style="text-align: left;">Italian</td>
665
+ <td style="text-align: center;">0.722</td>
666
+ <td style="text-align: center;">0.718</td>
667
+ <td style="text-align: center;">0.792</td>
668
+ <td style="text-align: center;"><strong>0.817</strong></td>
669
+ <td style="text-align: center;">0.699</td>
670
+ <td style="text-align: center;">0.579</td>
671
+ </tr>
672
+ <tr>
673
+ <td style="text-align: left;">Portuguese</td>
674
+ <td style="text-align: center;">0.790</td>
675
+ <td style="text-align: center;">0.783</td>
676
+ <td style="text-align: center;">0.794</td>
677
+ <td style="text-align: center;"><strong>0.817</strong></td>
678
+ <td style="text-align: center;">0.805</td>
679
+ <td style="text-align: center;">0.711</td>
680
+ </tr>
681
+ <tr>
682
+ <td style="text-align: left;">Spanish</td>
683
+ <td style="text-align: center;">0.732</td>
684
+ <td style="text-align: center;">0.731</td>
685
+ <td style="text-align: center;">0.812</td>
686
+ <td style="text-align: center;"><strong>0.814</strong></td>
687
+ <td style="text-align: center;">0.762</td>
688
+ <td style="text-align: center;">0.615</td>
689
+ </tr>
690
+ <tr>
691
+ <td style="text-align: left;">Japanese</td>
692
+ <td style="text-align: center;"><strong>0.810</strong></td>
693
+ <td style="text-align: center;">0.807</td>
694
+ <td style="text-align: center;">0.798</td>
695
+ <td style="text-align: center;">0.788</td>
696
+ <td style="text-align: center;">0.776</td>
697
+ <td style="text-align: center;">0.738</td>
698
+ </tr>
699
+ <tr>
700
+ <td style="text-align: left;">Korean</td>
701
+ <td style="text-align: center;"><strong>0.824</strong></td>
702
+ <td style="text-align: center;">0.814</td>
703
+ <td style="text-align: center;">0.812</td>
704
+ <td style="text-align: center;">0.799</td>
705
+ <td style="text-align: center;">0.779</td>
706
+ <td style="text-align: center;">0.700</td>
707
+ </tr>
708
+ <tr>
709
+ <td style="text-align: left;">French</td>
710
+ <td style="text-align: center;">0.698</td>
711
+ <td style="text-align: center;">0.703</td>
712
+ <td style="text-align: center;">0.700</td>
713
+ <td style="text-align: center;"><strong>0.714</strong></td>
714
+ <td style="text-align: center;">0.628</td>
715
+ <td style="text-align: center;">0.535</td>
716
+ </tr>
717
+ <tr>
718
+ <td style="text-align: left;">Russian</td>
719
+ <td style="text-align: center;">0.734</td>
720
+ <td style="text-align: center;">0.744</td>
721
+ <td style="text-align: center;">0.781</td>
722
+ <td style="text-align: center;"><strong>0.792</strong></td>
723
+ <td style="text-align: center;">0.761</td>
724
+ <td style="text-align: center;">0.676</td>
725
+ </tr>
726
+ </tbody>
727
+ </table>
728
+
729
+ <br>
730
+
731
+ *Cross-lingual speech generation on the Cross-Lingual benchmark. Performance is measured by Mixed Error Rate (WER for English, CER for others, ↓).*
732
+
733
+ <table>
734
+ <thead>
735
+ <tr>
736
+ <th style="text-align: left;">Task</th>
737
+ <th style="text-align: center;">Qwen3-TTS-25Hz-1.7B-Base</th>
738
+ <th style="text-align: center;">Qwen3-TTS-12Hz-1.7B-Base</th>
739
+ <th style="text-align: center;">CosyVoice3</th>
740
+ <th style="text-align: center;">CosyVoice2</th>
741
+ </tr>
742
+ </thead>
743
+ <tbody>
744
+ <tr>
745
+ <td style="text-align: left;">en-to-zh</td>
746
+ <td style="text-align: center;">5.66</td>
747
+ <td style="text-align: center;"><strong>4.77</strong></td>
748
+ <td style="text-align: center;">5.09</td>
749
+ <td style="text-align: center;">13.5</td>
750
+ </tr>
751
+ <tr>
752
+ <td style="text-align: left;">ja-to-zh</td>
753
+ <td style="text-align: center;">3.92</td>
754
+ <td style="text-align: center;">3.43</td>
755
+ <td style="text-align: center;"><strong>3.05</strong></td>
756
+ <td style="text-align: center;">48.1</td>
757
+ </tr>
758
+ <tr>
759
+ <td style="text-align: left;">ko-to-zh</td>
760
+ <td style="text-align: center;">1.14</td>
761
+ <td style="text-align: center;">1.08</td>
762
+ <td style="text-align: center;"><strong>1.06</strong></td>
763
+ <td style="text-align: center;">7.70</td>
764
+ </tr>
765
+ <tr style="border-top: 1px solid #ddd;">
766
+ <td style="text-align: left;">zh-to-en</td>
767
+ <td style="text-align: center;">2.91</td>
768
+ <td style="text-align: center;"><strong>2.77</strong></td>
769
+ <td style="text-align: center;">2.98</td>
770
+ <td style="text-align: center;">6.47</td>
771
+ </tr>
772
+ <tr>
773
+ <td style="text-align: left;">ja-to-en</td>
774
+ <td style="text-align: center;">3.95</td>
775
+ <td style="text-align: center;"><strong>3.04</strong></td>
776
+ <td style="text-align: center;">4.20</td>
777
+ <td style="text-align: center;">17.1</td>
778
+ </tr>
779
+ <tr>
780
+ <td style="text-align: left;">ko-to-en</td>
781
+ <td style="text-align: center;">3.48</td>
782
+ <td style="text-align: center;"><strong>3.09</strong></td>
783
+ <td style="text-align: center;">4.19</td>
784
+ <td style="text-align: center;">11.2</td>
785
+ </tr>
786
+ <tr style="border-top: 1px solid #ddd;">
787
+ <td style="text-align: left;">zh-to-ja</td>
788
+ <td style="text-align: center;">9.29</td>
789
+ <td style="text-align: center;">8.40</td>
790
+ <td style="text-align: center;"><strong>7.08</strong></td>
791
+ <td style="text-align: center;">13.1</td>
792
+ </tr>
793
+ <tr>
794
+ <td style="text-align: left;">en-to-ja</td>
795
+ <td style="text-align: center;">7.74</td>
796
+ <td style="text-align: center;">7.21</td>
797
+ <td style="text-align: center;"><strong>6.80</strong></td>
798
+ <td style="text-align: center;">14.9</td>
799
+ </tr>
800
+ <tr>
801
+ <td style="text-align: left;">ko-to-ja</td>
802
+ <td style="text-align: center;">4.17</td>
803
+ <td style="text-align: center;"><strong>3.67</strong></td>
804
+ <td style="text-align: center;">3.93</td>
805
+ <td style="text-align: center;">5.86</td>
806
+ </tr>
807
+ <tr style="border-top: 1px solid #ddd;">
808
+ <td style="text-align: left;">zh-to-ko</td>
809
+ <td style="text-align: center;">8.12</td>
810
+ <td style="text-align: center;"><strong>4.82</strong></td>
811
+ <td style="text-align: center;">14.4</td>
812
+ <td style="text-align: center;">24.8</td>
813
+ </tr>
814
+ <tr>
815
+ <td style="text-align: left;">en-to-ko</td>
816
+ <td style="text-align: center;">6.83</td>
817
+ <td style="text-align: center;"><strong>5.14</strong></td>
818
+ <td style="text-align: center;">5.87</td>
819
+ <td style="text-align: center;">21.9</td>
820
+ </tr>
821
+ <tr>
822
+ <td style="text-align: left;">ja-to-ko</td>
823
+ <td style="text-align: center;">6.86</td>
824
+ <td style="text-align: center;"><strong>5.59</strong></td>
825
+ <td style="text-align: center;">7.92</td>
826
+ <td style="text-align: center;">21.5</td>
827
+ </tr>
828
+ </tbody>
829
+ </table>
830
+
831
+ <br>
832
+
833
+ *Controllable speech generation on InstructTTSEval. Performance is measured by Attribute Perception and Synthesis accuracy (APS), Description-Speech Consistency (DSD), and Response Precision (RP).*
834
+
835
+ <table>
836
+ <thead>
837
+ <tr>
838
+ <th rowspan="2" style="text-align: left; vertical-align: bottom;">Type</th>
839
+ <th rowspan="2" style="text-align: left; vertical-align: bottom;">Model</th>
840
+ <th colspan="3" style="text-align: center;">InstructTTSEval-ZH</th>
841
+ <th colspan="3" style="text-align: center;">InstructTTSEval-EN</th>
842
+ </tr>
843
+ <tr>
844
+ <th style="text-align: center;">APS (↑)</th>
845
+ <th style="text-align: center;">DSD (↑)</th>
846
+ <th style="text-align: center;">RP (↑)</th>
847
+ <th style="text-align: center;">APS (↑)</th>
848
+ <th style="text-align: center;">DSD (↑)</th>
849
+ <th style="text-align: center;">RP (↑)</th>
850
+ </tr>
851
+ </thead>
852
+ <tbody>
853
+ <tr>
854
+ <td rowspan="5" style="text-align: left; vertical-align: middle;"><em>Target<br>Speaker</em></td>
855
+ <td style="text-align: left;">Gemini-flash</td>
856
+ <td style="text-align: center;">88.2</td>
857
+ <td style="text-align: center;"><strong>90.9</strong></td>
858
+ <td style="text-align: center;"><strong>77.3</strong></td>
859
+ <td style="text-align: center;"><strong>92.3</strong></td>
860
+ <td style="text-align: center;"><strong>93.8</strong></td>
861
+ <td style="text-align: center;"><strong>80.1</strong></td>
862
+ </tr>
863
+ <tr>
864
+ <td style="text-align: left;">Gemini-pro</td>
865
+ <td style="text-align: center;"><strong>89.0</strong></td>
866
+ <td style="text-align: center;">90.1</td>
867
+ <td style="text-align: center;">75.5</td>
868
+ <td style="text-align: center;">87.6</td>
869
+ <td style="text-align: center;">86.0</td>
870
+ <td style="text-align: center;">67.2</td>
871
+ </tr>
872
+ <tr>
873
+ <td style="text-align: left;">Qwen3TTS-25Hz-1.7B-CustomVoice</td>
874
+ <td style="text-align: center;">83.1</td>
875
+ <td style="text-align: center;">75.0</td>
876
+ <td style="text-align: center;">63.0</td>
877
+ <td style="text-align: center;">79.0</td>
878
+ <td style="text-align: center;">82.8</td>
879
+ <td style="text-align: center;">69.3</td>
880
+ </tr>
881
+ <tr>
882
+ <td style="text-align: left;">Qwen3TTS-12Hz-1.7B-CustomVoice</td>
883
+ <td style="text-align: center;">83.0</td>
884
+ <td style="text-align: center;">77.8</td>
885
+ <td style="text-align: center;">61.2</td>
886
+ <td style="text-align: center;">77.3</td>
887
+ <td style="text-align: center;">77.1</td>
888
+ <td style="text-align: center;">63.7</td>
889
+ </tr>
890
+ <tr>
891
+ <td style="text-align: left;">GPT-4o-mini-tts</td>
892
+ <td style="text-align: center;">54.9</td>
893
+ <td style="text-align: center;">52.3</td>
894
+ <td style="text-align: center;">46.0</td>
895
+ <td style="text-align: center;">76.4</td>
896
+ <td style="text-align: center;">74.3</td>
897
+ <td style="text-align: center;">54.8</td>
898
+ </tr>
899
+ <tr style="border-top: 1px solid #ddd;">
900
+ <td rowspan="9" style="text-align: left; vertical-align: middle;"><em>Voice<br>Design</em></td>
901
+ <td style="text-align: left;">Qwen3TTS-12Hz-1.7B-VD</td>
902
+ <td style="text-align: center;"><strong>85.2</strong></td>
903
+ <td style="text-align: center;"><strong>81.1</strong></td>
904
+ <td style="text-align: center;"><strong>65.1</strong></td>
905
+ <td style="text-align: center;">82.9</td>
906
+ <td style="text-align: center;"><strong>82.4</strong></td>
907
+ <td style="text-align: center;"><strong>68.4</strong></td>
908
+ </tr>
909
+ <tr>
910
+ <td style="text-align: left;">Mimo-Audio-7B-Instruct (Zhang et al., 2025b)</td>
911
+ <td style="text-align: center;">75.7</td>
912
+ <td style="text-align: center;">74.3</td>
913
+ <td style="text-align: center;">61.5</td>
914
+ <td style="text-align: center;">80.6</td>
915
+ <td style="text-align: center;">77.6</td>
916
+ <td style="text-align: center;">59.5</td>
917
+ </tr>
918
+ <tr>
919
+ <td style="text-align: left;">VoiceSculptor (Hu et al., 2026)</td>
920
+ <td style="text-align: center;">75.7</td>
921
+ <td style="text-align: center;">64.7</td>
922
+ <td style="text-align: center;">61.5</td>
923
+ <td style="text-align: center;">-</td>
924
+ <td style="text-align: center;">-</td>
925
+ <td style="text-align: center;">-</td>
926
+ </tr>
927
+ <tr>
928
+ <td style="text-align: left;">Hume</td>
929
+ <td style="text-align: center;">-</td>
930
+ <td style="text-align: center;">-</td>
931
+ <td style="text-align: center;">-</td>
932
+ <td style="text-align: center;"><strong>83.0</strong></td>
933
+ <td style="text-align: center;">75.3</td>
934
+ <td style="text-align: center;">54.3</td>
935
+ </tr>
936
+ <tr>
937
+ <td style="text-align: left;">VoxInstruct (Zhou et al., 2024)</td>
938
+ <td style="text-align: center;">47.5</td>
939
+ <td style="text-align: center;">52.3</td>
940
+ <td style="text-align: center;">42.6</td>
941
+ <td style="text-align: center;">54.9</td>
942
+ <td style="text-align: center;">57.0</td>
943
+ <td style="text-align: center;">39.3</td>
944
+ </tr>
945
+ <tr>
946
+ <td style="text-align: left;">Parler-tts-mini (Lyth & King, 2024)</td>
947
+ <td style="text-align: center;">-</td>
948
+ <td style="text-align: center;">-</td>
949
+ <td style="text-align: center;">-</td>
950
+ <td style="text-align: center;">63.4</td>
951
+ <td style="text-align: center;">48.7</td>
952
+ <td style="text-align: center;">28.6</td>
953
+ </tr>
954
+ <tr>
955
+ <td style="text-align: left;">Parler-tts-large (Lyth & King, 2024)</td>
956
+ <td style="text-align: center;">-</td>
957
+ <td style="text-align: center;">-</td>
958
+ <td style="text-align: center;">-</td>
959
+ <td style="text-align: center;">60.0</td>
960
+ <td style="text-align: center;">45.9</td>
961
+ <td style="text-align: center;">31.2</td>
962
+ </tr>
963
+ <tr>
964
+ <td style="text-align: left;">PromptTTS (Guo et al., 2023)</td>
965
+ <td style="text-align: center;">-</td>
966
+ <td style="text-align: center;">-</td>
967
+ <td style="text-align: center;">-</td>
968
+ <td style="text-align: center;">64.3</td>
969
+ <td style="text-align: center;">47.2</td>
970
+ <td style="text-align: center;">31.4</td>
971
+ </tr>
972
+ <tr>
973
+ <td style="text-align: left;">PromptStyle (Liu et al., 2023)</td>
974
+ <td style="text-align: center;">-</td>
975
+ <td style="text-align: center;">-</td>
976
+ <td style="text-align: center;">-</td>
977
+ <td style="text-align: center;">57.4</td>
978
+ <td style="text-align: center;">46.4</td>
979
+ <td style="text-align: center;">30.9</td>
980
+ </tr>
981
+ </tbody>
982
+ </table>
983
+
984
+ <br>
985
+
986
+ *Target-Speaker Multilingual Speech Generation on the TTS multilingual test set. Performance is measured by Word Error Rate (WER, ↓).*
987
+
988
+ <table>
989
+ <thead>
990
+ <tr>
991
+ <th rowspan="2" style="text-align: left; vertical-align: bottom;">Language</th>
992
+ <th colspan="2" style="text-align: center;">Qwen3-TTS-25Hz</th>
993
+ <th colspan="2" style="text-align: center;">Qwen3-TTS-12Hz</th>
994
+ <th rowspan="2" style="text-align: center; vertical-align: bottom;">GPT-4o-Audio<br>Preview</th>
995
+ </tr>
996
+ <tr>
997
+ <th style="text-align: center;">0.6B-CustomVoice</th>
998
+ <th style="text-align: center;">1.7B-CustomVoice</th>
999
+ <th style="text-align: center;">0.6B-CustomVoice</th>
1000
+ <th style="text-align: center;">1.7B-CustomVoice</th>
1001
+ </tr>
1002
+ </thead>
1003
+ <tbody>
1004
+ <tr>
1005
+ <td style="text-align: left;">Chinese</td>
1006
+ <td style="text-align: center;">0.874</td>
1007
+ <td style="text-align: center;"><strong>0.708</strong></td>
1008
+ <td style="text-align: center;">0.944</td>
1009
+ <td style="text-align: center;">0.903</td>
1010
+ <td style="text-align: center;">3.519</td>
1011
+ </tr>
1012
+ <tr>
1013
+ <td style="text-align: left;">English</td>
1014
+ <td style="text-align: center;">1.332</td>
1015
+ <td style="text-align: center;">0.936</td>
1016
+ <td style="text-align: center;">1.188</td>
1017
+ <td style="text-align: center;"><strong>0.899</strong></td>
1018
+ <td style="text-align: center;">2.197</td>
1019
+ </tr>
1020
+ <tr>
1021
+ <td style="text-align: left;">German</td>
1022
+ <td style="text-align: center;">0.990</td>
1023
+ <td style="text-align: center;"><strong>0.634</strong></td>
1024
+ <td style="text-align: center;">2.722</td>
1025
+ <td style="text-align: center;">1.057</td>
1026
+ <td style="text-align: center;">1.161</td>
1027
+ </tr>
1028
+ <tr>
1029
+ <td style="text-align: left;">Italian</td>
1030
+ <td style="text-align: center;">1.861</td>
1031
+ <td style="text-align: center;">1.271</td>
1032
+ <td style="text-align: center;">2.545</td>
1033
+ <td style="text-align: center;">1.362</td>
1034
+ <td style="text-align: center;"><strong>1.194</strong></td>
1035
+ </tr>
1036
+ <tr>
1037
+ <td style="text-align: left;">Portuguese</td>
1038
+ <td style="text-align: center;">1.728</td>
1039
+ <td style="text-align: center;">1.854</td>
1040
+ <td style="text-align: center;">3.219</td>
1041
+ <td style="text-align: center;">2.681</td>
1042
+ <td style="text-align: center;"><strong>1.504</strong></td>
1043
+ </tr>
1044
+ <tr>
1045
+ <td style="text-align: left;">Spanish</td>
1046
+ <td style="text-align: center;">1.309</td>
1047
+ <td style="text-align: center;">1.284</td>
1048
+ <td style="text-align: center;"><strong>1.154</strong></td>
1049
+ <td style="text-align: center;">1.330</td>
1050
+ <td style="text-align: center;">4.000</td>
1051
+ </tr>
1052
+ <tr>
1053
+ <td style="text-align: left;">Japanese</td>
1054
+ <td style="text-align: center;"><strong>3.875</strong></td>
1055
+ <td style="text-align: center;">4.518</td>
1056
+ <td style="text-align: center;">6.877</td>
1057
+ <td style="text-align: center;">4.924</td>
1058
+ <td style="text-align: center;">5.001</td>
1059
+ </tr>
1060
+ <tr>
1061
+ <td style="text-align: left;">Korean</td>
1062
+ <td style="text-align: center;">2.202</td>
1063
+ <td style="text-align: center;">2.274</td>
1064
+ <td style="text-align: center;">3.053</td>
1065
+ <td style="text-align: center;"><strong>1.741</strong></td>
1066
+ <td style="text-align: center;">2.763</td>
1067
+ </tr>
1068
+ <tr>
1069
+ <td style="text-align: left;">French</td>
1070
+ <td style="text-align: center;">3.865</td>
1071
+ <td style="text-align: center;"><strong>3.080</strong></td>
1072
+ <td style="text-align: center;">3.841</td>
1073
+ <td style="text-align: center;">3.781</td>
1074
+ <td style="text-align: center;">3.605</td>
1075
+ </tr>
1076
+ <tr>
1077
+ <td style="text-align: left;">Russian</td>
1078
+ <td style="text-align: center;">6.529</td>
1079
+ <td style="text-align: center;"><strong>4.444</strong></td>
1080
+ <td style="text-align: center;">5.809</td>
1081
+ <td style="text-align: center;">4.734</td>
1082
+ <td style="text-align: center;">5.250</td>
1083
+ </tr>
1084
+ </tbody>
1085
+ </table>
1086
+
1087
+ <br>
1088
+
1089
+ *Long speech generation results. Performance is measured by Word Error Rate (WER, ↓).*
1090
+
1091
+ <table>
1092
+ <thead>
1093
+ <tr>
1094
+ <th style="text-align: center;">Datasets</th>
1095
+ <th style="text-align: left;">Model</th>
1096
+ <th colspan="2" style="text-align: center;">Performance</th>
1097
+ </tr>
1098
+ <tr style="border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;">
1099
+ <td colspan="4" style="text-align: center;"><em>Content Consistency</em></td>
1100
+ </tr>
1101
+ </thead>
1102
+ <tbody>
1103
+ <tr>
1104
+ <td rowspan="5" style="text-align: center; vertical-align: middle;"><em>long-zh</em> | <em>long-en</em></td>
1105
+ <td style="text-align: left;">Higgs-Audio-v2 (chunk) (Boson AI, 2025)</td>
1106
+ <td style="text-align: center;">5.505</td>
1107
+ <td style="text-align: center;">6.917</td>
1108
+ </tr>
1109
+ <tr>
1110
+ <td style="text-align: left;">VibeVoice (Peng et al., 2025)</td>
1111
+ <td style="text-align: center;">22.619</td>
1112
+ <td style="text-align: center;">1.780</td>
1113
+ </tr>
1114
+ <tr>
1115
+ <td style="text-align: left;">VoxCPM (Zhou et al., 2025)</td>
1116
+ <td style="text-align: center;">4.835</td>
1117
+ <td style="text-align: center;">7.474</td>
1118
+ </tr>
1119
+ <tr>
1120
+ <td style="text-align: left;">Qwen3-TTS-25Hz-1.7B-CustomVoice</td>
1121
+ <td style="text-align: center;"><strong>1.517</strong></td>
1122
+ <td style="text-align: center;"><strong>1.225</strong></td>
1123
+ </tr>
1124
+ <tr>
1125
+ <td style="text-align: left;">Qwen3-TTS-12Hz-1.7B-CustomVoice</td>
1126
+ <td style="text-align: center;">2.356</td>
1127
+ <td style="text-align: center;">2.812</td>
1128
+ </tr>
1129
+ </tbody>
1130
+ </table>
1131
+ </details>
1132
+
1133
+
1134
+ <details>
1135
+ <summary>Speech Tokenizer Benchmarks</summary>
1136
+
1137
+ *Comparison between different supervised semantic speech tokenizers on ASR Task.*
1138
+
1139
+ <table>
1140
+ <thead>
1141
+ <tr>
1142
+ <th style="text-align: left;">Model</th>
1143
+ <th style="text-align: center;">Codebook Size</th>
1144
+ <th style="text-align: center;">FPS</th>
1145
+ <th style="text-align: center;">C.V. EN</th>
1146
+ <th style="text-align: center;">C.V. CN</th>
1147
+ <th style="text-align: center;">Fluers EN</th>
1148
+ <th style="text-align: center;">Fluers CN</th>
1149
+ </tr>
1150
+ </thead>
1151
+ <tbody>
1152
+ <tr>
1153
+ <td style="text-align: left;">S3 Tokenizer(VQ) (Du et al., 2024a)</td>
1154
+ <td style="text-align: center;">4096</td>
1155
+ <td style="text-align: center;">50</td>
1156
+ <td style="text-align: center;">12.06</td>
1157
+ <td style="text-align: center;">15.38</td>
1158
+ <td style="text-align: center;">-</td>
1159
+ <td style="text-align: center;">-</td>
1160
+ </tr>
1161
+ <tr>
1162
+ <td style="text-align: left;">S3 Tokenizer(VQ) (Du et al., 2024a)</td>
1163
+ <td style="text-align: center;">4096</td>
1164
+ <td style="text-align: center;">25</td>
1165
+ <td style="text-align: center;">11.56</td>
1166
+ <td style="text-align: center;">18.26</td>
1167
+ <td style="text-align: center;">7.65</td>
1168
+ <td style="text-align: center;">5.03</td>
1169
+ </tr>
1170
+ <tr>
1171
+ <td style="text-align: left;">S3 Tokenizer(FSQ) (Du et al., 2024a)</td>
1172
+ <td style="text-align: center;">6561</td>
1173
+ <td style="text-align: center;">25</td>
1174
+ <td style="text-align: center;">10.67</td>
1175
+ <td style="text-align: center;"><strong>7.29</strong></td>
1176
+ <td style="text-align: center;">6.58</td>
1177
+ <td style="text-align: center;">4.43</td>
1178
+ </tr>
1179
+ <tr>
1180
+ <td style="text-align: left;">Qwen-TTS-Tokenizer-25Hz (Stage 1)</td>
1181
+ <td style="text-align: center;">32768</td>
1182
+ <td style="text-align: center;">25</td>
1183
+ <td style="text-align: center;"><strong>7.51</strong></td>
1184
+ <td style="text-align: center;">10.73</td>
1185
+ <td style="text-align: center;"><strong>3.07</strong></td>
1186
+ <td style="text-align: center;"><strong>4.23</strong></td>
1187
+ </tr>
1188
+ <tr>
1189
+ <td style="text-align: left;">Qwen-TTS-Tokenizer-25Hz (Stage 2)</td>
1190
+ <td style="text-align: center;">32768</td>
1191
+ <td style="text-align: center;">25</td>
1192
+ <td style="text-align: center;">10.40</td>
1193
+ <td style="text-align: center;">14.99</td>
1194
+ <td style="text-align: center;">4.14</td>
1195
+ <td style="text-align: center;">4.67</td>
1196
+ </tr>
1197
+ </tbody>
1198
+ </table>
1199
+
1200
+ <br>
1201
+
1202
+ *Comparison between different semantic-related speech tokenizers.*
1203
+
1204
+ <table>
1205
+ <thead>
1206
+ <tr>
1207
+ <th style="text-align: left;">Model</th>
1208
+ <th style="text-align: center;">NQ</th>
1209
+ <th style="text-align: center;">Codebook Size</th>
1210
+ <th style="text-align: center;">FPS</th>
1211
+ <th style="text-align: center;">PESQ_WB</th>
1212
+ <th style="text-align: center;">PESQ_NB</th>
1213
+ <th style="text-align: center;">STOI</th>
1214
+ <th style="text-align: center;">UTMOS</th>
1215
+ <th style="text-align: center;">SIM</th>
1216
+ </tr>
1217
+ </thead>
1218
+ <tbody>
1219
+ <tr>
1220
+ <td style="text-align: left;">SpeechTokenizer (Zhang et al., 2023a)</td>
1221
+ <td style="text-align: center;">8</td>
1222
+ <td style="text-align: center;">1024</td>
1223
+ <td style="text-align: center;">50</td>
1224
+ <td style="text-align: center;">2.60</td>
1225
+ <td style="text-align: center;">3.05</td>
1226
+ <td style="text-align: center;">0.92</td>
1227
+ <td style="text-align: center;">3.90</td>
1228
+ <td style="text-align: center;">0.85</td>
1229
+ </tr>
1230
+ <tr>
1231
+ <td style="text-align: left;">X-codec (Ye et al., 2025a)</td>
1232
+ <td style="text-align: center;">2</td>
1233
+ <td style="text-align: center;">1024</td>
1234
+ <td style="text-align: center;">50</td>
1235
+ <td style="text-align: center;">2.68</td>
1236
+ <td style="text-align: center;">3.27</td>
1237
+ <td style="text-align: center;">0.86</td>
1238
+ <td style="text-align: center;">4.11</td>
1239
+ <td style="text-align: center;">0.84</td>
1240
+ </tr>
1241
+ <tr>
1242
+ <td style="text-align: left;">X-codec 2 (Ye et al., 2025b)</td>
1243
+ <td style="text-align: center;">1</td>
1244
+ <td style="text-align: center;">65536</td>
1245
+ <td style="text-align: center;">50</td>
1246
+ <td style="text-align: center;">2.43</td>
1247
+ <td style="text-align: center;">3.04</td>
1248
+ <td style="text-align: center;">0.92</td>
1249
+ <td style="text-align: center;">4.13</td>
1250
+ <td style="text-align: center;">0.82</td>
1251
+ </tr>
1252
+ <tr>
1253
+ <td style="text-align: left;">XY-Tokenizer (Gong et al., 2025)</td>
1254
+ <td style="text-align: center;">8</td>
1255
+ <td style="text-align: center;">1024</td>
1256
+ <td style="text-align: center;">12.5</td>
1257
+ <td style="text-align: center;">2.41</td>
1258
+ <td style="text-align: center;">3.00</td>
1259
+ <td style="text-align: center;">0.91</td>
1260
+ <td style="text-align: center;">3.98</td>
1261
+ <td style="text-align: center;">0.83</td>
1262
+ </tr>
1263
+ <tr>
1264
+ <td style="text-align: left;">Mimi (Défossez et al., 2024)</td>
1265
+ <td style="text-align: center;">16</td>
1266
+ <td style="text-align: center;">2048</td>
1267
+ <td style="text-align: center;">12.5</td>
1268
+ <td style="text-align: center;">2.88</td>
1269
+ <td style="text-align: center;">3.42</td>
1270
+ <td style="text-align: center;">0.94</td>
1271
+ <td style="text-align: center;">3.87</td>
1272
+ <td style="text-align: center;">0.87</td>
1273
+ </tr>
1274
+ <tr>
1275
+ <td style="text-align: left;">FireredTTS 2 Tokenizer (Xie et al., 2025)</td>
1276
+ <td style="text-align: center;">16</td>
1277
+ <td style="text-align: center;">2048</td>
1278
+ <td style="text-align: center;">12.5</td>
1279
+ <td style="text-align: center;">2.73</td>
1280
+ <td style="text-align: center;">3.28</td>
1281
+ <td style="text-align: center;">0.94</td>
1282
+ <td style="text-align: center;">3.88</td>
1283
+ <td style="text-align: center;">0.87</td>
1284
+ </tr>
1285
+ <tr>
1286
+ <td style="text-align: left;">Qwen-TTS-Tokenizer-12Hz</td>
1287
+ <td style="text-align: center;">16</td>
1288
+ <td style="text-align: center;">2048</td>
1289
+ <td style="text-align: center;">12.5</td>
1290
+ <td style="text-align: center;"><strong>3.21</strong></td>
1291
+ <td style="text-align: center;"><strong>3.68</strong></td>
1292
+ <td style="text-align: center;"><strong>0.96</strong></td>
1293
+ <td style="text-align: center;"><strong>4.16</strong></td>
1294
+ <td style="text-align: center;"><strong>0.95</strong></td>
1295
+ </tr>
1296
+ </tbody>
1297
+ </table>
1298
+
1299
+ </details>
1300
+
1301
+
1302
+ ## Citation
1303
+
1304
+ If you find our paper and code useful in your research, please consider giving a star :star: and citation :pencil: :)
1305
+
1306
+ ```BibTeX
1307
+ @article{Qwen3-TTS,
1308
+ title={Qwen3-TTS Technical Report},
1309
+ author={Hangrui Hu and Xinfa Zhu and Ting He and Dake Guo and Bin Zhang and Xiong Wang and Zhifang Guo and Ziyue Jiang and Hongkun Hao and Zishan Guo and Xinyu Zhang and Pei Zhang and Baosong Yang and Jin Xu and Jingren Zhou and Junyang Lin},
1310
+ journal={arXiv preprint arXiv:2601.15621},
1311
+ year={2026}
1312
+ }
1313
+ ```
1314
+
1315
+ <br>
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/config.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3TTSForConditionalGeneration"
4
+ ],
5
+ "assistant_token_id": 77091,
6
+ "im_end_token_id": 151645,
7
+ "im_start_token_id": 151644,
8
+ "tts_bos_token_id": 151672,
9
+ "tts_eos_token_id": 151673,
10
+ "tts_pad_token_id": 151671,
11
+ "model_type": "qwen3_tts",
12
+ "tokenizer_type": "qwen3_tts_tokenizer_12hz",
13
+ "tts_model_size": "1b7",
14
+ "tts_model_type": "base",
15
+ "speaker_encoder_config": {
16
+ "enc_dim": 2048,
17
+ "sample_rate": 24000
18
+ },
19
+ "talker_config": {
20
+ "attention_bias": false,
21
+ "attention_dropout": 0,
22
+ "code_predictor_config": {
23
+ "_name_or_path": "",
24
+ "add_cross_attention": false,
25
+ "architectures": null,
26
+ "attention_bias": false,
27
+ "attention_dropout": 0,
28
+ "bad_words_ids": null,
29
+ "begin_suppress_tokens": null,
30
+ "bos_token_id": null,
31
+ "chunk_size_feed_forward": 0,
32
+ "cross_attention_hidden_size": null,
33
+ "decoder_start_token_id": null,
34
+ "diversity_penalty": 0.0,
35
+ "do_sample": false,
36
+ "early_stopping": false,
37
+ "encoder_no_repeat_ngram_size": 0,
38
+ "eos_token_id": null,
39
+ "exponential_decay_length_penalty": null,
40
+ "finetuning_task": null,
41
+ "forced_bos_token_id": null,
42
+ "forced_eos_token_id": null,
43
+ "head_dim": 128,
44
+ "hidden_act": "silu",
45
+ "hidden_size": 1024,
46
+ "id2label": {
47
+ "0": "LABEL_0",
48
+ "1": "LABEL_1"
49
+ },
50
+ "initializer_range": 0.02,
51
+ "intermediate_size": 3072,
52
+ "is_decoder": false,
53
+ "is_encoder_decoder": false,
54
+ "label2id": {
55
+ "LABEL_0": 0,
56
+ "LABEL_1": 1
57
+ },
58
+ "layer_types": [
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention",
63
+ "full_attention"
64
+ ],
65
+ "length_penalty": 1.0,
66
+ "max_length": 20,
67
+ "max_position_embeddings": 65536,
68
+ "max_window_layers": 28,
69
+ "min_length": 0,
70
+ "model_type": "qwen3_tts_talker_code_predictor",
71
+ "no_repeat_ngram_size": 0,
72
+ "num_attention_heads": 16,
73
+ "num_beam_groups": 1,
74
+ "num_beams": 1,
75
+ "num_code_groups": 16,
76
+ "num_hidden_layers": 5,
77
+ "num_key_value_heads": 8,
78
+ "num_return_sequences": 1,
79
+ "output_attentions": false,
80
+ "output_hidden_states": false,
81
+ "output_scores": false,
82
+ "pad_token_id": null,
83
+ "prefix": null,
84
+ "problem_type": null,
85
+ "pruned_heads": {},
86
+ "remove_invalid_values": false,
87
+ "repetition_penalty": 1.0,
88
+ "return_dict": true,
89
+ "return_dict_in_generate": false,
90
+ "rms_norm_eps": 1e-06,
91
+ "rope_scaling": null,
92
+ "rope_theta": 1000000,
93
+ "sep_token_id": null,
94
+ "sliding_window": null,
95
+ "suppress_tokens": null,
96
+ "task_specific_params": null,
97
+ "temperature": 1.0,
98
+ "tf_legacy_loss": false,
99
+ "tie_encoder_decoder": false,
100
+ "tie_word_embeddings": false,
101
+ "tokenizer_class": null,
102
+ "top_k": 50,
103
+ "top_p": 1.0,
104
+ "dtype": null,
105
+ "torchscript": false,
106
+ "typical_p": 1.0,
107
+ "use_bfloat16": false,
108
+ "use_cache": true,
109
+ "use_sliding_window": false,
110
+ "vocab_size": 2048
111
+ },
112
+ "codec_bos_id": 2149,
113
+ "codec_eos_token_id": 2150,
114
+ "codec_think_id": 2154,
115
+ "codec_language_id": {
116
+ "chinese": 2055,
117
+ "english": 2050,
118
+ "german": 2053,
119
+ "italian": 2070,
120
+ "portuguese": 2071,
121
+ "spanish": 2054,
122
+ "japanese": 2058,
123
+ "korean": 2064,
124
+ "french": 2061,
125
+ "russian": 2069
126
+ },
127
+ "codec_nothink_id": 2155,
128
+ "codec_pad_id": 2148,
129
+ "codec_think_bos_id": 2156,
130
+ "codec_think_eos_id": 2157,
131
+ "spk_id": {
132
+ },
133
+ "spk_is_dialect": {
134
+ },
135
+ "head_dim": 128,
136
+ "hidden_act": "silu",
137
+ "hidden_size": 2048,
138
+ "initializer_range": 0.02,
139
+ "intermediate_size": 6144,
140
+ "max_position_embeddings": 32768,
141
+ "model_type": "qwen3_tts_talker",
142
+ "num_attention_heads": 16,
143
+ "num_code_groups": 16,
144
+ "num_hidden_layers": 28,
145
+ "num_key_value_heads": 8,
146
+ "position_id_per_seconds": 13,
147
+ "rms_norm_eps": 1e-06,
148
+ "rope_scaling": {
149
+ "interleaved": true,
150
+ "mrope_section": [
151
+ 24,
152
+ 20,
153
+ 20
154
+ ],
155
+ "rope_type": "default",
156
+ "type": "default"
157
+ },
158
+ "rope_theta": 1000000,
159
+ "sliding_window": null,
160
+ "text_hidden_size": 2048,
161
+ "text_vocab_size": 151936,
162
+ "use_cache": true,
163
+ "use_sliding_window": false,
164
+ "vocab_size": 3072
165
+ },
166
+ "transformers_version": "4.57.3"
167
+ }
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "repetition_penalty": 1.05,
4
+ "temperature": 0.9,
5
+ "top_p": 1.0,
6
+ "top_k": 50,
7
+ "subtalker_dosample": true,
8
+ "subtalker_temperature": 0.9,
9
+ "subtalker_top_p": 1.0,
10
+ "subtalker_top_k": 50,
11
+ "max_new_tokens": 8192
12
+ }
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/preprocessor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "padding_side": "left",
3
+ "padding_value": 0.0,
4
+ "processor_class": "Qwen3TTSProcessor",
5
+ "return_attention_mask": true
6
+ }
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/speech_tokenizer/config.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3TTSTokenizerV2Model"
4
+ ],
5
+ "model_type": "qwen3_tts_tokenizer_12hz",
6
+ "encoder_valid_num_quantizers": 16,
7
+ "input_sample_rate": 24000,
8
+ "output_sample_rate": 24000,
9
+ "decode_upsample_rate": 1920,
10
+ "encode_downsample_rate": 1920,
11
+ "decoder_config": {
12
+ "attention_bias": false,
13
+ "attention_dropout": 0.0,
14
+ "latent_dim": 1024,
15
+ "codebook_dim": 512,
16
+ "codebook_size": 2048,
17
+ "decoder_dim": 1536,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 512,
20
+ "intermediate_size": 1024,
21
+ "layer_scale_initial_scale": 0.01,
22
+ "max_position_embeddings": 8000,
23
+ "head_dim": 64,
24
+ "num_attention_heads": 16,
25
+ "num_hidden_layers": 8,
26
+ "num_key_value_heads": 16,
27
+ "num_quantizers": 16,
28
+ "num_semantic_quantizers": 1,
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_theta": 10000,
31
+ "semantic_codebook_size": 4096,
32
+ "sliding_window": 72,
33
+ "upsample_rates": [
34
+ 8,
35
+ 5,
36
+ 4,
37
+ 3
38
+ ],
39
+ "upsampling_ratios": [
40
+ 2,
41
+ 2
42
+ ],
43
+ "vector_quantization_hidden_dimension": 512
44
+ },
45
+ "encoder_config": {
46
+ "_frame_rate": 12.5,
47
+ "attention_bias": false,
48
+ "attention_dropout": 0.0,
49
+ "audio_channels": 1,
50
+ "codebook_dim": 256,
51
+ "codebook_size": 2048,
52
+ "compress": 2,
53
+ "dilation_growth_rate": 2,
54
+ "dtype": "float32",
55
+ "head_dim": 64,
56
+ "hidden_act": "gelu",
57
+ "hidden_size": 512,
58
+ "initializer_range": 0.02,
59
+ "intermediate_size": 2048,
60
+ "kernel_size": 7,
61
+ "last_kernel_size": 3,
62
+ "layer_scale_initial_scale": 0.01,
63
+ "max_position_embeddings": 8000,
64
+ "norm_eps": 1e-05,
65
+ "normalize": false,
66
+ "num_attention_heads": 8,
67
+ "num_filters": 64,
68
+ "num_hidden_layers": 8,
69
+ "num_key_value_heads": 8,
70
+ "num_quantizers": 32,
71
+ "num_residual_layers": 1,
72
+ "num_semantic_quantizers": 1,
73
+ "pad_mode": "constant",
74
+ "residual_kernel_size": 3,
75
+ "rope_theta": 10000.0,
76
+ "sampling_rate": 24000,
77
+ "sliding_window": 250,
78
+ "transformers_version": "4.57.0.dev0",
79
+ "trim_right_ratio": 1.0,
80
+ "upsample_groups": 512,
81
+ "upsampling_ratios": [
82
+ 8,
83
+ 6,
84
+ 5,
85
+ 4
86
+ ],
87
+ "use_cache": false,
88
+ "use_causal_conv": true,
89
+ "use_conv_shortcut": false,
90
+ "use_streaming": false,
91
+ "vector_quantization_hidden_dimension": 256
92
+ },
93
+ "transformers_version": "4.57.3"
94
+ }
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/speech_tokenizer/configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework": "pytorch", "task": "feature-extraction", "allow_remote": true}
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/speech_tokenizer/preprocessor_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length_s": null,
3
+ "feature_extractor_type": "EncodecFeatureExtractor",
4
+ "feature_size": 1,
5
+ "overlap": null,
6
+ "padding_side": "right",
7
+ "padding_value": 0.0,
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 24000
10
+ }
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/tokenizer_config.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ },
213
+ "151669": {
214
+ "content": "<|audio_start|>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "151670": {
222
+ "content": "<|audio_end|>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ },
229
+ "151671": {
230
+ "content": "<tts_pad>",
231
+ "lstrip": false,
232
+ "normalized": false,
233
+ "rstrip": false,
234
+ "single_word": false,
235
+ "special": true
236
+ },
237
+ "151672": {
238
+ "content": "<tts_text_bos>",
239
+ "lstrip": false,
240
+ "normalized": false,
241
+ "rstrip": false,
242
+ "single_word": false,
243
+ "special": true
244
+ },
245
+ "151673": {
246
+ "content": "<tts_text_eod>",
247
+ "lstrip": false,
248
+ "normalized": false,
249
+ "rstrip": false,
250
+ "single_word": false,
251
+ "special": true
252
+ },
253
+ "151674": {
254
+ "content": "<tts_text_bos_single>",
255
+ "lstrip": false,
256
+ "normalized": false,
257
+ "rstrip": false,
258
+ "single_word": false,
259
+ "special": true
260
+ },
261
+ "151675": {
262
+ "content": "<|audio_pad|>",
263
+ "lstrip": false,
264
+ "normalized": false,
265
+ "rstrip": false,
266
+ "single_word": false,
267
+ "special": true
268
+ }
269
+ },
270
+ "additional_special_tokens": [
271
+ "<|im_start|>",
272
+ "<|im_end|>",
273
+ "<|object_ref_start|>",
274
+ "<|object_ref_end|>",
275
+ "<|box_start|>",
276
+ "<|box_end|>",
277
+ "<|quad_start|>",
278
+ "<|quad_end|>",
279
+ "<|vision_start|>",
280
+ "<|vision_end|>",
281
+ "<|vision_pad|>",
282
+ "<|image_pad|>",
283
+ "<|video_pad|>",
284
+ "<|audio_start|>",
285
+ "<|audio_end|>",
286
+ "<tts_pad>",
287
+ "<tts_text_bos>",
288
+ "<tts_text_bos_single>",
289
+ "<|audio_pad|>"
290
+ ],
291
+ "extra_special_tokens": {
292
+ "image_token": "<|image_pad|>",
293
+ "audio_token": "<|audio_pad|>",
294
+ "video_token": "<|video_pad|>",
295
+ "vision_bos_token": "<|vision_start|>",
296
+ "vision_eos_token": "<|vision_end|>",
297
+ "audio_bos_token": "<|audio_start|>",
298
+ "audio_eos_token": "<|audio_end|>"
299
+ },
300
+ "bos_token": null,
301
+ "clean_up_tokenization_spaces": false,
302
+ "eos_token": "<|im_end|>",
303
+ "errors": "replace",
304
+ "model_max_length": 131072,
305
+ "pad_token": "<|endoftext|>",
306
+ "split_special_tokens": false,
307
+ "tokenizer_class": "Qwen2Tokenizer",
308
+ "unk_token": null,
309
+ "image_token": "<|image_pad|>",
310
+ "audio_token": "<|audio_pad|>",
311
+ "video_token": "<|video_pad|>",
312
+ "vision_bos_token": "<|vision_start|>",
313
+ "vision_eos_token": "<|vision_end|>",
314
+ "audio_bos_token": "<|audio_start|>",
315
+ "audio_eos_token": "<|audio_end|>"
316
+ }
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-Base/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Qwen3-TTS/Qwen3-TTS-12Hz-1.7B-VoiceDesign/config.json CHANGED
@@ -1,163 +1,163 @@
1
- {
2
- "architectures": [
3
- "Qwen3TTSForConditionalGeneration"
4
- ],
5
- "assistant_token_id": 77091,
6
- "im_end_token_id": 151645,
7
- "im_start_token_id": 151644,
8
- "tts_bos_token_id": 151672,
9
- "tts_eos_token_id": 151673,
10
- "tts_pad_token_id": 151671,
11
- "model_type": "qwen3_tts",
12
- "tokenizer_type": "qwen3_tts_tokenizer_12hz",
13
- "tts_model_size": "1b7",
14
- "tts_model_type": "voice_design",
15
- "talker_config": {
16
- "attention_bias": false,
17
- "attention_dropout": 0,
18
- "code_predictor_config": {
19
- "_name_or_path": "",
20
- "add_cross_attention": false,
21
- "architectures": null,
22
- "attention_bias": false,
23
- "attention_dropout": 0,
24
- "bad_words_ids": null,
25
- "begin_suppress_tokens": null,
26
- "bos_token_id": null,
27
- "chunk_size_feed_forward": 0,
28
- "cross_attention_hidden_size": null,
29
- "decoder_start_token_id": null,
30
- "diversity_penalty": 0.0,
31
- "do_sample": false,
32
- "early_stopping": false,
33
- "encoder_no_repeat_ngram_size": 0,
34
- "eos_token_id": null,
35
- "exponential_decay_length_penalty": null,
36
- "finetuning_task": null,
37
- "forced_bos_token_id": null,
38
- "forced_eos_token_id": null,
39
- "head_dim": 128,
40
- "hidden_act": "silu",
41
- "hidden_size": 1024,
42
- "id2label": {
43
- "0": "LABEL_0",
44
- "1": "LABEL_1"
45
- },
46
- "initializer_range": 0.02,
47
- "intermediate_size": 3072,
48
- "is_decoder": false,
49
- "is_encoder_decoder": false,
50
- "label2id": {
51
- "LABEL_0": 0,
52
- "LABEL_1": 1
53
- },
54
- "layer_types": [
55
- "full_attention",
56
- "full_attention",
57
- "full_attention",
58
- "full_attention",
59
- "full_attention"
60
- ],
61
- "length_penalty": 1.0,
62
- "max_length": 20,
63
- "max_position_embeddings": 65536,
64
- "max_window_layers": 28,
65
- "min_length": 0,
66
- "model_type": "qwen3_tts_talker_code_predictor",
67
- "no_repeat_ngram_size": 0,
68
- "num_attention_heads": 16,
69
- "num_beam_groups": 1,
70
- "num_beams": 1,
71
- "num_code_groups": 16,
72
- "num_hidden_layers": 5,
73
- "num_key_value_heads": 8,
74
- "num_return_sequences": 1,
75
- "output_attentions": false,
76
- "output_hidden_states": false,
77
- "output_scores": false,
78
- "pad_token_id": null,
79
- "prefix": null,
80
- "problem_type": null,
81
- "pruned_heads": {},
82
- "remove_invalid_values": false,
83
- "repetition_penalty": 1.0,
84
- "return_dict": true,
85
- "return_dict_in_generate": false,
86
- "rms_norm_eps": 1e-06,
87
- "rope_scaling": null,
88
- "rope_theta": 1000000,
89
- "sep_token_id": null,
90
- "sliding_window": null,
91
- "suppress_tokens": null,
92
- "task_specific_params": null,
93
- "temperature": 1.0,
94
- "tf_legacy_loss": false,
95
- "tie_encoder_decoder": false,
96
- "tie_word_embeddings": false,
97
- "tokenizer_class": null,
98
- "top_k": 50,
99
- "top_p": 1.0,
100
- "dtype": null,
101
- "torchscript": false,
102
- "typical_p": 1.0,
103
- "use_bfloat16": false,
104
- "use_cache": true,
105
- "use_sliding_window": false,
106
- "vocab_size": 2048
107
- },
108
- "codec_bos_id": 2149,
109
- "codec_eos_token_id": 2150,
110
- "codec_think_id": 2154,
111
- "codec_language_id": {
112
- "chinese": 2055,
113
- "english": 2050,
114
- "german": 2053,
115
- "italian": 2070,
116
- "portuguese": 2071,
117
- "spanish": 2054,
118
- "japanese": 2058,
119
- "korean": 2064,
120
- "french": 2061,
121
- "russian": 2069
122
- },
123
- "codec_nothink_id": 2155,
124
- "codec_pad_id": 2148,
125
- "codec_think_bos_id": 2156,
126
- "codec_think_eos_id": 2157,
127
- "spk_id": {
128
- },
129
- "spk_is_dialect": {
130
- },
131
- "head_dim": 128,
132
- "hidden_act": "silu",
133
- "hidden_size": 2048,
134
- "initializer_range": 0.02,
135
- "intermediate_size": 6144,
136
- "max_position_embeddings": 32768,
137
- "model_type": "qwen3_tts_talker",
138
- "num_attention_heads": 16,
139
- "num_code_groups": 16,
140
- "num_hidden_layers": 28,
141
- "num_key_value_heads": 8,
142
- "position_id_per_seconds": 13,
143
- "rms_norm_eps": 1e-06,
144
- "rope_scaling": {
145
- "interleaved": true,
146
- "mrope_section": [
147
- 24,
148
- 20,
149
- 20
150
- ],
151
- "rope_type": "default",
152
- "type": "default"
153
- },
154
- "rope_theta": 1000000,
155
- "sliding_window": null,
156
- "text_hidden_size": 2048,
157
- "text_vocab_size": 151936,
158
- "use_cache": true,
159
- "use_sliding_window": false,
160
- "vocab_size": 3072
161
- },
162
- "transformers_version": "4.57.3"
163
- }
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3TTSForConditionalGeneration"
4
+ ],
5
+ "assistant_token_id": 77091,
6
+ "im_end_token_id": 151645,
7
+ "im_start_token_id": 151644,
8
+ "tts_bos_token_id": 151672,
9
+ "tts_eos_token_id": 151673,
10
+ "tts_pad_token_id": 151671,
11
+ "model_type": "qwen3_tts",
12
+ "tokenizer_type": "qwen3_tts_tokenizer_12hz",
13
+ "tts_model_size": "1b7",
14
+ "tts_model_type": "voice_design",
15
+ "talker_config": {
16
+ "attention_bias": false,
17
+ "attention_dropout": 0,
18
+ "code_predictor_config": {
19
+ "_name_or_path": "",
20
+ "add_cross_attention": false,
21
+ "architectures": null,
22
+ "attention_bias": false,
23
+ "attention_dropout": 0,
24
+ "bad_words_ids": null,
25
+ "begin_suppress_tokens": null,
26
+ "bos_token_id": null,
27
+ "chunk_size_feed_forward": 0,
28
+ "cross_attention_hidden_size": null,
29
+ "decoder_start_token_id": null,
30
+ "diversity_penalty": 0.0,
31
+ "do_sample": false,
32
+ "early_stopping": false,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": null,
35
+ "exponential_decay_length_penalty": null,
36
+ "finetuning_task": null,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": null,
39
+ "head_dim": 128,
40
+ "hidden_act": "silu",
41
+ "hidden_size": 1024,
42
+ "id2label": {
43
+ "0": "LABEL_0",
44
+ "1": "LABEL_1"
45
+ },
46
+ "initializer_range": 0.02,
47
+ "intermediate_size": 3072,
48
+ "is_decoder": false,
49
+ "is_encoder_decoder": false,
50
+ "label2id": {
51
+ "LABEL_0": 0,
52
+ "LABEL_1": 1
53
+ },
54
+ "layer_types": [
55
+ "full_attention",
56
+ "full_attention",
57
+ "full_attention",
58
+ "full_attention",
59
+ "full_attention"
60
+ ],
61
+ "length_penalty": 1.0,
62
+ "max_length": 20,
63
+ "max_position_embeddings": 65536,
64
+ "max_window_layers": 28,
65
+ "min_length": 0,
66
+ "model_type": "qwen3_tts_talker_code_predictor",
67
+ "no_repeat_ngram_size": 0,
68
+ "num_attention_heads": 16,
69
+ "num_beam_groups": 1,
70
+ "num_beams": 1,
71
+ "num_code_groups": 16,
72
+ "num_hidden_layers": 5,
73
+ "num_key_value_heads": 8,
74
+ "num_return_sequences": 1,
75
+ "output_attentions": false,
76
+ "output_hidden_states": false,
77
+ "output_scores": false,
78
+ "pad_token_id": null,
79
+ "prefix": null,
80
+ "problem_type": null,
81
+ "pruned_heads": {},
82
+ "remove_invalid_values": false,
83
+ "repetition_penalty": 1.0,
84
+ "return_dict": true,
85
+ "return_dict_in_generate": false,
86
+ "rms_norm_eps": 1e-06,
87
+ "rope_scaling": null,
88
+ "rope_theta": 1000000,
89
+ "sep_token_id": null,
90
+ "sliding_window": null,
91
+ "suppress_tokens": null,
92
+ "task_specific_params": null,
93
+ "temperature": 1.0,
94
+ "tf_legacy_loss": false,
95
+ "tie_encoder_decoder": false,
96
+ "tie_word_embeddings": false,
97
+ "tokenizer_class": null,
98
+ "top_k": 50,
99
+ "top_p": 1.0,
100
+ "dtype": null,
101
+ "torchscript": false,
102
+ "typical_p": 1.0,
103
+ "use_bfloat16": false,
104
+ "use_cache": true,
105
+ "use_sliding_window": false,
106
+ "vocab_size": 2048
107
+ },
108
+ "codec_bos_id": 2149,
109
+ "codec_eos_token_id": 2150,
110
+ "codec_think_id": 2154,
111
+ "codec_language_id": {
112
+ "chinese": 2055,
113
+ "english": 2050,
114
+ "german": 2053,
115
+ "italian": 2070,
116
+ "portuguese": 2071,
117
+ "spanish": 2054,
118
+ "japanese": 2058,
119
+ "korean": 2064,
120
+ "french": 2061,
121
+ "russian": 2069
122
+ },
123
+ "codec_nothink_id": 2155,
124
+ "codec_pad_id": 2148,
125
+ "codec_think_bos_id": 2156,
126
+ "codec_think_eos_id": 2157,
127
+ "spk_id": {
128
+ },
129
+ "spk_is_dialect": {
130
+ },
131
+ "head_dim": 128,
132
+ "hidden_act": "silu",
133
+ "hidden_size": 2048,
134
+ "initializer_range": 0.02,
135
+ "intermediate_size": 6144,
136
+ "max_position_embeddings": 32768,
137
+ "model_type": "qwen3_tts_talker",
138
+ "num_attention_heads": 16,
139
+ "num_code_groups": 16,
140
+ "num_hidden_layers": 28,
141
+ "num_key_value_heads": 8,
142
+ "position_id_per_seconds": 13,
143
+ "rms_norm_eps": 1e-06,
144
+ "rope_scaling": {
145
+ "interleaved": true,
146
+ "mrope_section": [
147
+ 24,
148
+ 20,
149
+ 20
150
+ ],
151
+ "rope_type": "default",
152
+ "type": "default"
153
+ },
154
+ "rope_theta": 1000000,
155
+ "sliding_window": null,
156
+ "text_hidden_size": 2048,
157
+ "text_vocab_size": 151936,
158
+ "use_cache": true,
159
+ "use_sliding_window": false,
160
+ "vocab_size": 3072
161
+ },
162
+ "transformers_version": "4.57.3"
163
+ }
audio_encoders/xet/logs/xet_20260422T194401846+0200_27380.log ADDED
The diff for this file is too large to render. See raw diff
 
audio_encoders/xet/logs/xet_20260423T145426523+0200_40880.log ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/xl/rt_artemisLuxe_matureFLAT20.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15b502424e6bbfbc8d939d5d719fda9dde5748765d3399767c36226e03a28dee
3
+ size 7105348436
checkpoints/xl/rt_perfectdeliberate_v90.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea4ec6c4d248fb9cdc3209bcbf3fccb05acb1a2a901d3f1e805e39810ed0b09
3
+ size 6938040682
checkpoints/xl/rta_copaxTimeless_xplus2BNSFW1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:066eb889380177ab1212eb485146759b876dd9cc43b33cfdc999e0f7511994c1
3
+ size 6938040690
diffusion_models/Wan2.2/smoothMix2214BI2V_i2v_high.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76e743495c4cd7c77dd97301b1fc48d86995d10ad30cad7222cdf936b9e952d7
3
+ size 21283564107
diffusion_models/Wan2.2/smoothMix2214BI2V_i2v_low.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b746c7d05ab9c4a2d6c617cff9f660068bad125e55bbc01b7eefd175c0fad54a
3
+ size 21283564099
diffusion_models/Wan2.2/wb_dasiwaWAN22I2V14BLightspeed_boundbite_high_V10.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a51de3ec770a238d5641c261c324cb670dbdd895e05bdafbce654edc62c880f
3
+ size 14527124344
diffusion_models/Wan2.2/wb_dasiwaWAN22I2V14BLightspeed_boundbite_low_V10.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d28e3ae48a56d33a4805b1fec8b89a5451a2adab784afe25de50d076787d312
3
+ size 14527124344
diffusion_models/cocomix/copaxTimeless_qwenUnreal_Overcooked_bf16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89c3e976b0f7e287665ee2fa807ecbd2b5d889b97ac6ae4244e10d4ff638328d
3
+ size 40861031488
diffusion_models/zi/zp_moodyPornMix_zitV11DPO.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:674f39a1b3e5201b6664284ca762b2dac9658ec6af198f61e8b4b93f0f06a5c8
3
+ size 12309879664
diffusion_models/zi/zpw_nsfwProjectAnime_v10FP16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d88ea0f2875584f16d559952dadd283c93647a314c5e1da3c68c89f16ad70b4
3
+ size 12309890920
omnivoice/OmniVoice/.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
omnivoice/OmniVoice/README.md ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - Qwen/Qwen3-0.6B
4
+ language:
5
+ - aae
6
+ - aal
7
+ - aao
8
+ - ab
9
+ - abb
10
+ - abn
11
+ - abr
12
+ - abs
13
+ - abv
14
+ - acm
15
+ - acw
16
+ - acx
17
+ - adf
18
+ - adx
19
+ - ady
20
+ - aeb
21
+ - aec
22
+ - af
23
+ - afb
24
+ - afo
25
+ - ahl
26
+ - ahs
27
+ - ajg
28
+ - aju
29
+ - ala
30
+ - aln
31
+ - alo
32
+ - am
33
+ - amu
34
+ - an
35
+ - anc
36
+ - ank
37
+ - anp
38
+ - anw
39
+ - aom
40
+ - apc
41
+ - apd
42
+ - arb
43
+ - arq
44
+ - ars
45
+ - ary
46
+ - arz
47
+ - as
48
+ - ast
49
+ - avl
50
+ - awo
51
+ - ayl
52
+ - ayp
53
+ - az
54
+ - ba
55
+ - bag
56
+ - bas
57
+ - bax
58
+ - bba
59
+ - bbj
60
+ - bbl
61
+ - bbu
62
+ - bce
63
+ - bci
64
+ - bcs
65
+ - bcy
66
+ - bda
67
+ - bde
68
+ - bdm
69
+ - be
70
+ - beb
71
+ - bew
72
+ - bfd
73
+ - bft
74
+ - bg
75
+ - bgp
76
+ - bhb
77
+ - bhh
78
+ - bho
79
+ - bhp
80
+ - bhr
81
+ - bjj
82
+ - bjk
83
+ - bjn
84
+ - bjt
85
+ - bkh
86
+ - bkm
87
+ - bky
88
+ - bmm
89
+ - bmq
90
+ - bn
91
+ - bnm
92
+ - bnn
93
+ - bns
94
+ - bo
95
+ - bou
96
+ - bqg
97
+ - br
98
+ - bra
99
+ - brh
100
+ - bri
101
+ - brx
102
+ - bs
103
+ - bsh
104
+ - bsj
105
+ - bsk
106
+ - btm
107
+ - btv
108
+ - bug
109
+ - bum
110
+ - buo
111
+ - bux
112
+ - bwr
113
+ - bxf
114
+ - byc
115
+ - bys
116
+ - byv
117
+ - byx
118
+ - bzc
119
+ - bzw
120
+ - ca
121
+ - ccg
122
+ - ceb
123
+ - cen
124
+ - cfa
125
+ - cgg
126
+ - chq
127
+ - cjk
128
+ - ckb
129
+ - ckl
130
+ - ckr
131
+ - cky
132
+ - cnh
133
+ - cpy
134
+ - cs
135
+ - cte
136
+ - ctl
137
+ - cut
138
+ - cux
139
+ - cv
140
+ - cy
141
+ - da
142
+ - dag
143
+ - dar
144
+ - dav
145
+ - dbd
146
+ - dcc
147
+ - de
148
+ - deg
149
+ - dgh
150
+ - dgo
151
+ - dje
152
+ - dmk
153
+ - dml
154
+ - dru
155
+ - dty
156
+ - dua
157
+ - dv
158
+ - dyu
159
+ - dzg
160
+ - ebr
161
+ - ebu
162
+ - ego
163
+ - eiv
164
+ - eko
165
+ - ekr
166
+ - el
167
+ - elm
168
+ - en
169
+ - eo
170
+ - es
171
+ - esu
172
+ - et
173
+ - eto
174
+ - ets
175
+ - etu
176
+ - eu
177
+ - ewo
178
+ - ext
179
+ - eyo
180
+ - fa
181
+ - fan
182
+ - fat
183
+ - ff
184
+ - ffm
185
+ - fi
186
+ - fia
187
+ - fil
188
+ - fip
189
+ - fkk
190
+ - fmp
191
+ - fr
192
+ - fub
193
+ - fuc
194
+ - fue
195
+ - fuf
196
+ - fuh
197
+ - fui
198
+ - fuq
199
+ - fuv
200
+ - fy
201
+ - ga
202
+ - gbm
203
+ - gbr
204
+ - gby
205
+ - gcc
206
+ - gdf
207
+ - gej
208
+ - ges
209
+ - ggg
210
+ - gid
211
+ - gig
212
+ - giz
213
+ - gjk
214
+ - gju
215
+ - gl
216
+ - glw
217
+ - gn
218
+ - gol
219
+ - gom
220
+ - gsl
221
+ - gu
222
+ - gui
223
+ - gur
224
+ - guz
225
+ - gv
226
+ - gwc
227
+ - gwe
228
+ - gwt
229
+ - gya
230
+ - gyz
231
+ - ha
232
+ - hah
233
+ - hao
234
+ - haw
235
+ - haz
236
+ - hbb
237
+ - he
238
+ - hem
239
+ - hi
240
+ - hia
241
+ - hkk
242
+ - hla
243
+ - hno
244
+ - hoj
245
+ - hr
246
+ - hsb
247
+ - ht
248
+ - hu
249
+ - hue
250
+ - hul
251
+ - hux
252
+ - hwo
253
+ - hy
254
+ - hz
255
+ - ia
256
+ - ibb
257
+ - id
258
+ - ida
259
+ - idu
260
+ - ig
261
+ - ijc
262
+ - ijn
263
+ - ik
264
+ - ikw
265
+ - is
266
+ - ish
267
+ - iso
268
+ - it
269
+ - its
270
+ - itw
271
+ - itz
272
+ - ja
273
+ - jal
274
+ - jax
275
+ - jgo
276
+ - jmx
277
+ - jns
278
+ - jqr
279
+ - juk
280
+ - juo
281
+ - jv
282
+ - ka
283
+ - kab
284
+ - kai
285
+ - kaj
286
+ - kam
287
+ - kbd
288
+ - kbl
289
+ - kbt
290
+ - kcq
291
+ - kdh
292
+ - kea
293
+ - keu
294
+ - kfe
295
+ - kfk
296
+ - kfp
297
+ - khg
298
+ - khw
299
+ - kj
300
+ - kjc
301
+ - kjk
302
+ - kk
303
+ - kln
304
+ - kls
305
+ - km
306
+ - kmr
307
+ - kmy
308
+ - kn
309
+ - kna
310
+ - knn
311
+ - ko
312
+ - kol
313
+ - koo
314
+ - kpo
315
+ - kqo
316
+ - ks
317
+ - ksd
318
+ - ksf
319
+ - kto
320
+ - kuh
321
+ - kvx
322
+ - kw
323
+ - kwm
324
+ - kxp
325
+ - ky
326
+ - kyx
327
+ - lag
328
+ - lb
329
+ - lcm
330
+ - ldb
331
+ - lg
332
+ - lij
333
+ - lir
334
+ - lkb
335
+ - lla
336
+ - ln
337
+ - lnu
338
+ - lo
339
+ - loa
340
+ - lrk
341
+ - lss
342
+ - lt
343
+ - ltg
344
+ - lto
345
+ - lua
346
+ - luo
347
+ - lus
348
+ - lv
349
+ - lwg
350
+ - mab
351
+ - maf
352
+ - mai
353
+ - mau
354
+ - max
355
+ - mbo
356
+ - mcf
357
+ - mcn
358
+ - mcx
359
+ - mdd
360
+ - mde
361
+ - mdf
362
+ - mek
363
+ - mer
364
+ - meu
365
+ - mfm
366
+ - mfn
367
+ - mfo
368
+ - mfv
369
+ - mgg
370
+ - mgi
371
+ - mhk
372
+ - mhr
373
+ - mi
374
+ - mig
375
+ - miu
376
+ - mk
377
+ - mkf
378
+ - mki
379
+ - ml
380
+ - mlq
381
+ - mn
382
+ - mne
383
+ - mni
384
+ - mqy
385
+ - mr
386
+ - mrj
387
+ - mrr
388
+ - mrt
389
+ - ms
390
+ - mse
391
+ - msh
392
+ - msw
393
+ - mt
394
+ - mtr
395
+ - mtu
396
+ - mtx
397
+ - mua
398
+ - mug
399
+ - mui
400
+ - mve
401
+ - mvy
402
+ - mxs
403
+ - mxu
404
+ - mxy
405
+ - my
406
+ - myv
407
+ - mzl
408
+ - nal
409
+ - nan
410
+ - nap
411
+ - nb
412
+ - nbh
413
+ - ncf
414
+ - nco
415
+ - ncx
416
+ - ndi
417
+ - ng
418
+ - ngi
419
+ - nhg
420
+ - nhi
421
+ - nhn
422
+ - nhq
423
+ - nja
424
+ - nl
425
+ - nla
426
+ - nlv
427
+ - nmg
428
+ - nmz
429
+ - nn
430
+ - nnh
431
+ - 'no'
432
+ - noe
433
+ - npi
434
+ - nso
435
+ - ny
436
+ - nyu
437
+ - oc
438
+ - odk
439
+ - odu
440
+ - ogo
441
+ - om
442
+ - orc
443
+ - oru
444
+ - ory
445
+ - os
446
+ - pa
447
+ - pbs
448
+ - pbt
449
+ - pbu
450
+ - pcm
451
+ - pex
452
+ - phl
453
+ - phr
454
+ - pip
455
+ - piy
456
+ - pko
457
+ - pl
458
+ - plk
459
+ - plt
460
+ - pmq
461
+ - pms
462
+ - pmy
463
+ - pnb
464
+ - poc
465
+ - poe
466
+ - pow
467
+ - prq
468
+ - ps
469
+ - pst
470
+ - pt
471
+ - pua
472
+ - pwn
473
+ - qug
474
+ - qum
475
+ - qup
476
+ - qur
477
+ - qus
478
+ - quv
479
+ - qux
480
+ - quy
481
+ - qva
482
+ - qvi
483
+ - qvj
484
+ - qvl
485
+ - qwa
486
+ - qws
487
+ - qxa
488
+ - qxp
489
+ - qxt
490
+ - qxu
491
+ - qxw
492
+ - rag
493
+ - rm
494
+ - ro
495
+ - rob
496
+ - rof
497
+ - roo
498
+ - rth
499
+ - ru
500
+ - rup
501
+ - rw
502
+ - sa
503
+ - sah
504
+ - sat
505
+ - sau
506
+ - say
507
+ - sbn
508
+ - sc
509
+ - scl
510
+ - scn
511
+ - sd
512
+ - sei
513
+ - shu
514
+ - si
515
+ - sip
516
+ - siw
517
+ - sjr
518
+ - sk
519
+ - skg
520
+ - skr
521
+ - sl
522
+ - sn
523
+ - snc
524
+ - snk
525
+ - so
526
+ - sol
527
+ - sps
528
+ - sq
529
+ - sr
530
+ - src
531
+ - sro
532
+ - ssi
533
+ - ste
534
+ - sua
535
+ - sv
536
+ - sva
537
+ - sw
538
+ - szy
539
+ - ta
540
+ - tan
541
+ - tar
542
+ - tay
543
+ - tbf
544
+ - tcf
545
+ - tcy
546
+ - tdn
547
+ - tdx
548
+ - te
549
+ - tg
550
+ - tgc
551
+ - th
552
+ - the
553
+ - thq
554
+ - thr
555
+ - thv
556
+ - ti
557
+ - tig
558
+ - tio
559
+ - tk
560
+ - tkg
561
+ - tkt
562
+ - tli
563
+ - tlp
564
+ - tn
565
+ - tok
566
+ - tpl
567
+ - tpz
568
+ - tqp
569
+ - tr
570
+ - trp
571
+ - trq
572
+ - trv
573
+ - trw
574
+ - tt
575
+ - ttj
576
+ - ttr
577
+ - ttu
578
+ - tui
579
+ - tul
580
+ - tuq
581
+ - tuv
582
+ - tuy
583
+ - tvo
584
+ - tvu
585
+ - tw
586
+ - twu
587
+ - txs
588
+ - txy
589
+ - udl
590
+ - ug
591
+ - uk
592
+ - uki
593
+ - umb
594
+ - ur
595
+ - ush
596
+ - uz
597
+ - uzn
598
+ - vai
599
+ - var
600
+ - ver
601
+ - vi
602
+ - vmc
603
+ - vmj
604
+ - vmm
605
+ - vmp
606
+ - vmz
607
+ - vot
608
+ - vro
609
+ - wbl
610
+ - wci
611
+ - weo
612
+ - wes
613
+ - wja
614
+ - wji
615
+ - wo
616
+ - wof
617
+ - xh
618
+ - xhe
619
+ - xka
620
+ - xmf
621
+ - xmv
622
+ - xmw
623
+ - xpe
624
+ - xti
625
+ - xtu
626
+ - yaq
627
+ - yav
628
+ - yay
629
+ - ydd
630
+ - ydg
631
+ - yer
632
+ - 'yes'
633
+ - yi
634
+ - yo
635
+ - yue
636
+ - zga
637
+ - zgh
638
+ - zh
639
+ - zoc
640
+ - zoh
641
+ - zor
642
+ - zpv
643
+ - zpy
644
+ - ztg
645
+ - ztn
646
+ - ztp
647
+ - zts
648
+ - ztu
649
+ - zu
650
+ - zza
651
+ license: apache-2.0
652
+ pipeline_tag: text-to-speech
653
+ tags:
654
+ - zero-shot
655
+ - multilingual
656
+ - voice-cloning
657
+ - voice-design
658
+ library_name: omnivoice
659
+ ---
660
+
661
+ # OmniVoice 🌍
662
+
663
+ <p align="center">
664
+ <img width="200" height="200" alt="OmniVoice" src="https://zhu-han.github.io/omnivoice/pics/omnivoice.jpg" />
665
+ </p>
666
+
667
+ <p align="center">
668
+ <a href="https://huggingface.co/k2-fsa/OmniVoice"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-FFD21E" alt="Hugging Face Model"></a>
669
+ &nbsp;
670
+ <a href="https://huggingface.co/spaces/k2-fsa/OmniVoice"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Space-blue" alt="Hugging Face Space"></a>
671
+ &nbsp;
672
+ <a href="https://huggingface.co/papers/2604.00688"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B.svg"></a>
673
+ &nbsp;
674
+ <a href="https://github.com/k2-fsa/OmniVoice"><img src="https://img.shields.io/badge/GitHub-Code-181717?logo=GitHub" alt="GitHub Code"></a>
675
+ &nbsp;
676
+ <a href="https://zhu-han.github.io/omnivoice"><img src="https://img.shields.io/badge/GitHub.io-Demo_Page-blue?logo=GitHub&style=flat-square"></a>
677
+ &nbsp;
678
+ <a href="https://colab.research.google.com/github/k2-fsa/OmniVoice/blob/master/docs/OmniVoice.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a>
679
+ </p>
680
+
681
+
682
+ OmniVoice is a massively multilingual zero-shot text-to-speech (TTS) model supporting over 600 languages. Built on a novel diffusion language model-style architecture, it delivers high-quality speech with superior inference speed, supporting voice cloning and voice design.
683
+
684
+ - **Paper:** [OmniVoice: Towards Omnilingual Zero-Shot Text-to-Speech with Diffusion Language Models](https://huggingface.co/papers/2604.00688)
685
+ - **Repository:** [GitHub](https://github.com/k2-fsa/OmniVoice)
686
+ - **Demo:** [Hugging Face Space](https://huggingface.co/spaces/k2-fsa/OmniVoice)
687
+ - **Colab:** [Google Colab Notebook](https://colab.research.google.com/github/k2-fsa/OmniVoice/blob/master/docs/OmniVoice.ipynb)
688
+
689
+ ## Key Features
690
+
691
+ - **600+ Languages Supported**: The broadest language coverage among zero-shot TTS models.
692
+ - **Voice Cloning**: State-of-the-art voice cloning quality from a short reference audio.
693
+ - **Voice Design**: Control voices via assigned speaker attributes (gender, age, pitch, dialect/accent, whisper, etc.).
694
+ - **Fine-grained Control**: Non-verbal symbols (e.g., `[laughter]`) and pronunciation correction via pinyin or phonemes.
695
+ - **Fast Inference**: RTF as low as 0.025 (40x faster than real-time).
696
+ - **Diffusion Language Model-style Architecture**: A clean, streamlined, and scalable design that delivers both quality and speed.
697
+
698
+ ## Usage
699
+
700
+ To get started, install the `omnivoice` library:
701
+
702
+ > We recommend using a fresh virtual environment (e.g., `conda`, `venv`, etc.) to avoid conflicts.
703
+
704
+ **Step 1**: Install PyTorch
705
+
706
+ <details>
707
+ <summary>NVIDIA GPU</summary>
708
+
709
+ ```bash
710
+ # Install pytorch with your CUDA version, e.g.
711
+ pip install torch==2.8.0+cu128 torchaudio==2.8.0+cu128 --extra-index-url https://download.pytorch.org/whl/cu128
712
+ ```
713
+ > See [PyTorch official site](https://pytorch.org/get-started/locally/) for other versions installation.
714
+
715
+ </details>
716
+
717
+ <details>
718
+ <summary>Apple Silicon</summary>
719
+
720
+ ```bash
721
+ pip install torch==2.8.0 torchaudio==2.8.0
722
+ ```
723
+
724
+ </details>
725
+
726
+ **Step 2**: Install OmniVoice
727
+
728
+ ```bash
729
+ pip install omnivoice
730
+ ```
731
+
732
+ ### Python API
733
+
734
+ You can use OmniVoice for zero-shot voice cloning as follows:
735
+
736
+ ```python
737
+ from omnivoice import OmniVoice
738
+ import soundfile as sf
739
+ import torch
740
+
741
+ # Load the model
742
+ model = OmniVoice.from_pretrained(
743
+ "k2-fsa/OmniVoice",
744
+ device_map="cuda:0",
745
+ dtype=torch.float16
746
+ )
747
+
748
+ # Generate audio
749
+ audio = model.generate(
750
+ text="Hello, this is a test of zero-shot voice cloning.",
751
+ ref_audio="ref.wav",
752
+ ref_text="Transcription of the reference audio.",
753
+ ) # audio is a list of `np.ndarray` with shape (T,) at 24 kHz.
754
+
755
+ sf.write("out.wav", audio[0], 24000)
756
+ ```
757
+
758
+ For more generation modes (e.g., voice design), functions (e.g., non-verbal symbols, pronunciation correction) and comprehensive usage instructions, see our [GitHub Repository](https://github.com/k2-fsa/OmniVoice).
759
+
760
+
761
+ ## Discussion & Communication
762
+
763
+ You can directly discuss on [GitHub Issues](https://github.com/k2-fsa/OmniVoice/issues).
764
+
765
+ You can also scan the QR code to join our wechat group or follow our wechat official account.
766
+
767
+ | Wechat Group | Wechat Official Account |
768
+ | ------------ | ----------------------- |
769
+ |![wechat](https://k2-fsa.org/zh-CN/assets/pic/wechat_group.jpg) |![wechat](https://k2-fsa.org/zh-CN/assets/pic/wechat_account.jpg) |
770
+
771
+ ## Citation
772
+
773
+ ```bibtex
774
+ @article{zhu2026omnivoice,
775
+ title={OmniVoice: Towards Omnilingual Zero-Shot Text-to-Speech with Diffusion Language Models},
776
+ author={Zhu, Han and Ye, Lingxuan and Kang, Wei and Yao, Zengwei and Guo, Liyong and Kuang, Fangjun and Han, Zhifeng and Zhuang, Weiji and Lin, Long and Povey, Daniel},
777
+ journal={arXiv preprint arXiv:2604.00688},
778
+ year={2026}
779
+ }
780
+ ```
781
+
782
+
783
+ ## Disclaimer
784
+
785
+ This project is intended only for academic research purposes. Users are strictly prohibited from using this model for unauthorized voice cloning, voice impersonation, fraud, scams, or any other illegal or unethical activities. All users shall ensure full compliance with applicable local laws, regulations, and ethical standards. The developers assume no liability for any misuse of this model and advocate for responsible AI development and use, encouraging the community to uphold safety and ethical principles in AI research and applications.
omnivoice/OmniVoice/audio_tokenizer/.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
omnivoice/OmniVoice/audio_tokenizer/LICENSE ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BOSON HIGGS AUDIO 2 COMMUNITY LICENSE AGREEMENT
2
+
3
+ Boson Higgs Audio 2 Version Release Date: June 20, 2025
4
+
5
+ This License Agreement (the “Agreement”) is entered into by and between Licensee (as defined below) and Boson AI USA, Inc. (“Boson”) and is based upon the Meta Llama 3 Community License Agreement as of April 18, 2024 (the “Meta License Agreement”), which can be found at https://llama.meta.com/llama3/license/. The terms and conditions of the Meta License Agreement are hereby incorporated herein by reference and Unless stated otherwise below, its terms apply. The Higgs Audio 2 model developed by Boson AI USA, Inc. (“Higgs Materials”) is an audio model derived from Meta Llama 3 software and algorithms.
6
+
7
+ “Agreement” means the terms and conditions for use, reproduction, distribution and modification of the Higgs Materials set forth herein and the Meta License Agreement.
8
+
9
+ “Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering into this Agreement on their behalf.
10
+
11
+ “Higgs Audio 2” means the foundational large audio language models and software and algorithms, including machine-learning model code, trained model weights, inference-enabling code, training-enabling code, fine-tuning enabling code and other elements of the foregoing developed by Boson AI distributed at https://github.com/boson-ai/boson-multimodal or otherwise.
12
+ “Higgs Materials” means, collectively, Boson’s proprietary modification of Meta Llama 3 and Documentation (and any portion thereof) made available under this Agreement.
13
+
14
+ “Boson” or “we” means Boson AI USA, Inc.
15
+
16
+ By clicking “I Accept” below or by using or distributing any portion or element of the Higgs Materials, you agree to be bound by this Agreement.
17
+
18
+ 1. License Rights and Redistribution.
19
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Boson’s intellectual property or other rights owned by Boson embodied in the Higgs Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Higgs Materials.
20
+ b. Redistribution and Use.
21
+ i. If you distribute or make available the Higgs Materials (or any derivative works thereof), or a product or service that uses any of them, including another AI model, you shall (A) provide a copy of this Agreement and the of Meta License ’s Llama 3 agreement with any such Higgs Materials; and (B) prominently display “Built with Higgs Materials licensed from Boson AI USA, Inc., Copyright Boson AI USA, Inc., All Rights Reserved and Meta Llama 3 licensed under the Meta Llama 3 Community License, Copyright Meta Platforms, Inc., All Right Reserved". based on Meta Llama 3” on a related website, user interface, blogpost, about page, or product documentation. If you use the Higgs Materials to create, modify, enhance, train, fine tune, or otherwise improve an AI model or similar software, which is distributed or made available, you shall also include “Higgs Audio 2” at the beginning of any such AI model or software name.
22
+ ii. Even if you receive Higgs Materials, or any modifications, enhancements or derivative works thereof, from a Licensee as part of an integrated end user product, then Section 2 of this Agreement will apply to you.
23
+ iii. You must retain in all copies of the Llama Materials that you distribute and as set forth above, include the following attribution notice within a “Notice” text file distributed as a part of such copies:
24
+ “Meta Llama 3 is licensed under the Meta Llama 3 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.”
25
+ “Boson Higgs Audio 2 is licensed under the Boson Community License, Copyright © Boson AI USA, Inc. All Rights Reserved.”
26
+ iv. Your use of the Higgs Materials must comply with applicable laws and regulations (including trade compliance laws and regulations) and adhere to the Acceptable Use Policy for the Llama Materials (available at https://llama.meta.com/llama3/use-policy), which is hereby incorporated by reference into this Agreement.
27
+ v. You will not use the Higgs Materials or any output or results of the Higgs Materials to improve any other large language model (excluding Boson Higgs Audio 2 or derivative works thereof).
28
+ vi. You hereby acknowledge that Boson is the owner of the Higgs Materials and under no circumstance shall you bring any legal action, claim, charge, demand challenging such ownership rights of Boson.
29
+
30
+ 2. Additional Commercial Terms. If the annual active users of the products or services made available by or for Licensee, or Licensee’s affiliates, is greater than 100,000 annual active users in the preceding calendar year, you must request an expanded license from Boson AI, which Boson AI may grant to you in its sole discretion, and you are not authorized to exercise any of the rights under this Agreement unless or until Boson AI otherwise expressly grants you such rights.
31
+
32
+ 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE Higgs Materials AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITH ALL FAULTS, WITHOUT WARRANTIES OF ANY KIND EXPRESS, IMPLIED, BASED UPON CUSTOM AND USAGE OR COURSE OF DEALING, AND BOSON AI DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE HIGGS MATERIALS AND ASSUME ANY AND ALL RISKS ASSOCIATED WITH YOUR USE OF THE HIGGS MATERIALS AND ANY OUTPUT AND RESULTS.
33
+
34
+ 4. Limitation of Liability. IN NO EVENT WILL BOSON AI OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF BOSON, META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
35
+
36
+ 5. Intellectual Property.
37
+ a. No trademark licenses are granted under this Agreement, or in connection with the Higgs Materials., nNeither Boson nor Licensee may use any name or mark owned by, or associated with, the other party hereto or any of its affiliates, except as required for reasonable and customary use in describing and redistributing the Higgs Materials or as set forth in this Section 5(a). Boson hereby grants you a license to use “Higgs Audio 2” (the “Mark”) solely as required to comply with the last sentence of Section 1.b.i. All goodwill arising out of your use of the Mark will inure to the benefit of Meta and Boson AI.
38
+ b. Subject to Boson’s ownership of the Higgs Materials and derivatives made by or for Boson AI, with respect to any derivative works and modifications of the Higgs Materials that are made by you, as between you and Boson AI, you are and will be the owner of such derivative works and modifications.
39
+ c. If you institute litigation or other proceedings against Boson AI, Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Higgs Materials or Boson Higgs Audio 2 outputs or results, or any portion thereof any of the foregoing, constitutes infringement of the intellectual property or other rights owned or licensable by you, then any licenses granted to you hereunder this Agreement shall immediately terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Boson AI from and against any claim, charge, demand, cause of action by any third party arising out of or related to your use or distribution of the Higgs Materials.
40
+
41
+ 6. Term and Termination. The term of this Agreement will commence upon your acceptance of this Agreement or access to the Higgs Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Boson AI may terminate this Agreement if you are in breach of any term or condition of this Agreement by providing you with written notice. Upon your receipt of written notice of termination of this Agreement, you shall delete the Higgs Materials from any computer, server or IT device and cease use of the Higgs Materials in all respects. Sections 1(b)(vi), 3, 4 and 7 shall survive the termination of this Agreement.
42
+
43
+ 7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The federal courts in the Northern District of California and the state courts in Santa Clara County, California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
omnivoice/OmniVoice/audio_tokenizer/README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
omnivoice/OmniVoice/audio_tokenizer/config.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "acoustic_model_config": {
3
+ "codebook_dim": 8,
4
+ "codebook_loss_weight": 1.0,
5
+ "codebook_size": 1024,
6
+ "commitment_loss_weight": 0.25,
7
+ "decoder_hidden_size": 1024,
8
+ "downsampling_ratios": [
9
+ 8,
10
+ 5,
11
+ 4,
12
+ 2,
13
+ 3
14
+ ],
15
+ "encoder_hidden_size": 64,
16
+ "hidden_size": 256,
17
+ "hop_length": 960,
18
+ "model_type": "dac",
19
+ "n_codebooks": 9,
20
+ "quantizer_dropout": 0,
21
+ "sampling_rate": 16000,
22
+ "upsampling_ratios": [
23
+ 8,
24
+ 5,
25
+ 4,
26
+ 2,
27
+ 3
28
+ ]
29
+ },
30
+ "architectures": [
31
+ "HiggsAudioV2TokenizerModel"
32
+ ],
33
+ "block_dilations": [
34
+ 1,
35
+ 1
36
+ ],
37
+ "channel_ratios": [
38
+ 1,
39
+ 1
40
+ ],
41
+ "codebook_dim": 64,
42
+ "codebook_size": 1024,
43
+ "downsample_factor": 320,
44
+ "dtype": "float32",
45
+ "initializer_range": 0.02,
46
+ "kernel_size": 3,
47
+ "model_type": "higgs_audio_v2_tokenizer",
48
+ "sample_rate": 24000,
49
+ "semantic_model_config": {
50
+ "activation_dropout": 0.1,
51
+ "apply_spec_augment": true,
52
+ "attention_dropout": 0.1,
53
+ "bos_token_id": 1,
54
+ "classifier_proj_size": 256,
55
+ "conv_bias": false,
56
+ "conv_dim": [
57
+ 512,
58
+ 512,
59
+ 512,
60
+ 512,
61
+ 512,
62
+ 512,
63
+ 512
64
+ ],
65
+ "conv_kernel": [
66
+ 10,
67
+ 3,
68
+ 3,
69
+ 3,
70
+ 3,
71
+ 2,
72
+ 2
73
+ ],
74
+ "conv_pos_batch_norm": false,
75
+ "conv_stride": [
76
+ 5,
77
+ 2,
78
+ 2,
79
+ 2,
80
+ 2,
81
+ 2,
82
+ 2
83
+ ],
84
+ "ctc_loss_reduction": "sum",
85
+ "ctc_zero_infinity": false,
86
+ "do_stable_layer_norm": false,
87
+ "eos_token_id": 2,
88
+ "feat_extract_activation": "gelu",
89
+ "feat_extract_norm": "group",
90
+ "feat_proj_dropout": 0.0,
91
+ "feat_proj_layer_norm": true,
92
+ "final_dropout": 0.1,
93
+ "hidden_act": "gelu",
94
+ "hidden_dropout": 0.1,
95
+ "hidden_size": 768,
96
+ "initializer_range": 0.02,
97
+ "intermediate_size": 3072,
98
+ "layer_norm_eps": 1e-05,
99
+ "layerdrop": 0.1,
100
+ "mask_feature_length": 10,
101
+ "mask_feature_min_masks": 0,
102
+ "mask_feature_prob": 0.0,
103
+ "mask_time_length": 10,
104
+ "mask_time_min_masks": 2,
105
+ "mask_time_prob": 0.0,
106
+ "model_type": "hubert",
107
+ "num_attention_heads": 12,
108
+ "num_conv_pos_embedding_groups": 16,
109
+ "num_conv_pos_embeddings": 128,
110
+ "num_feat_extract_layers": 7,
111
+ "num_hidden_layers": 12,
112
+ "pad_token_id": 0,
113
+ "use_weighted_layer_sum": false,
114
+ "vocab_size": 32
115
+ },
116
+ "semantic_sample_rate": 16000,
117
+ "strides": [
118
+ 1,
119
+ 1
120
+ ],
121
+ "target_bandwidths": [
122
+ 0.5,
123
+ 1,
124
+ 1.5,
125
+ 2
126
+ ],
127
+ "transformers_version": "5.3.0.dev0",
128
+ "unit_kernel_size": 3
129
+ }
omnivoice/OmniVoice/audio_tokenizer/preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extractor_type": "DacFeatureExtractor",
3
+ "feature_size": 1,
4
+ "hop_length": 960,
5
+ "padding_side": "right",
6
+ "padding_value": 0.0,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 24000
9
+ }
omnivoice/OmniVoice/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
omnivoice/OmniVoice/config.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "OmniVoice"
4
+ ],
5
+ "audio_codebook_weights": [
6
+ 8,
7
+ 8,
8
+ 6,
9
+ 6,
10
+ 4,
11
+ 4,
12
+ 2,
13
+ 2
14
+ ],
15
+ "audio_mask_id": 1024,
16
+ "audio_vocab_size": 1025,
17
+ "bos_token_id": null,
18
+ "dtype": "float32",
19
+ "eos_token_id": 151645,
20
+ "llm_config": {
21
+ "_name_or_path": "",
22
+ "architectures": [
23
+ "Qwen3ForCausalLM"
24
+ ],
25
+ "attention_bias": false,
26
+ "attention_dropout": 0.0,
27
+ "bos_token_id": 151643,
28
+ "chunk_size_feed_forward": 0,
29
+ "dtype": "float32",
30
+ "eos_token_id": 151645,
31
+ "head_dim": 128,
32
+ "hidden_act": "silu",
33
+ "hidden_size": 1024,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1"
37
+ },
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "is_encoder_decoder": false,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1
44
+ },
45
+ "layer_types": [
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention",
52
+ "full_attention",
53
+ "full_attention",
54
+ "full_attention",
55
+ "full_attention",
56
+ "full_attention",
57
+ "full_attention",
58
+ "full_attention",
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention",
63
+ "full_attention",
64
+ "full_attention",
65
+ "full_attention",
66
+ "full_attention",
67
+ "full_attention",
68
+ "full_attention",
69
+ "full_attention",
70
+ "full_attention",
71
+ "full_attention",
72
+ "full_attention",
73
+ "full_attention"
74
+ ],
75
+ "max_position_embeddings": 40960,
76
+ "max_window_layers": 28,
77
+ "model_type": "qwen3",
78
+ "num_attention_heads": 16,
79
+ "num_hidden_layers": 28,
80
+ "num_key_value_heads": 8,
81
+ "output_attentions": false,
82
+ "output_hidden_states": false,
83
+ "pad_token_id": null,
84
+ "problem_type": null,
85
+ "return_dict": true,
86
+ "rms_norm_eps": 1e-06,
87
+ "rope_parameters": {
88
+ "rope_theta": 1000000,
89
+ "rope_type": "default"
90
+ },
91
+ "sliding_window": null,
92
+ "tie_word_embeddings": true,
93
+ "use_cache": true,
94
+ "use_sliding_window": false,
95
+ "vocab_size": 151676
96
+ },
97
+ "model_type": "omnivoice",
98
+ "num_audio_codebook": 8,
99
+ "pad_token_id": 151643,
100
+ "transformers_version": "5.3.0"
101
+ }
omnivoice/OmniVoice/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:408f669b7e2b045fdf54201d815bd364e6667dbd845115da81239c40bc6dcfd1
3
+ size 11423986
omnivoice/OmniVoice/tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|denoise|>",
10
+ "<|lang_start|>",
11
+ "<|lang_end|>",
12
+ "<|instruct_start|>",
13
+ "<|instruct_end|>",
14
+ "<|text_start|>",
15
+ "<|text_end|>"
16
+ ],
17
+ "is_local": true,
18
+ "model_max_length": 131072,
19
+ "pad_token": "<|endoftext|>",
20
+ "split_special_tokens": false,
21
+ "tokenizer_class": "Qwen2Tokenizer",
22
+ "unk_token": null
23
+ }