renus
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @03:55PM (#39182448)
Everything runs locally, we use:
- WhisperLive for the transcription - https://github.com/collabora/WhisperLive - WhisperSpeech for the text-to-speech - https://github.com/collabora/WhisperSpeech
and an LLM (phi-2, Mistral, etc.) in between
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @01:52PM (#39180623)
We are going to put the sample interface into the Docker, so it's more mainly:
> docker run --gpus all --shm-size 64G -p 80:80 -it ghcr.io/collabora/whisperfusion:latest
instead of:
> docker run --gpus all --shm-size 64G -p 6006:6006 -p 8888:8888 -it ghcr.io/collabora/whisperfusion:latest > cd examples/chatbot/html > python -m http.server
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @01:46PM (#39180497)
A fast turnaround time is also super important; if the transcription is not correct, waiting multiple seconds for each turn would kill the application. E.g., ordering food using voice is only convenient if it gets me right all the time; if not, I will fall back to the app.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @01:38PM (#39180367)
To streamline the experience we don't send the transcription to the LLM after the pause, since we are using the time we wait for the end of sentence trigger (pause) to generate the LLM and text-to-speech output. So ideally once we detected the pause, we already processed everything.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @01:00PM (#39179693)
We tested https://huggingface.co/cognitivecomputations/dolphin-2_6-phi... as well, in some tasks it performs better. That said, you can use Mistral as well, we support a few models through TensorRT-LLM.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @12:14PM (#39178936)
pyryt posted https://arxiv.org/abs/2010.10874, which might be helpful here, but we probably end off with personalized models that learned from conversation styles. A magic stop/processing word would be the easiest to add since you already have the transcript, but it's taking the natural feel of a conversation.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @12:07PM (#39178809)
We will add the details, thanks for pointing it out.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @11:53AM (#39178612)
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @11:51AM (#39178583)
Good point; another area we are currently looking into is predicting intention; often, when talking to someone, we have a good idea of what that person might say next. That would not only help with latency but also, allow us to give better answers, and load the right context.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @11:37AM (#39178352)
For the transcription part, we are looking into W2v-BERT 2.0 as well and will make it available in a live-streaming context. That said, Whisper, especially small (<50ms), is not as compute-heavy; right now, most of the compute is consumed by the LLM.
Re:Show HN: WhisperFusion – Ultra-low latency conversations with an AI...
on Monday January 29, 2024 @11:30AM (#39178257)
WhisperLive builds upon the Whisper model; for the demo, we used small.en, but you can also use large without introducing a bigger latency for the overall pipeline since the transcription process is decoupled from the LLM and text-to-speech process.
Re:WhisperFusion: Ultra-low latency conversations with an AI chatbot
on Thursday January 25, 2024 @10:54AM (#39130863)
WhisperFusion is fully open-source - https://github.com/collabora/WhisperFusion
Re:Triple Threat: The Power of Transcription, Summary, and Translation
on Thursday August 03, 2023 @12:47PM (#36988310)
Curious to see how this works? Check out our demo page - https://col.la/transcription to generate your own transcription, summary, and translation, or use our browser extension - https://github.com/collabora/WhisperLive to get live transcriptions.
Re:
on Thursday August 03, 2023 @12:44PM (#36988267)
Using state-of-the-art natural language processing techniques, we developed an AI-driven automatic transcription, summarization, and translation pipeline.