Whisper small, distilled from Whisper large-v3-turbo for Serbian. Same size and speed as small, with fewer errors in Serbian and Croatian.
Better than Whisper small in Serbian and Croatian in our tests, and smaller in its q8_0 version (264 MB), but far behind large-v3-turbo. Not tested on real video with music or several speakers. Set the language; auto-detection is unreliable.
Training code and raw results: rawmind/whisper-distill-sr on GitHub.
Newer version: rawmind/whisper-small-sr-distill-v2 is also trained on parliament speech and makes fewer errors (17.4% against 24.6% on Serbian FLEURS), but its language detection is unusable and its license is CC BY-SA 4.0.
| Serbian test | Clips | Student | Whisper small | large-v3-turbo |
|---|---|---|---|---|
| FLEURS, clean read speech | 400 | 24.6 (23.2–25.9) | 38.1 (36.6–39.7) | 13.2 (12.4–14.2) |
| Parliament, real speech | 150 | 22.1 (20.2–24.0) | 28.5 (26.2–30.7) | 10.1 (8.8–11.5) |
| FLEURS + pink noise, 10 dB | 100 | 29.1 (26.6–31.8) | 43.0 (40.2–45.9) | 16.9 (14.9–19.0) |
| FLEURS + pink noise, 5 dB | 100 | 36.3 (33.2–39.4) | 50.5 (47.5–53.7) | 19.9 (17.7–22.2) |
| FLEURS, shortened context | 100 | 27.9 (24.4–32.2) | 39.3 (36.3–42.5) | 22.1 (16.7–28.2) |
| Parliament, shortened context | 100 | 22.4 (20.0–25.0) | 27.4 (24.7–30.2) | 15.9 (12.9–19.7) |
Word error rate in % (lower is better), whisper.cpp 1.9.6, with a 95% bootstrap range over clips. Same size and speed as small: 212 ms against 211 ms per clip on an M4 Max GPU. The student beats small in all six tests; in the last one the ranges overlap slightly. Turbo is far ahead but 1.6 GB and about 2.3 times slower.
audio_ctx set to the clip length plus one second, as Titl does on slow machines.(Šeštaj) or („eštaj) on four and a line of mixed-script gibberish on the silent one, small wrote [Muzika] or *svijedna*, and turbo wrote Hvala. or Hvala što pratite kanal.. Filter out silent audio before using any of them.| Croatian test | Clips | Student | Whisper small | large-v3-turbo |
|---|---|---|---|---|
| FLEURS, clean read speech | 400 | 24.3 (23.0–25.7) | 35.5 (34.0–37.1) | 11.4 (10.4–12.4) |
| Parliament, real speech | 150 | 29.6 (27.1–31.8) | 33.1 (30.4–35.6) | 13.6 (11.9–15.4) |
| FLEURS + pink noise, 10 dB | 100 | 37.9 (35.3–40.7) | 51.8 (48.9–54.8) | 17.7 (15.4–19.9) |
| FLEURS + pink noise, 5 dB | 100 | 52.6 (49.2–56.1) | 68.3 (65.0–71.6) | 29.9 (26.9–33.1) |
| FLEURS, shortened context | 100 | 25.8 (23.0–28.9) | 35.8 (32.8–39.0) | 16.7 (12.5–21.3) |
| Parliament, shortened context | 100 | 30.0 (27.2–32.9) | 33.5 (30.4–36.8) | 17.4 (14.3–20.7) |
Same units and method as the Serbian tests. The student beats small in all six, but by less than in Serbian on real speech. On the 150 parliament clips its range overlaps small's, so the two were compared clip by clip: the student is better by 3.5 points (95% 2.0–5.0), with fewer errors on 86 clips and more on 39. Those clips are from one file of ParlaSpeech-HR, 44 speakers, and none of the FLEURS test sentences are in the training data.
Serbian forms: the student sometimes writes a Serbian form, such as predsednik for predsjednik. On parliament that was 18 of 454 words containing je, against 11 for small and 2 for turbo. On FLEURS it was 18 of 1,189, against 21 and 8. This counts misspellings such as dule for dulje too.
ggml-small-sr-distill-q8_0.bin is 264 MB instead of 488 MB and scores within 0.6 points of f16 in all these tests (word error rate in %, same clips as above):
| Test | Clips per language | Serbian q8_0 | Serbian f16 | Croatian q8_0 | Croatian f16 |
|---|---|---|---|---|---|
| FLEURS | 400 | 24.4 | 24.6 | 24.3 | 24.3 |
| Parliament | 150 | 22.2 | 22.1 | 29.6 | 29.6 |
| FLEURS + pink noise, 10 dB | 100 | 29.4 | 29.1 | 37.8 | 37.9 |
| FLEURS + pink noise, 5 dB | 100 | 36.4 | 36.3 | 52.1 | 52.6 |
| FLEURS, shortened context | 100 | 28.5 | 27.9 | 26.4 | 25.8 |
| Parliament, shortened context | 100 | 22.1 | 22.4 | 30.2 | 30.0 |
On an M4 Max CPU with 4 threads and no Accelerate it was 2.6 times as fast as f16, and used 443–497 MB of memory against 653 MB. Speed on Intel and AMD is untested. These scores are from the Metal build, like the f16 ones.
Word error rate in %, 100 FLEURS test clips per language, whisper.cpp 1.9.6, language given, Serbian compared in Latin script:
| Model | Serbian | Croatian | English |
|---|---|---|---|
| Whisper small | 38.2 | 35.2 | 7.0 |
| This model | 24.6 | 23.6 | 7.5 |
| Whisper large-v3-turbo (teacher) | 12.4 | 11.1 | 5.5 |
Files: the Transformers weights (fp16), and for whisper.cpp ggml-small-sr-distill.bin (f16, 488 MB) and ggml-small-sr-distill-q8_0.bin (264 MB). On CPU, start with q8_0.
whisper-cli -m ggml-small-sr-distill.bin -l sr -f audio.wav
Set the language. Serbian training transcripts were converted to Latin script, so expect mostly Latin output.
small.Cross-entropy on the FLEURS human transcripts and KL divergence to the teacher's 64 most likely tokens (temperature 2), weighted equally. AdamW at 2e-5 with cosine decay, 1,353 steps of batch 4 (1.6 epochs) on an Apple M4 Max.
Derived from whisper-small (Apache-2.0), with whisper-large-v3-turbo (MIT) as the teacher. Trained on FLEURS (CC-BY-4.0).
ggml-small-sr-distill.bin 465 MiBmodel.safetensors 461 MiBggml-small-sr-distill-q8_0.bin 252 MiBopenai/whisper-small