qmetrics.net

sherpa-onnx

On-device speech ML toolkit with ONNX runtime

sherpa-onnx screenshot

Local speech recognition, synthesis, and related audio ML using ONNX models without requiring an internet connection during inference.

Overview

sherpa-onnx brings speech and audio machine learning pipelines to devices using ONNX and onnxruntime instead of PyTorch at inference time. The documented scope covers speech-to-text (streaming and offline), text-to-speech, speaker diarization, identification, verification, language ID, audio tagging, voice activity detection, keyword spotting, source separation, forced alignment, punctuation, and speech enhancement.

Runs are intended to stay on-device: documentation states that speech recognition does not need network access while processing. Bindings and examples span many languages, including C++, Python, Java, Kotlin, JavaScript, Go, C#, Swift, Rust, and others, plus WebAssembly and Flutter or Tauri demo apps. Hardware coverage in the materials lists x86, ARM, RISC-V, Android, iOS, HarmonyOS, embedded boards, and several NPU backends.

Pre-built binaries, APKs, and demo releases are linked for trying features on phones and desktops. Hugging Face and ModelScope spaces offer browser trials. Optional websocket server and client modes appear in the broader docs for streaming setups.

Models are distributed separately; the project describes how to export or obtain ONNX assets and compile the runtime for Linux, macOS, Windows, and embedded targets.

Key features

  • Offline speech-to-text
  • Text-to-speech synthesis
  • Speaker diarization and verification
  • Voice activity detection
  • Keyword spotting
  • Source separation
  • Forced word alignment
  • Multi-language API bindings

Use cases

  • Embedded offline speech recognition
  • Local TTS on mobile devices
  • On-device voice assistants
  • CPU inference without cloud APIs
  • Streaming ASR prototypes

Tags

Similar software

whisper.cpp

Portable C/C++ inference for Whisper speech recognition

Whisper.cpp runs OpenAI Whisper ASR with a dependency-light C/C++ core and CLI tools. It targets CPUs and many GPU and NPU accelerators across common operating systems.

★ 55.6k⟳ 2 days agoMIT

whisperX

Speech recognition with word timestamps and diarization

WhisperX transcribes audio with batched Whisper inference, then aligns words using phoneme models for sharper timestamps. Optional speaker diarization labels who spoke when you provide a Hugging Face token.

★ 25.8k⟳ 6 days agoBSD-2-Clause

Fun-ASR

Multilingual end-to-end speech recognition model family

Fun-ASR provides speech recognition checkpoints from Tongyi Lab for Chinese, English, Japanese, dialects, and up to 31 languages. Inference runs through FunASR, Transformers, vLLM, or llama.cpp GGUF binaries.

★ 1.6k⟳ 8 days agoApache-2.0

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0