procesaur commited on
Commit
8ef3e83
·
verified ·
1 Parent(s): ce895cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +86 -99
README.md CHANGED
@@ -3,43 +3,33 @@ license: cc-by-sa-3.0
3
  task_categories:
4
  - text-generation
5
  language:
6
- - sr
7
- - hr
8
  - sl
9
- - mk
10
- - bs
11
- pretty_name: Srpski Vikizvornik
12
  size_categories:
13
- - 10M<n<100M
14
  configs:
15
  - config_name: default
16
  data_files:
17
  - split: train
18
  path:
19
- - wikisrc_sr.jsonl
20
- - wikisrc_hr.jsonl
21
- - wikisrc_bs.jsonl
22
- - wikisrc_sl.jsonl
23
- - wikisrc_mk.jsonl
24
- - split: sr
25
  path:
26
- - wikisrc_sr.jsonl
27
- - split: bs
28
  path:
29
- - wikisrc_bs.jsonl
30
- - split: hr
31
  path:
32
- - wikisrc_hr.jsonl
33
- - split: sl
34
  path:
35
- - wikisrc_sl.jsonl
36
- - split: mk
37
  path:
38
- - wikisrc_mk.jsonl
39
  ---
40
 
41
- <!--img src="cover.png" class="cover"-->
42
-
43
 
44
  <table style="width:100%;height:100%">
45
  <!--tr style="width:100%;height:30px">
@@ -50,82 +40,69 @@ configs:
50
  <tr-->
51
  <tr style="width:100%;height:100%">
52
  <td width=50%>
53
- <h2>Vikizvornik na Srpskom (i ostalim južnoslovenskim jezicima)</h2>
54
- <p>verzija 1.12.2023 - derivacija <a href="https://huggingface.co/datasets/wikimedia/wikisource"><b>Vikimedijinog skupa</b></a></p>
55
- <p>Ukupno 68,616 dokumenata, <span class="highlight-container"><span class="highlight">~ 100 miliona reči</span></span>.</p>
56
- <p></p>
57
- <p>Svaki dokument je u zasebnoj JSON liniji.</p>
58
- <p>Paragrafi su odvojeni duplim novim redom (\n\n).</p>
59
- <p>Rečenice unutar paragrafa su obeležene.</p>
60
- </td>
61
- <td>
62
- <h2>Wikisource in Serbian (and other South-slavic languages)</h2>
63
- <p>version 1.12.2023 - derived from <a href="https://huggingface.co/datasets/wikimedia/wikisource"><b>Wikimedia dataset</b></a></p>
64
- <p>A total of 68,616 documents containing <span class="highlight-container"><span class="highlight">~ 100 million words</span></span>.</p>
65
  <p></p>
66
- <p>Each document is represented by a JSON line.</p>
67
- <p>Paragraphs are separated via double new line (\n\n).</p>
68
- <p>Each Sentence in a document is delimited.</p>
69
  </td>
 
 
 
 
 
 
 
 
 
 
70
  </tr>
71
- <tr>
 
72
  <td colspan=2>
73
  <table style='width:100%;font-size:12pt;text-align:right'>
74
  <tr>
75
- <th style='width:40%'><b></b></th>
76
- <th style='width:15%'><b>Број докумената<br/>Doc. count</b></th>
77
- <th style='width:15%'><b>Број реченица<br/>Sent. count</b></th>
78
- <th style='width:15%'><b>Број речи<br/>Word count</b></th>
79
- <th style='width:15%'><b>Удео<br/>Share</b></th>
 
80
  </tr>
81
  <tr>
82
- <td>Srpski 🇷🇸</td>
83
- <td>38,987</td>
84
- <td>1,268,228</td>
85
- <td>19,386,154</td>
86
- <td>19.7%</td>
 
87
  </tr>
88
- <tr>
89
- <td>Hrvatski 🇭🇷</td>
90
- <td>8,278</td>
91
- <td>602,752</td>
92
- <td>10,280,538</td>
93
- <td>10.4%</td>
94
- </tr>
95
- <tr>
96
- <td>Bosanski 🇧🇦</td>
97
- <td>1,918</td>
98
- <td>163,330</td>
99
- <td>2,680,118</td>
100
- <td>2.7%</td>
101
- </tr>
102
- <tr>
103
- <td>Slovenački 🇸🇮</td>
104
- <td>17,267</td>
105
- <td>4,670,543</td>
106
- <td>64,936,933</td>
107
- <td>66%</td>
108
  </tr>
 
 
 
 
 
 
109
  <tr>
110
- <td>Makedonski 🇲🇰</td>
111
- <td>2,166</td>
112
- <td>59,329</td>
113
- <td>1,143,194</td>
114
- <td>1.2%</td>
 
115
  </tr>
116
  <tr>
117
- <td>Bugarski 🇧🇬</td>
118
- <td>2,316</td>
119
- <td>184,8839</td>
120
- <td>3,204,690</td>
121
- <td>0%</td>
 
122
  </tr>
123
- <tr>
124
- <td><b>Укупно<br/>Total</b></td>
125
- <td><b>68,616</b></td>
126
- <td><b>6,764,182</b></td>
127
- <td><b>98,426,937</b></td>
128
- <td><b>100%</b></td>
129
  </tr>
130
  </table>
131
  </td>
@@ -135,16 +112,25 @@ configs:
135
 
136
 
137
  ```python
138
- from datasets import load_dataset
139
- dataset = load_dataset("procesaur/Vikizvornik")
 
140
  ```
141
-
142
-
143
  ```python
144
- print(dataset["train"][6])
145
- {'text': '<s>Вино пије Краљевићу Марко\nса старицом Јевросимом мајком,\nа кад су се напојили вина,...'}
146
  ```
147
 
 
 
 
 
 
 
 
 
 
 
148
 
149
  <div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
150
  <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
@@ -159,14 +145,17 @@ print(dataset["train"][6])
159
  <div style="text-align: center; font-size: 16px; font-weight: 800">Mihailo Škorić</div>
160
  <div>
161
  <a href="https://huggingface.co/procesaur">
162
- <div style="text-align: center; font-size: 14
163
- px;">@procesaur</div>
164
  </a>
165
  </div>
166
  </div>
167
  </div>
168
 
169
- <div id="zastava">
 
 
 
 
170
  <div class="grb">
171
  <img src="https://www.ai.gov.rs/img/logo_60x120-2.png" style="position:relative; left:30px; z-index:10; height:85px">
172
  </div>
@@ -180,15 +169,13 @@ px;">@procesaur</div>
180
  <table style="width:100%;height:100%">
181
  <tr style="width:100%;height:100%">
182
  <td width=50%>
183
- <p>Истраживање jе спроведено уз подршку Фонда за науку Републике Србиjе, #7276, Text Embeddings – Serbian Language Applications – TESLA
184
- и Фода за иновациону делатност Републике Србије у оквиру програма GOVTECH, решење #53096, Дигитекс</p>
185
  </td>
186
  <td>
187
- <p>This research was supported by the Science Fund of the Republic of Serbia, #7276, Text Embeddings - Serbian Language Applications - TESLA
188
- and the Fund for Republic of Serbia Innovation Fund via the GOVTECH program, project #53096, Digiteks</p>
189
  </td>
190
  </tr>
191
- </table>
192
 
193
 
194
 
 
3
  task_categories:
4
  - text-generation
5
  language:
 
 
6
  - sl
7
+ pretty_name: Wiki Triglav
 
 
8
  size_categories:
9
+ - 100M<n<1B
10
  configs:
11
  - config_name: default
12
  data_files:
13
  - split: train
14
  path:
15
+ - '*.jsonl'
16
+ - split: wikipedia
 
 
 
 
17
  path:
18
+ - '*_wiki_*.jsonl'
19
+ - split: wikisource
20
  path:
21
+ - '*_wikisource_*.jsonl'
22
+ - split: wikibooks
23
  path:
24
+ - '*_wikibooks_*.jsonl'
25
+ - split: wikiquote
26
  path:
27
+ - '*_wikiquote_*.jsonl'
28
+ - split: wikinews
29
  path:
30
+ - '*_wikinews_*.jsonl'
31
  ---
32
 
 
 
33
 
34
  <table style="width:100%;height:100%">
35
  <!--tr style="width:100%;height:30px">
 
40
  <tr-->
41
  <tr style="width:100%;height:100%">
42
  <td width=50%>
43
+ <h2>Wiki korpusi v slovenščini</h2>
44
+ <p>Sveža različica, <span class="highlight-container"><span class="highlight">1. maj 2026.</span></span>!</p>
45
+ <p>Očiščen in filtriran nabor štirih projektov: Wikipedia, Wikisource, Wikiknjige in Wikicitati.</p>
46
+ <p>Več kot 146.000 kuriranih člankov z <span class="highlight-container"><span class="highlight">več kot 130 milijoni besed</span></span>.</p>
 
 
 
 
 
 
 
 
47
  <p></p>
48
+ <p>Vsak dokument je v ločeni vrstici JSON.</p>
49
+ <p>Novi metapodatki! Kategorije, število besed (in odstotek ciriličnega besedila)</p>
50
+ <p>Možnost filtriranja nabora po jeziku ali projektu.</p>
51
  </td>
52
+ <td width=50%>
53
+ <h2>Wiki corpora in Slovenian language</h2>
54
+ <p>Fresh version, <span class="highlight-container"><span class="highlight">1. May 2026.</span></span>!</p>
55
+ <p>Cleaned and filtered set of four projects: Wikipedia, Wikisource, Wikibooks and Wikiquotes.</p>
56
+ <p>Over 146,000 curated articles, with <span class="highlight-container"><span class="highlight">over 130 million words</span></span>.</p>
57
+ <p></p>
58
+ <p>Each document is in a separate JSON line.</p>
59
+ <p>New metadata! Categories, number of words (and percentage of Cyrillic text)</p>
60
+ <p>Possible to filter the set by language or project.</p>
61
+ </td>
62
  </tr>
63
+ </tr>
64
+ <tr>
65
  <td colspan=2>
66
  <table style='width:100%;font-size:12pt;text-align:right'>
67
  <tr>
68
+ <th style='width:40%'><b>Število dokumentov</b></th>
69
+ <th style='width:15%'><b>Wikipedia</b></th>
70
+ <th style='width:15%'><b>Wikivir</b></th>
71
+ <th style='width:15%'><b>Wikicitati</b></th>
72
+ <th style='width:15%'><b>Wikiknjige</b></th>
73
+ <th style='width:15%'><b>Skupaj</b></th>
74
  </tr>
75
  <tr>
76
+ <td>Slovene 🇸🇮</td>
77
+ <td>128,303</td>
78
+ <td>16,702</td>
79
+ <td>1,335</td>
80
+ <td>305</td>
81
+ <td>146,645</td>
82
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  </tr>
84
+ </table>
85
+ </td>
86
+ </tr>
87
+ <tr>
88
+ <td colspan=2>
89
+ <table style='width:100%;font-size:12pt;text-align:right'>
90
  <tr>
91
+ <th style='width:40%'><b>Število besed</b></th>
92
+ <th style='width:15%'><b>Wikipedia</b></th>
93
+ <th style='width:15%'><b>Wikivir</b></th>
94
+ <th style='width:15%'><b>Wikicitati</b></th>
95
+ <th style='width:15%'><b>Wikiknjige</b></th>
96
+ <th style='width:15%'><b>Skupaj</b></th>
97
  </tr>
98
  <tr>
99
+ <td>Slovene 🇸🇮</td>
100
+ <td>68,892,264</td>
101
+ <td>62,046,537</td>
102
+ <td>250,916</td>
103
+ <td>625,851</td>
104
+ <td>131,815,568</td>
105
  </tr>
 
 
 
 
 
 
106
  </tr>
107
  </table>
108
  </td>
 
112
 
113
 
114
  ```python
115
+ # Nalaganje samo wikicitatov
116
+ dataset = load_dataset("procesaur/WikiTriglav", split="wikiquote")
117
+ print(dataset[5]["text"])
118
  ```
 
 
119
  ```python
120
+ 1 Citati
121
+ Čovjek je, Senada, teški hajvan. I ono malo duše što ima, šejtan mu je dao da mu bude teže...
122
  ```
123
 
124
+ ```python
125
+ # Filtriranje prema metapodacima
126
+ filtered = dataset.filter(lambda example: example["subject"] == "J.R.R. Tolkin")
127
+ print(f"{filtered[0]["title"]}\n{filtered[0]["text"]} )
128
+ ```
129
+ ```python
130
+ Gospodar prstenova: Povratak kralja
131
+ 1 Citati
132
+ *Gandalf: "Sutra će biti veći jad nego što je bio danas i tako će biti još dugo...
133
+ ```
134
 
135
  <div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
136
  <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
 
145
  <div style="text-align: center; font-size: 16px; font-weight: 800">Mihailo Škorić</div>
146
  <div>
147
  <a href="https://huggingface.co/procesaur">
148
+ <div style="text-align: center; font-size: 14px;">@procesaur</div>
 
149
  </a>
150
  </div>
151
  </div>
152
  </div>
153
 
154
+
155
+ <img src="cover.png" class="cover">
156
+
157
+
158
+ <!--div id="zastava">
159
  <div class="grb">
160
  <img src="https://www.ai.gov.rs/img/logo_60x120-2.png" style="position:relative; left:30px; z-index:10; height:85px">
161
  </div>
 
169
  <table style="width:100%;height:100%">
170
  <tr style="width:100%;height:100%">
171
  <td width=50%>
172
+ <p>Истраживање jе спроведено уз подршку Фонда за науку Републике Србиjе, #7276, Text Embeddings – Serbian Language Applications – TESLA</p>
 
173
  </td>
174
  <td>
175
+ <p>This research was supported by the Science Fund of the Republic of Serbia, #7276, Text Embeddings - Serbian Language Applications - TESLA</p>
 
176
  </td>
177
  </tr>
178
+ </table-->
179
 
180
 
181