altunenes/parakeet-rs
very fast speech-to-text, diarization, streaming (even in CPU) with NVIDIA Parakeet in Rust
What it solves
parakeet-rs provides a fast, efficient way to perform speech recognition and speaker diarization (identifying who is speaking and when) directly within Rust applications. It bridges the gap between high-performance speech models—such as NVIDIA's Parakeet and Nemotron series—and Rust, allowing developers to run these models locally without needing complex external infrastructure.
How it works
The library acts as a wrapper for various speech AI models. By default, it uses the ONNX Runtime to execute these models, which allows for hardware acceleration on GPUs (via CUDA, TensorRT, etc.) or CPUs. For environments where you want to avoid the ONNX dependency, it also supports a pure Rust backend using the Burn framework. You simply download the model files from Hugging Face and load them into your Rust code using the library's provided interfaces.
Who it’s for
This project is for Rust developers building audio-processing applications who need reliable, high-speed transcription or speaker identification. It is particularly useful for those who want to integrate state-of-the-art speech models into local, privacy-focused, or high-performance software without relying on cloud-based APIs.
Highlights
- Supports a wide variety of speech tasks including offline transcription, real-time streaming, and multi-speaker diarization.
- Offers flexible backend support, including ONNX Runtime for broad hardware compatibility and Burn for a pure Rust experience.
- Enables advanced features like "Multitalker" mode, which can transcribe overlapping speech from different speakers simultaneously.
- Provides granular control over execution, allowing developers to configure hardware providers and memory usage directly.
- Compatible with various model architectures, including NVIDIA's Parakeet, Nemotron, and Cohere's transcription models.
Related
- Project
- Project
- Project
- Project
- Project