Datasets:
File size: 9,198 Bytes
ebead8c 46dc8ac 458e040 46dc8ac d9ccce2 459e6d0 d9ccce2 459e6d0 d9ccce2 459e6d0 d9ccce2 459e6d0 d9ccce2 459e6d0 d9ccce2 93bca10 d9ccce2 f0ea4d5 93bca10 d9ccce2 93bca10 ff5167d 6b295d5 93bca10 7a7cb2c 93bca10 d9ccce2 38ad476 4c8f38b 38ad476 4c8f38b 38ad476 4c8f38b 38ad476 4c8f38b 38ad476 4c8f38b 38ad476 4c8f38b 38ad476 d9ccce2 93bca10 d9ccce2 459e6d0 d9ccce2 f5e3be4 87f9fab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | ---
license: cc-by-sa-4.0
task_categories:
- question-answering
language:
- sr
tags:
- text
- extractive-qa
- generative-qa
---
# Serbian Question-Answering Datasets
This repository provides multiple QA datasets in Serbian, suitable for training LLMs to answer questions, perform tasks, or function as chatbots.
## Datasets Overview
1. **SQuAD-sr-md** – Manually corrected subset of SQuAD-sr (~7k corrected samples), for higher reliability and accuracy.
2. **SerbianQA-Gen** – Synthetic QA dataset (~74k samples) generated from encyclopedia articles, Wikipedia pages, and scientific abstracts. Organized into four sub-datasets:
- **PaSaz**
- **Wikipedia**
- **Sveznanje**
- **Biblisha**
---
## Folder Structure
```text
QuestionAnswering/
│
├─ README.md
├─ SQuAD-sr-md/
│ └─ train-00000-of-00001.parquet
├─ SerbianQA-Gen/
│ ├─ PaSaz/
│ │ └─ train-00000-of-00001.parquet
│ ├─ Wikipedia/
│ │ └─ train-00000-of-00001.parquet
│ ├─ Sveznanje/
│ │ └─ train-00000-of-00001.parquet
│ └─ Biblisha/
│ └─ train-00000-of-00001.parquet
```
## About the Work
The datasets in this repository are introduced in the following paper:
**Development of Serbian QA Datasets through Prompt-Based Generation and Human Validation**
*Jovana Rađenović, Olivera Kitanović, Ranka Stanković, Mihailo Škorić*
Faculty of Mining and Geology, University of Belgrade, Serbia
{jovana.radjenovic, olivera.kitanovic, ranka.stankovic, mihailo.skoric}@rgf.bg.ac.rs
> **Status:** Accepted, not yet published
This work presents the development of two question–answering (QA) datasets for the Serbian language: **SQuAD-sr-md** and **SerbianQA-Gen**.
The **SQuAD-sr-md** dataset contains around 7k examples and represents a manually refined subset of the original SQuAD-sr dataset.While SQuAD-sr is a significant resource for Serbian QA research, it was created through a translation-based approach using an adapted Translate–Align–Retrieve method,
which introduced various linguistic inconsistencies. The manual revision process, although time-consuming, substantially improved the grammatical correctness, terminological consistency, and overall reliability of the dataset, making it more suitable for training extractive QA models.
We fine-tuned a several Serbian base encoder models on (i) our SQuAD-sr-md dataset and (ii) a subset of SQuAD-sr that corresponds exactly to the articles and QA pairs thatwere refined to create the SQuAD-sr-md. Evaluation of these models highlighted the TeslaXLM base model as a particularly promising candidate for future extractive QA training. The results also indicate that the refinement of the dataset positively impacts model performance.
### SQuAD-sr subset
| Base model | EM (%) | F1 (%) |
|-------------|--------|--------|
| BERTić | 71 | 81.29 |
| Jerteh-81 | 48 | 57.33 |
| Jerteh-355 | 64 | 71.64 |
| XLM-r-BERTić | 79 | 87.94 |
| XLMali | 68 | 78.74 |
| TeslaXLM | **80** | **89.10** |
| **Average** | 68.83 | 77.75 |
### SQuAD-sr-md
| Base model | EM (%) | F1 (%) |
|-------------|--------|--------|
| BERTić | 71 | 80.61 ↓ |
| Jerteh-81 | 52 ↑ | 61.55 ↑ |
| Jerteh-355 | 60 ↓ | 73.01 ↑ |
| XLM-r-BERTić | 77 ↓ | 88.49 ↑ |
| XLMali | 75 ↑ | 83.00 ↑ |
| TeslaXLM | **83 ↑** | **92.23 ↑** |
| **Average** | **69.67 ↑** | **79.81 ↑** |
↑ indicates improvement compared to the original *SQuAD-sr* subset, while ↓ indicates a decrease.
The **SerbianQA-Gen** dataset consists of approximately 74k automatically generated QA pairs produced with the assistance of large language models (LLMs). The dataset covers a wide range of topics and sources and is currently undergoing additional manual revision to improve grammatical accuracy, fluency, and naturalness.
Together, these datasets contribute to addressing the lack of large-scale QA resources for the Serbian language. They enable the training and evaluation of language models capable of deeper semantic understanding of Serbian, a language characterized by rich morphology and complex syntax. By making these datasets publicly available, we aim to support further research in Serbian NLP and encourage the development of more robust QA and conversational AI systems for the language.
---
<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Author</div>
<a href="https://huggingface.co/rankas">
<div class="flex">
<div
style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%;
background-size: cover; background-image: url('https://cdn-avatars.huggingface.co/v1/production/uploads/no-auth/gfI5-noC3Si2qlV6vRiwL.png?w=200&h=200&f=face')">
</div>
</div>
</a>
<div style="text-align: center; font-size: 16px; font-weight: 800">Jovana Rađenović</div>
<div>
<a href="https://huggingface.co/JovanaR">
<div style="text-align: center; font-size: 14px;">@JovanaR</div>
</a>
</div>
</div>
</div>
<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Author</div>
<a href="https://huggingface.co/rankas">
<div class="flex">
<div
style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%;
background-size: cover; background-image: url('https://cdn-avatars.huggingface.co/v1/production/uploads/63f8fa204ef4aacb65a00043/IlrBetI15qnGsc798R6tO.jpeg?w=200&h=200&f=face')">
</div>
</div>
</a>
<div style="text-align: center; font-size: 16px; font-weight: 800">Ranka Stanković</div>
<div>
<a href="https://huggingface.co/rankas">
<div style="text-align: center; font-size: 14px;">@rankas</div>
</a>
</div>
</div>
</div>
<div class="inline-flex flex-col" style="line-height: 1.5;">
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Computation</div>
<a href="https://tesla.rgf.bg.ac.rs">
<div class="flex">
<div
style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%;
background-size: cover; background-image: url(https://cdn-avatars.huggingface.co/v1/production/uploads/63bc254fb8c61b8aa496a39b/TfM_-sc8-b34ddfhHBGTA.png?w=200&h=200&f=face)">
</div>
</div>
</a>
<div style="text-align: center; font-size: 16px; font-weight: 800">TESLA project</div>
<div>
<a href="https://huggingface.co/te-sla">
<div style="text-align: center; font-size: 14px;">@te-sla</div>
</a>
</div>
</div>
</div>
<br/><br/>
## Citation
```bibtex
@unpublished{SerbianQA2026,
title={Development of Serbian QA Datasets through Prompt-Based Generation and Human Validation},
author={Rađenović, Jovana and Kitanović, Olivera and Stanković, Ranka and Škorić, Mihailo},
year={2026},
note={Accepted, not yet published}
}
```
<div id="zastava">
<div class="grb">
<img src="https://www.ai.gov.rs/img/logo_60x120-2.png" style="position:relative; left:30px; z-index:10; height:85px">
</div>
<table width=100% style="border:0px">
<tr style="background-color:#C6363C;width:100%;border:0px;height:30px"><td style="width:100vw"></td></tr>
<tr style="background-color:#0C4076;width:100%;border:0px;height:30px"><td></td></tr>
<tr style="background-color:#ffffff;width:100%;border:0px;height:30px"><td></td></tr>
</table>
</div>
<table style="width:100%;height:100%">
<tr style="width:100%;height:100%">
<td width=50%>
<p>Истраживање jе спроведено уз подршку Фонда за науку Републике Србиjе, #7276, Text Embeddings – Serbian Language Applications – TESLA</p>
</td>
<td>
<p>This research was supported by the Science Fund of the Republic of Serbia, #7276, Text Embeddings - Serbian Language Applications - TESLA</p>
</td>
</tr>
</table>
<style>
.ffeat: {
color:red
}
.cover {
width: 100%;
margin-bottom: 5pt
}
.highlight-container, .highlight {
position: relative;
text-decoration:none
}
.highlight-container {
display: inline-block;
}
.highlight{
color:white;
text-transform:uppercase;
font-size: 16pt;
}
.highlight-container{
padding:5px 10px
}
.highlight-container:before {
content: " ";
display: block;
height: 100%;
width: 100%;
margin-left: 0px;
margin-right: 0px;
position: absolute;
background: #e80909;
transform: rotate(2deg);
top: -1px;
left: -1px;
border-radius: 20% 25% 20% 24%;
padding: 10px 18px 18px 10px;
}
div.grb, #zastava>table {
position:absolute;
top:0px;
left: 0px;
margin:0px
}
div.grb>img, #zastava>table{
margin:0px
}
#zastava {
position: relative;
margin-bottom:120px
}
p {
font-size:14pt
}
</style>
|