Downloads · 30 days
15
9% of all-time downloads
IvanCvetanovic/Slava-Qwen3-14B-Serbian
Slava-Qwen3-14B-Serbian is a text generation model from IvanCvetanovic. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
Slava is a Qwen3-14B model full-fine-tuned for Serbian multi-task NLP. It is the model produced and evaluated in the master's thesis "A Hybrid System for Serbian Natural Language Processing with Large Language Models"…
Downloads · 30 days
15
9% of all-time downloads
All-time downloads
175
Public
Parameters
14.8B
29.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors29.5 GB · 100%
From the Hugging Face model README
Slava is a Qwen3-14B model full-fine-tuned for Serbian multi-task NLP. It is the model produced and evaluated in the master's thesis "A Hybrid System for Serbian Natural Language Processing with Large Language Models" (University of Vienna, 2026), and powers the generative backend of the accompanying web application.
OpenPipe/Qwen3-14B-Instruct (a fine-tune-friendly instruct variant of Qwen3-14B; Apache-2.0)Research and non-commercial use for Serbian NLP: instruction-style grammar correction, sr→en translation, abstractive summarization, sentence- and aspect-level sentiment analysis. The model expects a Serbian system instruction with the item in the user turn (see Prompting).
Not intended for: commercial deployment (the training data includes a NonCommercial source, see Licensing); high-stakes or safety-critical use; languages other than Serbian.
Deterministic decoding (temperature 0, greedy) was used throughout. Each task uses a Serbian system instruction, e.g.:
| Task | System instruction (Serbian) |
|---|---|
| Grammar correction | Ispravi gramatičke greške u sledećoj rečenici. |
| Translation (sr→en) | Prevedi sledeći tekst sa srpskog na engleski. |
| Summarization | Napiši kratak rezime sledećeg teksta. |
| Sentiment | Ti si asistent za analizu sentimenta srpskog teksta. Odgovori SAMO jednom rečju: 'positive', 'negative' ili 'neutral'. |
| ABSA | JSON-schema instruction (see thesis Appendix) |
A single instruction-formatted mixture of 24,601 examples across five generative tasks (system/user/assistant turns, with paraphrased instructions in both Cyrillic and Latin script):
| Task | Examples | Source |
|---|---|---|
| Summarization | 6,000 | Serbian Wikipedia (wikimedia/wikipedia), lead-as-summary |
| Grammar correction | 6,000 | Rule-based error injection over clean Wikipedia sentences |
| Translation (sr↔en) | 5,000 | OPUS-100 (Helsinki-NLP/opus-100) |
| ABSA | 4,000 | SentiComments.SR (2,500) + synthetic reviews (1,500) |
| Sentiment | 3,601 | SentiComments.SR + ParlaSent BCS (classla/ParlaSent) |
Synthetic ABSA reviews and parts of the augmentation were generated with the
Qwen2.5-72B-Instruct teacher model. The exact build scripts and per-source licenses are in
data/ and data/SOURCES.md. The dataset is not redistributed
as a bundle (incompatible source licenses); regenerate it from the scripts + original sources.
| Setting | Value |
|---|---|
| Base model | OpenPipe/Qwen3-14B-Instruct |
| Adaptation | Full fine-tuning |
| Epochs | 1 (1,538 steps) |
| Effective batch size | 16 (per-device 1 × grad-accum 16) |
| Learning rate | 1×10⁻⁵, cosine, 3% warmup |
| Precision | bf16, gradient checkpointing, loss masked to the assistant response |
| Max sequence length | 2,048 |
| Optimizer | Adafactor |
| Hardware | NVIDIA DGX Spark (GB10, 128 GB unified memory), ~21.3 h |
| Final training loss | 0.3536 |
The training script is in training/train_14b_v3.py.
| Task | Metric | Base | Fine-tuned |
|---|---|---|---|
| Grammar correction | Exact match | 0.000 | 0.455 |
| ABSA | Aspect-F1 | 0.433 | 0.622 |
| Summarization | ROUGE-L | 0.072 | 0.120 |
| Translation (sr→en) | BLEU | 61.54 | 61.75 |
| Sentiment — ParlaSent | Accuracy | 74.2% | 82.7% |
| Sentiment — SerbMR | Accuracy | 74.4% | 76.8% |
| Serbian knowledge benchmark | Accuracy (chat-based) | 75.6% | 74.8% |
Fine-tuning did not change general knowledge. On the full benchmark suite (28,986 questions, chat-based scoring), the base model scored 75.6% and Slava 74.8%, essentially identical. Slava was trained only on the five generative tasks, never on benchmark / multiple-choice data, so the substantive effect of fine-tuning is on the generative and sentiment tasks above.
A key methodological finding of the thesis: the same base model scores ≈34% under log-probability scoring but ≈75.6% under chat-based generation on the identical benchmark — so benchmark scores for instruction-tuned models depend heavily on the scoring protocol. See the thesis for the full per-category breakdown and decontamination details.
The released weights are licensed CC BY-NC-SA 4.0 (non-commercial, share-alike), because
the training data includes the NonCommercial source SentiComments.SR. The code/scripts in
data/ and training/ are released under the MIT License (see NOTICE).
This model is "Built with Qwen":
Data-source licenses and required citations are listed in data/SOURCES.md
and CITATIONS.bib. If you use this model or data, please cite the thesis and
the underlying datasets (notably Batanović et al., 2020 for SentiComments.SR and
Mochtak et al. for ParlaSent).
@mastersthesis{cvetanovic2026serbian,
title = {A Hybrid System for Serbian Natural Language Processing with Large Language Models},
author = {Cvetanovi\'{c}, Ivan},
school = {University of Vienna},
year = {2026}
}