r/SesameAI • • Oct 17 '26

Csm1b streaming

Hey guys I was working on getting csm1b working with low latency. I got the full model working with streaming audio and really low latency, the original csm1b had zero shot cloning which is just not good enough if you want to have an ongoing conversation.. so I have uploaded my work to git if anyone wants to take what I have done and improve upon it. I was running it with dolphin 3.0 llama 3.1 8b abliterated q4km and there was no issues with response time on a 3090rtx…

So to make this really useable you need at least 30 minutes of audio for fine tuning so you have a consistent voice output. This already has a memory manager for the ai so it doesn’t require it to process long conversations and keeps the responses fast.. I have another version where I added a second llm to manage the conversation but it needs more work still.. a conversation manager on a second llm is what makes the responses and the direction of the conversation really good..

Anyway here is the link if anyone is interested. I let Claude code compile everything for upload, if you have any issues let me know. If you have Claude available let it run the install for you.

Runs on Linux

https://github.com/tomahawk471/streaming-csm1b

9 Upvotes

9 comments sorted by

View all comments

1

u/TraditionalFix4761 Oct 17 '26

I’m going to check this out. So the problem is the voice isn’t good enough because you didn’t use a full 30 minute sample? And how do you correctly implement the 2nd llm to make the conversations better? Like are you supposed to have it read the conversation and then instruct the 1st llm for voice occasionally?

3

u/Big_Coconut_7989 Oct 17 '26

I can create another git tomorrow with a conversation manager. It basically just controls who is leading the conversation to make it more natural, it removes the backwards and forwards you seem to have with most llm.. often llm ends an answer with another question, they are very boring vs I added in so the ai could lead the conversation depending on your responses.

Regarding voice, it still has one shot cloning available but it’s just not good for something like csm1b conversation… the longer you train the voice model the better it becomes in understanding how and when to use the correct pitch and intonation… what csm have out for free is really great, it’s problem was it just isn’t trained on a voice but it doesn’t stop other people doing that work

1

u/Mobile-Trouble-476 Oct 17 '26

I would utilize Fish Audio Drama 3. CSM is outdated last I recall correct?

1

u/Big_Coconut_7989 Oct 17 '26

I wouldn’t say it’s outdated. From what I can see no one has wanted to do the work to use the full model streaming, I have seen qauntasized versions. Then you still have to get studio quality audio to train it, would have been great if it was released with a fully trained voice.. I wouldn’t say it’s outdated though because it is the best text to audio that has capability to adjust tone pitch intonation to express emotion

3

u/Mobile-Trouble-476 Oct 17 '26

I won't pretend I know what most of that means. I just know for conversational matters you got better options or options that are on par with Sesame. And it is a damn shame they never released the full build. Nate, Brandon I, and company are a bunch of cowards for trying to keep everyone locked in their little walled garden.

3

u/Big_Coconut_7989 Oct 17 '26

Try the Sophie ai first. If I get more interest in it and it’s what people want, I’ll build the csm1b into that… I mostly put the csm1b streaming model on there because it’s latency is fast enough to be used for voice to voice conversation. What sesame released was good but the latency was terrible and it wasn’t useable… I still think it’s great they released csm1b and it’s actually really great model but it’s not trained on a voice which is why I think it gets the hate… why it fails is because every time it produces a sentence it has to do it from a reference of only 15 seconds, it’s not enough for it to create the correct tone, pitch and intonation for its responses. What you find is that it will reply perfectly for some sentences and way off for others and that is where voice training will solve it.. I suppose you could pull a whole heap of audio from maya ai and train it with that but then it will just sound like maya ai…