File size: 4,285 Bytes
64f799e e57af94 64f799e e57af94 cd9e14f e57af94 cd9e14f e57af94 266b007 e57af94 266b007 e57af94 a389b6c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
---
license: cc0-1.0
task_categories:
- text-generation
language:
- af
- ar
- az
- be
- bg
- bn
- ca
- cs
- cy
- da
- de
- el
- en
- eo
- es
- et
- eu
- fa
- fi
- fr
- ga
- gl
- gu
- hbs
- he
- hi
- hu
- hy
- id
- is
- it
- ja
- ka
- kk
- kn
- ko
- ky
- la
- lt
- lv
- mk
- ml
- mn
- mr
- ms
- mt
- my
- nb
- ne
- nl
- nn
- pa
- pl
- ps
- pt
- ro
- ru
- si
- sk
- sl
- so
- sq
- sv
- sw
- ta
- te
- th
- tl
- tr
- tt
- uk
- ur
- uz
- vi
- zh
pretty_name: HPLT Monolingual Release v1.2
size_categories:
- n>1T
---
# HPLT Monolingual Release v1.2
This repository contains the means to access the datasets created by the [HPLT project](https://hplt-project.org/datasets/v1.2). These large-scale web-crawled corpora based on CommonCrawl and the Internet Archive are accessible in 75 languages. The full dump is available as well as deduplicated and further cleaned versions depending on the config that you use (see the usage example below).
## Prerequisites
HPLT compresses their files with `zst` so to use this library you need to make sure that `zstandard` is installed:
```shell
pip install zstandard
```
## Usage
You can download either the full portion of the data (e.g. `nl`), its deduplicated set (`nl_deduplicated`), or the fully cleaned set (`nl_cleaned`).
You'll soon need to use `trust_remote_code=True` to download this dataset. This is required so that downloading the dataset can be done directly from HPLT.
```python
from datasets import load_dataset
ds = load_dataset(
"HPLT/hplt_monolingual_v1_2",
"ky",
# or "ky_deduplicated",
# or "ky_cleaned",
trust_remote_code=True
)
```
## Supported languages
```python
{
"af": "Afrikaans",
"ar": "Arabic",
"az": "Azerbaijani",
"be": "Belarusian",
"bg": "Bulgarian",
"bn": "Bangla",
"ca": "Catalan",
"cs": "Czech",
"cy": "Welsh",
"da": "Danish",
"de": "German",
"el": "Greek",
"en": "English",
"eo": "Esperanto",
"es": "Spanish",
"et": "Estonian",
"eu": "Basque",
"fa": "Persian",
"fi": "Finnish",
"fr": "French",
"ga": "Irish",
"gl": "Galician",
"gu": "Gujarati",
"hbs": "Serbo-Croatian",
"he": "Hebrew",
"hi": "Hindi",
"hu": "Hungarian",
"hy": "Armenian",
"id": "Indonesian",
"is": "Icelandic",
"it": "Italian",
"ja": "Japanese",
"ka": "Georgian",
"kk": "Kazakh",
"kn": "Kannada",
"ko": "Korean",
"ky": "Kyrgyz",
"la": "Latin",
"lt": "Lithuanian",
"lv": "Latvian",
"mk": "Macedonian",
"ml": "Malayalam",
"mn": "Mongolian",
"mr": "Marathi",
"ms": "Malay",
"mt": "Maltese",
"my": "Burmese",
"nb": "Norwegian Bokmål",
"ne": "Nepali",
"nl": "Dutch",
"nn": "Norwegian Nynorsk",
"pa": "Punjabi",
"pl": "Polish",
"ps": "Pashto",
"pt": "Portuguese",
"ro": "Romanian",
"ru": "Russian",
"si": "Sinhala",
"sk": "Slovak",
"sl": "Slovenian",
"so": "Somali",
"sq": "Albanian",
"sv": "Swedish",
"sw": "Swahili",
"ta": "Tamil",
"te": "Telugu",
"th": "Thai",
"tl": "Filipino",
"tr": "Turkish",
"tt": "Tatar",
"uk": "Ukrainian",
"ur": "Urdu",
"uz": "Uzbek",
"vi": "Vietnamese",
"zh": "Chinese"
}
```
## Fields
- `id`: Document ID
- `document_lang`: Document language identified by CLD2 during the WARC extraction process.
- `scores`: Fluency scores for each paragraph in the document.
- `langs`: Language with highest detected probability for each paragraph in the document.
- `text`: The document's text (a concatenation of newline-separated paragraphs).
- `url`: Document URL.
- `collection`: Collection name.
## Data removal
Found data that you would like removed in the next release? Contact [the data creators](mailto:[email protected]).
## License
HPLT [states](https://hplt-project.org/datasets/v1.2) the following:
> These data are released under this licensing scheme:
> - We do not own any of the text from which these text data has been extracted.
> - We license the actual packaging of these text data under the Creative Commons CC0 license ("no rights reserved").
## Acknowledgements
Initial transfer to the Hugging Face hub by [Bram Vanroy](https://huggingface.co/BramVanroy). |