whisper.cpp is a lightweight, C/C++ reimplementation of OpenAI’s Whisper automatic speech recognition (ASR) model—designed for efficient, standalone transcription without external dependencies. The entire high-level implementation of the model is contained in whisper.h and whisper.cpp. The rest of the code is part of the ggml machine learning library. The command downloads the base.en model converted to custom ggml format and runs the inference on all .wav samples in the folder samples. whisper.cpp supports integer quantization of the Whisper ggml models. Quantized models require less memory and disk space and depending on the hardware can be processed more efficiently.

Features

  • Plain C/C++ implementation without dependencies
  • Apple silicon first-class citizen - optimized via Arm Neon and Accelerate framework
  • AVX intrinsics support for x86 architectures
  • VSX intrinsics support for POWER architectures
  • Mixed F16 / F32 precision
  • Low memory usage (Flash Attention)
  • Zero memory allocations at runtime
  • Runs on the CPU
  • C-style API

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow whisper.cpp

whisper.cpp Web Site

Other Useful Business Software
Add Two Lines of Code. Get Full APM. Icon
Add Two Lines of Code. Get Full APM.

AppSignal installs in minutes and auto-configures dashboards, alerts, and error tracking.

Works out of the box for Rails, Django, Express, Phoenix, and more. Monitoring exceptions and performance in no time.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of whisper.cpp!

Additional Project Details

Operating Systems

Android, Apple iPhone, FreeBSD, Linux, Mac, Windows

Programming Language

C, C++

Related Categories

C++ Speech Recognition Software, C++ Raspberry Pi Software, C++ LLM Inference Tool, C Speech Recognition Software, C Raspberry Pi Software, C LLM Inference Tool

Registered

2023-03-26