AI (Artificial Intelligence)

OpenAI's Whisper model ported to C/C++  ↦

OpenAI recently released a model for automatic speech recognition called Whisper. I decided to reimplement the inference of the model from scratch using C/C++. To achieve this I implemented a minimalistic tensor library in C and ported the high-level architecture of the model in C++. The entire code is less than 8000 lines of code and is contained in just 2 source files without any third-party dependencies.

State of the art voice recognition without any PyTorch baggage and it’s optimized to run on Apple Silicon!


Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00