Westlake-Omni is an open-source Chinese emotional speech interaction large language model that utilizes discrete representations to achieve unified processing of speech and text modalities. The model supports low-latency generation and high-quality Chinese emotional speech interaction.
1conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 -c pytorch
2
3git clone git@github.com:xinchen-ai/Westlake-Omni.git
4cd Westlake-Omni
5pip install -r requirements.txt
1python generate.py --user-audio data/sounds/input.wav --user-text 嗯,最近心情不是很好,能聊聊吗?
2python generate.py --user-audio data/sounds/input.wav
The current code and the vqgan model weights are provided under the CC-BY-NC-SA-4.0 License. The large language model weights are provided under the Apache 2.0 License. Note that parts of this code are based on Fish speech, released under the CC-BY-NC-SA-4.0 License.
If you have any questions, please raise an issue or contact us at
service@xinchenai.com.