Datasets:

Modalities:
Text
Formats:
parquet
Sub-tasks:
extractive-qa
Languages:
Serbian
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 5,639 Bytes
8926358
 
 
bbc6e80
 
8926358
bbc6e80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
language:
- sr
license: cc-by-sa-4.0
pretty_name: "Serbian SQuAD"
size_categories:
- 100K<n<1M
source_datasets:
- rajpurkar/squad
task_categories:
- question-answering
task_ids:
- extractive-qa
---

# Dataset Card for Serbian SQuAD

## Dataset Description

- **Repository:** [Hugging Face Dataset](https://huggingface.co/datasets/smartcat/squad_sr)
- **Point of Contact:** [SmartCat]
- **Original Data:** https://huggingface.co/datasets/rajpurkar/squad
- ** Original data in Serbian: https://www.kaggle.com/datasets/aleksacvetanovic/squad-sr

### Dataset Summary

This dataset is an automatic Serbian translation of the Stanford Question Answering Dataset (SQuAD) 1.1. The original SQuAD, developed by Stanford, is a reading comprehension dataset consisting of questions posed by crowdworkers on a set of Wikipedia articles. The answer to every question is a segment of text (span) from the corresponding reading passage, or the question might be unanswerable. It's the largest Serbian QA dataset with more than 87K samples in both Cyrillic and Latin.

The translation was performed automatically using the GPT-3.5-turbo-0125 model, preserving the structure and format of the original dataset while providing content in Serbian.

### Supported Tasks and Leaderboards

- **Extractive Question Answering**: The dataset can be used to train and evaluate models for extractive question answering tasks in Serbian.

### Languages

The dataset is in Serbian (sr). The original dataset was in English (en).

## Dataset Structure

### Data Instances

Each instance in the dataset contains:
- A passage of text from a Wikipedia article (context)
- A question about that passage
- The answer to the question, which is a span of text from the passage

### Data Fields

- `id`: A string identifier for the example
- `title`: The title of the Wikipedia article
- `context`: The passage of text (paragraph from Wikipedia)
- `question`: The question posed about the context

## Dataset Creation

### Curation Rationale

This dataset was created to provide a resource for Serbian language question answering tasks, leveraging the high-quality structure and content of the original SQuAD dataset.

### Source Data

#### Initial Data Collection and Normalization

The source data is the SQuAD 1.1 dataset, which contains 100,000+ question-answer pairs on 500+ articles. The original data was retrieved from: https://huggingface.co/datasets/rajpurkar/squad

#### Who are the source language producers?

The original questions were posed by crowdworkers on English Wikipedia articles. The answers were extracted from these articles.

### Annotations

#### Annotation process

The original English dataset was automatically translated to Serbian using the GPT-3.5-turbo-0125 model.

#### Who are the annotators?

The translation was performed automatically by an AI model, without human intervention. The original annotations were created by crowdworkers.

### Personal and Sensitive Information

The dataset is based on Wikipedia articles and should not contain personal or sensitive information. However, as it's an automatic translation of web content, users should be aware of potential inaccuracies or unintended content.

## Considerations for Using the Data

### Social Impact of Dataset

This dataset contributes to the development of question answering systems for the Serbian language, potentially improving access to information and language technologies for Serbian speakers.

### Discussion of Biases

The dataset may inherit biases present in the original SQuAD dataset, including biases in Wikipedia content and in the questions posed by crowdworkers. Additionally, the automatic translation process may introduce its own biases or errors.

### Other Known Limitations

- The quality of the Serbian translations has not been manually verified and may contain errors.
- The automatic translation process may not capture nuances or context-specific meanings from the original text.
- The dataset maintains the same limitations as the original SQuAD 1.1, such as the potential for artificial questions that might not reflect real-world information-seeking behavior.

## Additional Information


### Licensing Information

This dataset is licensed under CC-BY-SA-4.0, following the licensing of the original SQuAD dataset.

### Citation Information

If you use this dataset, please cite both the original SQuAD dataset and this Serbian translation:

```


@article

{rajpurkar2016squad,
title={Squad: 100,000+ questions for machine comprehension of text},
author={Rajpurkar, Pranav and Zhang, Jian and Lopyrev, Konstantin and Liang, Percy},
journal={arXiv preprint arXiv:1606.05250},
year={2016}
}



@misc

{cvetanović2024syntheticdatasetcreationfinetuning,
title={Synthetic Dataset Creation and Fine-Tuning of Transformer Models for Question Answering in Serbian},
author={Aleksa Cvetanović and Predrag Tadić},
year={2024},
eprint={2404.08617},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2404.08617},
}



@misc

{serbian-squad,
title={Serbian SQuAD Dataset},
author={[Your Name]},
year={2024},
howpublished={\url{https://huggingface.co/datasets/your-username/serbian-squad}}
}
```

### Contributions

Thanks to Stanford for creating the original SQuAD dataset.
Thank you to Aleksa Cvetanovic and Predrag Tadic for translating SQuAD to Serbian and uploading the dataset to Kaggle.

## Loading the Dataset

Here's a Python code example to load the dataset using the Hugging Face `datasets` library:

```python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("smartcat/squad_sr")

```