VezilkaLLM
VezilkaLLM is an open foundation language model adapted to Macedonian. It is built by continued pre-training of Gemma 3 4B on a 1.47-billion-word Macedonian corpus. It is a base model: it completes a given text rather than following instructions, and it is intended for further fine-tuning. It is neither instruction-tuned nor safety-tuned.
Training
Data
The model was trained on LVSTCK/macedonian-corpus-cleaned-dedup, a Macedonian corpus of 1.47 billion words (16.78 GB) released under CC BY 4.0. The corpus was filtered for quality and language, deduplicated with MinHash, and filtered for personally identifiable information, which removed email addresses, IP addresses, and phone numbers. It is described in Krsteski et al. (2025).
| Source | Words | Share |
|---|---|---|
| FineWeb-2 | 0.73 B | 49.55% |
| HPLT-2 | 0.54 B | 36.87% |
| MaCoCu-mk 2.0 (CLARIN) | 0.18 B | 12.39% |
| Macedonian Wikipedia | 0.01 B | 0.83% |
| Other documents parsed with MMORE | 0.004 B | 0.25% |
| Common Voice | 0.002 B | 0.12% |
Method and Hyperparameters
The model was trained by continued pre-training with the Hugging Face
Transformers Trainer, using a context window of 8,192 tokens.
Compute
Training ran on a single NVIDIA H100 GPU.
Evaluation
The model and its base model were evaluated zero-shot on the Macedonian LLM evaluation suite, which was machine-translated from the Serbian LLM evaluation suite. The table reports accuracy with its standard error.
| Benchmark | gemma-3-4b-pt | VezilkaLLM |
|---|---|---|
| ARC Easy | 0.4747 ± 0.0102 | 0.5324 ± 0.0102 |
| ARC Challenge | 0.2858 ± 0.0132 | 0.3072 ± 0.0135 |
| BoolQ | 0.7471 ± 0.0076 | 0.7333 ± 0.0077 |
| HellaSwag | 0.3859 ± 0.0049 | 0.4139 ± 0.0049 |
| OpenBookQA | 0.2540 ± 0.0195 | 0.2660 ± 0.0198 |
| PIQA | 0.6224 ± 0.0113 | 0.6529 ± 0.0111 |
| WinoGrande | 0.5919 ± 0.0138 | 0.5975 ± 0.0138 |

Intended Use and Limitations
Intended Uses
- The model serves as a base for fine-tuning Macedonian language models, such as instruction-following, chat, or domain-specific models.
- The model supports research on language modelling for Macedonian and other low-resource languages.
- The model can complete Macedonian text from a prompt.
Out-of-Scope Uses
- The model is not suited to use as a chat assistant or to following instructions without further fine-tuning.
- The model must not be used for decisions that affect people's health, legal standing, finances, or access to services without human review.
- Any use that the Gemma Prohibited Use Policy forbids is out of scope.
Known Limitations
- The model has no safety tuning and can produce false, offensive, or harmful text.
- The model can state incorrect facts fluently, so its output needs checking before it is relied on.
- The evaluation suite was machine-translated, so its scores include translation noise and do not measure open-ended generation.
Bias and Risks
More than 86% of the training corpus comes from web crawls (FineWeb-2 and HPLT-2). The model can therefore reproduce the stereotypes, biases, and inaccuracies of Macedonian web text, including those about gender, ethnicity, religion, and politics.
How to Use
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
model_id = "vezilka-ai/VezilkaLLM"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")
generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
prompt = "Главниот град на Македонија е "
outputs = generator(prompt, max_new_tokens=128, do_sample=True, temperature=0.7)
print(outputs[0]["generated_text"])
Citation
@misc{vezilkallm2025,
title = {{VezilkaLLM}: A Foundation Language Model for {Macedonian}},
author = {Peshevski, Dimitar and Peovski, Borjan and Mishev, Kostadin and
Simjanoska Misheva, Monika and Stojanov, Riste and Trajanov, Dimitar},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/vezilka-ai/VezilkaLLM}
}
Funding Acknowledgement
This model was developed within the project "Utilizing AI and National Large Language Models to Advance Macedonian Language Capabilities", with the financial support of the Ministry of Education and Science of the Republic of North Macedonia.