jonatasgrosman_wav2vec2-large-xlsr-53-portuguese
jonatasgrosman · View on Hugging Face ↗
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: pt license: apache-2.0 datasets:
- common_voice
- mozilla-foundation/common_voice_6_0 metrics:
- wer
- cer tags:
- audio
- automatic-speech-recognition
- hf-asr-leaderboard
- mozilla-foundation/common_voice_6_0
- pt
- robust-speech-event
- speech
- xlsr-fine-tuning-week model-index:
- name: XLSR Wav2Vec2 Portuguese by Jonatas Grosman
results:
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice pt
type: common_voice
args: pt
metrics:
- name: Test WER type: wer value: 11.31
- name: Test CER type: cer value: 3.74
- name: Test WER (+LM) type: wer value: 9.01
- name: Test CER (+LM) type: cer value: 3.21
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Robust Speech Event - Dev Data
type: speech-recognition-community-v2/dev_data
args: pt
metrics:
- name: Dev WER type: wer value: 42.1
- name: Dev CER type: cer value: 17.93
- name: Dev WER (+LM) type: wer value: 36.92
- name: Dev CER (+LM) type: cer value: 16.88
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice pt
type: common_voice
args: pt
metrics:
Fine-tuned XLSR-53 large model for speech recognition in Portuguese
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Portuguese 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-portuguese")
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 = "pt"
MODEL_ID = "jonatasgrosman/wav2vec2-large-xlsr-53-portuguese"
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 |
|---|---|
| NEM O RADAR NEM OS OUTROS INSTRUMENTOS DETECTARAM O BOMBARDEIRO STEALTH. | NEMHUM VADAN OS OLTWES INSTRUMENTOS DE TTÉÃN UM BOMBERDEIRO OSTER |
| PEDIR DINHEIRO EMPRESTADO ÀS PESSOAS DA ALDEIA | E DIR ENGINHEIRO EMPRESTAR AS PESSOAS DA ALDEIA |
| OITO | OITO |
| TRANCÁ-LOS | TRANCAUVOS |
| REALIZAR UMA INVESTIGAÇÃO PARA RESOLVER O PROBLEMA | REALIZAR UMA INVESTIGAÇÃO PARA RESOLVER O PROBLEMA |
| O YOUTUBE AINDA É A MELHOR PLATAFORMA DE VÍDEOS. | YOUTUBE AINDA É A MELHOR PLATAFOMA DE VÍDEOS |
| MENINA E MENINO BEIJANDO NAS SOMBRAS | MENINA E MENINO BEIJANDO NAS SOMBRAS |
| EU SOU O SENHOR | EU SOU O SENHOR |
| DUAS MULHERES QUE SENTAM-SE PARA BAIXO LENDO JORNAIS. | DUAS MIERES QUE SENTAM-SE PARA BAICLANE JODNÓI |
| EU ORIGINALMENTE ESPERAVA | EU ORIGINALMENTE ESPERAVA |
Evaluation
- To evaluate on
mozilla-foundation/common_voice_6_0with splittest
python eval.py --model_id jonatasgrosman/wav2vec2-large-xlsr-53-portuguese --dataset mozilla-foundation/common_voice_6_0 --config pt --split test
- To evaluate on
speech-recognition-community-v2/dev_data
python eval.py --model_id jonatasgrosman/wav2vec2-large-xlsr-53-portuguese --dataset speech-recognition-community-v2/dev_data --config pt --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-portuguese,
title={Fine-tuned {XLSR}-53 large model for speech recognition in {P}ortuguese},
author={Grosman, Jonatas},
howpublished={\url{https://huggingface.co/jonatasgrosman/wav2vec2-large-xlsr-53-portuguese}},
year={2021}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:5069699c892710764928d769c7325d70bb09aff2&dn=jonatasgrosman_wav2vec2-large-xlsr-53-portugueseOpen magnet in torrent client · infohash 5069699c892710764928d769c7325d70bb09aff2
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 5.2 KB (5,304 B) | 5697a699ed0b9d6d6d42b578379ce4a4ec5da78d | 5c424dad4823466764c9dc9c2700f3eb399cf2cbcab3665045f43c1d0db282a8 |
| alphabet.json | 278 B (278 B) | b1a16dadba7de2321b09ffcba0905df13ecef301 | a54fe91a7fcf7175afcf4f7131c484a7530897914d5c226dace2ac5ffd07ddb8 |
| config.json | 1.7 KB (1,777 B) | 32225e98088af25a28baa77c152af143b5121aa2 | ea1d581f043b854671b11d6b7db606e1ec5aafbfdd6b964c3f2f5975e335761c |
| eval.py | 6.1 KB (6,198 B) | cac50014eeb12f18e47067f3d2af8d6804e7359e | 9873f495d1b1768853bde2bf9f2ebf280a3f5e765e2ab8f67b75421ea4aa525f |
| full_eval.sh | 1.4 KB (1,386 B) | e44088db02e772218449b4a2ec9224c7dc6dc1a8 | 4c89fe5a2e369bc92b5c81453ce26e804c53f58d8c097006c438c293b7768475 |
| language_model/attrs.json | 78 B (78 B) | 3c07595c2b465df3c14531dbc2d1c52bf11f166d | f5ffd02e1ceef6517476e72ebe7997ddef7e92d27cb5a23d6695d64c4317d6ad |
| language_model/lm.binary | 1.10 GB (1,182,518,752 B) | 780940fc2635ff959587fc33f15ec4ee1a81edcf | 85fcd2ff940b967b801090070c2325c0c3b3005fc0e26e167f44fcddc56e2439 |
| language_model/unigrams.txt | 7.7 MB (8,054,189 B) | f134fe89630132e8cc61531035d8a81bd64cb9c6 | b1b261381b8dabfbf647e1343be2e3ab126f07058fe4d0ba451017ecaf0d3fdd |
| log_mozilla-foundation_common_voice_6_0_pt_test_predictions.txt | 221.6 KB (226,910 B) | f78be1a18508991b70f698eab219c42ae9998639 | 63f07a0ab5aa00536cf5d7e3dfc0d441a5c0abff90154e436998851afac1555a |
| log_mozilla-foundation_common_voice_6_0_pt_test_predictions_greedy.txt | 221.7 KB (227,018 B) | b1b003bf16a55bf9c02fb00ce568cc0e0f823578 | 42b76a73fd29e5f6f9e59532fee851ad237f00d48db006098d48b7f11755c760 |
| log_mozilla-foundation_common_voice_6_0_pt_test_targets.txt | 222.6 KB (227,956 B) | d84a6eac626474e76b5d518544030f5f42cdf707 | 53821d2207cd2cc1e8d7dc642c14ee38c572feadb03d31496c464c082c720a3c |
| log_speech-recognition-community-v2_dev_data_pt_validation_predictions.txt | 118.9 KB (121,785 B) | 48127124cae12e605e3cc0465e76ac9fc62b5c96 | a971ef67ce3a1842b0dba1a24542e9e4c114f9c9995471ff90f173910617b8c0 |
| log_speech-recognition-community-v2_dev_data_pt_validation_predictions_greedy.txt | 119.8 KB (122,624 B) | fd669ce78b4b082d886a0c8303c3fa47cba6a244 | a5bd84c49ebe58d89058c084343e3c99c7084ae28a8b401da5ff8351e2b6da14 |
| log_speech-recognition-community-v2_dev_data_pt_validation_targets.txt | 119.0 KB (121,874 B) | 6c50e85e6dbb4ca2f87cc7106803fb298f0a6891 | d8a21f0a3a7bc7ba90e349819239c77250168bd34f5ef4c630fb49d4b500aae5 |
| mozilla-foundation_common_voice_6_0_pt_test_eval_results.txt | 50 B (50 B) | 3e40ffa8dda5bf32acc73e827124ff37e1d88687 | 6e5a543735028210fabe21082b7f20276963f8468f7517b6ea3d797a4c8adc2b |
| mozilla-foundation_common_voice_6_0_pt_test_eval_results_greedy.txt | 50 B (50 B) | 99903f347b1e2b8c39767997644c6a0c223ac85f | 264b1bed817df92fb52102c022e1b05b92cc951ae041b5c93a9b296b2f2660e5 |
| preprocessor_config.json | 262 B (262 B) | bb3285bc209d674e3f88646bdfd327bfe43b60da | ca5999a45e98bb76ea87a461ba28a23ad32a5bb9f733b8e0f6546ff38b6c612d |
| pytorch_model.bin | 1.18 GB (1,262,122,456 B) | b97b6a2274eed5342f70b91f49dfbde2c9ee7a22 | c244caf8395a0c333bdc877e7b62ce5efea12ad8cfec0851c0fe6efb844b834e |
| special_tokens_map.json | 85 B (85 B) | 25bc39604f72700b3b8e10bd69bb2f227157edd1 | bb7068de1150661a10b55f9e4b12a0e77af8bf91f5e45e1b58afaf1d0e17f675 |
| speech-recognition-community-v2_dev_data_pt_validation_eval_results.txt | 49 B (49 B) | 667850d52c4d1da8d4275abfd21a235cea974904 | 96d4a3eb4a8e3059b623bcd097700a3119b1b4cac13b0c9752766c3e95f25b21 |
| speech-recognition-community-v2_dev_data_pt_validation_eval_results_greedy.txt | 49 B (49 B) | 58798a5fbfc7e39fec8f816e9b049b862edf7783 | 164df5b41f5652a8740f2fb74abc58a5ec2826baf574b50f68702b97a82835c1 |
| vocab.json | 430 B (430 B) | c72d9cd177b56c81e3e448d949e5217793f1fa91 | 66b0813833e1536fb028f675e10ceda8254e6ee400d8cfd48359f39982190696 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/jonatasgrosman_wav2vec2-large-xlsr-53-portuguese/
- Slug
- jonatasgrosman_wav2vec2-large-xlsr-53-portuguese
- Infohash
- 5069699c892710764928d769c7325d70bb09aff2
- 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-portuguese.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | jonatasgrosman/wav2vec2-large-xlsr-53-portuguese |
|---|---|
| Revision (pinned) | 634ac655299bcdc46c83bc01da9bab52d2987e4f |
| Fetched at | 2026-09-04T01:10:27Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-04T01:10:55Z
apache-2.02.29 GB (2,453,759,560 bytes)transformerspytorchjaxwav2vec2automatic-speech-recognitionaudiohf-asr-leaderboardmozilla-foundation/common_voice_6_0robust-speech-eventspeechxlsr-fine-tuning-weekmodel-indexendpoints_compatible1 language (pt)