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.
Instructions to use vezilka-ai/VezilkaLLM-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vezilka-ai/VezilkaLLM-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="vezilka-ai/VezilkaLLM-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("vezilka-ai/VezilkaLLM-Instruct") model = AutoModelForCausalLM.from_pretrained("vezilka-ai/VezilkaLLM-Instruct", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use vezilka-ai/VezilkaLLM-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vezilka-ai/VezilkaLLM-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vezilka-ai/VezilkaLLM-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/vezilka-ai/VezilkaLLM-Instruct
- SGLang
How to use vezilka-ai/VezilkaLLM-Instruct with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "vezilka-ai/VezilkaLLM-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vezilka-ai/VezilkaLLM-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "vezilka-ai/VezilkaLLM-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vezilka-ai/VezilkaLLM-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use vezilka-ai/VezilkaLLM-Instruct with Docker Model Runner:
docker model run hf.co/vezilka-ai/VezilkaLLM-Instruct
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.
| Developer | The 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 Date | August 2025 |
| Version | 1.0.0 |
| Model Size | 3.88 billion parameters, stored in float32. |
| Architecture | The Gemma 3 text decoder (Gemma3ForCausalLM). |
| Language | Macedonian |
| Licence | Gemma Terms of Use, inherited from the base model. |
| Contact | contact@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 |
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
