Jeronymous commited on
Commit
7ef1927
·
1 Parent(s): 3ac7968

initial commit

Browse files
20231220/train-000000-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2fdb7abfa3fae97d94e0670ed4606b943ceeeab74d668ab1f2c877eb997214b
3
+ size 32850743
20231220/train-000001-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae7494d125380d87931e67ae73c2b87cd8ee95dfaa9916a5e6a7c48c32144240
3
+ size 29931642
20231220/train-000002-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8caf1214d2b3f8019b64ae155228885a6599778df99d26919f36bcc283039ec
3
+ size 30711503
20231220/train-000003-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6b5dafa91aaefcfadd45b54ca502445af34f517ccf1c2240b87c2de65a81233
3
+ size 36351584
20231220/train-000004-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55f1979bbfc585a4402e2e3c36c5cddadc7746de433d40b7789edd383614ff23
3
+ size 31438062
20231220/train-000005-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa7c4d8d73b5295c9e010725d7bd660eb2358626f36967ace180c4709ee1a2f
3
+ size 28958890
20231220/train-000006-of-000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b117356b2bf207597e35f5590a59631e0c19782752919b4543f1789a8661bf34
3
+ size 2698820
README.md ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - fr
4
+ license:
5
+ - cc-by-sa-4.0
6
+ task_categories:
7
+ - text-generation
8
+ - fill-mask
9
+ task_ids:
10
+ - language-modeling
11
+ - masked-language-modeling
12
+ configs:
13
+ - config_name: default
14
+ data_files:
15
+ - split: train
16
+ path: 20231220/*
17
+ - config_name: "20231220"
18
+ data_files:
19
+ - split: train
20
+ path: 20231220/*
21
+ - config_name: "20231220.1"
22
+ data_files:
23
+ - split: train
24
+ path: 20231220/train-000000-of-000007.parquet
25
+ - config_name: "20231220.2"
26
+ data_files:
27
+ - split: train
28
+ path: 20231220/train-000001-of-000007.parquet
29
+ - config_name: "20231220.3"
30
+ data_files:
31
+ - split: train
32
+ path: 20231220/train-000002-of-000007.parquet
33
+ - config_name: "20231220.4"
34
+ data_files:
35
+ - split: train
36
+ path: 20231220/train-000003-of-000007.parquet
37
+ - config_name: "20231220.5"
38
+ data_files:
39
+ - split: train
40
+ path: 20231220/train-000004-of-000007.parquet
41
+ - config_name: "20231220.6"
42
+ data_files:
43
+ - split: train
44
+ path: 20231220/train-000005-of-000007.parquet
45
+ - config_name: "20231220.7"
46
+ data_files:
47
+ - split: train
48
+ path: 20231220/train-000006-of-000007.parquet
49
+ dataset_info:
50
+ - config_name: default
51
+ features:
52
+ - name: id
53
+ dtype: int32
54
+ - name: url
55
+ dtype: string
56
+ - name: title
57
+ dtype: string
58
+ - name: text
59
+ dtype: string
60
+ splits:
61
+ - name: train
62
+ num_bytes: 442573568
63
+ num_examples: 650087
64
+ download_size: 192941244
65
+ dataset_size: 442573568
66
+ - config_name: "20231220"
67
+ features:
68
+ - name: id
69
+ dtype: int32
70
+ - name: url
71
+ dtype: string
72
+ - name: title
73
+ dtype: string
74
+ - name: text
75
+ dtype: string
76
+ splits:
77
+ - name: train
78
+ num_bytes: 442573568
79
+ num_examples: 650087
80
+ download_size: 192941244
81
+ dataset_size: 442573568
82
+ - config_name: "20231220.1"
83
+ features:
84
+ - name: id
85
+ dtype: int32
86
+ - name: url
87
+ dtype: string
88
+ - name: title
89
+ dtype: string
90
+ - name: text
91
+ dtype: string
92
+ splits:
93
+ - name: train
94
+ num_bytes: 68635508
95
+ num_examples: 91996
96
+ download_size: 32850743
97
+ dataset_size: 68635508
98
+ - config_name: "20231220.2"
99
+ features:
100
+ - name: id
101
+ dtype: int32
102
+ - name: url
103
+ dtype: string
104
+ - name: title
105
+ dtype: string
106
+ - name: text
107
+ dtype: string
108
+ splits:
109
+ - name: train
110
+ num_bytes: 70148053
111
+ num_examples: 118924
112
+ download_size: 29931642
113
+ dataset_size: 70148053
114
+ - config_name: "20231220.3"
115
+ features:
116
+ - name: id
117
+ dtype: int32
118
+ - name: url
119
+ dtype: string
120
+ - name: title
121
+ dtype: string
122
+ - name: text
123
+ dtype: string
124
+ splits:
125
+ - name: train
126
+ num_bytes: 73099864
127
+ num_examples: 119995
128
+ download_size: 30711503
129
+ dataset_size: 73099864
130
+ - config_name: "20231220.4"
131
+ features:
132
+ - name: id
133
+ dtype: int32
134
+ - name: url
135
+ dtype: string
136
+ - name: title
137
+ dtype: string
138
+ - name: text
139
+ dtype: string
140
+ splits:
141
+ - name: train
142
+ num_bytes: 80580684
143
+ num_examples: 110066
144
+ download_size: 36351584
145
+ dataset_size: 80580684
146
+ - config_name: "20231220.5"
147
+ features:
148
+ - name: id
149
+ dtype: int32
150
+ - name: url
151
+ dtype: string
152
+ - name: title
153
+ dtype: string
154
+ - name: text
155
+ dtype: string
156
+ splits:
157
+ - name: train
158
+ num_bytes: 74534373
159
+ num_examples: 102588
160
+ download_size: 31438062
161
+ dataset_size: 74534373
162
+ - config_name: "20231220.6"
163
+ features:
164
+ - name: id
165
+ dtype: int32
166
+ - name: url
167
+ dtype: string
168
+ - name: title
169
+ dtype: string
170
+ - name: text
171
+ dtype: string
172
+ splits:
173
+ - name: train
174
+ num_bytes: 69491254
175
+ num_examples: 98966
176
+ download_size: 28958890
177
+ dataset_size: 69491254
178
+ - config_name: "20231220.7"
179
+ features:
180
+ - name: id
181
+ dtype: int32
182
+ - name: url
183
+ dtype: string
184
+ - name: title
185
+ dtype: string
186
+ - name: text
187
+ dtype: string
188
+ splits:
189
+ - name: train
190
+ num_bytes: 6083832
191
+ num_examples: 7552
192
+ download_size: 2698820
193
+ dataset_size: 6083832
194
+ ---
195
+
196
+ # Plain text of French Wiktionary
197
+
198
+ This dataset was created by [OpenLLM France](https://openllmfrance.org/) from the [Wikimedia dumps](https://dumps.wikimedia.org/other/enterprise_html/runs).
199
+
200
+ It is a plain text version of pages from [fr.wiktionary.org/wiki](https://fr.wiktionary.org/wiki)
201
+ without HTML tags nor wiki templates.
202
+ The text just includes markdown syntax for headers, lists and tables.
203
+ See [Notes on data formatting](#notes-on-data-formatting) for more details.
204
+
205
+ * [Statistics](#statistics)
206
+ * [Example use (python)](#example-use-python)
207
+ * [Data fields](#data-fields)
208
+ * [Notes on data formatting](#notes-on-data-formatting)
209
+ * [License](#license)
210
+ * [Aknowledgements](#aknowledgements)
211
+ * [Citation](#citation)
212
+
213
+
214
+ ## Statistics
215
+
216
+ The amount of data for the latest dump (20231220) is:
217
+ | **Unit** | **Size** |
218
+ | :---------------|--------: |
219
+ | # documents | 650 087 |
220
+ | # paragraphs | 3 410 374 |
221
+ | # lines | 10 702 057 |
222
+ | # words | 58 557 039 |
223
+ | # characters | 372 042 066 |
224
+ | size in memory | 422.1 MB |
225
+ | size on disk | 184.0 MB |
226
+
227
+ ## Example use (python)
228
+
229
+ Load the full dataset:
230
+
231
+ ```python
232
+ import datasets
233
+
234
+ ds = datasets.load_dataset("OpenLLM-France/wiktionary.fr")
235
+ ```
236
+
237
+ Load only a small subset:
238
+ ```python
239
+ import datasets
240
+
241
+ i = 1 # Can be a number between 1 and 128
242
+ subset = f"20231220.{i}"
243
+
244
+ ds = datasets.load_dataset("OpenLLM-France/wiktionary.fr", subset)
245
+ ```
246
+
247
+ ## Data fields
248
+
249
+ The data fields are the same among all configurations:
250
+ - `id` (int): ID of the article.
251
+ - `url` (`str`): URL of the article.
252
+ - `title` (`str`): Title of the article.
253
+ - `text` (`str`): Text content of the article.
254
+
255
+ For example:
256
+ ```
257
+ {'id': 847027,
258
+ 'url': 'https://fr.wiktionary.org/wiki/D%C3%A9partement_de_Rinconada',
259
+ 'title': 'Département de Rinconada',
260
+ 'text': "# Département de Rinconada\n\nLe département de Rinconada est une des 16 subdivisions de la province de Jujuy, en Argentine. Son chef-lieu est la ville de Rinconada.\nLe département a une superficie de 6 407 km². Sa population extrêmement clairsemée s'élevait à 2 298 habitants en 2001, soit une densité de 0,3 hab./km².\n\n# Département de Rinconada\n## Localités\n\nOutre le chef-lieu d'arrondissement, Rinconada, il faut citer :\n* Mina Pirquitas, localité la plus élevée d'Argentine (4 271 mètres d'altitude).\nC'est sur le territoire de ce département qu'est situé le site Ramsar des Lagunas de Vilama."
261
+ }
262
+ ```
263
+
264
+ ## Notes on data formatting
265
+
266
+ see [OpenLLM-France/wikipedia.fr](https://huggingface.co/datasets/OpenLLM-France/wikipedia.fr)
267
+
268
+ ## License
269
+
270
+ This dataset is distributed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
271
+
272
+ ## Aknowledgements
273
+
274
+ This dataset was created by [Jérôme Louradour](https://huggingface.co/Jeronymous) on behalf of [OpenLLM France](https://openllmfrance.org/).
275
+
276
+ Many thanks to the [Wikimedia Foundation](https://wikimediafoundation.org/)
277
+ for providing the data and useful advices,
278
+ in particular Isaac Johnson, Albert Villanova and Rémy Gerbet.
279
+
280
+ ## Citation
281
+
282
+ ```
283
+ @online{wikipedia_fr_dump,
284
+ author = "OpenLLM France",
285
+ title = "Plain text of French Wiktionary",
286
+ url = "https://huggingface.co/datasets/OpenLLM-France/wiktionary.fr"
287
+ }
288
+ ```
289
+