k2-fsa/sherpa

Speech-to-text server framework with next-gen Kaldi

986

stars

631

commits

C++

primary language

Sep 10, 2026

updated

k2-fsa.github.io/sherpa
asr
cpp
ctc
end-to-end-asr
python
pytorch
speech-recognition
transducer
websocket

README

sherpa

sherpa is an open-source speech-text-text inference framework using PyTorch, focusing exclusively on end-to-end (E2E) models, namely transducer- and CTC-based models. It provides both C++ and Python APIs.

This project focuses on deployment, i.e., using pre-trained models to transcribe speech. If you are interested in how to train or fine-tune your own models, please refer to icefall.

We also have other similar projects that don't depend on PyTorch:

sherpa-onnx and sherpa-ncnn also support iOS, Android and embedded systems.

Installation and Usage

Please refer to the documentation at https://k2-fsa.github.io/sherpa/

Try it in your browser

Try sherpa from within your browser without installing anything: https://huggingface.co/spaces/k2-fsa/automatic-speech-recognition

Contributors

(top 30 of 58)

csukuangfj

458 commits

pingfengluo

26 commits

yuekaizhang

24 commits

ezerhouni

22 commits

k2-fsa/sherpa

Speech-to-text server framework with next-gen Kaldi

986

stars

631

commits

C++

primary language

Sep 10, 2026

updated

k2-fsa.github.io/sherpa
asr
cpp
ctc
end-to-end-asr
python
pytorch
speech-recognition
transducer
websocket

README

sherpa

sherpa is an open-source speech-text-text inference framework using PyTorch, focusing exclusively on end-to-end (E2E) models, namely transducer- and CTC-based models. It provides both C++ and Python APIs.

This project focuses on deployment, i.e., using pre-trained models to transcribe speech. If you are interested in how to train or fine-tune your own models, please refer to icefall.

We also have other similar projects that don't depend on PyTorch:

sherpa-onnx and sherpa-ncnn also support iOS, Android and embedded systems.

Installation and Usage

Please refer to the documentation at https://k2-fsa.github.io/sherpa/

Try it in your browser

Try sherpa from within your browser without installing anything: https://huggingface.co/spaces/k2-fsa/automatic-speech-recognition

Contributors

(top 30 of 58)

csukuangfj

458 commits

pingfengluo

26 commits

yuekaizhang

24 commits

ezerhouni

22 commits

Languages

C++

51.5%

Python

36.6%

Shell

4.8%

CMake

4.0%

JavaScript

2.0%