ltgoslo commited on
Commit
40f4027
·
verified ·
1 Parent(s): da77904

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +305 -3
README.md CHANGED
@@ -1,3 +1,305 @@
1
- ---
2
- license: cc0-1.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ size_categories:
4
+ - n>1T
5
+ multilinguality:
6
+ - multilingual
7
+ task_categories:
8
+ - fill-mask
9
+ - text-generation
10
+ task_ids:
11
+ - language-modeling
12
+ language:
13
+ - ace
14
+ - aeb
15
+ - afr
16
+ - als
17
+ - amh
18
+ - apc
19
+ - ara
20
+ - arb
21
+ - ars
22
+ - ary
23
+ - arz
24
+ - asm
25
+ - ast
26
+ - awa
27
+ - ayr
28
+ - azb
29
+ - azj
30
+ - bak
31
+ - bam
32
+ - ban
33
+ - bel
34
+ - bem
35
+ - ben
36
+ - bho
37
+ - bjn
38
+ - bod
39
+ - bos
40
+ - bug
41
+ - bul
42
+ - cat
43
+ - ceb
44
+ - ces
45
+ - cjk
46
+ - ckb
47
+ - cmn
48
+ - crh
49
+ - cym
50
+ - dan
51
+ - deu
52
+ - dik
53
+ - dyu
54
+ - dzo
55
+ - ekk
56
+ - ell
57
+ - eng
58
+ - epo
59
+ - est
60
+ - eus
61
+ - ewe
62
+ - fao
63
+ - fij
64
+ - fil
65
+ - fin
66
+ - fon
67
+ - fra
68
+ - fur
69
+ - fuv
70
+ - gaz
71
+ - gla
72
+ - gle
73
+ - glg
74
+ - grn
75
+ - gug
76
+ - guj
77
+ - hat
78
+ - hau
79
+ - heb
80
+ - hin
81
+ - hne
82
+ - hrv
83
+ - hun
84
+ - hye
85
+ - ibo
86
+ - ilo
87
+ - ind
88
+ - isl
89
+ - ita
90
+ - jav
91
+ - jpn
92
+ - kab
93
+ - kac
94
+ - kam
95
+ - kan
96
+ - kas
97
+ - kat
98
+ - kaz
99
+ - kbp
100
+ - kea
101
+ - khk
102
+ - khm
103
+ - kik
104
+ - kin
105
+ - kir
106
+ - kmb
107
+ - kmr
108
+ - knc
109
+ - kon
110
+ - kor
111
+ - ktu
112
+ - lao
113
+ - lij
114
+ - lim
115
+ - lin
116
+ - lit
117
+ - lmo
118
+ - ltg
119
+ - ltz
120
+ - lua
121
+ - lug
122
+ - luo
123
+ - lus
124
+ - lvs
125
+ - mag
126
+ - mai
127
+ - mal
128
+ - mar
129
+ - min
130
+ - mkd
131
+ - mlt
132
+ - mni
133
+ - mos
134
+ - mri
135
+ - mya
136
+ - nld
137
+ - nno
138
+ - nob
139
+ - npi
140
+ - nso
141
+ - nus
142
+ - nya
143
+ - oci
144
+ - ory
145
+ - pag
146
+ - pan
147
+ - pap
148
+ - pbt
149
+ - pes
150
+ - plt
151
+ - pol
152
+ - por
153
+ - prs
154
+ - quy
155
+ - ron
156
+ - run
157
+ - rus
158
+ - sag
159
+ - san
160
+ - sat
161
+ - scn
162
+ - shn
163
+ - sin
164
+ - slk
165
+ - slv
166
+ - smo
167
+ - sna
168
+ - snd
169
+ - som
170
+ - sot
171
+ - spa
172
+ - srd
173
+ - srp
174
+ - ssw
175
+ - sun
176
+ - swe
177
+ - swh
178
+ - szl
179
+ - tam
180
+ - taq
181
+ - tat
182
+ - tel
183
+ - tgk
184
+ - tgl
185
+ - tha
186
+ - tir
187
+ - tpi
188
+ - tsn
189
+ - tso
190
+ - tuk
191
+ - tum
192
+ - tur
193
+ - twi
194
+ - tzm
195
+ - uig
196
+ - ukr
197
+ - umb
198
+ - urd
199
+ - uzn
200
+ - vec
201
+ - vie
202
+ - war
203
+ - wol
204
+ - xho
205
+ - ydd
206
+ - yor
207
+ - yue
208
+ - zgh
209
+ - zho
210
+ - zsm
211
+ - zul
212
+ tags:
213
+ - web-crawled
214
+ ---
215
+
216
+ <img align="right" src="HPLT-Logo-dark.png" alt="HPLT" title="HPLT">
217
+
218
+ This is a large-scale collection of web-crawled documents in 198 world languages, produced by the [HPLT project](https://hplt-project.org/).
219
+ The source of the data is [Internet Archive](https://archive.org/) and [Common Crawl](https://commoncrawl.org/). For a detailed description of this and previous releases by HPLT, please refer to [our website](https://hplt-project.org/datasets/v3.0).
220
+
221
+ ## HPLT release v3.0
222
+ In July 2025, the European HPLT initiative has completed a new release of its monolingual datasets, offering better data quality, more annotations and metadata, and greatly increased volume.
223
+ HPLT Monolingual Datasets 3.0 comprise some 50 terabytes of compressed data, covering 198 languages.
224
+ More than half of the data represents the English language.
225
+ Not counting the English majority portion, the dataset offers about 11.5 billion documents, 40 trillion Unicode characters, or 13.5 trillion tokens (using the [Gemma 3 vocabulary](https://gemma-llm.readthedocs.io/en/latest/colab_tokenizer.html)).
226
+ Overall, HPLT 3.0 is about three times larger than the previous release and likely constitutes the largest generally available multilingual dataset.
227
+
228
+ The dataset has been derived from some 7.2 petabytes of raw web crawls from the [Internet Archive](https://archive.org/) and the [Common Crawl](https://commoncrawl.org/), spanning the period between 2012 and 2024.
229
+ Text extraction from HTML documents was performed through the [Trafilatura](https://trafilatura.readthedocs.io/en/latest/) library, language identification with [OpenLID 2.0](https://huggingface.co/datasets/laurievb/OpenLID-v2), and deduplication, annotation, and filtering through the [Monotextor pipeline](https://github.com/hplt-project/monotextor-slurm).
230
+
231
+ Except quality and size, other distinguishing properties of the HPLT Monolingual Dataset is its sorting by a [language-independent estimate of document quality](https://github.com/pablop16n/web-docs-scorer) and the rich annotations and metadata, including [web register labels](https://github.com/TurkuNLP/register-annotation-docs/) (for 104 of the languages in release 3.0), document- and segment-level language identification, annotation of personally identifiable information, and provenance information from the original crawl.
232
+ Release 3.0 also fixes a deficiency in the Chinese data in the previous release, where double-width punctuation had been over-zealously normalized.
233
+
234
+ Except for Chinese, English, and Russian, each language-specific portion has been globally deduplicated.
235
+
236
+ Data processing was performed on dedicated storage and compute resources at the Czech and Norwegian national HPC infrastructures [CESNET](https://www.cesnet.cz/en) and [Sigma2 NRIS](https://www.sigma2.no/), as well as on the EuroHPC [LUMI](https://www.lumi-supercomputer.eu/) system.
237
+ The HPLT download site is hosted at the Sigma2 NIRD datalake.
238
+
239
+ ## Downloading HPLT v3.0
240
+
241
+ For each language, the data is organized in smaller shards, sorted by document quality estimates (WDS).
242
+ For Russian (in Cyrillic script), for example, the file `rus_Cyrl/10_1.jsonl.zst` is the first (and only) shard in the top WDS bin (scored as exactly 10`), and `rus_Cyrl/9_1.jsonl.zst` … `rus_Cyrl/9_103.jsonl.zst` are the 103 shards in the bin for scores greater or equal to WDS `9` and less than `10`.
243
+
244
+ The easiest way to download the data for a specific language is to use a command like `wget -i` with a language-specific mapping file containing full download addresses for all shards of this particular language, for example (for Crimean Tatar in Latin script):
245
+
246
+ ```
247
+ wget -O - https://data.hplt-project.org/three/sorted/crh_Latn.map | wget -x -nH --cut-dirs=2 -i -
248
+ ```
249
+ The above command retrieves the map for `chr_Latn` and feeds it as a list of download addresses into a second `wget` invocation, requesting the creation of local directories `(-x)`, but cutting off the host and first two directory components (`-nH --cut-dirs=2`).
250
+
251
+ To download _all available data_, there is a larger mapping file for the full multilingual (excluding English) portion, amounting to a download of around 20 terabytes.
252
+ The complete English data comprises some 30 terabytes and can be downloaded using its per-language mapping file.
253
+ These can be retrieved using e.g. `wget`, and used as input directives for larger downloads, much like in the example above:
254
+
255
+ ```
256
+ wget https://data.hplt-project.org/three/sorted/multilingual.map
257
+
258
+ wget https://data.hplt-project.org/three/sorted/eng_Latn.map
259
+ ```
260
+
261
+ To speed up large downloads, it can be beneficial to use multiple parallel connections, for example using the `--max-threads` option in `wget`.
262
+ We recommend to limit download parallelization to 16–32 threads, to avoid server-side rate limitations, which should allow download rates of around 250 gigabytes per hour.
263
+
264
+ ## New in this release compared to HPLT v2
265
+ - Reflects substantially more raw web data, primarily from the Common Crawl
266
+ - Additional metadata, including more information from the underlying crawl
267
+ - Upgrade to Trafilatura 2.0 with empirical fine-tuning of extraction parameters
268
+ - Plain-text and structured document representation, in simple, normalized XML
269
+ - Better language identification; refined codes for Arabic and Chinese
270
+ - Global deduplication for most languages; MinHash cluster size as metadata
271
+ - Annotation with Turku web register labels for more than half the languages
272
+ - Upgrade to newer, improved Web Docs Scorer (WDS) document quality estimates
273
+ - Global sorting within each language by WDS and sharding into WDS bins (10–5)
274
+ - Improved filtering for `robots.txt` opt-out, adult content, and credentials
275
+ - Improved deduplication pipeline (global deduplication for most languages)
276
+
277
+ ## Statistics & validation
278
+
279
+ Summary statistics per language are available for download as a structured [manifest.json](https://data.hplt-project.org/three/sorted/manifest.json), also including download links for the individual data files, per-language maps, and sample documents from various quality bins.
280
+ Additionally, each language subdirectory provides compressed lists of unique domains, full URLs, and what are called normalized document signatures, together with their frequencies of occurence, for example [nob_Latn/.domains.zst](https://data.hplt-project.org/three/sorted/nob_Latn/.domains.zst), [nob_Latn/.urls.zst](https://data.hplt-project.org/three/sorted/nob_Latn/.urls.zst), and [nob_Latn/.signatures.zst](https://data.hplt-project.org/three/sorted/nob_Latn/.signatures.zst) for Norwegian Bokmål.
281
+
282
+ The counts of documents per language or total storage sizes in the above statistics could be used to approximately validate each language sub-directory, but for more thorough validation of individual data files or full downloads, MD5 checksum files are provided with naming conventions parallel to the data and per-language map files.
283
+ For example: [nob_Latn/.10_1.jsonl.md5](https://data.hplt-project.org/three/sorted/nob_Latn/.10_1.jsonl.md5) for the first data file in Norwegian Bokmål, and [nob_Latn.md5](https://data.hplt-project.org/three/sorted/nob_Latn.md5) for its full set of data files.
284
+
285
+ ## License and takedown
286
+ ### License
287
+
288
+ These data are released under this licensing scheme:
289
+ - We do not own any of the text from which these text data has been extracted.*
290
+ - We license the actual packaging of these text data under the [Creative Commons CC0 license ("no rights reserved")](https://creativecommons.org/share-your-work/public-domain/cc0/).
291
+
292
+ ### Notice and take down policy
293
+
294
+ Notice: Should you consider that our data contains material that is owned by you and should therefore not be reproduced here, please:
295
+ - Clearly identify yourself, with detailed contact data such as an address, telephone number or email address at which you can be contacted.
296
+ - Clearly identify the copyrighted work claimed to be infringed.
297
+ - Clearly identify the material that is claimed to be infringing and information reasonably sufficient to allow us to locate the material.
298
+ - You can reach us at [[email protected]](mailto:[email protected])
299
+
300
+ Take down: We will comply to legitimate requests by removing the affected sources from the next release of the corpora.
301
+
302
+ * _It is your responsibility that any use of the data complies with any applicable legal framework, such as, among others, the EU Copyright Directive 2019/790 and the General Data Protection Regulation 2018, as amended._
303
+
304
+ ## Funding
305
+ _This project has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement No 101070350 and from UK Research and Innovation (UKRI) under the UK government’s Horizon Europe funding guarantee (grant number 10052546)_