News for hackers. Stuff that matters.
Re:Talk-Llama by avereveard on Thursday November 02, 2023 @06:07AM (#38111252)
Aren't there text to talk solution that can receive a stream of text so one doesn't have to wait for llama to finish production before getting the answer talked out?

I guess it'd only work if the model can keep the buffer filled fast enough so the tts engine doesn't stall.

Re:Talk-Llama by taneq on Thursday November 02, 2023 @06:35AM (#38111497)
Just have llama.cpp emit an “um”, “uhh” etc. when the buffer’s down to one word. :D
Re:Talk-Llama by umtksa on Thursday November 02, 2023 @07:28AM (#38111909)
you laught at the end but I love this solution
Re:Talk-Llama by ryanklee on Thursday November 02, 2023 @07:47AM (#38112112)
Humans have loved the same solution since we first started talking, as well
Re:Talk-Llama by mirekrusin on Thursday November 02, 2023 @09:04AM (#38112935)
Don’t forget to mix it with “apparently”, “you know what I’m saying”, “I mean”, “you know” etc.
Re:Talk-Llama by ryanklee on Thursday November 02, 2023 @09:50AM (#38113494)
I can't tell if you're disparaging the usage or not (truly, I can't tell), but such utterances exist because they serve a real function. Disfluency is an integral part of speech.
Re:Talk-Llama by vidarh on Thursday November 02, 2023 @10:28AM (#38113970)
I think it's a good idea, if done well. It could also potentially be combined with dynamically adjusting speed of the speech, and reducing or increasing the use of shortcuts and contractions, making word replacements.

I know wish for a model built to be a low-computation filter that takes text in and produces padded text out intended for TTS and annotated with pauses or sounds and extra words that maintains the same meaning but provides the ability to dynamically adjust the level of verbosity to maintain a fixed rate of words per minute.

Re:Talk-Llama by taneq on Thursday November 02, 2023 @11:17AM (#38114714)
I always thought of them as the human equivalent of hard drive noises. <brrrrr brrbrrbr>
Re:Talk-Llama by taneq on Thursday November 02, 2023 @11:16AM (#38114696)
array_rand($verbal_fry[$locale]) /* :D */
Re:Talk-Llama by HPsquared on Thursday November 02, 2023 @07:00AM (#38111691)
Timing and emphasis work better if you know where the sentence is going; otherwise you sound like one of those translators at the UN with the flat stream of words.
Re:Talk-Llama by numpad0 on Thursday November 02, 2023 @07:12AM (#38111777)
I suppose it could be buffered, and used to only shorten the wait in cases with long responses, rather than aiming for perfect and push out words as they come. Besides, GPTs sound like translators anyway.
Re:Talk-Llama by moffkalast on Thursday November 02, 2023 @11:52AM (#38115289)
I mean.. 99% of the current TTS engines wouldn't know timing and emphasis if it hit them.

Besides humans do this all the time, we start saying words before we even have, uhh, any idea how we're gonna end the sentence and for the most part it, uhh, works out. Should be doable.

Re:Talk-Llama by unshavedyak on Thursday November 02, 2023 @12:46PM (#38116318)
Also there's a big difference between waiting for a buffer of outputs and waiting for all the outputs.
Re:Talk-Llama by HPsquared on Thursday November 02, 2023 @03:11PM (#38118537)
The difference is that if you are the one saying the sentence, you at least have some idea where it's going. Receiving one word at a time from a different source isn't the same.
Re:Talk-Llama by moffkalast on Saturday November 04, 2023 @06:48AM (#38139791)
> you at least have some idea where it's going

Unless you're Michael Scott.

Re:Talk-Llama by ccoreilly on Thursday November 02, 2023 @09:33AM (#38113299)
ElevenLabs and Gemelo.AI are services that both support text input streaming for exactly this use-case. I am not aware of any open-source Incremental TTS (this is the term used in research afaik) model but you can already achieve somthing similar by buffering tokens and sending them to the TTS model on punctuation characters.
Re:Talk-Llama by selfhoster11 on Saturday November 04, 2023 @03:44PM (#38144454)
ElevenLabs only has streaming output available. I've had a look at both recently and ElevenLabs doesn't have streaming input listed as a feature. Would be cool if it had it, though. You could probably approximate this on a sentence level, but you would need to do some normalisation to make the speech sound even.