MMS-300M forced aligner, GGUF for audio.cpp
Q4_K and Q8_0 quantizations of MahmoudAshraf/mms-300m-1130-forced-aligner,
the Meta MMS-300M CTC model used by ctc-forced-aligner,
packaged for audio.cpp's mms_forced_aligner family.
Give it audio and its exact transcript; it returns when each word starts and ends, at 20 ms resolution. T3 Code uses it to highlight the word being read aloud.
| File | Size | SHA-256 |
|---|---|---|
mms-forced-aligner-q4_k.gguf |
205,171,744 bytes | fe9fddf7040a98e3ed5d8792663556b1d35d58f82790917ed600367a6ec1e9c3 |
mms-forced-aligner-q8_0.gguf |
356,444,704 bytes | bcad8f81e2daa6529d3849f2c563b00f68bddb2e5254e1fddddb42d280386839 |
Accuracy
On 137 words of English speech, compared with the F16 GGUF of the same checkpoint:
- Q8_0 reproduces every F16 word start exactly.
- Q4_K keeps 131 word starts identical; the other 6 move by one 20 ms frame. Against the speech model's own word timings, 89% of its word starts fall within 25 ms of the median offset (F16 and Q8_0: 91%).
Use
The model takes romanized text: lowercase ASCII letters and apostrophes. audio.cpp normalizes English and Dutch
itself (text_normalization=latin); for other languages, romanize first and pass text_normalization=pre_romanized.
audiocpp_cli --task align --family mms_forced_aligner \
--model mms-forced-aligner-q4_k.gguf \
--audio speech.wav --text "The words that were spoken." --language eng \
--words-out words.json
How it was made
Converted from the upstream model.safetensors (revision 49402e9577b1158620820667c218cd494cc44486) with audio.cpp's
converter, built from pingdotgg/audio.cpp at 2c28b06ecb7853c7cc7b8e93fa0037aebf9725a0:
audiocpp_gguf --input model.safetensors --root mms-300m-1130-forced-aligner \
--family mms_forced_aligner --model-spec model_specs/mms_forced_aligner.json \
--output mms-forced-aligner-q4_k.gguf --type q4_k # or --type q8_0
Matrix weights are quantized; biases, norms and the character table are kept at full precision.
License and credit
This is an adaptation of the MMS forced-alignment model by Mahmoud Ashraf, based on Meta's
Massively Multilingual Speech models.
It is shared under the same Creative Commons Attribution-NonCommercial 4.0 International
license; see LICENSE. Non-commercial use only.
Changes from the original: converted to GGUF and quantized to Q4_K and Q8_0 as described above.
- Downloads last month
- 132
8-bit
Model tree for yashsingh1/mms-forced-aligner-gguf
Base model
MahmoudAshraf/mms-300m-1130-forced-aligner