Description
LLaMA-Omni is a speech-language model built on Llama-3.1-8B-Instruct for spoken conversation. It takes speech instructions and generates text and speech responses at the same time, with low latency that the authors say can be as low as 226 milliseconds. The README reports that the model was trained in less than three days on four GPUs. The project also covers LLaMA-Omni 2, a series of speech models from 0.5 to 32 billion parameters, and an updated InstructS2S-200K dataset extended to multi-turn conversations. The repository explains how to clone it, install the packages, install fairseq and flash-attention, and download the Llama-3.1-8B-Omni model, Whisper-large-v3 and a unit-based HiFi-GAN vocoder. A Gradio demo runs with a controller, a web server and a model worker, and local inference works from example speech files. The authors note that autoplay is disabled because of how streaming audio behaves in Gradio. The code is released under Apache-2.0, but the model is intended for academic research only and may not be used commercially.…
Highlights
- Speech in, text and speech out at the same time
- Built on Llama-3.1-8B-Instruct
- Gradio demo and local inference from example files
- Code under Apache-2.0, model for research only
Ratings & Reviews
No ratings yet
Be the first to rate LLaMA-Omni.
People also visit
LLaMA-Omni FAQ
What is LLaMA-Omni?
A speech interaction model built on Llama-3.1-8B-Instruct. It listens to speech and answers with both text and speech.
Can I use it commercially?
No. The code is Apache-2.0, but the model is intended for academic research purposes only and may not be used for commercial purposes.
What do I need to download?
The Llama-3.1-8B-Omni model from Hugging Face, the Whisper-large-v3 model and a unit-based HiFi-GAN vocoder.
How do I try it?
Run the Gradio demo, which starts a controller, a web server and a model worker, then open the local address in a browser. Local inference is also possible with example speech files.
How fast is it?
The README reports latency as low as 226 milliseconds for speech interaction.
What is LLaMA-Omni 2?
A series of speech language models from 0.5 to 32 billion parameters, offering improved response and speech quality, according to the project news.
What are the best LLaMA-Omni alternatives?
Popular alternatives to LLaMA-Omni include Minimind O, LLaSA_training and Speech To Speech. See all LLaMA-Omni alternatives
