82 karma · joined October 26, 2018
It's not perfect but I am still extremely proud of how it came out. :)
Our model is not a derivative of Whisper but we do use the transcripts (and encoder outputs) in our data preprocessing. I am convinced this data cannot be regarded as a derivative of the (proprietary) Whisper training set. Whisper itself is open-source (MIT) and has no special TOS (unlike, say, ChatGPT).
WhisperSpeech itself is trained on mostly Public Domain and some CC-BY-SA recordings. We are working on adding more data and we will provide clearer documentation on all the licenses.
https://github.com/collabora/WhisperSpeech/commit/398b889060...
There is still a lot to explore in this space – we certainly don't have all the answers yet!
Until courts or lawmakers make it clearer I personally believe non-generative models (Whisper, ResNet, DINOv2) should be legally trainable on publicly released data. Generative models (image or video generation, TTS, LLMs?) should be held to a much higher scrutiny since their outputs can potentially compete the creators who put a lot of creativity into their art. That not true for an ImageNet-trained classification model or Whisper ASR.
The English audiobooks are public domain recordings from LibriVox (via the LibriLight dataset).
There may be a court ruling/new law that any training needs a special permission from the original author and then even a CC-BY license won't cover this.
Fixed transcripts would be nice although we need to align them with the audio really precisely (we cut the audio into 30 second chunks and we pretty much need to have the exact text in every chunk). It seems this can be solved with forced alignment algorithms but I have not dived into that yet.
We support CUDA right now although it should not be too hard to port it to whisper/llama.cpp or Apple's MLX. It's a pretty straightforward transformer architecture.
I am not aware of a multi-lingual leaderboard for speech recognition models.
I think you would get good results with fine-tuning but unfortunately we don't have a user-friendly notebook or script to do that right now. The biggest model is 800MB (FP32) so you won't even need a very big GPU to be able to fine-tune.
And the part of that which we use for WhisperSpeech is just the phonetic representation so our model is not able to recreate any of the Whisper training data in any way.
Thanks for all the nice comments, I was working really hard on this model for quite a few months now but there are still a lot of ways we can make it better.
Thanks to generosity of Collabora this is a real open-source project (not just a one-time marketing ploy), so if you want to help improve it or integrate it into something you are building, I'd love to help.
You can also buy our undivided engineering attention if you have a business use-case. :)
I was busy working on inference performance in the last few weeks and totally did not expect to land on Hackernews today. Only noticed it an hour ago because my GitHub stars jumped quite a bit
By using the Whisper-derived phonetic representation (so called semantic tokens) we successfully trained a model with just a high-quality speech dataset of one language and the voice quality transferred to English.
That said if you have a modern NVidia GPU you should be able to run a voice-bot in real-time with WhisperSpeech.
This works for any language that is well supported by the OpenAI Whisper model.
We are constantly working on these models and we push new versions every two months or so. It should get even better soon. :)
I think it should work pretty good with the Apple's MLX framework as well if anyone would be willing to convert it. :)
To check how this works in practice you can check the Google Collab link, at the end we are cloning the voice from a Churchill's speech over radio.
What we seem to need is high-quality speech recordings in any language (audiobooks are great) and some recordings for each target language which can be low-quality but need varied prosody/emotions (otherwise everything we generate will sound like an audiobook).