π EmbeddingGemma 2 Transcribes Audio in Seconds
Google's EmbeddingGemma 2 model transforms an hour of audio into text in just 13 seconds on a MacBook Air, highlighting the potential of on-device AI processing.
Introduction to EmbeddingGemma 2
Google's DeepMind has developed the EmbeddingGemma 2 model, a multimodal embedding model capable of processing text, images, audio, and video in a shared space. This unique feature allows the model to recognize spoken words and match them with their written counterparts.
From Embedding to Speech-to-Text
The EmbeddingGemma 2 has been adapted into a speech-to-text model, enabling the conversion of an hour of audio to text in approximately 13 seconds. This transformation occurs entirely on a base MacBook Air, showcasing the power of on-device AI processing.
Training and Performance
The model was trained on 8ΓH100 hardware in under two hours using openly licensed English speech data. The base model was not originally designed for speech-to-text tasks. Current word error rates are around 5%, slightly higher than leading speech models, but with further training, the gap can be narrowed.
Real-Time Processing
The speech-to-text model operates in real-time, processing seconds of audio per second of processing time. This efficiency is demonstrated through tests conducted on the same base M3 MacBook Air, as well as comparisons with FluidAudio's benchmarks on larger, newer Macs and different audio types.
Privacy and Security
One of the key advantages of this model is that it runs on the Mac's Neural Engine, ensuring that audio data never leaves the device. This feature enhances user privacy and security.
βThis is an independent project, not affiliated with or endorsed by Google.β
β Google DeepMind
By Chaos Lab Β· ε¦ηζηAI