State of the Art in Text Classification for South Slavic Languages: Fine-Tuning or Prompting?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pungeršek, Taja Kuzman, Rupnik, Peter, Porupski, Ivan, Dinić, Vuk, Ljubešić, Nikola
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917282534391808
author Pungeršek, Taja Kuzman
Rupnik, Peter
Porupski, Ivan
Dinić, Vuk
Ljubešić, Nikola
author_facet Pungeršek, Taja Kuzman
Rupnik, Peter
Porupski, Ivan
Dinić, Vuk
Ljubešić, Nikola
contents Until recently, fine-tuned BERT-like models provided state-of-the-art performance on text classification tasks. With the rise of instruction-tuned decoder-only models, commonly known as large language models (LLMs), the field has increasingly moved toward zero-shot and few-shot prompting. However, the performance of LLMs on text classification, particularly on less-resourced languages, remains under-explored. In this paper, we evaluate the performance of current language models on text classification tasks across several South Slavic languages. We compare openly available fine-tuned BERT-like models with a selection of open-source and closed-source LLMs across three tasks in three domains: sentiment classification in parliamentary speeches, topic classification in news articles and parliamentary speeches, and genre identification in web texts. Our results show that LLMs demonstrate strong zero-shot performance, often matching or surpassing fine-tuned BERT-like models. Moreover, when used in a zero-shot setup, LLMs perform comparably in South Slavic languages and English. However, we also point out key drawbacks of LLMs, including less predictable outputs, significantly slower inference, and higher computational costs. Due to these limitations, fine-tuned BERT-like models remain a more practical choice for large-scale automatic text annotation.
format Preprint
id arxiv_https___arxiv_org_abs_2511_07989
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle State of the Art in Text Classification for South Slavic Languages: Fine-Tuning or Prompting?
Pungeršek, Taja Kuzman
Rupnik, Peter
Porupski, Ivan
Dinić, Vuk
Ljubešić, Nikola
Computation and Language
Artificial Intelligence
Until recently, fine-tuned BERT-like models provided state-of-the-art performance on text classification tasks. With the rise of instruction-tuned decoder-only models, commonly known as large language models (LLMs), the field has increasingly moved toward zero-shot and few-shot prompting. However, the performance of LLMs on text classification, particularly on less-resourced languages, remains under-explored. In this paper, we evaluate the performance of current language models on text classification tasks across several South Slavic languages. We compare openly available fine-tuned BERT-like models with a selection of open-source and closed-source LLMs across three tasks in three domains: sentiment classification in parliamentary speeches, topic classification in news articles and parliamentary speeches, and genre identification in web texts. Our results show that LLMs demonstrate strong zero-shot performance, often matching or surpassing fine-tuned BERT-like models. Moreover, when used in a zero-shot setup, LLMs perform comparably in South Slavic languages and English. However, we also point out key drawbacks of LLMs, including less predictable outputs, significantly slower inference, and higher computational costs. Due to these limitations, fine-tuned BERT-like models remain a more practical choice for large-scale automatic text annotation.
title State of the Art in Text Classification for South Slavic Languages: Fine-Tuning or Prompting?
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2511.07989