The dataset viewer is not available for this dataset.
Error code: ConfigNamesError
Exception: RuntimeError
Message: Dataset scripts are no longer supported, but found hplt_monolingual_v1_2.py
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
config_names = get_dataset_config_names(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1217, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1177, in dataset_module_factory
raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
RuntimeError: Dataset scripts are no longer supported, but found hplt_monolingual_v1_2.pyNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
HPLT Monolingual Release v1.2
This repository contains the means to access the datasets created by the HPLT project. 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:
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.
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
{
"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 IDdocument_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.
Terms of Use
HPLT states the following:
These data are released under these Terms of Use:
- 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.
- Downloads last month
- 47