News for hackers. Stuff that matters.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by aftbit on Thursday June 20, 2024 @11:21PM (#40745806)
Looks interesting! Is the latency low enough for it to feel natural? How's the Coqui speech quality?
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by lelag on Friday June 21, 2024 @12:55AM (#40746271)
It supports XTTSv2 which is currently the open-weight state of the art. So, pretty damn good (https://huggingface.co/coqui/XTTS-v2/blob/main/samples/en_sa...).

Too bad that the project is in limbo after Coqui (the company) folded. The license limits the use of the weights to non-commercial usage unless you buy a commercial license, and there's nobody left to sell you one now.

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by qup on Friday June 21, 2024 @12:57AM (#40746291)
is there anyone to sue you? (how does that work?)
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by nmstoker on Friday June 21, 2024 @10:19AM (#40749894)
I don't know the details in this case, but it seems plausible that someone still owns the IP and thus might be in a position to initiate legal proceedings.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by qup on Friday June 21, 2024 @02:04PM (#40752110)
That same person could update the license, no?
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by NikkiA on Friday June 21, 2024 @06:39PM (#40754592)
Honestly, I don't think that sounds as human as piper does, but that's probably a function of the voice model files more than anything, fe, en_US 'amy' sounds artificial, but hfc_female sounds more realistic on the Piper samples.

https://rhasspy.github.io/piper-samples/

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by jsemrau on Friday June 21, 2024 @02:17AM (#40746704)
When I gave "Matt", my loyal local assistant[1], a voice xTTSv2 performed better for long form text. While in longform emotions seemed well balanced in the text, in short replies the emotion patterns frequently felt off and therefore unnatural. What I liked about xTTsv2 though is that voice cloning is fairly easy by just providing a .wav file with the intended voice pattern.

[1]https://open.substack.com/pub/jdsemrau/p/teaching-your-agent...

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by pclmulqdq on Friday June 21, 2024 @07:53AM (#40748609)
xTTS is notoriously bad at generating short samples. It will also hallucinate if you give it something short enough.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by sleight42 on Friday June 21, 2024 @01:53AM (#40746596)
Ok, I need this but cloning Majel Barrett as the voice of the Enterprise computer.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by gavmor on Friday June 21, 2024 @01:00PM (#40751481)
Trivially done with a minute-long wav file. Simply specify the source sample in your june-va config.json
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by xan_ps007 on Friday June 21, 2024 @04:38AM (#40747469)
we have made an open source orchestration which enables you to plug in your own TTS/ASR/LLM for end-to-end voice conversations at -> https://github.com/bolna-ai/bolna.

We are also working on a complete open source stack for ASR+TTS+LLM and will be releasing it shortly.

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by bmicraft on Friday June 21, 2024 @08:07AM (#40748735)
Have you thought about support for the wyoming protocol? That would make it pretty much plug&play with home assistant.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by nmstoker on Friday June 21, 2024 @10:14AM (#40749843)
Hadn't heard of the Wyoming Protocol before, but it's interesting, thanks for mentioning

For others who also hadn't heard of it, here's an overview: https://github.com/rhasspy/rhasspy3/blob/master/docs/wyoming...

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by xan_ps007 on Tuesday June 25, 2024 @01:29PM (#40791153)
As mentioned few days before, we just released the end to end open source stack at https://github.com/bolna-ai/bolna/tree/master/examples/whisp...
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by underlines on Friday June 21, 2024 @05:00AM (#40747609)
Honestly, there are so many Project on Github doing STT - LLM - TTS that I lost count. The only revolutionary thing that feels like magic is if the STT supports Voice Activity Detection and low latency LLM inference on Groq, so conversations feel natural.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by xan_ps007 on Friday June 21, 2024 @06:25AM (#40748050)
What we have learnt is that big enterprises do not really want to use close source models due to the random bursts in usage which might drain their bills.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by replete on Friday June 21, 2024 @09:03AM (#40749183)
I tried a similar project out last week, which uses Ollama, FastWhisperAPI, and MeloTTS: https://github.com/PromtEngineer/Verbi

Docker is a great option if you want lots of people to try out your project, but not many apps in this space come with a dockerfile

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by replete on Friday June 21, 2024 @09:38AM (#40749503)
How does the STT compare to Fastwhisper?
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by Gryph0n77 on Friday June 21, 2024 @10:13AM (#40749837)
How many RAM GB the model requires?
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by modeless on Friday June 21, 2024 @11:38AM (#40750696)
Coqui's XTTSv2 is good for this because it has a streaming mode. I have my own project where I got ~500ms end-to-end response latency, which is faster than any other I've seen. And it runs on 12GB GPUs. https://github.com/jdarpinian/chirpy

These are easy to make and fun to play with and it's awesome to have everything local. But it will take more to build something truly useable. Audio-to-audio models in the style of GPT-4o are clearly the way forward. There aren't any in open source yet but there are some promising approaches. https://ultravox.ai has the input half at least. https://tincans.ai/slm has a cool approach too.

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by zkstefan on Friday June 21, 2024 @02:38PM (#40752351)
> There aren't any open source audio-to-audio models yet

I think that's not true. See this for example: https://huggingface.co/facebook/seamless-m4t-v2-large It's not general purpose like GPT4o but translation still seems pretty useful

Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by modeless on Friday June 21, 2024 @03:41PM (#40752946)
I don't think SeamlessM4T qualifies as an end-to-end audio-to-audio model. The paper states "the task of speech-to-speech translation in SeamlessM4T v2 is broken down into speech-to-text translation (S2TT) and then text-to-unit conversion (T2U)". And while language translation is an important application as you mention, it's strictly limited to that. It wouldn't understand or produce non-speech audio (e.g. singing, music, environmental sounds, etc) and you can't have a conversation with it.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by m3kw9 on Friday June 21, 2024 @12:21PM (#40751084)
How long till a stand alone OS that makes AI usage its first class citizen?
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by skenderbeu on Friday June 21, 2024 @12:39PM (#40751264)
My very first Multimodal AI star on Github. Hope we see more of these in the future.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by wkat4242 on Friday June 21, 2024 @01:32PM (#40751802)
I currently use Ollama + Openwebui for this. It also has a really serviceable voice mode. And it has many options like RAG integrations, custom models, memories to know you better, vision, a great web interface etc. But I'll have a look at this thing.
Re:Show HN: Local Voice Assistant Using Ollama, Transformers... by xan_ps007 on Tuesday June 25, 2024 @01:25PM (#40791106)
Today we released our full open source end to end ASR+LLM+TTS dockerized stack at ->

https://news.ycombinator.com/item?id=40789200