A fine-tuned
Whisper Large V3 model optimized for
Kazakh (қазақ тілі) speech recognition.
We got tired of Whisper confusing Kazakh with Turkish and hallucinating random text, so we fixed it. 900+ hours of Kazakh speech, 4x H200 GPUs, and a lot of tea later — here we are.
This is v2. We're not done yet.
1from transformers import WhisperProcessor, WhisperForConditionalGeneration
2import librosa
3
4# Load
5processor = WhisperProcessor.from_pretrained("olzhasAl/whisper-large-v3-turbo-kk")
6model = WhisperForConditionalGeneration.from_pretrained("olzhasAl/whisper-large-v3-turbo-kk")
7model.eval()
8
9# Transcribe
10audio, sr = librosa.load("kazakh_audio.wav", sr=16000)
11inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
12forced_ids = processor.get_decoder_prompt_ids(language="kazakh", task="transcribe")
13
14generated = model.generate(
15 inputs.input_features,
16 forced_decoder_ids=forced_ids,
17 max_new_tokens=256,
18 num_beams=5,
19 no_repeat_ngram_size=4,
20)
21
22text = processor.batch_decode(generated, skip_special_tokens=True)[0]
23print(text)
1@misc{whisper-large-v3-turbo-kk,
2 author = {Olzhas Alseitov},
3 title = {whisper-large-v3-turbo-kk: Fine-tuned Whisper for Kazakh Speech Recognition},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/olzhasAl/whisper-large-v3-turbo-kk}
7}