intfloat commited on
Commit
c61fabf
1 Parent(s): e736d23

update README.md

Browse files
Files changed (2) hide show
  1. README.md +368 -0
  2. wikipedia.py +1 -1
README.md ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Dataset Summary
2
+
3
+ This dataset is based on [olm/wikipedia](https://huggingface.co/datasets/olm/wikipedia).
4
+ The main difference is that we add `Section::::` prefix to each section title to keep the section structure information.
5
+ We also use `:` to join the hierarchical section titles.
6
+
7
+ Following is an example.
8
+ ```text
9
+ Alison Jane Horner (born June 1966) is a British businesswoman, and, until it was sold in 2020, was the CEO of the Asian arm of the Tesco supermarket chain.
10
+
11
+ Section::::Early life
12
+ Alison Jane Horner was born in June 1966. She earned a bachelor's degree in chemistry from the University of Manchester, and an MBA from Manchester Business School.
13
+
14
+ Section::::Career
15
+
16
+ Section::::Career:Tesco
17
+ Horner joined Tesco as a personnel manager in 1999 and was on Tesco's executive committee from 2011.
18
+
19
+ In October 2013, Horner became a founding member of The Guardian's Women in Leadership network. in 2015, she became a member of Alliance Manchester Business School's advisory board.
20
+
21
+ Horner was Tesco' chief people officer (chief human resources officer) of Tesco until May 2018, when she was promoted to be chief executive of Tesco's Asia business in Malaysia and Thailand, until it was sold in late 2020. She was set to step down in February 2021 after 22 years with Tesco.
22
+
23
+ Section::::Career:Carillion non-executive role
24
+ Horner was a non-executive director of Carillion from December 2013, chairing the remuneration committee from June 2014. As of 30 December 2016 her basic compensation was £61,000. After the company went into liquidation in January 2018, Horner was one of the non-executive directors who gave evidence to the House of Commons Business and Work and Pensions select committees on 6 February 2018. In the final report of the Parliamentary Inquiry, published on 16 May 2018, Horner was criticised by MPs; the report concluded:
25
+
26
+ "... Alison Horner presided over growing salaries and bonuses at the top of the company as its performance faltered. In her evidence to us, she sought to justify her approach by pointing to industry standards, the guidance of advisors, and conversations with shareholders. She failed to demonstrate to us any sense of challenge to the advice she was given, any concern about the views of stakeholders, or any regret at the largesse at the top of Carillion. Ms Horner continues to hold the role of Chief People Officer of Tesco, where she has responsibilities to more than half a million employees. We hope that, in that post, she will reflect on the lessons learned from Carillion and her role in its collapse."
27
+
28
+ In January 2021, the Insolvency Service said it would seek to ban eight former Carillion directors, including Horner, from holding senior boardroom positions.
29
+
30
+ Section::::References
31
+
32
+ Living people
33
+ 1966 births
34
+ British businesspeople in retailing
35
+ Tesco people
36
+ Alumni of the University of Manchester
37
+ Alumni of the Manchester Business School
38
+ Carillion people
39
+ ```
40
+
41
+ ### Data Fields
42
+
43
+ - `title`: a `string` feature.
44
+ - `text`: a `string` feature.
45
+
46
+ ### How to use this dataset
47
+
48
+ To load this dataset you need to install these first:
49
+
50
+ ```shell
51
+ pip install mwparserfromhell==0.6.4 multiprocess==0.70.13
52
+ ```
53
+
54
+ Then, you can load any subset of Wikipedia per language and per date this way:
55
+
56
+ ```python
57
+ from datasets import load_dataset
58
+
59
+ dataset = load_dataset("intfloat/wikipedia", language="en", date="20230401")
60
+ ```
61
+
62
+ For more information,
63
+ please check out [olm/wikipedia](https://huggingface.co/datasets/olm/wikipedia).
64
+
65
+ ## Supported Languages
66
+
67
+ ```
68
+ aa
69
+ ab
70
+ ace
71
+ ady
72
+ af
73
+ ak
74
+ als
75
+ am
76
+ an
77
+ ang
78
+ ar
79
+ arc
80
+ arz
81
+ as
82
+ ast
83
+ atj
84
+ av
85
+ ay
86
+ az
87
+ azb
88
+ ba
89
+ bar
90
+ bat-smg
91
+ bcl
92
+ be
93
+ be-x-old
94
+ bg
95
+ bh
96
+ bi
97
+ bjn
98
+ bm
99
+ bn
100
+ bo
101
+ bpy
102
+ br
103
+ bs
104
+ bug
105
+ bxr
106
+ ca
107
+ cbk-zam
108
+ cdo
109
+ ce
110
+ ceb
111
+ ch
112
+ cho
113
+ chr
114
+ chy
115
+ ckb
116
+ co
117
+ cr
118
+ crh
119
+ cs
120
+ csb
121
+ cu
122
+ cv
123
+ cy
124
+ da
125
+ de
126
+ din
127
+ diq
128
+ dsb
129
+ dty
130
+ dv
131
+ dz
132
+ ee
133
+ el
134
+ eml
135
+ en
136
+ eo
137
+ es
138
+ et
139
+ eu
140
+ ext
141
+ fa
142
+ ff
143
+ fi
144
+ fiu-vro
145
+ fj
146
+ fo
147
+ fr
148
+ frp
149
+ frr
150
+ fur
151
+ fy
152
+ ga
153
+ gag
154
+ gan
155
+ gd
156
+ gl
157
+ glk
158
+ gn
159
+ gom
160
+ gor
161
+ got
162
+ gu
163
+ gv
164
+ ha
165
+ hak
166
+ haw
167
+ he
168
+ hi
169
+ hif
170
+ ho
171
+ hr
172
+ hsb
173
+ ht
174
+ hu
175
+ hy
176
+ ia
177
+ id
178
+ ie
179
+ ig
180
+ ii
181
+ ik
182
+ ilo
183
+ inh
184
+ io
185
+ is
186
+ it
187
+ iu
188
+ ja
189
+ jam
190
+ jbo
191
+ jv
192
+ ka
193
+ kaa
194
+ kab
195
+ kbd
196
+ kbp
197
+ kg
198
+ ki
199
+ kj
200
+ kk
201
+ kl
202
+ km
203
+ kn
204
+ ko
205
+ koi
206
+ krc
207
+ ks
208
+ ksh
209
+ ku
210
+ kv
211
+ kw
212
+ ky
213
+ la
214
+ lad
215
+ lb
216
+ lbe
217
+ lez
218
+ lfn
219
+ lg
220
+ li
221
+ lij
222
+ lmo
223
+ ln
224
+ lo
225
+ lrc
226
+ lt
227
+ ltg
228
+ lv
229
+ mai
230
+ map-bms
231
+ mdf
232
+ mg
233
+ mh
234
+ mhr
235
+ mi
236
+ min
237
+ mk
238
+ ml
239
+ mn
240
+ mr
241
+ mrj
242
+ ms
243
+ mt
244
+ mus
245
+ mwl
246
+ my
247
+ myv
248
+ mzn
249
+ na
250
+ nah
251
+ nap
252
+ nds
253
+ nds-nl
254
+ ne
255
+ new
256
+ ng
257
+ nl
258
+ nn
259
+ no
260
+ nov
261
+ nrm
262
+ nso
263
+ nv
264
+ ny
265
+ oc
266
+ olo
267
+ om
268
+ or
269
+ os
270
+ pa
271
+ pag
272
+ pam
273
+ pap
274
+ pcd
275
+ pdc
276
+ pfl
277
+ pi
278
+ pih
279
+ pl
280
+ pms
281
+ pnb
282
+ pnt
283
+ ps
284
+ pt
285
+ qu
286
+ rm
287
+ rmy
288
+ rn
289
+ ro
290
+ roa-rup
291
+ roa-tara
292
+ ru
293
+ rue
294
+ rw
295
+ sa
296
+ sah
297
+ sat
298
+ sc
299
+ scn
300
+ sco
301
+ sd
302
+ se
303
+ sg
304
+ sh
305
+ si
306
+ simple
307
+ sk
308
+ sl
309
+ sm
310
+ sn
311
+ so
312
+ sq
313
+ sr
314
+ srn
315
+ ss
316
+ st
317
+ stq
318
+ su
319
+ sv
320
+ sw
321
+ szl
322
+ ta
323
+ tcy
324
+ te
325
+ tet
326
+ tg
327
+ th
328
+ ti
329
+ tk
330
+ tl
331
+ tn
332
+ to
333
+ tpi
334
+ tr
335
+ ts
336
+ tt
337
+ tum
338
+ tw
339
+ ty
340
+ tyv
341
+ udm
342
+ ug
343
+ uk
344
+ ur
345
+ uz
346
+ ve
347
+ vec
348
+ vep
349
+ vi
350
+ vls
351
+ vo
352
+ wa
353
+ war
354
+ wo
355
+ wuu
356
+ xal
357
+ xh
358
+ xmf
359
+ yi
360
+ yo
361
+ za
362
+ zea
363
+ zh
364
+ zh-classical
365
+ zh-min-nan
366
+ zh-yue
367
+ zu
368
+ ```
wikipedia.py CHANGED
@@ -905,7 +905,7 @@ class WikipediaConfig(datasets.BuilderConfig):
905
  self.language = language
906
 
907
 
908
- _DATE = "20220301"
909
 
910
 
911
  class Wikipedia(datasets.GeneratorBasedBuilder):
 
905
  self.language = language
906
 
907
 
908
+ _DATE = "20230401"
909
 
910
 
911
  class Wikipedia(datasets.GeneratorBasedBuilder):