Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Description

This is an OpenVoiceOS speech-to-text (STT) plugin for whisper.cpp, a C/C++ port of OpenAI's Whisper automatic speech recognition model.

whisper.cpp runs on the CPU and has these traits:

  • Plain C/C++ implementation with no dependencies
  • Native support for Apple silicon, optimized with Arm Neon and the Accelerate framework
  • AVX intrinsics support for x86 processors
  • Mixed F16 / F32 precision
  • Low memory use through Flash Attention and Flash Forward
  • No memory allocation at runtime

Install

pip install ovos-stt-plugin-whispercpp

Configuration

The available models are tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, and large.

  "stt": {
    "module": "ovos-stt-plugin-whispercpp",
    "ovos-stt-plugin-whispercpp": {
        "model": "tiny"
    }
  }

Models

The plugin downloads models automatically to ~/.local/share/pywhispercpp/models/{model_name} on load.

This table shows the disk space and memory each model uses.

Model Disk Memory
tiny 75 MB ~280 MB
base 142 MB ~430 MB
small 466 MB ~1.0 GB
medium 1.5 GB ~2.6 GB
large 2.9 GB ~4.7 GB

Related projects

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_stt_plugin_whispercpp-0.0.2a2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_stt_plugin_whispercpp-0.0.2a2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file ovos_stt_plugin_whispercpp-0.0.2a2.tar.gz.

File metadata

File hashes

Hashes for ovos_stt_plugin_whispercpp-0.0.2a2.tar.gz
Algorithm Hash digest
SHA256 8636483708b18fbed5d8742a764738363ab4e8984896c8683237bffefa8783af
MD5 3756f65797571bf0a46441479086f101
BLAKE2b-256 945300fcddc3cfda1270b8f813c663a3fbd212f9468ca8c9c60acb0dc00cc706

See more details on using hashes here.

File details

Details for the file ovos_stt_plugin_whispercpp-0.0.2a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_stt_plugin_whispercpp-0.0.2a2-py3-none-any.whl
Algorithm Hash digest
SHA256 ec7ba5606a3b2eca818c37354145e844fa7c70d2b00f65d0db1e9ef5ccb19bf3
MD5 8c9ede81b46c2f134227524d09f967ae
BLAKE2b-256 67f70a683e53b72b7709a9591cf4246b8656b5a24591bb200014119e3bf17a51

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2a2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page