Skip to content

Feature: Add SenseVoice/FunASR as offline STT option #192

Description

@LauraGPT

Motivation

Jarvis is an offline voice assistant in Rust that respects privacy. FunASR (16K+ stars) provides models that can run offline via multiple Rust-friendly integration paths.

Integration Options for Rust

  1. Sherpa-ONNX (C API callable from Rust): Runs SenseVoice and Paraformer models natively

  2. SenseVoice.cpp (pure C/C++): Direct integration via FFI

  3. ONNX Runtime (Rust crate ort): Load SenseVoice ONNX model directly

    • Model: funasr/sensevoice-small-onnx on HuggingFace

Why SenseVoice

  • 234M params: Small, fast, efficient
  • Non-autoregressive: Deterministic latency
  • 50+ languages with auto detection
  • Fully offline: No network needed
  • Built-in VAD: Included in model pipeline

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions