Run this model with HF Jobs

Run vezilka-ai/VezilkaLLM on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/vezilka-ai/VezilkaLLM. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/vezilka-ai/VezilkaLLM on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/vezilka-ai/VezilkaLLM. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/vezilka-ai/VezilkaLLM. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

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.

DeveloperThe project "Utilizing AI and National Large Language Models to Advance Macedonian Language Capabilities" coordinated by the Faculty of Computer Science and Engineering (FCSE) at Ss. Cyril and Methodius University in Skopje.
Release DateApril 2025
Version1.0.0
Model Size3.88 billion parameters, stored in bfloat16.
ArchitectureThe Gemma 3 text decoder (Gemma3ForCausalLM), without the vision encoder of the base model.
LanguageMacedonian
LicenceGemma Terms of Use, inherited from the base model.
Contactcontact@finki.ukim.mk

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

Bar chart of the zero-shot accuracy of gemma-3-4b-pt and VezilkaLLM on the seven benchmarks in the table above, with error bars of one standard error.

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.

Downloads last month
261
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vezilka-ai/VezilkaLLM

Finetuned
(360)
this model
Finetunes
1 model

Dataset used to train vezilka-ai/VezilkaLLM

Paper for vezilka-ai/VezilkaLLM