Jeronymous commited on
Commit
07a83e3
Β·
1 Parent(s): 3636c47

Change structure to welcome multilingual later

Browse files
Files changed (33) hide show
  1. README.md +38 -673
  2. {20231201 β†’ fr/20231201}/train-000000-of-000032.parquet +0 -0
  3. {20231201 β†’ fr/20231201}/train-000001-of-000032.parquet +0 -0
  4. {20231201 β†’ fr/20231201}/train-000002-of-000032.parquet +0 -0
  5. {20231201 β†’ fr/20231201}/train-000003-of-000032.parquet +0 -0
  6. {20231201 β†’ fr/20231201}/train-000004-of-000032.parquet +0 -0
  7. {20231201 β†’ fr/20231201}/train-000005-of-000032.parquet +0 -0
  8. {20231201 β†’ fr/20231201}/train-000006-of-000032.parquet +0 -0
  9. {20231201 β†’ fr/20231201}/train-000007-of-000032.parquet +0 -0
  10. {20231201 β†’ fr/20231201}/train-000008-of-000032.parquet +0 -0
  11. {20231201 β†’ fr/20231201}/train-000009-of-000032.parquet +0 -0
  12. {20231201 β†’ fr/20231201}/train-000010-of-000032.parquet +0 -0
  13. {20231201 β†’ fr/20231201}/train-000011-of-000032.parquet +0 -0
  14. {20231201 β†’ fr/20231201}/train-000012-of-000032.parquet +0 -0
  15. {20231201 β†’ fr/20231201}/train-000013-of-000032.parquet +0 -0
  16. {20231201 β†’ fr/20231201}/train-000014-of-000032.parquet +0 -0
  17. {20231201 β†’ fr/20231201}/train-000015-of-000032.parquet +0 -0
  18. {20231201 β†’ fr/20231201}/train-000016-of-000032.parquet +0 -0
  19. {20231201 β†’ fr/20231201}/train-000017-of-000032.parquet +0 -0
  20. {20231201 β†’ fr/20231201}/train-000018-of-000032.parquet +0 -0
  21. {20231201 β†’ fr/20231201}/train-000019-of-000032.parquet +0 -0
  22. {20231201 β†’ fr/20231201}/train-000020-of-000032.parquet +0 -0
  23. {20231201 β†’ fr/20231201}/train-000021-of-000032.parquet +0 -0
  24. {20231201 β†’ fr/20231201}/train-000022-of-000032.parquet +0 -0
  25. {20231201 β†’ fr/20231201}/train-000023-of-000032.parquet +0 -0
  26. {20231201 β†’ fr/20231201}/train-000024-of-000032.parquet +0 -0
  27. {20231201 β†’ fr/20231201}/train-000025-of-000032.parquet +0 -0
  28. {20231201 β†’ fr/20231201}/train-000026-of-000032.parquet +0 -0
  29. {20231201 β†’ fr/20231201}/train-000027-of-000032.parquet +0 -0
  30. {20231201 β†’ fr/20231201}/train-000028-of-000032.parquet +0 -0
  31. {20231201 β†’ fr/20231201}/train-000029-of-000032.parquet +0 -0
  32. {20231201 β†’ fr/20231201}/train-000030-of-000032.parquet +0 -0
  33. {20231201 β†’ fr/20231201}/train-000031-of-000032.parquet +0 -0
README.md CHANGED
@@ -13,141 +13,17 @@ configs:
13
  - config_name: default
14
  data_files:
15
  - split: train
16
- path: 20231201/*
17
- - config_name: "20231201"
18
  data_files:
19
  - split: train
20
- path: 20231201/*
21
- - config_name: "20231201.1"
22
  data_files:
23
  - split: train
24
- path: 20231201/train-000000-of-000032.parquet
25
- - config_name: "20231201.2"
26
- data_files:
27
- - split: train
28
- path: 20231201/train-000001-of-000032.parquet
29
- - config_name: "20231201.3"
30
- data_files:
31
- - split: train
32
- path: 20231201/train-000002-of-000032.parquet
33
- - config_name: "20231201.4"
34
- data_files:
35
- - split: train
36
- path: 20231201/train-000003-of-000032.parquet
37
- - config_name: "20231201.5"
38
- data_files:
39
- - split: train
40
- path: 20231201/train-000004-of-000032.parquet
41
- - config_name: "20231201.6"
42
- data_files:
43
- - split: train
44
- path: 20231201/train-000005-of-000032.parquet
45
- - config_name: "20231201.7"
46
- data_files:
47
- - split: train
48
- path: 20231201/train-000006-of-000032.parquet
49
- - config_name: "20231201.8"
50
- data_files:
51
- - split: train
52
- path: 20231201/train-000007-of-000032.parquet
53
- - config_name: "20231201.9"
54
- data_files:
55
- - split: train
56
- path: 20231201/train-000008-of-000032.parquet
57
- - config_name: "20231201.10"
58
- data_files:
59
- - split: train
60
- path: 20231201/train-000009-of-000032.parquet
61
- - config_name: "20231201.11"
62
- data_files:
63
- - split: train
64
- path: 20231201/train-000010-of-000032.parquet
65
- - config_name: "20231201.12"
66
- data_files:
67
- - split: train
68
- path: 20231201/train-000011-of-000032.parquet
69
- - config_name: "20231201.13"
70
- data_files:
71
- - split: train
72
- path: 20231201/train-000012-of-000032.parquet
73
- - config_name: "20231201.14"
74
- data_files:
75
- - split: train
76
- path: 20231201/train-000013-of-000032.parquet
77
- - config_name: "20231201.15"
78
- data_files:
79
- - split: train
80
- path: 20231201/train-000014-of-000032.parquet
81
- - config_name: "20231201.16"
82
- data_files:
83
- - split: train
84
- path: 20231201/train-000015-of-000032.parquet
85
- - config_name: "20231201.17"
86
- data_files:
87
- - split: train
88
- path: 20231201/train-000016-of-000032.parquet
89
- - config_name: "20231201.18"
90
- data_files:
91
- - split: train
92
- path: 20231201/train-000017-of-000032.parquet
93
- - config_name: "20231201.19"
94
- data_files:
95
- - split: train
96
- path: 20231201/train-000018-of-000032.parquet
97
- - config_name: "20231201.20"
98
- data_files:
99
- - split: train
100
- path: 20231201/train-000019-of-000032.parquet
101
- - config_name: "20231201.21"
102
- data_files:
103
- - split: train
104
- path: 20231201/train-000020-of-000032.parquet
105
- - config_name: "20231201.22"
106
- data_files:
107
- - split: train
108
- path: 20231201/train-000021-of-000032.parquet
109
- - config_name: "20231201.23"
110
- data_files:
111
- - split: train
112
- path: 20231201/train-000022-of-000032.parquet
113
- - config_name: "20231201.24"
114
- data_files:
115
- - split: train
116
- path: 20231201/train-000023-of-000032.parquet
117
- - config_name: "20231201.25"
118
- data_files:
119
- - split: train
120
- path: 20231201/train-000024-of-000032.parquet
121
- - config_name: "20231201.26"
122
- data_files:
123
- - split: train
124
- path: 20231201/train-000025-of-000032.parquet
125
- - config_name: "20231201.27"
126
- data_files:
127
- - split: train
128
- path: 20231201/train-000026-of-000032.parquet
129
- - config_name: "20231201.28"
130
- data_files:
131
- - split: train
132
- path: 20231201/train-000027-of-000032.parquet
133
- - config_name: "20231201.29"
134
- data_files:
135
- - split: train
136
- path: 20231201/train-000028-of-000032.parquet
137
- - config_name: "20231201.30"
138
- data_files:
139
- - split: train
140
- path: 20231201/train-000029-of-000032.parquet
141
- - config_name: "20231201.31"
142
- data_files:
143
- - split: train
144
- path: 20231201/train-000030-of-000032.parquet
145
- - config_name: "20231201.32"
146
- data_files:
147
- - split: train
148
- path: 20231201/train-000031-of-000032.parquet
149
  dataset_info:
150
- - config_name: default
151
  features:
152
  - name: id
153
  dtype: int32
@@ -163,23 +39,7 @@ dataset_info:
163
  num_examples: 185700
164
  download_size: 1934221408
165
  dataset_size: 3274591809
166
- - config_name: "20231201"
167
- features:
168
- - name: id
169
- dtype: int32
170
- - name: url
171
- dtype: string
172
- - name: title
173
- dtype: string
174
- - name: text
175
- dtype: string
176
- splits:
177
- - name: train
178
- num_bytes: 3274591809
179
- num_examples: 185700
180
- download_size: 1934221408
181
- dataset_size: 3274591809
182
- - config_name: "20231201.1"
183
  features:
184
  - name: id
185
  dtype: int32
@@ -195,526 +55,34 @@ dataset_info:
195
  num_examples: 5803
196
  download_size: 72062489
197
  dataset_size: 123744195
198
- - config_name: "20231201.2"
199
- features:
200
- - name: id
201
- dtype: int32
202
- - name: url
203
- dtype: string
204
- - name: title
205
- dtype: string
206
- - name: text
207
- dtype: string
208
- splits:
209
- - name: train
210
- num_bytes: 119833752
211
- num_examples: 5803
212
- download_size: 70319583
213
- dataset_size: 119833752
214
- - config_name: "20231201.3"
215
- features:
216
- - name: id
217
- dtype: int32
218
- - name: url
219
- dtype: string
220
- - name: title
221
- dtype: string
222
- - name: text
223
- dtype: string
224
- splits:
225
- - name: train
226
- num_bytes: 93582407
227
- num_examples: 5803
228
- download_size: 55892756
229
- dataset_size: 93582407
230
- - config_name: "20231201.4"
231
- features:
232
- - name: id
233
- dtype: int32
234
- - name: url
235
- dtype: string
236
- - name: title
237
- dtype: string
238
- - name: text
239
- dtype: string
240
- splits:
241
- - name: train
242
- num_bytes: 124759512
243
- num_examples: 5803
244
- download_size: 73918188
245
- dataset_size: 124759512
246
- - config_name: "20231201.5"
247
- features:
248
- - name: id
249
- dtype: int32
250
- - name: url
251
- dtype: string
252
- - name: title
253
- dtype: string
254
- - name: text
255
- dtype: string
256
- splits:
257
- - name: train
258
- num_bytes: 218079383
259
- num_examples: 5803
260
- download_size: 128865663
261
- dataset_size: 218079383
262
- - config_name: "20231201.6"
263
- features:
264
- - name: id
265
- dtype: int32
266
- - name: url
267
- dtype: string
268
- - name: title
269
- dtype: string
270
- - name: text
271
- dtype: string
272
- splits:
273
- - name: train
274
- num_bytes: 197089167
275
- num_examples: 5803
276
- download_size: 117614222
277
- dataset_size: 197089167
278
- - config_name: "20231201.7"
279
- features:
280
- - name: id
281
- dtype: int32
282
- - name: url
283
- dtype: string
284
- - name: title
285
- dtype: string
286
- - name: text
287
- dtype: string
288
- splits:
289
- - name: train
290
- num_bytes: 172121506
291
- num_examples: 5803
292
- download_size: 101849830
293
- dataset_size: 172121506
294
- - config_name: "20231201.8"
295
- features:
296
- - name: id
297
- dtype: int32
298
- - name: url
299
- dtype: string
300
- - name: title
301
- dtype: string
302
- - name: text
303
- dtype: string
304
- splits:
305
- - name: train
306
- num_bytes: 71770351
307
- num_examples: 5804
308
- download_size: 41996881
309
- dataset_size: 71770351
310
- - config_name: "20231201.9"
311
- features:
312
- - name: id
313
- dtype: int32
314
- - name: url
315
- dtype: string
316
- - name: title
317
- dtype: string
318
- - name: text
319
- dtype: string
320
- splits:
321
- - name: train
322
- num_bytes: 30601898
323
- num_examples: 5803
324
- download_size: 17543845
325
- dataset_size: 30601898
326
- - config_name: "20231201.10"
327
- features:
328
- - name: id
329
- dtype: int32
330
- - name: url
331
- dtype: string
332
- - name: title
333
- dtype: string
334
- - name: text
335
- dtype: string
336
- splits:
337
- - name: train
338
- num_bytes: 58803288
339
- num_examples: 5803
340
- download_size: 34001242
341
- dataset_size: 58803288
342
- - config_name: "20231201.11"
343
- features:
344
- - name: id
345
- dtype: int32
346
- - name: url
347
- dtype: string
348
- - name: title
349
- dtype: string
350
- - name: text
351
- dtype: string
352
- splits:
353
- - name: train
354
- num_bytes: 71676571
355
- num_examples: 5803
356
- download_size: 41788737
357
- dataset_size: 71676571
358
- - config_name: "20231201.12"
359
- features:
360
- - name: id
361
- dtype: int32
362
- - name: url
363
- dtype: string
364
- - name: title
365
- dtype: string
366
- - name: text
367
- dtype: string
368
- splits:
369
- - name: train
370
- num_bytes: 45735268
371
- num_examples: 5803
372
- download_size: 27148900
373
- dataset_size: 45735268
374
- - config_name: "20231201.13"
375
- features:
376
- - name: id
377
- dtype: int32
378
- - name: url
379
- dtype: string
380
- - name: title
381
- dtype: string
382
- - name: text
383
- dtype: string
384
- splits:
385
- - name: train
386
- num_bytes: 7126062
387
- num_examples: 5803
388
- download_size: 3781314
389
- dataset_size: 7126062
390
- - config_name: "20231201.14"
391
- features:
392
- - name: id
393
- dtype: int32
394
- - name: url
395
- dtype: string
396
- - name: title
397
- dtype: string
398
- - name: text
399
- dtype: string
400
- splits:
401
- - name: train
402
- num_bytes: 75934552
403
- num_examples: 5803
404
- download_size: 45174223
405
- dataset_size: 75934552
406
- - config_name: "20231201.15"
407
- features:
408
- - name: id
409
- dtype: int32
410
- - name: url
411
- dtype: string
412
- - name: title
413
- dtype: string
414
- - name: text
415
- dtype: string
416
- splits:
417
- - name: train
418
- num_bytes: 54804531
419
- num_examples: 5803
420
- download_size: 32015256
421
- dataset_size: 54804531
422
- - config_name: "20231201.16"
423
- features:
424
- - name: id
425
- dtype: int32
426
- - name: url
427
- dtype: string
428
- - name: title
429
- dtype: string
430
- - name: text
431
- dtype: string
432
- splits:
433
- - name: train
434
- num_bytes: 47038257
435
- num_examples: 5804
436
- download_size: 27079806
437
- dataset_size: 47038257
438
- - config_name: "20231201.17"
439
- features:
440
- - name: id
441
- dtype: int32
442
- - name: url
443
- dtype: string
444
- - name: title
445
- dtype: string
446
- - name: text
447
- dtype: string
448
- splits:
449
- - name: train
450
- num_bytes: 17238640
451
- num_examples: 5803
452
- download_size: 9591913
453
- dataset_size: 17238640
454
- - config_name: "20231201.18"
455
- features:
456
- - name: id
457
- dtype: int32
458
- - name: url
459
- dtype: string
460
- - name: title
461
- dtype: string
462
- - name: text
463
- dtype: string
464
- splits:
465
- - name: train
466
- num_bytes: 21555517
467
- num_examples: 5803
468
- download_size: 12201505
469
- dataset_size: 21555517
470
- - config_name: "20231201.19"
471
- features:
472
- - name: id
473
- dtype: int32
474
- - name: url
475
- dtype: string
476
- - name: title
477
- dtype: string
478
- - name: text
479
- dtype: string
480
- splits:
481
- - name: train
482
- num_bytes: 164356206
483
- num_examples: 5803
484
- download_size: 97744374
485
- dataset_size: 164356206
486
- - config_name: "20231201.20"
487
- features:
488
- - name: id
489
- dtype: int32
490
- - name: url
491
- dtype: string
492
- - name: title
493
- dtype: string
494
- - name: text
495
- dtype: string
496
- splits:
497
- - name: train
498
- num_bytes: 117646153
499
- num_examples: 5803
500
- download_size: 69196996
501
- dataset_size: 117646153
502
- - config_name: "20231201.21"
503
- features:
504
- - name: id
505
- dtype: int32
506
- - name: url
507
- dtype: string
508
- - name: title
509
- dtype: string
510
- - name: text
511
- dtype: string
512
- splits:
513
- - name: train
514
- num_bytes: 107979780
515
- num_examples: 5803
516
- download_size: 63973234
517
- dataset_size: 107979780
518
- - config_name: "20231201.22"
519
- features:
520
- - name: id
521
- dtype: int32
522
- - name: url
523
- dtype: string
524
- - name: title
525
- dtype: string
526
- - name: text
527
- dtype: string
528
- splits:
529
- - name: train
530
- num_bytes: 93351648
531
- num_examples: 5803
532
- download_size: 56467747
533
- dataset_size: 93351648
534
- - config_name: "20231201.23"
535
- features:
536
- - name: id
537
- dtype: int32
538
- - name: url
539
- dtype: string
540
- - name: title
541
- dtype: string
542
- - name: text
543
- dtype: string
544
- splits:
545
- - name: train
546
- num_bytes: 114682668
547
- num_examples: 5803
548
- download_size: 68014456
549
- dataset_size: 114682668
550
- - config_name: "20231201.24"
551
- features:
552
- - name: id
553
- dtype: int32
554
- - name: url
555
- dtype: string
556
- - name: title
557
- dtype: string
558
- - name: text
559
- dtype: string
560
- splits:
561
- - name: train
562
- num_bytes: 132681023
563
- num_examples: 5804
564
- download_size: 78343213
565
- dataset_size: 132681023
566
- - config_name: "20231201.25"
567
- features:
568
- - name: id
569
- dtype: int32
570
- - name: url
571
- dtype: string
572
- - name: title
573
- dtype: string
574
- - name: text
575
- dtype: string
576
- splits:
577
- - name: train
578
- num_bytes: 125230246
579
- num_examples: 5803
580
- download_size: 74704686
581
- dataset_size: 125230246
582
- - config_name: "20231201.26"
583
- features:
584
- - name: id
585
- dtype: int32
586
- - name: url
587
- dtype: string
588
- - name: title
589
- dtype: string
590
- - name: text
591
- dtype: string
592
- splits:
593
- - name: train
594
- num_bytes: 161933469
595
- num_examples: 5803
596
- download_size: 96923641
597
- dataset_size: 161933469
598
- - config_name: "20231201.27"
599
- features:
600
- - name: id
601
- dtype: int32
602
- - name: url
603
- dtype: string
604
- - name: title
605
- dtype: string
606
- - name: text
607
- dtype: string
608
- splits:
609
- - name: train
610
- num_bytes: 109190839
611
- num_examples: 5803
612
- download_size: 63826178
613
- dataset_size: 109190839
614
- - config_name: "20231201.28"
615
- features:
616
- - name: id
617
- dtype: int32
618
- - name: url
619
- dtype: string
620
- - name: title
621
- dtype: string
622
- - name: text
623
- dtype: string
624
- splits:
625
- - name: train
626
- num_bytes: 136475044
627
- num_examples: 5803
628
- download_size: 80171778
629
- dataset_size: 136475044
630
- - config_name: "20231201.29"
631
- features:
632
- - name: id
633
- dtype: int32
634
- - name: url
635
- dtype: string
636
- - name: title
637
- dtype: string
638
- - name: text
639
- dtype: string
640
- splits:
641
- - name: train
642
- num_bytes: 100890887
643
- num_examples: 5803
644
- download_size: 58706853
645
- dataset_size: 100890887
646
- - config_name: "20231201.30"
647
- features:
648
- - name: id
649
- dtype: int32
650
- - name: url
651
- dtype: string
652
- - name: title
653
- dtype: string
654
- - name: text
655
- dtype: string
656
- splits:
657
- - name: train
658
- num_bytes: 117519331
659
- num_examples: 5803
660
- download_size: 69592253
661
- dataset_size: 117519331
662
- - config_name: "20231201.31"
663
- features:
664
- - name: id
665
- dtype: int32
666
- - name: url
667
- dtype: string
668
- - name: title
669
- dtype: string
670
- - name: text
671
- dtype: string
672
- splits:
673
- - name: train
674
- num_bytes: 172796729
675
- num_examples: 5803
676
- download_size: 103593983
677
- dataset_size: 172796729
678
- - config_name: "20231201.32"
679
- features:
680
- - name: id
681
- dtype: int32
682
- - name: url
683
- dtype: string
684
- - name: title
685
- dtype: string
686
- - name: text
687
- dtype: string
688
- splits:
689
- - name: train
690
- num_bytes: 68362929
691
- num_examples: 5804
692
- download_size: 40115663
693
- dataset_size: 68362929
694
  ---
695
 
696
- # Plain text of French Wikisource
697
-
698
- This dataset was created by [OpenLLM France](https://openllmfrance.org/) from the [Wikisource dumps](https://dumps.wikimedia.org/other/enterprise_html/runs).
699
-
700
- It is a plain text version of pages from [fr.wikisource.org/wiki](https://fr.wikisource.org/wiki)
701
- without HTML tags nor wiki templates.
702
- The text just includes markdown syntax for headers, lists and tables.
703
- See [Notes on data formatting](#notes-on-data-formatting) for more details.
704
 
705
- * [Statistics](#statistics)
706
- * [Example use (python)](#example-use-python)
707
- * [Data fields](#data-fields)
708
- * [Notes on data formatting](#notes-on-data-formatting)
 
709
  * [License](#license)
710
  * [Aknowledgements](#aknowledgements)
711
  * [Citation](#citation)
712
 
 
 
 
 
 
 
 
 
 
 
713
 
714
- ## Statistics
715
 
716
  The amount of data for the latest dump (20231201) is:
717
- | **Unit** | **Size** |
718
  | :---------------|--------: |
719
  | # documents | 185Β 700 |
720
  | # paragraphs | 585Β 700 |
@@ -731,30 +99,25 @@ Load the full dataset:
731
  ```python
732
  import datasets
733
 
734
- ds = datasets.load_dataset("OpenLLM-France/wikisource.fr")
735
  ```
736
 
737
  Load only a small subset:
738
  ```python
739
- import datasets
740
-
741
- i = 1 # Can be a number between 1 and 32
742
- subset = f"20231201.{i}"
743
-
744
- ds = datasets.load_dataset("OpenLLM-France/wikisource.fr", subset)
745
  ```
746
 
747
  ## Data fields
748
 
749
  The data fields are the same among all configurations:
750
- - `id` (int): ID of the article.
751
- - `url` (`str`): URL of the article.
752
- - `title` (`str`): Title of the article.
753
- - `text` (`str`): Text content of the article.
754
 
755
  ## Notes on data formatting
756
 
757
- see [OpenLLM-France/wikipedia.fr](https://huggingface.co/datasets/OpenLLM-France/wikipedia.fr)
758
 
759
  ## License
760
 
@@ -762,7 +125,9 @@ This dataset is distributed under the [Creative Commons Attribution-ShareAlike 4
762
 
763
  ## Aknowledgements
764
 
765
- This dataset was created by [JΓ©rΓ΄me Louradour](https://huggingface.co/Jeronymous) on behalf of [OpenLLM France](https://openllmfrance.org/).
 
 
766
 
767
  Many thanks to the [Wikimedia Foundation](https://wikimediafoundation.org/)
768
  for providing the data and useful advices,
@@ -772,9 +137,9 @@ in particular Isaac Johnson, Albert Villanova and RΓ©my Gerbet.
772
 
773
  ```
774
  @online{wikisource_fr_dump,
775
- author = "OpenLLM France",
776
- title = "Plain text of French Wikisource",
777
- url = "https://huggingface.co/datasets/OpenLLM-France/wikisource.fr"
778
  }
779
  ```
780
 
 
13
  - config_name: default
14
  data_files:
15
  - split: train
16
+ path: "*/20231201/*.parquet"
17
+ - config_name: "fr"
18
  data_files:
19
  - split: train
20
+ path: "fr/20231201/*.parquet"
21
+ - config_name: "sample"
22
  data_files:
23
  - split: train
24
+ path: fr/20231201/train-000000-of-000032.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  dataset_info:
26
+ - config_name: "fr"
27
  features:
28
  - name: id
29
  dtype: int32
 
39
  num_examples: 185700
40
  download_size: 1934221408
41
  dataset_size: 3274591809
42
+ - config_name: "sample"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  features:
44
  - name: id
45
  dtype: int32
 
55
  num_examples: 5803
56
  download_size: 72062489
57
  dataset_size: 123744195
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  ---
59
 
60
+ # Plain text of Wikisource
 
 
 
 
 
 
 
61
 
62
+ * [Dataset Description](#dataset-description)
63
+ * [Size](#size)
64
+ * [Example use (python)](#example-use-python)
65
+ * [Data fields](#data-fields)
66
+ * [Notes on data formatting](#notes-on-data-formatting)
67
  * [License](#license)
68
  * [Aknowledgements](#aknowledgements)
69
  * [Citation](#citation)
70
 
71
+ ## Dataset Description
72
+
73
+ This dataset is a plain text version of pages from [wikisource.org](https://wikisource.org/) in French language.
74
+ The text is without HTML tags nor wiki templates.
75
+ It just includes markdown syntax for headers, lists and tables.
76
+ See [Notes on data formatting](#notes-on-data-formatting) for more details.
77
+
78
+ It was created by [LINAGORA](https://labs.linagora.com/) and [OpenLLM France](https://openllmfrance.org/)
79
+ from the [Wikimedia dumps](https://dumps.wikimedia.org/other/enterprise_html/runs),
80
+ using code in [https://github.com/OpenLLM-France/wikiplaintext](https://github.com/OpenLLM-France/wikiplaintext).
81
 
82
+ ### Size
83
 
84
  The amount of data for the latest dump (20231201) is:
85
+ | | **French** |
86
  | :---------------|--------: |
87
  | # documents | 185Β 700 |
88
  | # paragraphs | 585Β 700 |
 
99
  ```python
100
  import datasets
101
 
102
+ ds = datasets.load_dataset("OpenLLM-France/wikisource", streaming=True, split="train")
103
  ```
104
 
105
  Load only a small subset:
106
  ```python
107
+ ds = datasets.load_dataset("OpenLLM-France/wikisource", "sample", split="train")
 
 
 
 
 
108
  ```
109
 
110
  ## Data fields
111
 
112
  The data fields are the same among all configurations:
113
+ - `id` (int): ID of the page.
114
+ - `url` (`str`): URL of the page.
115
+ - `title` (`str`): Title of the page.
116
+ - `text` (`str`): Text content of the page.
117
 
118
  ## Notes on data formatting
119
 
120
+ see [OpenLLM-France/wikipedia.fr](https://huggingface.co/datasets/OpenLLM-France/wikipedia)
121
 
122
  ## License
123
 
 
125
 
126
  ## Aknowledgements
127
 
128
+ This dataset was created by [JΓ©rΓ΄me Louradour](https://huggingface.co/Jeronymous) on behalf of
129
+ [LINAGORA](https://labs.linagora.com/) and
130
+ [OpenLLM France](https://openllmfrance.org/).
131
 
132
  Many thanks to the [Wikimedia Foundation](https://wikimediafoundation.org/)
133
  for providing the data and useful advices,
 
137
 
138
  ```
139
  @online{wikisource_fr_dump,
140
+ author = "JΓ©rΓ΄me Louradour, OpenLLM-France, LINAGORA Labs",
141
+ title = "Plain text of Wikisource",
142
+ url = "https://huggingface.co/datasets/OpenLLM-France/wikisource"
143
  }
144
  ```
145
 
{20231201 β†’ fr/20231201}/train-000000-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000001-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000002-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000003-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000004-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000005-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000006-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000007-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000008-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000009-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000010-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000011-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000012-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000013-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000014-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000015-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000016-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000017-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000018-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000019-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000020-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000021-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000022-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000023-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000024-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000025-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000026-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000027-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000028-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000029-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000030-of-000032.parquet RENAMED
File without changes
{20231201 β†’ fr/20231201}/train-000031-of-000032.parquet RENAMED
File without changes