AI SeedbankHelp preserve open and free AI for humanity's future

← All models

jonatasgrosman_wav2vec2-large-xlsr-53-french

jonatasgrosman · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: fr license: apache-2.0 datasets:

  • common_voice
  • mozilla-foundation/common_voice_6_0 metrics:
  • wer
  • cer tags:
  • audio
  • automatic-speech-recognition
  • fr
  • hf-asr-leaderboard
  • mozilla-foundation/common_voice_6_0
  • robust-speech-event
  • speech
  • xlsr-fine-tuning-week model-index:
  • name: XLSR Wav2Vec2 French by Jonatas Grosman results:
    • task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice fr type: common_voice args: fr metrics:
      • name: Test WER type: wer value: 17.65
      • name: Test CER type: cer value: 4.89
      • name: Test WER (+LM) type: wer value: 13.59
      • name: Test CER (+LM) type: cer value: 3.91
    • task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Dev Data type: speech-recognition-community-v2/dev_data args: fr metrics:
      • name: Dev WER type: wer value: 34.35
      • name: Dev CER type: cer value: 14.09
      • name: Dev WER (+LM) type: wer value: 24.72
      • name: Dev CER (+LM) type: cer value: 12.33

Fine-tuned XLSR-53 large model for speech recognition in French

Fine-tuned facebook/wav2vec2-large-xlsr-53 on French using the train and validation splits of Common Voice 6.1. When using this model, make sure that your speech input is sampled at 16kHz.

This model has been fine-tuned thanks to the GPU credits generously given by the OVHcloud :)

The script used for training can be found here: https://github.com/jonatasgrosman/wav2vec2-sprint

Usage

The model can be used directly (without a language model) as follows...

Using the HuggingSound library:

from huggingsound import SpeechRecognitionModel

model = SpeechRecognitionModel("jonatasgrosman/wav2vec2-large-xlsr-53-french")
audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]

transcriptions = model.transcribe(audio_paths)

Writing your own inference script:

import torch
import librosa
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor

LANG_ID = "fr"
MODEL_ID = "jonatasgrosman/wav2vec2-large-xlsr-53-french"
SAMPLES = 10

test_dataset = load_dataset("common_voice", LANG_ID, split=f"test[:{SAMPLES}]")

processor = Wav2Vec2Processor.from_pretrained(MODEL_ID)
model = Wav2Vec2ForCTC.from_pretrained(MODEL_ID)

# Preprocessing the datasets.
# We need to read the audio files as arrays
def speech_file_to_array_fn(batch):
    speech_array, sampling_rate = librosa.load(batch["path"], sr=16_000)
    batch["speech"] = speech_array
    batch["sentence"] = batch["sentence"].upper()
    return batch

test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)

with torch.no_grad():
    logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits

predicted_ids = torch.argmax(logits, dim=-1)
predicted_sentences = processor.batch_decode(predicted_ids)

for i, predicted_sentence in enumerate(predicted_sentences):
    print("-" * 100)
    print("Reference:", test_dataset[i]["sentence"])
    print("Prediction:", predicted_sentence)
Reference Prediction
"CE DERNIER A ÉVOLUÉ TOUT AU LONG DE L'HISTOIRE ROMAINE." CE DERNIER ÉVOLUÉ TOUT AU LONG DE L'HISTOIRE ROMAINE
CE SITE CONTIENT QUATRE TOMBEAUX DE LA DYNASTIE ACHÉMÉNIDE ET SEPT DES SASSANIDES. CE SITE CONTIENT QUATRE TOMBEAUX DE LA DYNASTIE ASHEMÉNID ET SEPT DES SASANDNIDES
"J'AI DIT QUE LES ACTEURS DE BOIS AVAIENT, SELON MOI, BEAUCOUP D'AVANTAGES SUR LES AUTRES." JAI DIT QUE LES ACTEURS DE BOIS AVAIENT SELON MOI BEAUCOUP DAVANTAGES SUR LES AUTRES
LES PAYS-BAS ONT REMPORTÉ TOUTES LES ÉDITIONS. LE PAYS-BAS ON REMPORTÉ TOUTES LES ÉDITIONS
IL Y A MAINTENANT UNE GARE ROUTIÈRE. IL AMNARDIGAD LE TIRAN
HUIT HUIT
DANS L’ATTENTE DU LENDEMAIN, ILS NE POUVAIENT SE DÉFENDRE D’UNE VIVE ÉMOTION DANS L'ATTENTE DU LENDEMAIN IL NE POUVAIT SE DÉFENDRE DUNE VIVE ÉMOTION
LA PREMIÈRE SAISON EST COMPOSÉE DE DOUZE ÉPISODES. LA PREMIÈRE SAISON EST COMPOSÉE DE DOUZE ÉPISODES
ELLE SE TROUVE ÉGALEMENT DANS LES ÎLES BRITANNIQUES. ELLE SE TROUVE ÉGALEMENT DANS LES ÎLES BRITANNIQUES
ZÉRO ZEGO

Evaluation

  1. To evaluate on mozilla-foundation/common_voice_6_0 with split test
python eval.py --model_id jonatasgrosman/wav2vec2-large-xlsr-53-french --dataset mozilla-foundation/common_voice_6_0 --config fr --split test
  1. To evaluate on speech-recognition-community-v2/dev_data
python eval.py --model_id jonatasgrosman/wav2vec2-large-xlsr-53-french --dataset speech-recognition-community-v2/dev_data --config fr --split validation --chunk_length_s 5.0 --stride_length_s 1.0

Citation

If you want to cite this model you can use this:

@misc{grosman2021xlsr53-large-french,
  title={Fine-tuned {XLSR}-53 large model for speech recognition in {F}rench},
  author={Grosman, Jonatas},
  howpublished={\url{https://huggingface.co/jonatasgrosman/wav2vec2-large-xlsr-53-french}},
  year={2021}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:adc31a9be2f5608dc57e034791ee943031f21ac8&dn=jonatasgrosman_wav2vec2-large-xlsr-53-french

Open magnet in torrent client · infohash adc31a9be2f5608dc57e034791ee943031f21ac8

Files & hashes

PathSizesha1sha256
README.md5.4 KB (5,543 B)89a8d123059ebad0ac3206af0a999923aedd9a40caa75d02b02b3fd2cc01dbabe278710ce497535d517e05ac8ce98a564e1434ea
alphabet.json356 B (356 B)d1a13a1a1c680e7dc59561236df693ccc47db0bb43d4d6c7a5f73586a48651faea5b2b43aa5ddf222df9bdfa69c000e77f73eedd
config.json1.5 KB (1,531 B)700fb4cdb1224a1531f2396d6a1dee7b6cf45317ee87cfb5a4ad72d24b79eb26ab4b7c26ecc2adc1c0e0e6bc6c91e551d884ef43
eval.py6.1 KB (6,198 B)cac50014eeb12f18e47067f3d2af8d6804e7359e9873f495d1b1768853bde2bf9f2ebf280a3f5e765e2ab8f67b75421ea4aa525f
full_eval.sh1.3 KB (1,368 B)6cd5e0d15848f532c28dcd8ea7f26fddaa2bca21a1b738b2817c5f971eed288c0fb0cca8246085d50694648f02106ec4c108bfee
language_model/attrs.json78 B (78 B)3c07595c2b465df3c14531dbc2d1c52bf11f166df5ffd02e1ceef6517476e72ebe7997ddef7e92d27cb5a23d6695d64c4317d6ad
language_model/lm.binary1.07 GB (1,152,710,843 B)e125e184cc79b188c46702c50e5a1618a21c23a93bf65ae758f1233037f33763a7d1490e048d9a8e9af7e61d56d010228b3a8eaf
language_model/unigrams.txt9.4 MB (9,812,573 B)d21623e9248adb570308872516f912cb8e75fc6d6d57265b246c2e4e3fb59061b91c691fe8f2796069cc9277f5f37e7ee485b1cc
log_mozilla-foundation_common_voice_6_0_fr_test_predictions.txt1.0 MB (1,051,119 B)8bd525ca1740a985b05ba1b1faeaa255d483d8a58a8a4373bec864e772e6a5c6c1bc6082207ca4187a89d690f627d0598932ed1e
log_mozilla-foundation_common_voice_6_0_fr_test_predictions_greedy.txt1.0 MB (1,051,065 B)475fd2f46c7753ffa8897849e4727c2ea0e1d3a02e59998ff98747690859ff2db727c15b2c2099b009815f3a3e27038d4e48a924
log_mozilla-foundation_common_voice_6_0_fr_test_targets.txt1.0 MB (1,058,221 B)fef135f14d58c2d51345d722ffa75274254a9bbcdd860da7f8af9d50da707cde555ff4087cec2fdea4d29b0b03f3ca837440ea68
log_speech-recognition-community-v2_dev_data_fr_validation_predictions.txt132.8 KB (136,034 B)248531b1aaad607169db092849913462b767724495c94a1d868b2b2a24d326b06a1267b9172df9ec5a136af7aabf69994e3ff83b
log_speech-recognition-community-v2_dev_data_fr_validation_predictions_greedy.txt132.5 KB (135,650 B)729ed49529e1f3d10e496dad501a136bc890bb4b00d53a079c1e99a94cbeaea27083efe2eb1b7d4b8db8df84a4d6e350d0fc7295
log_speech-recognition-community-v2_dev_data_fr_validation_targets.txt129.7 KB (132,764 B)93c729b2fad29d15d36a06e2f1c772055f9150fd1a4e9938f6de21aef00c75e2b284b6606a60d7d10fe5e409e0a4619a635dd04f
mozilla-foundation_common_voice_6_0_fr_test_eval_results.txt49 B (49 B)6e30db2fd5b918f75673e640af250bbaac8bad6cfff19d2e59d62f33ce719ba3d756ce717255b5c31e96b4bf353735f6b44ecede
mozilla-foundation_common_voice_6_0_fr_test_eval_results_greedy.txt50 B (50 B)e78b3f823f694d10f03075f05eb9d216cd9fc65b8d63e61800d9c36f6ec97f1ce4ab60986fffc487bbb2cf476166f4375d632d3d
preprocessor_config.json262 B (262 B)bb3285bc209d674e3f88646bdfd327bfe43b60daca5999a45e98bb76ea87a461ba28a23ad32a5bb9f733b8e0f6546ff38b6c612d
pytorch_model.bin1.18 GB (1,262,175,703 B)a1468d39fbfe78ab35faeb53b04d90060ee6018a2fc4760bab7bf7d0d6c06e9b7f829a27a3e66eefee3733f53c88dbedf6607f2e
special_tokens_map.json85 B (85 B)25bc39604f72700b3b8e10bd69bb2f227157edd1bb7068de1150661a10b55f9e4b12a0e77af8bf91f5e45e1b58afaf1d0e17f675
speech-recognition-community-v2_dev_data_fr_validation_eval_results.txt49 B (49 B)f895490ec5903ede6934317ada36ded4f1cd4bc397c111bb84e4d5467bbe3642c0feff2a2cc33dd4d90fbc734dce137e05d1f5b2
speech-recognition-community-v2_dev_data_fr_validation_eval_results_greedy.txt49 B (49 B)1a3450758d4d619dcb768ee72469b36782ac09641b212edfd54d1f7c01e1c011216e39bb77b212c7fcef8777490f21b45b54561b
vocab.json560 B (560 B)c3e3c13a22f44e9b958969a1c4966be030910494e83a3c849e480757fabd9fe927b870581e926407bcc7e1b6dcc8bda1e78a8d78

Cite this release

Canonical URL
https://aiseedbank.org/models/jonatasgrosman_wav2vec2-large-xlsr-53-french/
Slug
jonatasgrosman_wav2vec2-large-xlsr-53-french
Infohash
adc31a9be2f5608dc57e034791ee943031f21ac8
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: jonatasgrosman_wav2vec2-large-xlsr-53-french.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryjonatasgrosman/wav2vec2-large-xlsr-53-french
Revision (pinned)7c79e105a6525d38e1e69f640b974b4a679723cc
Fetched at2026-09-02T05:45:04Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T05:45:31Z

apache-2.02.26 GB (2,428,280,150 bytes)transformerspytorchjaxwav2vec2automatic-speech-recognitionaudiohf-asr-leaderboardmozilla-foundation/common_voice_6_0robust-speech-eventspeechxlsr-fine-tuning-weekmodel-indexendpoints_compatible1 language (fr)