50K+
ASR API based on Kaldi and Vosk. Supports offline and real-time transcription.
See the main README for API docs, Docker options, and serving modes. See ENV.md for all environment variables.
LinTO-STT-Kaldi accepts two kinds of models:
LinTO models (acoustic + language model separately):
MODEL_TYPE=lin-v <AM_PATH>:/opt/AM -v <LM_PATH>:/opt/LMVosk models (all-in-one):
MODEL_TYPE=vosk-v <MODEL_PATH>:/opt/modeldocker pull lintoai/linto-stt-kaldi
or
docker build -t linto-stt-kaldi:latest --build-arg STT_ENGINE=kaldi .
With LinTO models:
docker run --rm -p 8080:80 \
-e SERVICE_MODE=http \
-e MODEL_TYPE=lin \
-v /path/to/AM:/opt/AM \
-v /path/to/LM:/opt/LM \
lintoai/linto-stt-kaldi
With a Vosk model:
docker run --rm -p 8080:80 \
-e SERVICE_MODE=http \
-e MODEL_TYPE=vosk \
-v /path/to/vosk-model:/opt/model \
lintoai/linto-stt-kaldi
For streaming, use -e SERVICE_MODE=websocket. For Celery task mode, use -e SERVICE_MODE=task with -v /shared/audio:/opt/audio.
For punctuation recovery, add a recasepunc model:
-v /path/to/fr.24000:/opt/PUNCT -e PUNCTUATION_MODEL=/opt/PUNCT
AGPLv3 (see LICENSE).
Content type
Image
Digest
sha256:0f821f5ee…
Size
104.2 MB
Last updated
19 days ago
docker pull lintoai/linto-stt-kaldiPulls:
53
Jun 29 to Jul 5