softcatala_wav2vec2-large-xlsr-catala
softcatala · 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: ca datasets:
- common_voice
- parlament_parla metrics:
- wer tags:
- audio
- automatic-speech-recognition
- speech
- xlsr-fine-tuning-week license: apache-2.0 model-index:
- name: Catalan XLSR Wav2Vec2 Large
results:
- task:
name: Speech Recognition
type: automatic-speech-recognition
datasets:
- name: Common Voice ca type: common_voice args: ca
- name: ParlamentParla url: https://www.openslr.org/59/ metrics:
- name: Test WER type: wer value: 6.92
- name: Google Crowsourced Corpus WER type: wer value: 12.99
- name: Audiobook “La llegenda de Sant Jordi” WER type: wer value: 13.23
- task:
name: Speech Recognition
type: automatic-speech-recognition
datasets:
Wav2Vec2-Large-XLSR-Català
Fine-tuned facebook/wav2vec2-large-xlsr-53 on Catalan language using the Common Voice and ParlamentParla datasets.
Attention: The split train/dev/test used does not fully map with the CommonVoice 6.1 dataset. A custom split was used combining both the CommonVoice and ParlamentParla dataset and can be found here. Evaluating on the CV test dataset will produce a biased WER as 1144 audio files of that dataset were used in training/evaluation of this model. WER was calculated using this test.csv which was not seen by the model during training/evaluation.
You can find training and evaluation scripts in the github repository ccoreilly/wav2vec2-catala
When using this model, make sure that your speech input is sampled at 16kHz.
Results
Word error rate was evaluated on the following datasets unseen by the model:
| Dataset | WER |
|---|---|
| Test split CV+ParlamentParla | 6.92% |
| Google Crowsourced Corpus | 12.99% |
| Audiobook “La llegenda de Sant Jordi” | 13.23% |
Usage
The model can be used directly (without a language model) as follows:
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "ca", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("ccoreilly/wav2vec2-large-xlsr-catala")
model = Wav2Vec2ForCTC.from_pretrained("ccoreilly/wav2vec2-large-xlsr-catala")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the audio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset["speech"][:2], 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)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset["sentence"][:2])
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:4da754440a2af93cedb2ff0ed667b7376b8ddd5a&dn=softcatala_wav2vec2-large-xlsr-catalaOpen magnet in torrent client · infohash 4da754440a2af93cedb2ff0ed667b7376b8ddd5a
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| LICENSE | 9.9 KB (10,173 B) | ab6497f4aa0723b6f3bf344a4dc1a1f186bcc310 | bb618af833c817ab01c1564bd3ec75ba4b4f9cf30910a4a2168e30a674ee8cc6 |
| README.md | 3.3 KB (3,369 B) | 05d4bf9d2736ac4cb4b6cb5f13a7f5ddad228768 | 933b4f6697ad2066c4eb9d9bb3c9cc80078fd038c2179273ff0830bdde7651ea |
| config.json | 1.5 KB (1,563 B) | e87802fd67910424f8494b07730ce2ac27da4e36 | cc7612edcb82027d7f335c7ef9ff8322f11e68e718cc56d8b377bf38f88afb45 |
| preprocessor_config.json | 158 B (158 B) | 0886a48276922a77013d8aa4681192138ae90d90 | c403ce09975b90dff0dd8302c42d422e9de1f166cd7772df23490069893cb0cf |
| pytorch_model.bin | 1.18 GB (1,262,106,007 B) | d19299e10db307579a51de9aa4210110e71e3060 | fa55a8433c1933d7f6f4a4aa2ef62a943a2dd39523f47d40d956301b28894b4d |
| special_tokens_map.json | 85 B (85 B) | 9abf71998c3e0de2f13c0fd73ed81477c9dae118 | 50eb73d51191696209d30d42d6ede50e57e7a542ca1db12df714b2c0aa3da8e2 |
| tokenizer_config.json | 138 B (138 B) | a2a8340e0a162e4e223867107d9db359f5697c1d | 3160c256a4d10e1fc5133a2d318e63406cc382b957563198931c8a90f9b9242d |
| vocab.json | 387 B (387 B) | cc3f6e10b3576fce2f650c80a73a67ee9bbb26e0 | 55922b0b9b4c25c14091d212d9e3f117383add0d53a502a5ca6c7fd43f8092cf |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/softcatala_wav2vec2-large-xlsr-catala/
- Slug
- softcatala_wav2vec2-large-xlsr-catala
- Infohash
- 4da754440a2af93cedb2ff0ed667b7376b8ddd5a
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: softcatala_wav2vec2-large-xlsr-catala.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | softcatala/wav2vec2-large-xlsr-catala |
|---|---|
| Revision (pinned) | 4e8ceed125344298e04a2a5d9ce1645f7fc3d4b9 |
| Fetched at | 2026-09-04T05:40:59Z |
| 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-04T05:41:16Z
apache-2.01.18 GB (1,262,121,880 bytes)transformerspytorchjaxwav2vec2automatic-speech-recognitionaudiospeechxlsr-fine-tuning-weekmodel-indexendpoints_compatible1 language (ca)