Please use this identifier to cite or link to this item: https://scidar.kg.ac.rs/handle/123456789/23366
Title: Comparing QLoRA fine-tuning of a general-purpose and a mathema-tically specialized LLM on Serbian mathematics competition tasks
Authors: Svičević, Marina
Pavković, Miloš
Vučićević, Nemanja
Milenković, Aleksandar
Milutinović, Aleksandar
Journal: Triennial International Scientific Conference Engineering Today (12 ; 2026 ; Vrnjačka Banja)
Issue Date: 2026
Abstract: This paper examines the effect of QLoRA fine-tuning of locally executable large language models on mathematics competition tasks for high school students in Serbia. The main focus is on comparing the general purpose model Mistral-7BInstruct and the mathematically specialized model Mathstral-7B, in order to determine whether prior specialization for mathematical reasoning affects the success of fine-tuning on a small, domain-specific corpus of tasks in Serbian. For the purposes of the study, an automatic evaluation framework was applied, in which generated solutions were assessed according to several criteria, including final answer accuracy, logical coherence of the solution, and explanation quality. The results indicate different effects of fine-tuning for the observed models: the general-purpose model showed a slight performance decline, while the mathematically specialized model showed an improvement. This outcome suggests that models previously adapted to mathematical reasoning may benefit more from domain-specific fine-tuning, while also confirming that Serbian mathematics competition tasks remain a highly demanding test for locally executable large language models.
URI: https://scidar.kg.ac.rs/handle/123456789/23366
Type: conferenceObject
DOI: 10.46793/ET26.D12S
Appears in Collections:Faculty of Science, Kragujevac

Files in This Item:
File Description SizeFormat 
et2026-d12.pdf851.37 kBAdobe PDFView/Open


This item is licensed under a Creative Commons License Creative Commons