Run this model with HF Jobs

Run vezilka-ai/VezilkaLLM-Instruct 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-Instruct. 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-Instruct 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-Instruct. 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-Instruct. 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-Instruct

VezilkaLLM-Instruct is an open foundation language model adapted to Macedonian and fine-tuned to follow instructions in conversation. It is built by fine-tuning VezilkaLLM, which is itself a continued pre-training of Gemma 3 4B on Macedonian text. It uses the Gemma 3 chat format.

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 DateAugust 2025
Version1.0.0
Model Size3.88 billion parameters, stored in float32.
ArchitectureThe Gemma 3 text decoder (Gemma3ForCausalLM).
LanguageMacedonian
LicenceGemma Terms of Use, inherited from the base model.
Contactcontact@finki.ukim.mk

Training

Data

The model was fine-tuned on Macedonian translations of UltraChat, a set of multi-turn dialogues generated by ChatGPT and released under the MIT licence. The training data combines

  • LVSTCK/ultrachat-sft-mk, a sample of 16,150 conversations translated with the Google Translate API and released under the MIT licence, which contains 33.8 million tokens when formatted with the model's chat template, and
  • a translation of UltraChat made by FCSE, which is not publicly released.

The base model, VezilkaLLM, was trained on LVSTCK/macedonian-corpus-cleaned-dedup, as described on its model card.

Method

The model was trained by fine-tuning VezilkaLLM.

Evaluation

The model, its base model, and Google's instruction-tuned Gemma 3 4B 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 VezilkaLLM gemma-3-4b-it VezilkaLLM-Instruct
ARC Easy 0.5324 ± 0.0102 0.4638 ± 0.0102 0.5055 ± 0.0103
ARC Challenge 0.3072 ± 0.0135 0.2867 ± 0.0132 0.3183 ± 0.0136
BoolQ 0.7333 ± 0.0077 0.8070 ± 0.0069 0.7333 ± 0.0077
HellaSwag 0.4139 ± 0.0049 0.3751 ± 0.0048 0.4212 ± 0.0049
OpenBookQA 0.2660 ± 0.0198 0.2600 ± 0.0196 0.2980 ± 0.0205
PIQA 0.6529 ± 0.0111 0.5832 ± 0.0115 0.6485 ± 0.0111
WinoGrande 0.5975 ± 0.0138 0.5596 ± 0.0140 0.5777 ± 0.0139

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

These benchmarks measure knowledge and reasoning through answer likelihoods, and they do not measure how well the model follows instructions.

Intended Use and Limitations

Intended Uses

  • The model serves as a Macedonian conversational assistant for research and prototyping.
  • The model answers questions, follows instructions, and generates text in Macedonian.
  • The model serves as a starting point for fine-tuning on Macedonian tasks.

Out-of-Scope Uses

  • The model must not be used for decisions that affect people's health, legal standing, finances, or access to services without human review.
  • The model must not be deployed to the public without a safety evaluation for the intended setting.
  • Any use that the Gemma Prohibited Use Policy forbids is out of scope.

Known Limitations

  • No safety evaluation is reported for this model, and it 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 base model's pre-training corpus comes from web crawls. The model can therefore reproduce the stereotypes, biases, and inaccuracies of Macedonian web text, including those about gender, ethnicity, religion, and politics. The instruction data was generated by ChatGPT and translated into Macedonian, partly by machine translation, so the model can also reproduce the biases of that generator and the errors and unidiomatic phrasing of translation.

How to Use

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "vezilka-ai/VezilkaLLM-Instruct"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")

messages = [{"role": "user", "content": "Кој е главниот град на Македонија?"}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt", return_dict=True
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256, do_sample=True, temperature=0.7)

reply = outputs[0][inputs["input_ids"].shape[-1]:]
print(tokenizer.decode(reply, skip_special_tokens=True))

Citation

@misc{vezilkallminstruct2025,
  title     = {{VezilkaLLM-Instruct}: An Instruction-Tuned 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-Instruct}
}

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
274
Safetensors
Model size
4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vezilka-ai/VezilkaLLM-Instruct

Finetuned
(1)
this model

Dataset used to train vezilka-ai/VezilkaLLM-Instruct