Automatic Speech Recognition
Transformers
Safetensors
Turkmen
whisper
audio
turkmen
conversational

Turkmen Whisper Small v1

A Turkmen speech recognition model: OpenAI Whisper Small (244M parameters), fully fine-tuned for Turkmen. It targets everyday speech (conversations, podcasts, YouTube talk, short social-media videos) and is also accurate on clean read speech.

  • It is our most accurate Turkmen model. Compared with Turkmen Whisper Base v4, word error rate is 7–12 points lower on everyday speech and 3.7 points lower on clean read speech.
  • Fast CTranslate2 / Faster-Whisper version (INT8, ~245 MB): derkar00/whisper-small-turkmen-ct2.
  • The smaller and faster Base models remain available: v4 (CT2) and earlier.

Results

Word and character error rates (WER / CER, %; lower is better) on held-out test sets. No test recording was used for training or for picking the checkpoint.

Test set Clips Base v4 Small v1 ΔWER (95% CI)
Conversational speech 170 56.60 / 24.95 49.40 / 21.49 −7.2 (−9.3 to −5.0)
Social-media clips (Instagram reels) 63 60.60 / 27.75 52.74 / 23.27 −7.9 (−11.3 to −4.6)
Older social-media clips 48 61.83 / 27.38 50.54 / 23.63 −11.3 (−14.7 to −7.7)
Common Voice 27.0 tk test 524 36.63 / 9.34 27.95 / 6.31 −8.7 (−10.4 to −7.0)
Clean read speech (TurkmenSpeech, held out) 768 25.70 / 5.78 21.97 / 4.75 −3.7 (−4.5 to −3.0)
YouTube talk (6 held-out videos) 226 56.19 / 21.60 44.45 / 16.26 −11.7 (−13.4 to −10.1)
  • Conversational: casual multi-speaker Turkmen from two recordings that were not used for training.
  • Social-media clips: short reels from held-out source videos.
  • Common Voice: the official test split. Its speakers do not overlap with training.
  • Clean read speech: a fixed sample of held-out TurkmenSpeech broadcast clips.
  • YouTube talk: the validation split of taze_youtube in derkar00/turkmen-conversational-speech. It is split by video and was monitored during training.
  • Scoring: text is NFC-normalized, lowercased and reduced to the Turkmen alphabet before scoring. Both models were decoded the same way: CTranslate2 int8_float16 on GPU, beam 5, the two-token prompt, and the repetition guard described below.
  • Confidence intervals: a paired bootstrap over clips.

Spontaneous conversation is still hard: expect about one word in two to be wrong on fast, noisy or overlapping speech.

Usage

Use Python 3.12. infer.py handles the correct prompt, beam search, 30-second windowing of long audio and the repetition guard.

python -m venv .venv
source .venv/bin/activate
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu   # or a CUDA build
python -m pip install -r https://huggingface.co/derkar00/whisper-small-turkmen/resolve/main/requirements.txt
hf download derkar00/whisper-small-turkmen infer.py --local-dir turkmen-whisper
python turkmen-whisper/infer.py speech.wav                 # CPU, beam 5
python turkmen-whisper/infer.py speech.wav --device cuda   # GPU (FP16)
python turkmen-whisper/infer.py speech.wav --beam 1        # greedy, faster

WAV and FLAC input is mixed to mono and resampled to 16 kHz. --json adds timing and decoding details.

From Python (run from the downloaded folder):

from infer import Transcriber
asr = Transcriber("derkar00/whisper-small-turkmen", device="cpu", threads=4, beam=5)
print(asr.transcribe("speech.wav")["text"])

Important: keep the two-token prompt

This model was trained with the decoder prompt <|startoftranscript|><|notimestamps|> ([50258, 50363]), without the usual <|tk|><|transcribe|> tokens. Forcing the language and task tokens (for example language="tk" in a pipeline) makes the model loop. If you write your own decoding code, pass decoder_input_ids=[[50258, 50363]] and do not set a language.

infer.py also applies a repetition guard. If a 30-second window's output has a gzip compression ratio above 2.4, that window is decoded once more with repeated 3-grams blocked.

Training

Training started from OpenAI Whisper Small and ran in two stages on one A100 (about 2 hours):

  1. Read speech: all of TurkmenSpeech, 2 epochs, learning rate 1e-5.

  2. Everyday speech: 4 epochs, learning rate 5e-6. Each epoch mixed:

    • the conversational data
    • Common Voice (repeated twice)
    • Turkmen emotional speech
    • 6,000 fresh TurkmenSpeech clips, so read speech is not forgotten

    The checkpoint with the best weighted development score was kept. That was the final step.

Data:

  • mamed0v/TurkmenSpeech: clean broadcast read speech, about 200 hours (CC BY-NC 4.0).
  • derkar00/turkmen-conversational-speech: about 27 hours of conversation, podcasts, YouTube talk and Instagram reels (train splits only). Transcripts were produced with Google Gemini assistance or batch transcription, then quality-checked and partly reviewed by humans. 98 clips flagged by an audit were left out.
  • Mozilla Common Voice 27.0 Turkmen: the train split (CC0).
  • Turkmen emotional speech: developed using Basis Global Emotions, published by Basis. Source: basis-ai/basis-global-emotions, revision 57f26ff9. Only the 239 tk-TM clips were used (about 0.9 hours).

No training audio or transcripts are included in this repository.

Limitations

  • Accuracy is modest on fast, noisy, overlapping or dialect-heavy speech. Review important transcripts.
  • Output is lowercase Turkmen Latin without punctuation.
  • The conversational training data comes from a limited number of sources and speakers, and no demographic balance analysis has been done.
  • There are no timestamps; the model was trained without them.
  • Small is about twice as slow as the Base models. For CPU-only or low-memory use, consider Base v4.

License

CC BY-NC 4.0 (non-commercial use only), inherited from TurkmenSpeech. See LICENSE and NOTICE.md. The upstream OpenAI Whisper notices are in licenses/.

Downloads last month
48
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for derkar00/whisper-small-turkmen

Finetuned
(3,893)
this model
Quantizations
1 model

Datasets used to train derkar00/whisper-small-turkmen

Collection including derkar00/whisper-small-turkmen