jonatasgrosman_wav2vec2-large-xlsr-53-polish
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: pl 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
- pl
- robust-speech-event
- speech
- xlsr-fine-tuning-week model-index:
- name: XLSR Wav2Vec2 Polish by Jonatas Grosman
results:
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice pl
type: common_voice
args: pl
metrics:
- name: Test WER type: wer value: 14.21
- name: Test CER type: cer value: 3.49
- name: Test WER (+LM) type: wer value: 10.98
- name: Test CER (+LM) type: cer value: 2.93
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Robust Speech Event - Dev Data
type: speech-recognition-community-v2/dev_data
args: pl
metrics:
- name: Dev WER type: wer value: 33.18
- name: Dev CER type: cer value: 15.92
- name: Dev WER (+LM) type: wer value: 29.31
- name: Dev CER (+LM) type: cer value: 15.17
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice pl
type: common_voice
args: pl
metrics:
Fine-tuned XLSR-53 large model for speech recognition in Polish
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Polish 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-polish")
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 = "pl"
MODEL_ID = "jonatasgrosman/wav2vec2-large-xlsr-53-polish"
SAMPLES = 5
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 |
|---|---|
| """CZY DRZWI BYŁY ZAMKNIĘTE?""" | PRZY DRZWI BYŁY ZAMKNIĘTE |
| GDZIEŻ TU POWÓD DO WYRZUTÓW? | WGDZIEŻ TO POM DO WYRYDÓ |
| """O TEM JEDNAK NIE BYŁO MOWY.""" | O TEM JEDNAK NIE BYŁO MOWY |
| LUBIĘ GO. | LUBIĄ GO |
| — TO MI NIE POMAGA. | TO MNIE NIE POMAGA |
| WCIĄŻ LUDZIE WYSIADAJĄ PRZED ZAMKIEM, Z MIASTA, Z PRAGI. | WCIĄŻ LUDZIE WYSIADAJĄ PRZED ZAMKIEM Z MIASTA Z PRAGI |
| ALE ON WCALE INACZEJ NIE MYŚLAŁ. | ONY MONITCENIE PONACZUŁA NA MASU |
| A WY, CO TAK STOICIE? | A WY CO TAK STOICIE |
| A TEN PRZYRZĄD DO CZEGO SŁUŻY? | A TEN PRZYRZĄD DO CZEGO SŁUŻY |
| NA JUTRZEJSZYM KOLOKWIUM BĘDZIE PIĘĆ PYTAŃ OTWARTYCH I TEST WIELOKROTNEGO WYBORU. | NAJUTRZEJSZYM KOLOKWIUM BĘDZIE PIĘĆ PYTAŃ OTWARTYCH I TEST WIELOKROTNEGO WYBORU |
Evaluation
- To evaluate on
mozilla-foundation/common_voice_6_0with splittest
python eval.py --model_id jonatasgrosman/wav2vec2-large-xlsr-53-polish --dataset mozilla-foundation/common_voice_6_0 --config pl --split test
- To evaluate on
speech-recognition-community-v2/dev_data
python eval.py --model_id jonatasgrosman/wav2vec2-large-xlsr-53-polish --dataset speech-recognition-community-v2/dev_data --config pl --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-polish,
title={Fine-tuned {XLSR}-53 large model for speech recognition in {P}olish},
author={Grosman, Jonatas},
howpublished={\url{https://huggingface.co/jonatasgrosman/wav2vec2-large-xlsr-53-polish}},
year={2021}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:7ba3605152bd92c509f40672c0f2d96f8af02c17&dn=jonatasgrosman_wav2vec2-large-xlsr-53-polishOpen magnet in torrent client · infohash 7ba3605152bd92c509f40672c0f2d96f8af02c17
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 5.1 KB (5,241 B) | 610e37af4d663e2f65b4fcc28c04b40cfe67f278 | 481e55df5f18b6c52806c07571cc110c059a4635ba666edd1d3187d23da71acd |
| alphabet.json | 244 B (244 B) | 38e3db652aca61248a0ebf20b1135a0b97b5db5a | 58a87fc20f75aac10296e1ffa7b67c28b8806d0b3cc3b5b9ca2bc1842b3e1bf9 |
| config.json | 1.7 KB (1,782 B) | 36716433860dc0bd3f23c7a1c308062228c9a72d | 819dac7fa3ad7f4c11c15c2ede5f323effc5bcfaa311645a250392b65524c29c |
| eval.py | 6.1 KB (6,198 B) | cac50014eeb12f18e47067f3d2af8d6804e7359e | 9873f495d1b1768853bde2bf9f2ebf280a3f5e765e2ab8f67b75421ea4aa525f |
| full_eval.sh | 1.3 KB (1,368 B) | 01485dd373f300ba4216288286deba64e527efdf | d9999ac09426f6a2fb85294f02c4ec0055a78afc10d41df5f2f481feb01047de |
| language_model/attrs.json | 78 B (78 B) | 4f2eb6807f31971e5749585ec35242a3031cabe3 | f5ffd02e1ceef6517476e72ebe7997ddef7e92d27cb5a23d6695d64c4317d6ad |
| language_model/lm.binary | 1.52 GB (1,628,858,942 B) | 11102d9abb998f7e2715d2e664a16f1fe3016e7d | f1df471209afd17b6476d8ff10707e55444b77c99609ade5d75e65dd2bf464b5 |
| language_model/unigrams.txt | 15.9 MB (16,663,622 B) | 2bed3ccc44c1f6d2d2888991a1ccea83ba4bf2b4 | 5618b3acd674a33040b05dc3f4b6d4e27971d7817b3a323a9365d38a7477b2e7 |
| log_mozilla-foundation_common_voice_6_0_pl_test_predictions.txt | 253.9 KB (259,970 B) | d3aaa0d98a3f7a8dba0a1e8763927e5dfb3d2bcd | d226df29434f89cf446688dd136b01cbbe283f9ea690e7f82e5a47d887c282e8 |
| log_mozilla-foundation_common_voice_6_0_pl_test_predictions_greedy.txt | 254.3 KB (260,454 B) | 3b71ee7876e9af1cd6493e6d35e56d281f9e0380 | 1167d8fdce9727beda9079305dddc3bbc7dd480a27ab35677532692b3cabe2ab |
| log_mozilla-foundation_common_voice_6_0_pl_test_targets.txt | 254.8 KB (260,914 B) | 89e7764d8a90115223422635c70489c65b4c2cab | 3b9583b60af76937e2a08c59c883d2bab2914614e755dc477556470afd67c220 |
| log_speech-recognition-community-v2_dev_data_pl_validation_predictions.txt | 109.2 KB (111,798 B) | a9afa17bf79140317f0331b77a83e66b4762155d | dbe03582ebc54eacd8d33005c460e1f1bdf80ec3ae2b57fa368c8dd2a6295787 |
| log_speech-recognition-community-v2_dev_data_pl_validation_predictions_greedy.txt | 109.5 KB (112,092 B) | eaf4aaad7227bdca389d2a418b55414afff5af7d | 8c4fc9675bf18edec399ced94b7719ac0f11f83c4ac601a90faf92b546f825f1 |
| log_speech-recognition-community-v2_dev_data_pl_validation_targets.txt | 100.9 KB (103,356 B) | a5cd705d37c0396ff968b119cf8d70d5a12eaf2e | b880f0716041d023ca593bb73c1da43cbea72e0e13aa498aa46ab9b49303d1a6 |
| mozilla-foundation_common_voice_6_0_pl_test_eval_results.txt | 50 B (50 B) | 45fe3249a767c1ceb8b99e61bc237a09d2b13d47 | 8d55bd8208205d98a9c3b80ce533239c4f7850cc028ab4126e9d09a09f6852df |
| mozilla-foundation_common_voice_6_0_pl_test_eval_results_greedy.txt | 49 B (49 B) | 5e2552868ba1d4ef0a4cf938c9b98582f54a1043 | f8410ab2a2e2a55f7f5c98d294b32d679d01892fffb4c883ace23ef31e358757 |
| preprocessor_config.json | 262 B (262 B) | bb3285bc209d674e3f88646bdfd327bfe43b60da | ca5999a45e98bb76ea87a461ba28a23ad32a5bb9f733b8e0f6546ff38b6c612d |
| pytorch_model.bin | 1.18 GB (1,262,097,815 B) | ba7328677ed28db9664dace35e62f74a9c497ec3 | 1bd2a29f3b6093cc7a0f9ad39d56b5b11ae00f588878035e117e379dd3c204a6 |
| special_tokens_map.json | 85 B (85 B) | 25bc39604f72700b3b8e10bd69bb2f227157edd1 | bb7068de1150661a10b55f9e4b12a0e77af8bf91f5e45e1b58afaf1d0e17f675 |
| speech-recognition-community-v2_dev_data_pl_validation_eval_results.txt | 48 B (48 B) | 67cba4543823071b7192c0c3d4103f9fb7510d57 | 992783ebdb05d71f940441b7be99ca8e058912cb80fe6118c67c623efbcfdcd6 |
| speech-recognition-community-v2_dev_data_pl_validation_eval_results_greedy.txt | 49 B (49 B) | 016281b825a88b37992efc67fd63aa4566a0be96 | e5095d728ccd777739b4dbd4bcb12b1a3adc08c35bc67394d291426a68f26737 |
| vocab.json | 372 B (372 B) | 9bf566b0e25bee18de53e8afefa5cc2350381b65 | bf4603ae2fc39fa1e10a633b533c7535d7d6ffeb21181b6200c403264569cd0e |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/jonatasgrosman_wav2vec2-large-xlsr-53-polish/
- Slug
- jonatasgrosman_wav2vec2-large-xlsr-53-polish
- Infohash
- 7ba3605152bd92c509f40672c0f2d96f8af02c17
- 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-polish.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | jonatasgrosman/wav2vec2-large-xlsr-53-polish |
|---|---|
| Revision (pinned) | 6b1cea36bd8bc5f65ec8081667cd9c0207d51970 |
| Fetched at | 2026-09-04T01:09:51Z |
| 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:27Z
apache-2.02.71 GB (2,908,744,789 bytes)transformerspytorchjaxwav2vec2automatic-speech-recognitionaudiohf-asr-leaderboardmozilla-foundation/common_voice_6_0robust-speech-eventspeechxlsr-fine-tuning-weekmodel-indexendpoints_compatible1 language (pl)