Shershah1024
3 days ago
Hi all. I am Shahir. This was my experiment. First of all - Thanks to whoever posted this on HN. It came as a surprise.
Just to clarify - This started as just an experiment to see if we can use the fact that text and audio share a vector space in Embedding Gemma 2 to convert audio to text. Had to hack around a few things, but, it worked. Speed was just a side benefit. Was not aiming for it.
The accuracy is good, but not in the range of cloud models, but decent enough for everyday use, and this is just a couple of days work. The WER can improve a lot with more training on varied data. Will try that next.
I will opensource the whole thing soon. Might need a few days though. Also, releasing the TTS version for this soon.
Happy to answer any questions you have.
rahimnathwani
3 days ago
It was your post yesterday that made me aware of granite-speech-5.0-470m-turboctc (which I guess you used as a comparator because it's already very fast).
Thank you!
uv tool install mlx-audio
mlx_audio.stt.generate \
--model ibm-granite/granite-speech-5.0-470m-turboctc \
--audio.wav \
--output-path transcript
(Until now I've been using mlx-community/parakeet-tdt-0.6b-v3)Shershah1024
3 days ago
Yes. Granite is really fast. IBM has actually been releasing some great models that are flying under the radar
xnx
3 days ago
Cool experiment. It will be amazing if this can match the WER of the best open weight models at better speed.
People aren't paying enough attention to how great EmbeddingGemma 2 and Gemma 4 are.
Shershah1024
3 days ago
I am experimenting with the reader with more varied audio. Plus, possibly an ultra fast post processing layer.
usern20260720
3 days ago
can this tool transcribe latin language texts? McWhisper allegedly does it but it outputs gibberish
dr_dshiv
3 days ago
Yay for Latin. Care to share your project?
cabarltos
3 days ago
Thanks for putting this out there!
e12e
3 days ago
[dead]
prodigycorp
3 days ago
can you turn this into a decision model
nl
3 days ago
You can train a traditional classifier on it quite well.
But the one-shot and few-shot classification performance of decision models really needs in-context learning. The most common way of getting that is by grafting a small LLM onto it, which is certainly possible.
At that point though, why not just use a small LLM with audio capabilities. Gemma E2B is a good model that is already setup for this, and training a decision model LoRA adapter is very easy.
Edit: Apparently people have got decision models working on EmbeddingGemma, eg: https://huggingface.co/mrm8488/embeddinggemma-2-ft-typed-dec.... I'm not seeing it ranked on https://huggingface.co/spaces/multimodalart/jev-decision-ind... so I have questions about how well it does in-context learning.
drakythe
3 days ago
What would a decision model add to and audio transcriber?
cheschire
3 days ago
Reducing cost for a large scale corporation call center. Press or say one.
Basic ML is probably even cheaper. But LLMs might have higher accuracy. “Uhh one I think” = 1
e12e
3 days ago
Theoretically - if the change was deeper than just restricting output - you could feed it thousands worth of audio tokens and get a structured response in milliseconds rather than minutes?
Say classify recorded interviews into viable/not viable candidate?
Shershah1024
3 days ago
It can already classify decently well, and I tried training it as a decision model, It worked well on domains I trained it for. It was beating Liquid's small decision model, but somehow, it never generalized. Out of the trained domains, it was just above chance.
sureglymop
3 days ago
Isn't EmbeddingGemma2 already a decision model? Am I misunderstanding your question?
prodigycorp
a day ago
it was a joke