French speech model in ONNX, with the weights of its matrix multiplications quantized to int8, used by Kinomat for forced alignment: it finds when each word of a known French script is spoken in a voice recording, so that subtitles and cuts follow the voice.
This is a format conversion only. No weights were retrained or fine-tuned.
Télécharge ce fichier et place-le dans ~/Kinomat/Models/ :
wav2vec2-large-xlsr-53-french-int8.onnx.
Ne change pas le nom du fichier. Le Diagnostic de Kinomat vérifie ensuite la somme SHA-256 ci-dessous. Kinomat ne
télécharge rien lui-même.
| File | wav2vec2-large-xlsr-53-french-int8.onnx |
| Size | 355,031,576 bytes |
| SHA-256 | 1f7fc771cee92a8731705322103724f56b6790ec3c6a3ca327779fb09ac24a0d |
| Input | input_values: float32 [1, samples], 16 kHz mono, normalized to zero mean and unit variance |
| Output | logits: float32 [1, frames, 59], one frame per 20 ms |
| Vocabulary | vocab.json: lowercase French letters with their accents, the apostrophe and the hyphen; the pipe character separates words, <pad> is the CTC blank |
jonatasgrosman/wav2vec2-large-xlsr-53-french
by Jonatas Grosman, revision 7c79e105a6525d38e1e69f640b974b4a679723cc, published under the Apache License 2.0 (see LICENSE and
LICENSE-Apache-2.0).facebook/wav2vec2-large-xlsr-53 by Meta
AI, Apache License 2.0 on Hugging Face (MIT in the fairseq repository). It was pre-trained without transcriptions on
Multilingual LibriSpeech, Common Voice and BABEL.Exported from the original model at the revision above with exporter-le-modele.py, PyTorch 2.14.1, transformers
5.20.2, ONNX opset 17, then dynamic int8 quantization (uint8) of the MatMul weights only with onnxruntime 1.31.0, as
for kinomat-aligner-de.
python3.14 -m venv venv
venv/bin/pip install huggingface_hub==2.3.0 numpy==2.5.4 onnx==1.23.2 onnxruntime==1.31.0 onnxscript==0.7.2 torch==2.14.1 transformers==5.20.2
venv/bin/python -I exporter-le-modele.py out/
The export script is reproduced in this repository as exporter-le-modele.py. The exact bytes may differ between
machines; the SHA-256 above is the one of the published file.
Intended for aligning a known French script to a recording of that script. Not meant as a general speech recognizer. Provided as is, without warranty of any kind.
jonatasgrosman/wav2vec2-large-xlsr-53-french