BramVanroy commited on
Commit
e57af94
1 Parent(s): 6430350

Update README.md

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