vyralsampler-models-nc
ONNX speech aligners for European languages
2 min read
A set of four ONNX-exported models based on wav2vec2 (from the VoxPopuli corpus via torchaudio), created by author JensLantz for the VyralSampler application. The models solve the task of forced alignment — determining the exact time boundaries of each spoken or sung word in audio and video. Unlike the original versions, these files work directly via ONNX Runtime without needing to install the heavy PyTorch framework. The tool will be useful for developers of audio and video editors, subtitle generators, and sample slicing systems.
Key features
- Support for four languages: French (
aligner_fr.onnx), German (aligner_de.onnx), Spanish (aligner_es.onnx), and Italian (aligner_it.onnx). - Running without PyTorch: the models are converted to ONNX (opset 17) and contain character labels directly inside the file metadata.
- High conversion accuracy: the discrepancy of output values from the original on Torch does not exceed
5e-5, and the word boundary markup matches the WhisperX 3.8.6 algorithm.
What you can do
- Integrate into an application or pipeline for automatic slicing of voice and vocal samples from videos.
- Use in combination with speech recognition systems (similar to WhisperX) to create accurate word-by-word subtitles without heavy dependencies.
Example
In the VyralSampler application, the models are loaded into ONNX Runtime: the audio track from a video with speech or vocals in French, German, Spanish, or Italian is fed to the input, and the program receives the exact start and end timings of each word to slice the fragment.
Read more
DetailsBase models:
VOXPOPULI_ASR_BASE_10K (FR, DE, ES, IT) from torchaudioExport: legacy exporter from PyTorch 2.8 (opset 17), weights unchanged
License: CC BY-NC 4.0 (non-commercial use only)










Comments