Whisper large-v3-turbo — Persian (Farsi)
A full fine-tune of openai/whisper-large-v3-turbo for
Persian speech recognition, trained on ~246 hours of openly licensed Persian speech: conversational YouTube
audio with creator-made subtitles plus formal read speech.
- Verbatim, colloquial-aware output. It writes what was said («نمیدونم», «میشه», «داره»), instead of rewriting speech into formal written Persian.
- Punctuated output («،», «.», «؟»).
- Quiet on music and silence (since v4): on audio without speech it returns an empty transcript instead of invented words.
- Fast: same size and speed as turbo (809 M parameters). A 70-minute podcast transcribes in about 25 s on an RTX 4070 Ti.
- A
whisper.cpp/ GGML version is included (ggml-persian-v3-turbo.bin), which also works with FFmpeg'swhisperfilter.
What's new in v4 (2026-11-28)
- Far less invented text on non-speech audio. v4 was also trained on 3.2 h of music, applause and pauses with empty transcripts. On 153 held-out non-speech clips, v3 produced text on every clip (about 18 invented words per clip); v4 produces words on 16 % of them (0.7 words per clip on average).
- About 6 h more conversational speech: segments that the first filter had rejected were re-checked with v3, and correct ones were added (see Processing).
- Speech accuracy is unchanged (mean WER 12.4 for both versions).
The previous version is still available as revision v3:
asr = pipeline("automatic-speech-recognition", model="givia/whisper-large-v3-turbo-persian", revision="v3")
Results
Word error rate (%, lower is better). The test sets are fixed subsets, and the same clips were used for every model: 300 FLEURS clips, 150 + 150 held-out YouTube / YODAS2 segments, and 300 Neyshekar clips. Text is normalized before scoring: punctuation and diacritics are removed, Arabic/Persian letter and digit variants are unified, and spacing variants such as «می شه» / «میشه» / «میشه» are treated as the same word.
| Model | FLEURS | YouTube (unseen channels) | YODAS2 | Neyshekar | Mean |
|---|---|---|---|---|---|
| this model (v4) | 6.7 | 14.4 | 22.6 | 5.9* | 12.4 |
| this model, v3 | 6.4 | 14.4 | 23.0 | 6.0* | 12.4 |
| MohammadKhosravi/whisper-large-v3-Persian | 11.9 | 30.8 | 34.8 | 12.9 | 22.6 |
| AmirMohseni/whisper-large-v3-persian-bf16 | 12.2 | 29.9 | 34.9 | 13.2 | 22.5 |
| sadrasa97/whisper-large-v3-turbo-fa | 14.4 | 34.5 | 41.2 | 16.6 | 26.7 |
| openai/whisper-large-v3 | 17.3 | 35.8 | 37.3 | 21.0 | 27.8 |
| openai/whisper-large-v3-turbo | 18.7 | 34.0 | 36.3 | 26.4 | 28.8 |
| nezamisafa/whisper-persian-v4 | 12.6 | 45.0 | 45.7 | 17.5 | 30.2 |
| vhdm/whisper-large-fa-v1 | 14.0 | 51.3 | 62.6 | 21.2 | 37.3 |
* This model was trained on Neyshekar's train split, which shares no speakers with its test split. That makes its Neyshekar score in-domain; the other models have not seen Neyshekar. It was also trained on FLEURS-train and on YouTube subtitles in the same style as the YouTube references, so read the FLEURS and YouTube columns with that in mind.
Unseen long-form test: a 70-minute episode of Bplus Podcast (not in any training data, manual subtitles). Each model is listed with the better of two long-form methods: pause-based pieces, with or without 2 s overlap (see Long recordings below).
| Model | WER | CER |
|---|---|---|
| this model (v4) | 11.3 % | 2.8 % |
| this model, v3 | 11.2 % | 2.7 % |
| openai/whisper-large-v3-turbo | 19.6 % | 5.5 % |
| nezamisafa/whisper-persian-v4 | 32.4 % | 10.8 % |
Non-speech audio: 153 clips of music, applause, room noise and silence from held-out videos (Silero VAD finds less than 5 % speech in each). The table shows how many clips the model wrote any words for.
| Model | Clips with words | Words per clip |
|---|---|---|
| this model (v4) | 16 % | 0.7 |
| this model, v3 | 100 % | 17.7 |
| openai/whisper-large-v3-turbo | – | 1.3 |
For the remaining cases, a voice-activity detector (as in the FFmpeg example below) still helps.
Models that rewrite colloquial speech into formal Persian score worse on the YouTube sets, because the references are verbatim subtitles. That is a real difference in behaviour, not only in spelling.
Usage
Transformers
import torch
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="givia/whisper-large-v3-turbo-persian",
dtype=torch.float16, device="cuda:0")
print(asr("audio.mp3", generate_kwargs={"language": "persian", "task": "transcribe", "num_beams": 1})["text"])
Pass "num_beams": 1 (greedy decoding). The transformers pipeline otherwise uses beam search with 5 beams.
Beam search is only 0.2–0.3 WER better on speech, but on music or silence it prefers long repeated phrases
(«کنم کنم کنم …») over the empty transcript this model was trained to give. All results on this card use greedy
decoding.
Long recordings
The pipeline call above handles one 30 s window. For longer audio, this approach gave the best results:
- Cut the audio at pauses into pieces of up to about 26 s, choosing the longest pause in each window.
- Decode each piece with 2 s of the neighbouring audio on both sides, plus 0.25 s of silence padding, so words at the edges are heard in context.
- Join neighbouring transcripts at the point where they agree on the same words, so nothing is duplicated.
On the podcast above, this lowered the error rate on words at piece edges from 24 % to 12 % (about the same as mid-piece words), and overall WER from 12.1 % to 11.2 %. Plain 30 s windows without overlap can duplicate or fuse words at the boundaries.
whisper.cpp
whisper-cli -m ggml-persian-v3-turbo.bin -l fa -osrt -f audio.wav
FFmpeg (8.0+, built with --enable-whisper)
ffmpeg -i video.mp4 -vn -af "whisper=model=ggml-persian-v3-turbo.bin:language=fa:queue=20:\
vad_model=ggml-silero-v5.1.2.bin:destination=video.srt:format=srt" -f null -
ggml-silero-v5.1.2.bin is whisper.cpp's voice-activity model (models/download-vad-model.sh silero-v5.1.2).
The GGML file is fp16; quantize it with whisper.cpp's quantize tool if you need a smaller file.
transcribe.cpp (GGUF)
GGUF files for transcribe.cpp (F16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, with an accuracy table) are in givia/whisper-large-v3-turbo-persian-gguf.
Training data (~246 h)
| Source | Hours | Type | License |
|---|---|---|---|
| Neyshekar (train split) | 95.6 | read speech, 134 speakers | CC0-1.0 |
| YouTube videos with creator-uploaded Persian subtitles (96 channels, 277 videos) | 60.6 | conversational, podcasts, lectures | CC-BY (YouTube Creative Commons), see attribution below |
| Common Voice 26.0 fa (curated train split) | 34.3 | read sentences, 214 speakers | CC0-1.0 |
YODAS2 fa000 (135 videos, manual subtitles) | 25.2 | conversational | CC-BY-3.0 |
| ManaTTS (~15 h subset) | 15.2 | formal read speech, 1 speaker | CC0-1.0 |
FLEURS fa_ir train | 12.1 | read speech | CC-BY-4.0 |
| Non-speech clips from the YouTube and YODAS2 videos above (empty transcripts) | 3.2 | music, applause, pauses | as their videos |
Processing:
- YouTube data: only creator-uploaded subtitles were used, never YouTube's auto-generated captions. Videos had
to carry a Creative Commons license at download time. Segments of up to 30 s were cut at subtitle boundaries and
kept only if
whisper-large-v3-turboroughly agreed with the subtitle (CER ≤ 0.4). For v4, the rejected segments were checked again with v3 under the same rule. Base Whisper had often truncated long clips, so many of those subtitles were correct. Each channel was capped at 5 h. - Punctuation: subtitles without punctuation were punctuated by an LLM (Claude). Each result was accepted only if the words were unchanged once punctuation was removed; otherwise the segment was dropped. For the segments added in v4 that had no punctuation, punctuation was copied from v3's transcript onto the subtitle's own words; the words themselves were never changed.
- Non-speech clips: gaps of 3 s or more between subtitles, and cues marked only as music or applause, were cut from training videos and kept if Silero VAD found less than 5 % speech. Their transcript is empty.
- Short clips: clips from the read-speech corpora were packed per speaker into examples of up to 28 s.
- Labels: Arabic/Persian letter variants were unified, and bracketed sound tags (e.g. «(موسیقی)») were removed.
Training procedure
Full fine-tune of all 809 M parameters on a single 12 GB GPU:
- 8-bit AdamW (bitsandbytes), learning rate 1e-5, 200 warmup steps, linear decay.
- bf16 autocast, gradient checkpointing.
- SpecAugment (5 % time and frequency masking).
- Effective batch size 16, 2 epochs (4,940 steps; about 12 h on an RTX 3060; v3 took about 4 h on an RTX 4070 Ti).
- The checkpoint was selected by WER on a held-out dev set: FLEURS-dev plus held-out YouTube channels.
Limitations
- Hard audio: noisy, overlapping or very fast speech is harder (about 23 % WER on YODAS2). Rare names and literary or technical vocabulary are the most common errors.
- Music: v4 mostly stays silent on music, but on some clips it still writes a word such as «موسیقی» or a short repeated fragment. A voice-activity detector (as in the FFmpeg example) avoids this.
- Dialects: trained and evaluated on Iranian Persian. Dari and Tajik have not been tested.
- Numbers: written as digits or words inconsistently, following the mix of conventions in the training text.
- Not streaming: like all Whisper models, it transcribes chunks of audio, not a continuous stream.
Attribution
This model was trained on CC-BY-licensed material. We credit:
- FLEURS (Google, CC-BY-4.0)
- YODAS2 (ESPnet / CMU, CC-BY-3.0, and the creators of its videos)
- The creators of the following YouTube channels, whose Creative Commons videos and subtitles were used (channel — videos used — hours of training audio)
If you are a rights holder and believe material was used incorrectly, please open a discussion on this repository.