Downloads · 30 days
78
1% of all-time downloads
fav-kky/wav2vec2-base-cs-80k-ClTRUS
wav2vec2-base-cs-80k-ClTRUS is a machine learning model from fav-kky. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
Czech language TRransformer from Unlabeled Speech (ClTRUS) is a monolingual Czech Wav2Vec 2.0 base model pre-trained from 80 thousand hours of Czech speech.
Downloads · 30 days
78
1% of all-time downloads
All-time downloads
6.3K
Public
Parameters
95M
1.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.bin380 MB · 50%
From the Hugging Face model README
Czech language TRransformer from Unlabeled Speech (ClTRUS) is a monolingual Czech Wav2Vec 2.0 base model pre-trained from 80 thousand hours of Czech speech.
This model does not have a tokenizer as it was pretrained on audio alone. In order to use this model for speech recognition, a tokenizer should be created and the model should be fine-tuned on labeled text data.
Note [7.8.2025]: This model was updated to the latest version (trained for 400k updates).
Note: This is a checkpoint of the model after 4 epochs over the whole dataset. If you want some earlier or later checkpoints, please feel free to contact the author (jlehecka(at)kky.zcu.cz).
More than 80 thousand hours of unlabeled Czech speech:
Inputs must be 16kHz mono audio files.
This model can be used e.g. to extract per-frame contextual embeddings from audio:
from transformers import Wav2Vec2Model, Wav2Vec2FeatureExtractor
import torchaudio
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("fav-kky/wav2vec2-base-cs-80k-ClTRUS")
model = Wav2Vec2Model.from_pretrained("fav-kky/wav2vec2-base-cs-80k-ClTRUS")
speech_array, sampling_rate = torchaudio.load("/path/to/audio/file.wav")
inputs = feature_extractor(
speech_array,
sampling_rate=16_000,
return_tensors="pt"
)["input_values"][0]
output = model(inputs)
embeddings = output.last_hidden_state.detach().numpy()[0]
After fine-tuning, the model scored the following results on public datasets:
See our paper for details.
The preprint of our paper (accepted to INTERSPEECH 2022) is available at http://arxiv.org/abs/2206.07627
If you find this model useful, please cite our paper:
@inproceedings{wav2vec2-base-cs-80k-ClTRUS,
title = {{Exploring Capabilities of Monolingual Audio Transformers using Large Datasets in Automatic Speech Recognition of Czech}},
author = {
Jan Lehe\v{c}ka and
Jan \v{S}vec and
Ale\v{s} Pra\v{z}\'ak and
Josef V. Psutka
},
booktitle={Proc. Interspeech 2022},
pages={1831--1835},
year = {2022},
doi={10.21437/Interspeech.2022-10439}
}