Datasets:
Tasks:
Text Generation
Formats:
parquet
Sub-tasks:
language-modeling
Languages:
Danish
Size:
1M - 10M
License:
pretty_name: Lex.dk Open | |
language: | |
- da | |
license: other | |
license_name: disputed CC-BY-SA 4.0 | |
task_categories: | |
- text-generation | |
- fill-mask | |
task_ids: | |
- language-modeling | |
source_datasets: | |
- alexandrainst/lexdk-open | |
domains: | |
- Encyclopedic | |
# Dataset Card for Lex.dk Open | |
<!-- START-SHORT DESCRIPTION --> | |
Articles from [lex.dk](https://lex.dk). | |
<!-- END-SHORT DESCRIPTION --> | |
**NOTE:** This dataset been taken down due to concerns about licensing. See [license information](#license-information). | |
Lex.dk is a Danish online encyclopedia platform providing access to reliable and authoritative knowledge on a wide range of topics. It is created and curated by experts, ensuring high-quality, accurate content. The platform serves as a central hub for general and specialized information in Danish, making it a valuable resource for education, research, and general learning. | |
## Dataset Description | |
<!-- START-DESC-STATS --> | |
- **Language**: dan, dansk, Danish | |
- **Number of samples**: 11.89K | |
- **Number of tokens (Llama 3)**: 5.69M | |
- **Average document length (characters)**: 1405.64 | |
<!-- END-DESC-STATS --> | |
## Dataset Structure | |
An example from the dataset looks as follows. | |
<!-- START-SAMPLE --> | |
```py | |
{ | |
"text": "Oluf Høst Museet\n\npubliceret: 2014-04-23 03:42:33+02:00\nOluf Høst Museet, kunstmuseum i Gudhjem, Bor[...]", | |
"source": "lexdk", | |
"id": "https://denstoredanske.lex.dk/Oluf_H%C3%B8st_Museet", | |
"added": "2025-01-04", | |
"created": "2014-04-23, 2014-04-23", | |
"license": "cc-by-sa-4.0", | |
"metadata": { | |
"source-pretty": "Lex.dk" | |
} | |
} | |
``` | |
### Data Fields | |
An entry in the dataset consists of the following fields: | |
- `text`(`str`): The content of the document. | |
- `source` (`str`): The source of the document (see [Source Data](#source-data)). | |
- `id` (`str`): An unique identifier for each document. | |
- `added` (`str`): An date for when the document was added to this collection. | |
- `created` (`str`): An date range for when the document was originally created. | |
- `license` (`str`): The license of the document. The licenses vary according to the source. | |
- `domain` (`str`): The domain of the source | |
- `metadata/source-pretty` (`str`): The long form version of the short-form source name | |
- `metadata/*`: Potentially additional metadata | |
<!-- END-SAMPLE --> | |
### Dataset Statistics | |
<!-- START-DATASET PLOTS --> | |
<img src="./images/dist_document_length.png" width="600" style="margin-right: 10px;" /> | |
<img> | |
<!-- END-DATASET PLOTS --> | |
## License Information | |
The articles here are derived from lex.dk and only include articles with a CC-BY-SA 4.0 licens as defined in the articles. | |
See [this article](https://lex.dk/Oluf_Høst_Museet) for an example. However we recently discovered the following subsection in their [licensing](https://lex.dk/.licenses/free): | |
> Licensen gælder for de enkelte artikeltekster. Du finder information om licens i bunden af alle artikler på lex.dk. Licensen gælder ikke for hele værker, som fx Den Store Danske Encyklopædi eller Trap Danmark. **Du må altså ikke downloade og genbruge alle artikler med fri licens, fordi dette vil være en gengivelse af en stor del af et værk.** | |
We are currently examining to what extent it is possible to share this work and until further clarification have chosen to take it down. | |
## Additional Information | |
### Citation Information | |
This dataset is derived from the publicly availabe dataset [alexandrainst/lexdk-open](https://huggingface.co/datasets/alexandrainst/lexdk-open). |