PsarAI-Speech-ASR-GGUF

Khmer / English / French speech recognition for audio.cpp, including mixes of them in one sentence, no language setting, with word timestamps.

MMS-1B CTC with a code-switching adapter + CTC beam search with a character 6-gram that fixes spelling (FLEURS Khmer CER 12.4% โ†’ 9.3%; mixed held-out 2.2% โ†’ 1.6%). The same ASR as PsarAI-S2S-ASR-GGUF, which decodes greedily.

Speech synthesis is a separate repo: PsarAI-Speech-GGUF.

Family mms_asr. It needs audio.cpp with the patch in audiocpp/mms_asr.patch (not in upstream audio.cpp); with it, mms_asr uses the 6-gram whenever the GGUF contains one.

Files

File Size
psarai-speech-asr-q8_0.gguf 1.08 GB recommended
psarai-speech-asr-f16.gguf 1.97 GB reference

The 6-gram tables stay unquantized in both. audio.cpp's transcripts differ from the Python reference's (same 6-gram) by 0.4% CER on 8 test sentences (one Khmer word).

Speed

RTX 3090, Q8_0, audio.cpp server (times include HTTP and WAV I/O), warm: 8 s of Khmer in 0.05 s (158ร—), 60 s in 0.44 s (136ร—); the 6-gram adds almost nothing. On CPU the 1B model runs at about 0.3โ€“0.5ร— real time: use a GPU.

Use with audio.cpp

git apply audiocpp/mms_asr.patch          # upstream commit 50749561
cmake -S . -B build -DENGINE_ENABLE_CUDA=ON -DAUDIOCPP_MODELS="mms_asr" && cmake --build build -j
build/bin/audiocpp_cli --task asr --family mms_asr --model psarai-speech-asr-q8_0.gguf --backend cuda --audio speech.wav
  • POST /v1/audio/transcriptions โ†’ text; /v1/audio/transcriptions/details โ†’ text + words (start_sample, end_sample; from the greedy CTC path; Khmer timestamps are per phrase).
  • Option char_lm (default true; false = greedy). The multipart endpoint ignores unknown form fields: set it in a JSON request's options or the model's default_request_options.

Limitations

  • Output is lowercase; numbers are written as words.
  • Not in upstream audio.cpp: stock builds (and Unsloth's own prebuilt) cannot load these files.

License

CC-BY-NC-4.0 (non-commercial), following facebook/mms-1b-all.

Downloads last month
187
GGUF
Model size
1.0B params
Architecture
audiocpp
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support