Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
whistle-esp32 by andrisgauracs is an independent C99 implementation of Cactus Compute's Whistle speech-recognition model that runs entirely on an ESP32-S3 microcontroller. The demo firmware is push-to-talk: hold a button, say something like flash the light blue, and the on-board LED does it, with no network, cloud or phone involved. It transcribes free speech rather than matching a fixed phrase list, and a small parser then maps the transcript to an LED command in seven languages (English, French, Spanish, German, Italian, Dutch and Polish). The hardware is an ESP32-S3 N16R8 board (16 MB flash, 8 MB octal PSRAM), an INMP441 I2S microphone and a button. Whistle's weights are not included; setup downloads them from Hugging Face and a script cuts the decoder to 4 layers, shrinking the 16.9 MB model to 14.5 MB so it fits the flash partition. The engine has no dependencies, uses int8 matrix multiplies on the S3's PIE vector unit, and also builds on a host computer for testing. The README reports a 2-second English command taking about 6.3 s end to end at 240 MHz, command accuracy on synthetic voices of 78% in English (clean) down to 42% in Dutch, and an 11.7% word error rate on 73 LibriSpeech utterances at depth 4. It also reports language detection that is correct 98% of the time for English but only 52% for Dutch. The board scores higher than the official full-size engine in the non-English tests, which the author attributes mostly to decoding biased toward each language's colour and blink words, so that is not a like-for-like model comparison. Tensors were checked against the training checkpoint and the official engine. The code is Apache-2.0, as are the Whistle and Needle 2 weights by Cactus Compute, and the repo still includes an earlier Needle 2 demo.
ggml-org
Pure C/C++ port of OpenAI Whisper for edge deployment
CJ Pais
A free, open-source, cross-platform speech-to-text app that transcribes your voice entirely offline — press a shortcut, speak, and have the text pasted into any app.