Instructions to use SpeechCollector/whisper-chuvash-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpeechCollector/whisper-chuvash-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="SpeechCollector/whisper-chuvash-medium")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("SpeechCollector/whisper-chuvash-medium") model = AutoModelForSpeechSeq2Seq.from_pretrained("SpeechCollector/whisper-chuvash-medium") - Notebooks
- Google Colab
- Kaggle
whisper-chuvash-medium
Whisper fine-tuned for Chuvash (chv) — the mid-size model of the family in the Aisar
family by SpeechCollector. The
family was trained on ChuvashAsrDataset
(~49.5 h of labeled Chuvash speech) and evaluated on its Common Voice test
split (1,288 utterances).
- Base model: openai/whisper-medium (769M parameters)
- WER / CER (orthographic, beam-5): 17.28% / 3.83%
- WER / CER (Whisper-normalized): 12.36% / 2.98%
- Checkpoint size: ~1.5 GB
- Inference speed: ~3.3x real time (estimate)
The Aisar family
| Model | Base | Params | WER | CER | WER (norm.) |
|---|---|---|---|---|---|
| whisper-chuvash-small | openai/whisper-small | 244M | 20.3% | 5.35% | 15.4% |
| whisper-chuvash-medium | openai/whisper-medium | 769M | 17.28% | 3.83% | 12.36% |
| whisper-chuvash-turbo | bond005/whisper-podlodka-turbo | 809M | 16.02% | 3.63% | 11.13% |
Orthographic = text compared as-is, with casing and punctuation. Normalized = same beam-5 run scored after Whisper-style normalization (lowercase, ё→е, punctuation stripped). Speed estimates for small/medium are derived from OpenAI's official relative speeds (small ~4x, medium ~2x, turbo ~8x vs large) anchored to the measured turbo RTF.
How to use
Chuvash has no language token in the Whisper vocabulary, so generation uses
language="russian" — this is intentional and gives the best results. The
numbers above were obtained with beam-5; num_beams=1 is 1.7x faster at a
small quality cost (+0.3 pp normalized WER for turbo).
import torch
from transformers import pipeline
asr = pipeline(
"automatic-speech-recognition",
model="SpeechCollector/whisper-chuvash-medium",
torch_dtype=torch.float16, # use torch.float32 on CPU
device="cuda:0", # or "cpu"
chunk_length_s=30, # handles audio longer than 30 s
stride_length_s=(5, 5),
)
out = asr(
"speech.wav", # any sample rate — the pipeline resamples to 16 kHz
generate_kwargs={
"language": "russian",
"task": "transcribe",
"num_beams": 5,
},
)
print(out["text"])
For long spontaneous audio (conversations, broadcast), add a temperature
fallback to generate_kwargs — it tames repetition loops on hard segments:
"temperature": (0.0, 0.2, 0.4, 0.6, 0.8, 1.0),
"compression_ratio_threshold": 2.4,
"logprob_threshold": -1.0,
"no_speech_threshold": 0.6,
Training data
ChuvashAsrDataset: 36,781 utterances / ~49.5 h, 16 kHz mono. Sources: alexantonov/chuvash_voice (38.7 h, CC0), Common Voice 25.0 (5.6 h, CC0), ftyers Turkic_TTS (5.2 h, CC-BY-SA). Splits: train 34,251 / val 1,242 / test 1,288 — validation and test contain Common Voice recordings only.
Limitations
- Evaluated on read speech (Common Voice); expect higher error rates on spontaneous or noisy audio.
- Fine-tuned almost exclusively on monolingual Chuvash, so the model performs best on Chuvash-dominant audio and degrades on Chuvash–Russian code-switched speech. Bilingual fine-tuning is a natural next step.
- Output is orthographic Chuvash (Ó‘, Ó—, Ò«, Ó³); casing and punctuation come from the model and are not guaranteed.
License and acceptable use
- License: CC BY-NC 4.0 — free for research and other non-commercial use.
- Commercial use: possible under a separate agreement with the SpeechCollector community — reach out on Telegram: @Michaelya.
- Surveillance: please do not use this model to build systems for surveillance, covert monitoring, or tracking of individuals.
Links
- Project website (ru / en / cv): https://chuvash-asr.vercel.app
- Datasets and models: https://huggingface.co/SpeechCollector
- Contact: @Michaelya
- Paper: coming soon on arXiv
- Downloads last month
- -
Model tree for SpeechCollector/whisper-chuvash-medium
Base model
openai/whisper-mediumDataset used to train SpeechCollector/whisper-chuvash-medium
Collection including SpeechCollector/whisper-chuvash-medium
Evaluation results
- WER (orthographic, beam-5) on ChuvashAsrDataset (Common Voice test split)test set self-reported17.280
- CER (orthographic, beam-5) on ChuvashAsrDataset (Common Voice test split)test set self-reported3.830
- WER (Whisper-normalized, beam-5) on ChuvashAsrDataset (Common Voice test split)test set self-reported12.360