vezilka-moonshine-base-mk
vezilka-moonshine-base-mk is an open speech recognition model for Macedonian. It is built by full fine-tuning of Moonshine Base on Macedonian speech, and it transcribes Macedonian audio into text. Moonshine reads the raw waveform, so its cost grows with the length of the audio rather than being fixed per 30-second window, which makes it fast enough for a CPU or an edge device.
Training
Data
The model was trained on about 3.02 million Macedonian speech clips per epoch, each at most 30 seconds long, with their transcripts. Most clips come from Vezilka-ASRI, a platform that aggregates long recordings, segments them at silence boundaries, and aligns the segments with automatic transcripts; these transcripts were not reviewed by hand. The remaining clips come from smaller curated sets.
| Source | Clips | Hours | Content | Licence or status |
|---|---|---|---|---|
| Vezilka-ASRI: FINKI recordings | 1,018,523 | 1,936.8 | Lectures, auditory exercises, and consultations at FCSE | CC0 1.0; released in the finki-lectures configuration of vezilka-ai/macedonian-speech |
| Vezilka-ASRI: parliamentary sessions | 1,296,661 | 1,881.3 | Plenary sessions of the Assembly of the Republic of North Macedonia | CC BY 4.0; parliamentary speech is released in the parliament configuration of vezilka-ai/macedonian-speech |
| Vezilka-ASRI: audiobooks | 691,550 | 1,163.1 | Audiobooks of the National Union of the Blind of the Republic of North Macedonia | Not publicly released |
| Doniraj donations | 3,157 | 10.0 | Sentences read by volunteers on doniraj.vezilka.ai | CC BY 4.0; released in the doniraj configuration of vezilka-ai/macedonian-speech |
| Mozilla Common Voice, Macedonian | 5,205 | 6.5 | Read speech | CC0 1.0 |
| Google FLEURS, Macedonian | 1,853 | 5.7 | Read speech | CC BY 4.0 |
| jargon | 1,274 | 1.4 | Speech with technical vocabulary | Not publicly released |
Regional (dialect) speech corpora were not used.
The recordings of the FINKI lecture benchmark used in the evaluation below are not part of the training data.
Personal Data
The training data are recordings of human speech, and a voice can identify the person speaking, so the data contain personal data in that sense. No speaker names, identifiers, or demographic attributes were used in training, and the model outputs only text. The recordings are of lectures, public parliamentary sessions, audiobooks, and read speech, together with speech donated through the Doniraj platform.
Method and Hyperparameters
The model was trained by full fine-tuning of every weight of
UsefulSensors/moonshine-base (revision
7a73d8d55ac0) with the Hugging Face Transformers Seq2SeqTrainer. The
training run was scheduled for 3 epochs (284,226 optimizer steps), and the
published weights are the checkpoint at step 244,000 (epoch 2.58).
| Hyperparameter | Value |
|---|---|
| Optimizer steps | 244,000 of a scheduled 284,226. |
| Batch size | 32 clips on one GPU, without gradient accumulation. |
| Maximum clip length | 30 seconds. |
| Maximum transcript length | 192 tokens, below the 194 positions of the decoder. |
| Optimizer | AdamW (fused PyTorch implementation), with β₁ = 0.9, β₂ = 0.999, and ε = 1e-8. |
| Weight decay | 0.01 |
| Gradient clipping | Maximum norm of 1.0. |
| Peak learning rate | 5e-4 |
| Learning rate schedule | Linear warmup over 1% of the scheduled steps (2,843 steps), then cosine decay to zero. |
| Precision | bfloat16 mixed precision |
| Seed | 42 |
Compute
Training ran on one NVIDIA A100 80 GB GPU and took 4.84 × 10²⁰ floating-point operations up to the published checkpoint, as estimated by the Trainer. It used about 8.5 GPU hours up to the published checkpoint, measured as wall-clock time (about 9.9 GPU hours for the full scheduled run).
Evaluation
The model and its base model were evaluated on the Vezilka FINKI Lecture ASR
Benchmark, the finki-benchmark configuration of vezilka-ai/macedonian-speech. The benchmark
holds 1,406 manually reviewed segments (6.18 hours) of five recorded
computer-science lectures from two courses, delivered by four speakers. Its
speaker-balanced partition keeps 223 segments per speaker (892 segments, 3.99
hours). Before scoring, references and transcripts were normalised to Unicode
NFC, lower-cased, and stripped of punctuation. The fine-tuned model ran on a GPU (CUDA). Both models used float32, a batch size of 1, and beam search with 4 beams, and WER and CER do not depend on the device. The table reports word
error rate (WER) and character error rate (CER) in percent, with a standard
error from 2,000 bootstrap resamples of the segments; lower is better.
| Partition | Metric | moonshine-base | vezilka-moonshine-base-mk |
|---|---|---|---|
| Full (1,406 clips, 6.18 h) | WER | 298.48 ± 3.61 | 10.21 ± 0.23 |
| Full (1,406 clips, 6.18 h) | CER | 219.19 ± 2.92 | 3.94 ± 0.12 |
| Speaker-balanced (892 clips, 3.99 h) | WER | 300.94 ± 4.56 | 9.20 ± 0.26 |
| Speaker-balanced (892 clips, 3.99 h) | CER | 221.77 ± 3.64 | 3.48 ± 0.15 |

moonshine-base was trained on English speech only. On this benchmark it writes English sentences that were not spoken, with no Cyrillic text at all, and often repeats a phrase until the length limit. Those inserted words push its error rates above 100%. Its scores show the starting point of the fine-tuning rather than a competing Macedonian system.
Other Vezilka Speech Models
All Vezilka speech models on the full partition of the same benchmark, with the same settings:
| Model | Parameters | WER | CER |
|---|---|---|---|
| vezilka-whisper-large-v3-turbo-mk-lora | 809 M + 19.7 M adapter | 4.51 | 1.52 |
| vezilka-moonshine-base-mk | 61.5 M | 10.21 | 3.94 |
| vezilka-moonshine-tiny-mk-lr2e-4 | 27.1 M | 12.00 | 4.79 |
| vezilka-moonshine-tiny-mk-lr5e-4 | 27.1 M | 12.06 | 5.33 |
Intended Use and Limitations
Intended Uses
- The model transcribes Macedonian speech into text, for example lectures, meetings, broadcasts, and read speech.
- The model is small enough for transcription on a CPU or on edge devices, where a model such as Whisper Large is too slow.
- The model produces transcripts, such as captions or the annotation of new speech corpora.
- The model serves as a starting point for further fine-tuning on Macedonian speech and supports research on speech recognition for low-resource languages.
Out-of-Scope Uses
- The model must not be used to identify, profile, or monitor people from their voices, or to transcribe people without a legal basis.
- The model must not be used for decisions that affect people's health, legal standing, finances, or access to services without human review of the transcript.
- The model must not be used in breach of applicable law or to cause harm to people.
- The model is not suited to languages other than Macedonian.
Known Limitations
- The model was trained on clips of at most 30 seconds. Longer audio must be segmented first, for example with voice activity detection.
- The decoder has 194 positions, so a transcript is at most 192 tokens long.
- The model produces neither timestamps nor speaker labels, and it does not identify the language.
- Most of the training transcripts are automatic and were not reviewed, so the model can repeat their errors, including in punctuation and capitalisation.
- On silence, music, or noise the model can produce text that was not spoken, including repeated phrases.
- English technical terms, names, abbreviations, and code-switched speech are frequent sources of errors.
- Regional dialects were not part of the training data, and the model is likely to perform worse on them.
- The benchmark covers five lectures by four speakers from two courses, so it does not represent all Macedonian speech, speakers, or recording conditions.
Bias and Risks
The training data are dominated by lectures, parliamentary sessions, and audiobooks, which favour formal speech in the standard language and adult speakers. The data carry no demographic labels, so the balance of gender and age is unknown, and the model can perform worse for under-represented groups of speakers, children, regional speakers, and non-native speakers. Transcription errors can change the meaning of what was said, so transcripts used to make decisions about people need human review.
How to Use
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="vezilka-ai/vezilka-moonshine-base-mk")
result = asr("speech.wav", generate_kwargs={"max_new_tokens": 192, "num_beams": 4})
print(result["text"])
The model expects 16 kHz mono audio; the pipeline resamples other input. Do
not pass language or task to the generation: Moonshine has no language or
task tokens.
Licence
This model is released under the Apache 2.0 licence, whose full text is in LICENSE. It is a fine-tuned derivative of Moonshine Base, which Useful Sensors, Inc. (Moonshine AI) releases under the MIT licence. The copyright and permission notice of that licence is kept in THIRD_PARTY_NOTICES.md.
Citation
@misc{vezilkamoonshinebasemk2026,
title = {{vezilka-moonshine-base-mk}: Moonshine Base Fine-Tuned for {Macedonian} Speech Recognition},
author = {Gajdov, Hristijan and Mishkovski, Igor and Stojcheva, Marija and
Mishev, Kostadin and Karamachoski, Filip},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/vezilka-ai/vezilka-moonshine-base-mk}
}
The data article that describes the training sources and the FINKI lecture benchmark (Gajdov, Karamachoski, Stojcheva, Mishkovski, and Mishev, Curated Macedonian speech datasets with regional transcription layers and a manually reviewed FINKI lecture benchmark) is under review; its citation will be added on publication.
Funding Acknowledgement and Disclaimer
This project has received co-funding from the European High-Performance Computing Joint Undertaking (JU) under grant agreement No 101263128. The JU receives support from the Horizon Europe research and innovation programme and from the Participating States, including the Republic of North Macedonia. Additional support is provided by the Faculty of Computer Science and Engineering, Ss. Cyril and Methodius University in Skopje, and the Ministry of Digital Transformation of North Macedonia.
Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European High Performance Computing Joint Undertaking (JU). Neither the European Union nor the granting authority can be held responsible for them.