procesaur commited on
Commit
7e68436
·
verified ·
1 Parent(s): c3cc52e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +324 -3
README.md CHANGED
@@ -1,3 +1,324 @@
1
- ---
2
- license: cc-by-sa-3.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-3.0
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - mk
7
+ - bg
8
+ pretty_name: Viki Vardar
9
+ size_categories:
10
+ - 100M<n<1B
11
+ configs:
12
+ - config_name: default
13
+ data_files:
14
+ - split: train
15
+ path:
16
+ - '*.jsonl'
17
+ - split: mk
18
+ path:
19
+ - 'mk_*.jsonl'
20
+ - split: bg
21
+ path:
22
+ - 'bg_*.jsonl'
23
+ - split: wikipedia
24
+ path:
25
+ - '*_wiki_*.jsonl'
26
+ - split: wikisource
27
+ path:
28
+ - '*_wikisource_*.jsonl'
29
+ - split: wikibooks
30
+ path:
31
+ - '*_wikibooks_*.jsonl'
32
+ - split: wikiquote
33
+ path:
34
+ - '*_wikiquote_*.jsonl'
35
+ - split: wikinews
36
+ path:
37
+ - '*_wikinews_*.jsonl'
38
+ ---
39
+
40
+
41
+
42
+
43
+ <table style="width:100%;height:100%">
44
+ <!--tr style="width:100%;height:30px">
45
+
46
+ <td colspan=2 align=center>
47
+
48
+ </td>
49
+ <tr-->
50
+ <tr style="width:100%;height:100%">
51
+ <td width=50%>
52
+ <h2>Viki korpusi na srpskom i hrvatskom jeziku</h2>
53
+ <p>Sveža verzija, <span class="highlight-container"><span class="highlight">1. maj 2026.</span></span>!</p>
54
+ <p>Očišćen i filtriran skup pet projekata: Vikipedija, Vikizvornik, Vikiknjige, Vikivesti i Vikicitati.</p>
55
+ <p>Preko 670.000 očišćenih članaka, sa <span class="highlight-container"><span class="highlight">preko 310 miliona reči</span></span>.</p>
56
+ <p></p>
57
+ <p>Svaki dokument je u zasebnoj JSON liniji.</p>
58
+ <p>Novi metapodaci! Kategorije, broj reči i postotak ćiriličnog teksta</p>
59
+ <p>Moguće filtiranje skupa po jeziku ili projektu.</p>
60
+ </td>
61
+ <td>
62
+ <h2>Wiki corpora in Serbian and Croatian language</h2>
63
+ <p>Fresh version, <span class="highlight-container"><span class="highlight">May 1<sup>st</sup> 2026.</span></span>!</p>
64
+ <p>Cleaned and filtered set of five projects: Wikipedia, Wikisource, Wikibooks, Wikinews and Wikiquotes.</p>
65
+ <p>Over 670,000 cleaned articles, with <span class="highlight-container"><span class="highlight">over 310 million words</span></span>.</p>
66
+ <p></p>
67
+ <p>Each document is in a separate JSON line.</p>
68
+ <p>New Metadata! Categories, word count and percentage of Cyrillic text</p>
69
+ <p>Possible to filter the set by language or project.</p>
70
+ </td>
71
+ </tr>
72
+ </tr>
73
+ <tr>
74
+ <td colspan=2>
75
+ <table style='width:100%;font-size:12pt;text-align:right'>
76
+ <tr>
77
+ <th style='width:40%'><b>Broj dokumenata<br/>Doc. count</b></th>
78
+ <th style='width:15%'><b>Vikipedija<br/>Wikipedia</b></th>
79
+ <th style='width:15%'><b>Vikizvornik<br/>Wikisource</b></th>
80
+ <th style='width:15%'><b>Vikivesti<br/>Wikinews</b></th>
81
+ <th style='width:15%'><b>Vikicitati<br/>Wikiquotes</b></th>
82
+ <th style='width:15%'><b>Vikiknjige<br/>Wikibooks</b></th>
83
+ <th style='width:15%'><b>Ukupno<br/>Total</b></th>
84
+ <th style='width:15%'><b>Udeo<br/>Share</b></th>
85
+ </tr>
86
+ <tr>
87
+ <td>Srpski 🇷🇸</td>
88
+ <td>237,255</td>
89
+ <td>36,992</td>
90
+ <td>53,012</td>
91
+ <td>5,101</td>
92
+ <td>648</td>
93
+ <td>333,008</td>
94
+ <td>49.2%</td>
95
+ </tr>
96
+ <tr>
97
+ <td>Hrvatski 🇭🇷</td>
98
+ <td>152,894</td>
99
+ <td>9,392</td>
100
+ <td></td>
101
+ <td>18</td>
102
+ <td>1,117</td>
103
+ <td>163,421</td>
104
+ <td>24.1%</td>
105
+ </tr>
106
+ <tr>
107
+ <td><b>Ukupno / Total</b></td>
108
+ <td>568,058</td>
109
+ <td>48,274</td>
110
+ <td>53,355</td>
111
+ <td>5,646</td>
112
+ <td>1,810</td>
113
+ <td>677,143</td>
114
+ <td>100%</td>
115
+ </tr>
116
+ </table>
117
+ </td>
118
+ </tr>
119
+ <tr>
120
+ <td colspan=2>
121
+ <table style='width:100%;font-size:12pt;text-align:right'>
122
+ <tr>
123
+ <th style='width:40%'><b>Broj reči<br/>Word count</b></th>
124
+ <th style='width:15%'><b>Vikipedija<br/>Wikipedia</b></th>
125
+ <th style='width:15%'><b>Vikizvornik<br/>Wikisource</b></th>
126
+ <th style='width:15%'><b>Vikivesti<br/>Wikinews</b></th>
127
+ <th style='width:15%'><b>Vikicitati<br/>Wikiquotes</b></th>
128
+ <th style='width:15%'><b>Vikiknjige<br/>Wikibooks</b></th>
129
+ <th style='width:15%'><b>Ukupno<br/>Total</b></th>
130
+ <th style='width:15%'><b>Udeo<br/>Share</b></th>
131
+ </tr>
132
+ <tr>
133
+ <td>Srpski 🇷🇸</td>
134
+ <td>134,515,581</td>
135
+ <td>22,210,921</td>
136
+ <td>7,577,930</td>
137
+ <td>1,036,743</td>
138
+ <td>712,395</td>
139
+ <td>166,053,570</td>
140
+ <td>53.4%</td>
141
+ </tr>
142
+ <tr>
143
+ <td>Hrvatski 🇭🇷</td>
144
+ <td>57,985,132</td>
145
+ <td>9,674,234</td>
146
+ <td></td>
147
+ <td>5,035</td>
148
+ <td>303,226</td>
149
+ <td>67,967,627</td>
150
+ <td>21.8%</td>
151
+ </tr>
152
+ <tr>
153
+ <td><b>Ukupno / Total</b></td>
154
+ <td>267,133,590</td>
155
+ <td>34,149,786</td>
156
+ <td>7,624,665</td>
157
+ <td>1,188,793</td>
158
+ <td>1,045,010</td>
159
+ <td>311,141,844</td>
160
+ <td>100%</td>
161
+ </tr>
162
+ </table>
163
+ </td>
164
+ </tr>
165
+ </table>
166
+
167
+
168
+ ```python
169
+ from datasets import load_dataset
170
+ # Učitavanje samo srpskog dela
171
+ dataset = load_dataset("procesaur/Viki", split="sr")
172
+ print(dataset[6]["text"])
173
+ ```
174
+ ```python
175
+ Хоби је име за активност која се обавља због личног задовољства, а не због новчаних награда или примања...
176
+ ```
177
+
178
+ ```python
179
+ # Učitavanje samo vikicitata
180
+ dataset = load_dataset("procesaur/Viki", split="wikiquote")
181
+ print(dataset[5]["text"])
182
+ ```
183
+ ```python
184
+ 1 Citati
185
+ Čovjek je, Senada, teški hajvan. I ono malo duše što ima, šejtan mu je dao da mu bude teže...
186
+ ```
187
+
188
+ ```python
189
+ # Filtriranje prema metapodacima
190
+ filtered = dataset.filter(lambda example: example["subject"] == "J.R.R. Tolkin")
191
+ print(f"{filtered[0]["title"]}\n{filtered[0]["text"]} )
192
+ ```
193
+ ```python
194
+ Gospodar prstenova: Povratak kralja
195
+ 1 Citati
196
+ *Gandalf: "Sutra će biti veći jad nego što je bio danas i tako će biti još dugo...
197
+ ```
198
+
199
+ ## Cite
200
+ ```bibtex
201
+ @misc{škorić2026wikidumpstrainingcorpora,
202
+ title={Wiki Dumps to Training Corpora: South Slavic Case},
203
+ author={Mihailo Škorić},
204
+ year={2026},
205
+ eprint={2604.25384},
206
+ archivePrefix={arXiv},
207
+ primaryClass={cs.CL},
208
+ url={https://arxiv.org/abs/2604.25384},
209
+ }
210
+ ```
211
+
212
+ <div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
213
+ <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
214
+ <a href="https://huggingface.co/procesaur">
215
+ <div class="flex">
216
+ <div
217
+ style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%;
218
+ background-size: cover; background-image: url(&#39;https://cdn-uploads.huggingface.co/production/uploads/1673534533167-63bc254fb8c61b8aa496a39b.jpeg?w=200&h=200&f=face&#39;)">
219
+ </div>
220
+ </div>
221
+ </a>
222
+ <div style="text-align: center; font-size: 16px; font-weight: 800">Mihailo Škorić</div>
223
+ <div>
224
+ <a href="https://huggingface.co/procesaur">
225
+ <div style="text-align: center; font-size: 14px;">@procesaur</div>
226
+ </a>
227
+ </div>
228
+ </div>
229
+ </div>
230
+
231
+
232
+ <img src="cover.png" class="cover">
233
+
234
+
235
+ <div id="zastava">
236
+ <div class="grb">
237
+ <img src="https://www.ai.gov.rs/img/logo_60x120-2.png" style="position:relative; left:30px; z-index:10; height:85px">
238
+ </div>
239
+ <table width=100% style="border:0px">
240
+ <tr style="background-color:#C6363C;width:100%;border:0px;height:30px"><td style="width:100vw"></td></tr>
241
+ <tr style="background-color:#0C4076;width:100%;border:0px;height:30px"><td></td></tr>
242
+ <tr style="background-color:#ffffff;width:100%;border:0px;height:30px"><td></td></tr>
243
+ </table>
244
+ </div>
245
+
246
+ <!--table style="width:100%;height:100%">
247
+ <tr style="width:100%;height:100%">
248
+ <td width=50%>
249
+ <p>Истраживање jе спроведено уз подршку Фонда за науку Републике Србиjе, #7276, Text Embeddings – Serbian Language Applications – TESLA</p>
250
+ </td>
251
+ <td>
252
+ <p>This research was supported by the Science Fund of the Republic of Serbia, #7276, Text Embeddings - Serbian Language Applications - TESLA</p>
253
+ </td>
254
+ </tr>
255
+ </table-->
256
+
257
+
258
+
259
+ <style>
260
+ .ffeat: {
261
+ color:red
262
+ }
263
+
264
+ .cover {
265
+ width: 100%;
266
+ margin-bottom: 5pt
267
+ }
268
+
269
+ .highlight-container, .highlight {
270
+ position: relative;
271
+ text-decoration:none
272
+ }
273
+
274
+ .highlight-container {
275
+ display: inline-block;
276
+
277
+ }
278
+
279
+ .highlight{
280
+ color:white;
281
+ text-transform:uppercase;
282
+ font-size: 16pt;
283
+ }
284
+
285
+ .highlight-container{
286
+ padding:5px 10px
287
+ }
288
+
289
+ .highlight-container:before {
290
+ content: " ";
291
+ display: block;
292
+ height: 100%;
293
+ width: 100%;
294
+ margin-left: 0px;
295
+ margin-right: 0px;
296
+ position: absolute;
297
+ background: #e80909;
298
+ transform: rotate(2deg);
299
+ top: -1px;
300
+ left: -1px;
301
+ border-radius: 20% 25% 20% 24%;
302
+ padding: 10px 18px 18px 10px;
303
+ }
304
+
305
+ div.grb, #zastava>table {
306
+ position:absolute;
307
+ top:0px;
308
+ left: 0px;
309
+ margin:0px
310
+ }
311
+
312
+ div.grb>img, #zastava>table{
313
+ margin:0px
314
+ }
315
+
316
+ #zastava {
317
+ position: relative;
318
+ margin-bottom:120px
319
+ }
320
+
321
+ p {
322
+ font-size:14pt
323
+ }
324
+ </style>