Qwen3-TTS Technical Report | GitHub Repository | Hugging Face Demo
Source du modèle
Extrait de la source
Qwen3-TTS Technical Report | GitHub Repository | Hugging Face Demo
Sources
1 sourceVérifié 13 sept.
Artefacts du modèle
1 artefactExtraits de sources
2 extraits--- license: apache-2.0 pipeline_tag: text-to-speech language: - zh - en - ja - ko - de - fr - ru - pt - es - it tags: - audio - tts - voice-clone --- # Qwen3-TTS-12Hz-0.6B-Base [**Qwen3-TTS Technical Report**](https://huggingface.co/papers/2601.15621) | [**GitHub Repository**](https://github.com/QwenLM/Qwen3-TTS) | [**Hugging Face Demo**](https://huggingface.co/spaces/Qwen/Qwen3-TTS) Qwen3-TTS is a family of advanced multilingual, controllable, robust, and streaming text-to-speech models. Trained on over 5 million hours of speech data spanning 10 languages, Qwen3-TTS supports state-of-the-art 3-second voice cloning and description-based control. This specific checkpoint is the **0.6B Base model**, which is capable of rapid voice cloning from a user-provided audio input. ## Quickstart ### Installation ```bash pip install -U qwen-tts # Optional: for optimized performance pip install -U flash-attn --no-build-isolation ``` ### Sample Usage (Voice Clone) To clone a voice and synthesize new content using the Base model, you can use the following code snippet: ```python import torch import soundfile as sf from qwen_tts import Qwen3TTSModel # Load the model model = Qwen3TTSModel.from_pretrained( "Qwen/Qwen3-TTS-12Hz-0.6B-Base", device_map="cuda:0", dtype=torch.bfloat16, attn_implementation="flash_attention_2", ) # Reference audio for cloning ref_audio = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/clone.wav" ref_text = "Okay. Yeah. I resent you. I love you. I respect you. But you know what? You blew it! And thanks to you." # Generate speech wavs, sr = model.generate_voice_clone( text="I am solving the equation: x = [-b ± √(b²-4ac)] / 2a? Nobody can — it's a disaster (◍•͈⌔•͈◍), very sad!", language="English", ref_audio=ref_audio, ref_text=ref_text, ) # Save the resulting audio sf.write("output_voice_clone.wav", wavs[0], sr) ``` ## Overview ### Introduction <p align="center"> <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/qwen3_tts_introduction.png" width="90%"/> <p> 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. Key features: * **Powerful Speech Representation**: Powered by the self-developed Qwen3-TTS-Tokenizer-12Hz, it achieves e...
Source context: 3 downloads · 0 likes · Pipeline text-to-speech · Repo swipeautomations/Qwen3-TTS-12Hz-0.6B-Base