Basics Β· automatic-speech-recognition Β· CTC Β· Romanian
The core capability, plainly: pick a Romanian clip, and wav2vec2 labels every ~20 ms frame with a Romanian character, then collapses the frames into a transcript β entirely on your device.
Raw per-frame argmax (β frames):
Audio is resampled to 16 kHz mono and fed to the wav2vec2 encoder. It emits, per frame, a probability over 37 Latin-Romanian symbols; we take the argmax, merge consecutive duplicates, and drop the blanks. No decoder generates the text β it's read directly off the frames, so the model can't invent an unspoken word.
Next rung: Practical β per-word forced alignment β