teami12 commited on
Commit
f40965f
·
verified ·
1 Parent(s): dbf4244

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +159 -3
README.md CHANGED
@@ -1,3 +1,159 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - translation
5
+ - sentence-similarity
6
+ language:
7
+ - sr
8
+ - en
9
+ pretty_name: MaCoCu Sebian-English Parallel Dataset
10
+ size_categories:
11
+ - 1M<n<10M
12
+ ---
13
+
14
+ ---
15
+ language:
16
+ - sr
17
+ license: cc-by-4.0
18
+ pretty_name: "Serbian Natural Questions (Subset) based on MaCoCu-sr"
19
+ size_categories:
20
+ - 1K<n<10K
21
+ source_datasets:
22
+ - original
23
+ task_categories:
24
+ - question-answering
25
+ task_ids:
26
+ - open-domain-qa
27
+ ---
28
+
29
+ # Dataset Card for Serbian Natural Questions (Subset) based on MaCoCu-sr
30
+
31
+ ## Dataset Description
32
+
33
+ - **Repository:** [Hugging Face Dataset](https://huggingface.co/datasets/smartcat/MaCoCu_sr_en)
34
+ - **Point of Contact:** [SmartCat]
35
+ - **Source:** https://www.clarin.si/repository/xmlui/handle/11356/1807
36
+
37
+ ### Dataset Summary
38
+
39
+ This dataset comprises the first 8,000 examples of Google's Natural Questions (NQ) dataset, automatically translated to Serbian using the MaCoCu-sr corpus as a reference. All queries have their corresponding IDs, allowing them to be traced back to the original data. The translation was performed automatically using the "gpt-3.5-turbo-0125" model. This dataset is designed for evaluating embedding models on Question Answering (QA) and Information Retrieval (IR) tasks in Serbian.
40
+
41
+ The original NQ corpus contains questions from real users and requires QA systems to read and comprehend entire Wikipedia articles that may or may not contain the answer to the question. The inclusion of real user questions and the requirement to read entire pages make NQ a more realistic and challenging task compared to prior QA datasets.
42
+
43
+ ### Source Data
44
+
45
+ The source data for the Serbian translations is derived from the MaCoCu-sr 1.0 corpus, which was built by crawling the ".rs" and ".срб" internet top-level domains in 2021 and 2022, extending the crawl dynamically to other domains. The crawler is available at https://github.com/macocu/MaCoCu-crawler.
46
+
47
+ #### Data Collection and Processing
48
+
49
+ Considerable effort was devoted to cleaning the extracted text to provide a high-quality web corpus. This was achieved by:
50
+ - Removing boilerplate using [Justext](https://corpus.tools/wiki/Justext)
51
+ - Removing near-duplicated paragraphs using [Onion](https://corpus.tools/wiki/Onion)
52
+ - Discarding very short texts and texts not in the target language
53
+ - Applying extensive metadata filtering using [Monotextor](https://github.com/bitextor/monotextor)
54
+
55
+ ### Data Structure
56
+
57
+ Each document in the XML format of the MaCoCu-sr corpus is accompanied by the following metadata:
58
+ - Title
59
+ - Crawl date
60
+ - URL
61
+ - Domain
62
+ - File type of the original document
63
+ - Distribution of languages inside the document
64
+ - Fluency score based on a language model
65
+
66
+ Each paragraph contains metadata on:
67
+ - Whether it is a heading
68
+ - Paragraph quality (labels such as "short" or "good")
69
+ - Fluency score (between 0 and 1)
70
+ - Automatically identified language
71
+ - Presence of sensitive information
72
+
73
+ ### Data Instances
74
+
75
+ Each instance in our dataset contains:
76
+ - `id`: The original Natural Questions question ID
77
+ - `question`: The question translated to Serbian
78
+ - `article`: The corresponding Wikipedia article translated to Serbian
79
+ - `short_answer`: The short answer (if available) translated to Serbian
80
+ - `long_answer`: The long answer (paragraph containing the answer) translated to Serbian
81
+
82
+ ### Data Fields
83
+
84
+ - `id`: string
85
+ - `question`: string
86
+ - `article`: string
87
+ - `short_answer`: string (nullable)
88
+ - `long_answer`: string
89
+
90
+ ### Data Splits
91
+
92
+ The dataset consists of 8,000 examples. There are no predefined train/validation/test splits.
93
+
94
+ ## Additional Information
95
+
96
+ ### Dataset Curators
97
+
98
+ [Your Name or Organization]
99
+
100
+ ### Licensing Information
101
+
102
+ This dataset is licensed under CC-BY-4.0.
103
+
104
+ ### Citation Information
105
+
106
+ If you use this dataset, please cite the following:
107
+
108
+ ```
109
+ @misc{serbian-nq-subset,
110
+ title={Serbian Natural Questions Subset based on MaCoCu-sr},
111
+ author={[Your Name]},
112
+ year={2024},
113
+ howpublished={\url{https://huggingface.co/datasets/your-username/serbian-nq-subset}}
114
+ }
115
+
116
+ @misc{macocu-sr,
117
+ title={MaCoCu-sr 1.0},
118
+ author={Connecting Europe Facility (CEF) Telecom},
119
+ year={2022},
120
+ howpublished={\url{https://www.clarin.si/repository/xmlui/handle/11356/1807}}
121
+ }
122
+ ```
123
+
124
+ Additionally, please acknowledge the following projects and institutions:
125
+
126
+ - Connecting Europe Facility (CEF) Telecom INEA/CEF/ICT/A2020/2278341 "MaCoCu - Massive collection and curation of monolingual and bilingual data: focus on under-resourced languages"
127
+ - ARRS (Slovenian Research Agency) P6-0411 "Language Resources and Technologies for Slovene"
128
+ - Jožef Stefan Institute CLARIN "CLARIN.SI"
129
+
130
+ ### Contributions
131
+
132
+ Thanks to Google for creating the original Natural Questions dataset and to the MaCoCu project for the Serbian web corpus.
133
+
134
+ ### Notice and Takedown
135
+
136
+ Should you consider that our data contains material that is owned by you and should therefore not be reproduced here, please:
137
+
138
+ 1. Clearly identify yourself, with detailed contact data such as an address, telephone number or email address at which you can be contacted.
139
+ 2. Clearly identify the copyrighted work claimed to be infringed.
140
+ 3. Clearly identify the material that is claimed to be infringing and information reasonably sufficient to allow us to locate the material.
141
+ 4. Please write to the contact person for this resource whose email is available in the full item record.
142
+
143
+ We will comply with legitimate requests by removing the affected sources from the next release of the corpus.
144
+
145
+ ## Disclaimer
146
+
147
+ This action has received funding from the European Union's Connecting Europe Facility 2014-2020 - CEF Telecom, under Grant Agreement No. INEA/CEF/ICT/A2020/2278341. This communication reflects only the author's view. The Agency is not responsible for any use that may be made of the information it contains.
148
+
149
+ ## Loading the Dataset
150
+
151
+ Here's a Python code example to load the dataset using the Hugging Face `datasets` library:
152
+
153
+ ```python
154
+ from datasets import load_dataset
155
+
156
+ # Load the dataset
157
+ dataset = load_dataset("smartcat/MaCoCu_sr_en")
158
+
159
+ ```