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

← All models

classla_wav2vec2-xls-r-parlaspeech-hr

classla · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

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: hr datasets:


wav2vec2-xls-r-parlaspeech-hr

This model for Croatian ASR is based on the facebook/wav2vec2-xls-r-300m model and was fine-tuned with 300 hours of recordings and transcripts from the ASR Croatian parliament dataset ParlaSpeech-HR v1.0.

Notice: ParlaSpeech corpora are currently in the process of enrichment with new features. Follow our progress here: http://clarinsi.github.io/parlaspeech

If you use this model, please cite the following paper:

Nikola Ljubešić, Danijel Koržinek, Peter Rupnik, Ivo-Pavao Jazbec. ParlaSpeech-HR -- a freely available ASR dataset for Croatian bootstrapped from the ParlaMint corpus. http://www.lrec-conf.org/proceedings/lrec2022/workshops/ParlaCLARINIII/pdf/2022.parlaclariniii-1.16.pdf

Metrics

Evaluation is performed on the dev and test portions of the ParlaSpeech-HR v1.0 dataset.

split CER WER
dev 0.0335 0.1046
test 0.0234 0.0761

There are multiple models available, and in terms of CER and WER, the best-performing model is wav2vec2-large-slavic-parlaspeech-hr-lm.

Usage in transformers

from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
import soundfile as sf
import torch
import os

device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")

# load model and tokenizer
processor = Wav2Vec2Processor.from_pretrained(
    "classla/wav2vec2-xls-r-parlaspeech-hr")
model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-parlaspeech-hr")


# download the example wav files:
os.system("wget https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/00020570a.flac.wav")

# read the wav file 
speech, sample_rate = sf.read("00020570a.flac.wav")
input_values = processor(speech, sampling_rate=sample_rate, return_tensors="pt").input_values.to(device)

# remove the raw wav file
os.system("rm 00020570a.flac.wav")

# retrieve logits
logits = model.to(device)(input_values).logits

# take argmax and decode
predicted_ids = torch.argmax(logits, dim=-1)
transcription = processor.decode(predicted_ids[0]).lower()

# transcription: 'veliki broj poslovnih subjekata posluje sa minusom velik dio'

Training hyperparameters

In fine-tuning, the following arguments were used:

arg value
per_device_train_batch_size 16
gradient_accumulation_steps 4
num_train_epochs 8
learning_rate 3e-4
warmup_steps 500

Magnet link

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

magnet:?xt=urn:btih:d60c4d4f3ff4c1162abc529e0763e92468e82893&dn=classla_wav2vec2-xls-r-parlaspeech-hr

Open magnet in torrent client · infohash d60c4d4f3ff4c1162abc529e0763e92468e82893

Files & hashes

PathSizesha1sha256
00020570a.flac.wav166.4 KB (170,412 B)cf748f91d2940f781c28918dfe57dead63e3aef6da1d7fc831c701c91e6f7e07c881b975773b0e7b1b3ce699df685e0cc26ea98d
00020578b.flac.wav301.6 KB (308,844 B)711264e0df73c8b1ef91fd7ff0af10a2215b13d6ab2efb715465b2d53c09a75d6c546a119823ac4469fe846bd8ed5e2e03882c15
1800.m4a18.5 KB (18,940 B)48ed691e69d082b6b730f4509c9fdc910ad81410b5371109af19464b9e628cdd75984b864480abac08f9531a58d531f26a7159f1
README.md3.1 KB (3,204 B)659b2b18a94092629064ebcc72d49ba71cee07f73ae85836cc2c2961bb5d91d63a4d021e159f090f3bd522b7a0a8948a8e4d210e
SBiNG.wav126.1 KB (129,116 B)ddefe94e405635171ea47dcc30d8d02134869e31b2f0fa22a08d96f8c3884627c545e8899cda6ef4d52d4ed1f434756c8d060e6a
config.json2.0 KB (2,061 B)35e577bc0b432e6bd25cad2d872309e84ff19745d3afc8dc7e1391047efde9620e6643c5ece17ebd71f3fca5732233b82959e888
model.safetensors1.18 GB (1,262,012,432 B)0e7f5ccc5f5629fc8557f9bb9bb3b59a6a37384c97160711a4a768f822821c4dcc16a998c636337f379fb01d8642d1ad9a00183d
optimizer.pt2.32 GB (2,490,469,009 B)f4a9f7db22dc3d5a60f4f62ba191151ce33834dddbbd74245a32dfee65153384591d3e157fbaadbfa9ed6ba3e84bde67ecc0d26b
preprocessor_config.json214 B (214 B)73caa151574001d3d495fae897e1d3896824971260ca5a31e13f69ee2fbf147504c8676db5f6398fd7a6b12294341dff838edfcf
pytorch_model.bin1.18 GB (1,262,131,313 B)8ffd7d58d6511295d93a1e9fd7d2b554823beb0ba8832802a6f0497cac9b5409e1fbc323395d51b9df11522d9b57921ec8537ef6
scaler.pt559 B (559 B)47288df4fc766612700b7ea81082ed38278a566f8a6f2f23c0d6be14904a75536e0cd71a3982589a865f06899958ca265e06c661
scheduler.pt623 B (623 B)12e196b486244fb019f195a8006e3340c6ff1d6d1b50675021671aa65e03d08322cba2953ab219a5178e71b41f5c655d59cdae73
tokenizer_config.json120 B (120 B)a3c8a6801acffff071b5df483bc625ede36fbd1bf6760560cea97d7a52930a031efd0e1f5053462aa31e13ad0257877cdb237a52
trainer_state.json7.7 KB (7,889 B)904c3f8c816f2f74124c2e55b13aa56dc431503333648a8ba6cb95b6bf3e8f2982b1b4ca7703e8a05ab5982c95b6f20f1932c489
training_args.bin2.9 KB (2,991 B)50b7900a2be1ae86ce006a2664d68c75f05eac3e903a958bf893998150c6891a9f369853f085dd31bfb492b34bf63bb942ca1cc7
vocab.json463 B (463 B)f470d382488f5d2bf99e0dffdacf522b1627915a3b115ebe97945d7bb610dd01b4fe08a1b6aac45d287cf11f48d63f831b4fadef

Cite this release

Canonical URL
https://aiseedbank.org/models/classla_wav2vec2-xls-r-parlaspeech-hr/
Slug
classla_wav2vec2-xls-r-parlaspeech-hr
Infohash
d60c4d4f3ff4c1162abc529e0763e92468e82893
License
no license recorded
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: classla_wav2vec2-xls-r-parlaspeech-hr.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryclassla/wav2vec2-xls-r-parlaspeech-hr
Revision (pinned)a6075e0c9e0c49a533dc61876b1eafc6bc78de92
Fetched at2026-09-03T21:21:17Z
License at fetchno license recorded
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T21:22:07Z

no license recorded4.67 GB (5,015,258,190 bytes)transformerspytorchsafetensorswav2vec2automatic-speech-recognitionaudioparlaspeechendpoints_compatible1 language (hr)