Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,22 +2,132 @@
|
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
task_categories:
|
| 4 |
- text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
language:
|
| 6 |
-
- fr
|
| 7 |
- ar
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- en
|
| 9 |
-
- pt
|
| 10 |
-
- nl
|
| 11 |
- es
|
| 12 |
-
- it
|
| 13 |
-
- ba
|
| 14 |
- eu
|
| 15 |
-
-
|
|
|
|
|
|
|
|
|
|
| 16 |
- oc
|
| 17 |
-
-
|
| 18 |
-
-
|
| 19 |
---
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
| language | domain | # pages | # words | # characters |
|
| 22 |
|----------|--------|----------|-----------|-----------|
|
| 23 |
| ar | wikipedia | 1.29 M | 448.80 M | 2.60 B |
|
|
@@ -68,7 +178,7 @@ language:
|
|
| 68 |
| eu | wikiquote | 370 | 90.20 K | 654.51 K |
|
| 69 |
| eu | wikisource | 1.24 K | 3.61 M | 26.83 M |
|
| 70 |
| eu | wiktionary | 54.94 K | 3.08 M | 23.94 M |
|
| 71 |
-
|
|
| 72 |
| fr | wikipedia | 2.77 M | 1.89 B | 10.90 B |
|
| 73 |
| fr | wikibooks | 23.74 K | 26.79 M | 161.96 M |
|
| 74 |
| fr | wikinews | 24.26 K | 12.03 M | 63.53 M |
|
|
@@ -95,7 +205,7 @@ language:
|
|
| 95 |
| oc | wikipedia | 87.87 K | 30.29 M | 165.44 M |
|
| 96 |
| oc | wikibooks | 67 | 22.36 K | 127.57 K |
|
| 97 |
| oc | wiktionary | 72.21 K | 5.63 M | 37.30 M |
|
| 98 |
-
|
|
| 99 |
| pt | wikipedia | 1.17 M | 617.13 M | 3.52 B |
|
| 100 |
| pt | wikibooks | 11.74 K | 7.87 M | 49.26 M |
|
| 101 |
| pt | wikinews | 34.54 K | 16.16 M | 91.11 M |
|
|
@@ -113,9 +223,31 @@ language:
|
|
| 113 |
| es (Spanish) | total | 3.06 M | 1.56 B | 9.07 B |
|
| 114 |
| eu (Basque) | total | 511.70 K | 124.81 M | 882.24 M |
|
| 115 |
| fr (French) | total | 9.66 M | 3.07 B | 18.00 B |
|
|
|
|
| 116 |
| it (Italian) | total | 2.75 M | 1.48 B | 8.86 B |
|
| 117 |
| nl (Dutch) | total | 3.16 M | 734.36 M | 4.40 B |
|
| 118 |
| oc (Occitan) | total | 160.15 K | 35.94 M | 202.87 M |
|
| 119 |
-
|
|
| 120 |
| pt (Portuguese) | total | 1.76 M | 710.99 M | 4.06 B |
|
| 121 |
| Total | | 45.16 M | 18.03 B | 107.07 B |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
task_categories:
|
| 4 |
- text-generation
|
| 5 |
+
- fill-mask
|
| 6 |
+
task_ids:
|
| 7 |
+
- language-modeling
|
| 8 |
+
- masked-language-modeling
|
| 9 |
+
configs:
|
| 10 |
+
- config_name: default
|
| 11 |
+
data_files:
|
| 12 |
+
- split: train
|
| 13 |
+
path: '20250320/*parquet/*parquet'
|
| 14 |
+
- config_name: ar
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: '20250320/ar*parquet/*parquet'
|
| 18 |
+
- config_name: br
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: '20250320/br*parquet/*parquet'
|
| 22 |
+
- config_name: ca
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: '20250320/ca*parquet/*parquet'
|
| 26 |
+
- config_name: co
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: '20250320/co*parquet/*parquet'
|
| 30 |
+
- config_name: de
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: '20250320/de*parquet/*parquet'
|
| 34 |
+
- config_name: en
|
| 35 |
+
data_files:
|
| 36 |
+
- split: train
|
| 37 |
+
path: '20250320/en*parquet/*parquet'
|
| 38 |
+
- config_name: es
|
| 39 |
+
data_files:
|
| 40 |
+
- split: train
|
| 41 |
+
path: '20250320/es*parquet/*parquet'
|
| 42 |
+
- config_name: eu
|
| 43 |
+
data_files:
|
| 44 |
+
- split: train
|
| 45 |
+
path: '20250320/eu*parquet/*parquet'
|
| 46 |
+
- config_name: fr
|
| 47 |
+
data_files:
|
| 48 |
+
- split: train
|
| 49 |
+
path: '20250320/fr*parquet/*parquet'
|
| 50 |
+
- config_name: it
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: '20250320/it*parquet/*parquet'
|
| 54 |
+
- config_name: nl
|
| 55 |
+
data_files:
|
| 56 |
+
- split: train
|
| 57 |
+
path: '20250320/nl*parquet/*parquet'
|
| 58 |
+
- config_name: oc
|
| 59 |
+
data_files:
|
| 60 |
+
- split: train
|
| 61 |
+
path: '20250320/oc*parquet/*parquet'
|
| 62 |
+
- config_name: pc
|
| 63 |
+
data_files:
|
| 64 |
+
- split: train
|
| 65 |
+
path: '20250320/pc*parquet/*parquet'
|
| 66 |
+
- config_name: pt
|
| 67 |
+
data_files:
|
| 68 |
+
- split: train
|
| 69 |
+
path: '20250320/pt*parquet/*parquet'
|
| 70 |
language:
|
|
|
|
| 71 |
- ar
|
| 72 |
+
- ba
|
| 73 |
+
- br
|
| 74 |
+
- ca
|
| 75 |
+
- co
|
| 76 |
- en
|
|
|
|
|
|
|
| 77 |
- es
|
|
|
|
|
|
|
| 78 |
- eu
|
| 79 |
+
- fr
|
| 80 |
+
- frp
|
| 81 |
+
- it
|
| 82 |
+
- nl
|
| 83 |
- oc
|
| 84 |
+
- pc
|
| 85 |
+
- pt
|
| 86 |
---
|
| 87 |
|
| 88 |
+
# Dataset Card
|
| 89 |
+
|
| 90 |
+
This dataset is a curated collection of Wikimedia pages in markdown format,
|
| 91 |
+
compiled from various Wikimedia projects across multiple languages.
|
| 92 |
+
|
| 93 |
+
**Covered Wikimedia Projects:**
|
| 94 |
+
* wikipedia
|
| 95 |
+
* wikibooks
|
| 96 |
+
* wikinews
|
| 97 |
+
* wikiquote
|
| 98 |
+
* wikisource
|
| 99 |
+
* wikiversity
|
| 100 |
+
* wikivoyage
|
| 101 |
+
* wiktionary
|
| 102 |
+
|
| 103 |
+
**Supported Languages:**
|
| 104 |
+
* ar (Arabic)
|
| 105 |
+
* br (Breton)
|
| 106 |
+
* ca (Catalan)
|
| 107 |
+
* co (Corsican)
|
| 108 |
+
* de (German)
|
| 109 |
+
* en (English)
|
| 110 |
+
* es (Spanish)
|
| 111 |
+
* eu (Basque)
|
| 112 |
+
* fr (French)
|
| 113 |
+
* frp (Arpitan)
|
| 114 |
+
* it (Italian)
|
| 115 |
+
* nl (Dutch)
|
| 116 |
+
* oc (Occitan)
|
| 117 |
+
* pcd (Picard)
|
| 118 |
+
* pt (Portuguese)
|
| 119 |
+
|
| 120 |
+
## Data Source
|
| 121 |
+
|
| 122 |
+
The content was extracted from the [Wikimedia dumps](https://dumps.wikimedia.org/other/enterprise_html/runs),
|
| 123 |
+
specifically from the dump dated March 20, 2025 (20250320).
|
| 124 |
+
|
| 125 |
+
The extraction process follows the same methodology as the one used in the [OpenLLM-France/wikipedia](https://huggingface.co/datasets/OpenLLM-France/wikipedia).
|
| 126 |
+
|
| 127 |
+
## Dataset Size
|
| 128 |
+
|
| 129 |
+
The tables below provide a detailed overview of the dataset size, organized by language and Wikimedia project.
|
| 130 |
+
|
| 131 |
| language | domain | # pages | # words | # characters |
|
| 132 |
|----------|--------|----------|-----------|-----------|
|
| 133 |
| ar | wikipedia | 1.29 M | 448.80 M | 2.60 B |
|
|
|
|
| 178 |
| eu | wikiquote | 370 | 90.20 K | 654.51 K |
|
| 179 |
| eu | wikisource | 1.24 K | 3.61 M | 26.83 M |
|
| 180 |
| eu | wiktionary | 54.94 K | 3.08 M | 23.94 M |
|
| 181 |
+
| frp | wikipedia | 5.79 K | 873.34 K | 4.97 M |
|
| 182 |
| fr | wikipedia | 2.77 M | 1.89 B | 10.90 B |
|
| 183 |
| fr | wikibooks | 23.74 K | 26.79 M | 161.96 M |
|
| 184 |
| fr | wikinews | 24.26 K | 12.03 M | 63.53 M |
|
|
|
|
| 205 |
| oc | wikipedia | 87.87 K | 30.29 M | 165.44 M |
|
| 206 |
| oc | wikibooks | 67 | 22.36 K | 127.57 K |
|
| 207 |
| oc | wiktionary | 72.21 K | 5.63 M | 37.30 M |
|
| 208 |
+
| pcd | wikipedia | 6.04 K | 1.59 M | 8.92 M |
|
| 209 |
| pt | wikipedia | 1.17 M | 617.13 M | 3.52 B |
|
| 210 |
| pt | wikibooks | 11.74 K | 7.87 M | 49.26 M |
|
| 211 |
| pt | wikinews | 34.54 K | 16.16 M | 91.11 M |
|
|
|
|
| 223 |
| es (Spanish) | total | 3.06 M | 1.56 B | 9.07 B |
|
| 224 |
| eu (Basque) | total | 511.70 K | 124.81 M | 882.24 M |
|
| 225 |
| fr (French) | total | 9.66 M | 3.07 B | 18.00 B |
|
| 226 |
+
| frp (Arpitan) | total | 5.79 K | 873.34 K | 4.97 M |
|
| 227 |
| it (Italian) | total | 2.75 M | 1.48 B | 8.86 B |
|
| 228 |
| nl (Dutch) | total | 3.16 M | 734.36 M | 4.40 B |
|
| 229 |
| oc (Occitan) | total | 160.15 K | 35.94 M | 202.87 M |
|
| 230 |
+
| pcd (Picard) | total | 6.04 K | 1.59 M | 8.92 M |
|
| 231 |
| pt (Portuguese) | total | 1.76 M | 710.99 M | 4.06 B |
|
| 232 |
| Total | | 45.16 M | 18.03 B | 107.07 B |
|
| 233 |
+
|
| 234 |
+
## Example use (python)
|
| 235 |
+
|
| 236 |
+
Load the full dataset:
|
| 237 |
+
|
| 238 |
+
```python
|
| 239 |
+
import datasets
|
| 240 |
+
|
| 241 |
+
ds = datasets.load_dataset("OpenLLM-France/wikimedia",
|
| 242 |
+
streaming=True,
|
| 243 |
+
split="train"
|
| 244 |
+
)
|
| 245 |
+
```
|
| 246 |
+
|
| 247 |
+
Load the dataset for a given language (French in this example):
|
| 248 |
+
```python
|
| 249 |
+
ds = datasets.load_dataset("OpenLLM-France/wikimedia", "fr",
|
| 250 |
+
streaming=True,
|
| 251 |
+
split="train"
|
| 252 |
+
)
|
| 253 |
+
```
|