KennethEnevoldsen commited on
Commit
38b692a
1 Parent(s): a3c400c

Added automatically updated samples to update_descriptive_stats.py

Browse files
Files changed (47) hide show
  1. README.md +40 -17
  2. data/adl/adl.md +32 -2
  3. data/adl/descriptive_stats.json +1 -1
  4. data/botxt/botxt.md +32 -2
  5. data/botxt/descriptive_stats.json +1 -1
  6. data/dannet/dannet.md +32 -2
  7. data/dannet/descriptive_stats.json +1 -1
  8. data/depbank/depbank.md +32 -2
  9. data/depbank/descriptive_stats.json +1 -1
  10. data/ep/descriptive_stats.json +1 -1
  11. data/ep/ep.md +32 -2
  12. data/ft/descriptive_stats.json +1 -1
  13. data/ft/ft.md +32 -2
  14. data/gutenberg/descriptive_stats.json +1 -1
  15. data/gutenberg/gutenberg.md +32 -2
  16. data/hest/descriptive_stats.json +1 -1
  17. data/hest/hest.md +32 -2
  18. data/jvj/descriptive_stats.json +1 -1
  19. data/jvj/jvj.md +32 -2
  20. data/naat/descriptive_stats.json +1 -1
  21. data/naat/naat.md +32 -2
  22. data/nordjyllandnews/descriptive_stats.json +1 -1
  23. data/nordjyllandnews/nordjyllandnews.md +32 -2
  24. data/opensubtitles/descriptive_stats.json +1 -1
  25. data/opensubtitles/opensubtitles.md +66 -0
  26. data/relig/descriptive_stats.json +1 -1
  27. data/relig/relig.md +33 -3
  28. data/retsinformationdk/descriptive_stats.json +1 -1
  29. data/retsinformationdk/retsinformationdk.md +32 -2
  30. data/retspraksis/descriptive_stats.json +1 -1
  31. data/retspraksis/retspraksis.md +32 -2
  32. data/skat/descriptive_stats.json +1 -1
  33. data/skat/skat.md +32 -2
  34. data/spont/descriptive_stats.json +1 -1
  35. data/spont/spont.md +32 -2
  36. data/synne/descriptive_stats.json +1 -1
  37. data/synne/synne.md +32 -2
  38. data/tv2r/descriptive_stats.json +1 -1
  39. data/tv2r/tv2r.md +32 -2
  40. data/wiki/descriptive_stats.json +1 -1
  41. data/wiki/wiki.md +32 -2
  42. data/wikibooks/descriptive_stats.json +1 -1
  43. data/wikibooks/wikibooks.md +32 -2
  44. data/wikisource/descriptive_stats.json +1 -1
  45. data/wikisource/wikisource.md +32 -2
  46. descriptive_stats.json +1 -1
  47. src/update_descriptive_statistics.py +43 -5
README.md CHANGED
@@ -138,7 +138,6 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md -->
138
  - [Languages:](#languages)
139
  - [Dataset Structure](#dataset-structure)
140
  - [Data Instances](#data-instances)
141
- - [Data Fields](#data-fields)
142
  - [Data Splits](#data-splits)
143
  - [Dataset Creation](#dataset-creation)
144
  - [Curation Rationale](#curation-rationale)
@@ -152,15 +151,15 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md -->
152
 
153
  ## Dataset Description
154
 
155
- <!-- START-DESC-STATS -->
156
 
 
157
  - **Language**: dan, dansk, Danish
158
- - **Number of samples**: 546.77K
159
- - **Number of tokens (Llama 3)**: 1.57B
160
- - **Average document length (characters)**: 8461.25
161
-
162
  <!-- END-DESC-STATS -->
163
 
 
164
  ### Dataset Summary
165
 
166
  The Danish dynaword is a continually developed collection of Danish free-form text datasets from various domains. It is intended to be continually updated with new data sources. If you would like to contribute a dataset see the [contribute section](#contributing-to-the-dataset)
@@ -213,20 +212,20 @@ The dataset contains text from different sources which are thoroughly defined in
213
  Each entry in the dataset consists of a single text with associated metadata
214
 
215
 
216
- <!-- START-SAMPLE -->
217
- <!-- END-SAMPLE -->
218
-
219
 
 
220
  ```py
221
  {
222
- "text": "SAMLEDE VÆRKER\n\nJEPPE AAKJÆR GYLDENDALSKE BOGHANDEL...",
223
- "source": "adl",
224
- "id": "adl_aakjaer06val",
225
- "added": "2020-09-14",
226
- "created": "1700-01-01, 2022-01-01",
227
- "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
228
- "domain": "Wiki & Books",
229
- "metadata": {"source-pretty": "Archive for Danish Literature"},
 
 
230
  }
231
  ```
232
 
@@ -243,6 +242,8 @@ An entry in the dataset consists of the following fields:
243
  - `domain` (`str`): The domain of the source
244
  - `metadata/source-pretty` (`str`): The long form version of the short-form source name
245
  - `metadata/*`: Potentially additional metadata
 
 
246
 
247
 
248
  ### Data Splits
@@ -270,6 +271,17 @@ Below follows a brief overview of the sources in the corpus along with their ind
270
 
271
 
272
 
 
 
 
 
 
 
 
 
 
 
 
273
  <!-- START-MAIN TABLE -->
274
  | Source | Description | N. Tokens | License |
275
  |:--------------------|:-----------------------------------------------------------------------------------------------------------------------------|:------------|:-----------------------|
@@ -329,6 +341,17 @@ Below follows a brief overview of the sources in the corpus along with their ind
329
  <!-- END-MAIN TABLE -->
330
 
331
 
 
 
 
 
 
 
 
 
 
 
 
332
  You can learn more about each dataset by pressing
333
 
334
  <!-- ### Quality Control
 
138
  - [Languages:](#languages)
139
  - [Dataset Structure](#dataset-structure)
140
  - [Data Instances](#data-instances)
 
141
  - [Data Splits](#data-splits)
142
  - [Dataset Creation](#dataset-creation)
143
  - [Curation Rationale](#curation-rationale)
 
151
 
152
  ## Dataset Description
153
 
 
154
 
155
+ <!-- START-DESC-STATS -->
156
  - **Language**: dan, dansk, Danish
157
+ - **Number of samples**: 576.59K
158
+ - **Number of tokens (Llama 3)**: 1.84B
159
+ - **Average document length (characters)**: 9385.20
 
160
  <!-- END-DESC-STATS -->
161
 
162
+
163
  ### Dataset Summary
164
 
165
  The Danish dynaword is a continually developed collection of Danish free-form text datasets from various domains. It is intended to be continually updated with new data sources. If you would like to contribute a dataset see the [contribute section](#contributing-to-the-dataset)
 
212
  Each entry in the dataset consists of a single text with associated metadata
213
 
214
 
 
 
 
215
 
216
+ <!-- START-SAMPLE -->
217
  ```py
218
  {
219
+ "text": "SAMLEDE VÆRKER\n\nJEPPE AAKJÆR GYLDENDALSKE BOGHANDEL - NORDISK FORLAG KJØBENHAVN OG\nKRISTIANIA 1919 0[...]",
220
+ "source": "adl",
221
+ "id": "adl_aakjaer06val",
222
+ "added": "2020-09-14",
223
+ "created": "1700-01-01, 2022-01-01",
224
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
225
+ "domain": "Wiki & Books",
226
+ "metadata": {
227
+ "source-pretty": "Archive for Danish Literature"
228
+ }
229
  }
230
  ```
231
 
 
242
  - `domain` (`str`): The domain of the source
243
  - `metadata/source-pretty` (`str`): The long form version of the short-form source name
244
  - `metadata/*`: Potentially additional metadata
245
+ <!-- END-SAMPLE -->
246
+
247
 
248
 
249
  ### Data Splits
 
271
 
272
 
273
 
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
  <!-- START-MAIN TABLE -->
286
  | Source | Description | N. Tokens | License |
287
  |:--------------------|:-----------------------------------------------------------------------------------------------------------------------------|:------------|:-----------------------|
 
341
  <!-- END-MAIN TABLE -->
342
 
343
 
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
  You can learn more about each dataset by pressing
356
 
357
  <!-- ### Quality Control
data/adl/adl.md CHANGED
@@ -24,23 +24,53 @@ Danish literature from 1700-2023 from the Archive for Danish Literature (ADL).
24
  <!-- END-SHORT DESCRIPTION -->
25
 
26
 
27
- <!-- START-DESC-STATS -->
28
 
 
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 498
31
  - **Number of tokens (Llama 3)**: 58.49M
32
  - **Average document length (characters)**: 324932.24
33
-
34
  <!-- END-DESC-STATS -->
35
 
36
 
 
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
 
40
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  <!-- END-SAMPLE -->
42
 
43
 
 
44
  ## Additional Information
45
 
46
 
 
24
  <!-- END-SHORT DESCRIPTION -->
25
 
26
 
 
27
 
28
+ <!-- START-DESC-STATS -->
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 498
31
  - **Number of tokens (Llama 3)**: 58.49M
32
  - **Average document length (characters)**: 324932.24
 
33
  <!-- END-DESC-STATS -->
34
 
35
 
36
+
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
40
+
41
  <!-- START-SAMPLE -->
42
+ ```py
43
+ {
44
+ "text": "SAMLEDE VÆRKER\n\nJEPPE AAKJÆR GYLDENDALSKE BOGHANDEL - NORDISK FORLAG KJØBENHAVN OG\nKRISTIANIA 1919 0[...]",
45
+ "source": "adl",
46
+ "id": "adl_aakjaer06val",
47
+ "added": "2020-09-14",
48
+ "created": "1700-01-01, 2022-01-01",
49
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
50
+ "domain": "Wiki & Books",
51
+ "metadata": {
52
+ "source-pretty": "Archive for Danish Literature"
53
+ }
54
+ }
55
+ ```
56
+
57
+ ### Data Fields
58
+
59
+ An entry in the dataset consists of the following fields:
60
+
61
+ - `text`(`str`): The content of the document.
62
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
63
+ - `id` (`str`): An unique identifier for each document.
64
+ - `added` (`str`): An date for when the document was added to this collection.
65
+ - `created` (`str`): An date range for when the document was originally created.
66
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
67
+ - `domain` (`str`): The domain of the source
68
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
69
+ - `metadata/*`: Potentially additional metadata
70
  <!-- END-SAMPLE -->
71
 
72
 
73
+
74
  ## Additional Information
75
 
76
 
data/adl/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 498, "average_document_length": 324932.2429718876, "number_of_tokens": 58493311, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 498, "average_document_length": 324932.2429718876, "number_of_tokens": 58493311, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/botxt/botxt.md CHANGED
@@ -25,23 +25,53 @@ The Bornholmsk Ordbog Dictionary Project
25
 
26
  Fictional texts of various kinds written in Bornholmsk, the dialect spoken on the Danish island of Bornholm (The language code for Bornholmsk under IETF BCP-47 is da-bornholm), have been digitized (OCR’ed and proofread) by volunteers working within the recently resumed Bornholmsk Ordbog dictionary project (Kjeldsen, 2019). Most of the material included is written by Otto J. Lund in the period 1930-48 (novels, short stories, and poems). The Bornholmsk subcorpus, which in its present state amounts to circa 400 K words, also includes folk stories published by J. P. Kuhre in 1938, and by K. M. Kofoed in 1935, fictional letters by various authors published in the 1930s, as well as poems by Alfred Jensen published in 1948 and various other texts from the same period. The non-standardized orthography varies considerably from source to source. The Bornholmsk part of the Danish Gigaword is a significantly extended dataset, well beyond that studied in earlier NLP work on the dialect [(Derczynski and Kjeldsen, 2019)](https://aclanthology.org/W19-6138/).
27
 
28
- <!-- START-DESC-STATS -->
29
 
 
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 106
32
  - **Number of tokens (Llama 3)**: 847.97K
33
  - **Average document length (characters)**: 18972.42
34
-
35
  <!-- END-DESC-STATS -->
36
 
37
 
 
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
 
41
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  <!-- END-SAMPLE -->
43
 
44
 
 
45
  ## Additional Information
46
 
47
 
 
25
 
26
  Fictional texts of various kinds written in Bornholmsk, the dialect spoken on the Danish island of Bornholm (The language code for Bornholmsk under IETF BCP-47 is da-bornholm), have been digitized (OCR’ed and proofread) by volunteers working within the recently resumed Bornholmsk Ordbog dictionary project (Kjeldsen, 2019). Most of the material included is written by Otto J. Lund in the period 1930-48 (novels, short stories, and poems). The Bornholmsk subcorpus, which in its present state amounts to circa 400 K words, also includes folk stories published by J. P. Kuhre in 1938, and by K. M. Kofoed in 1935, fictional letters by various authors published in the 1930s, as well as poems by Alfred Jensen published in 1948 and various other texts from the same period. The non-standardized orthography varies considerably from source to source. The Bornholmsk part of the Danish Gigaword is a significantly extended dataset, well beyond that studied in earlier NLP work on the dialect [(Derczynski and Kjeldsen, 2019)](https://aclanthology.org/W19-6138/).
27
 
 
28
 
29
+ <!-- START-DESC-STATS -->
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 106
32
  - **Number of tokens (Llama 3)**: 847.97K
33
  - **Average document length (characters)**: 18972.42
 
34
  <!-- END-DESC-STATS -->
35
 
36
 
37
+
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
41
+
42
  <!-- START-SAMPLE -->
43
+ ```py
44
+ {
45
+ "text": "Ræua-Lârs\n\nRæua-Lârs å hans Konna, Stina, bode uda i Torpabakkana. Hanj hed nok æjla Lârs\nNielsen, m[...]",
46
+ "source": "botxt",
47
+ "id": "botxt_0000040",
48
+ "added": "2024-05-16",
49
+ "created": "2000-01-01, 2022-01-01",
50
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
51
+ "domain": "Other",
52
+ "metadata": {
53
+ "source-pretty": "Bornholmsk (Danish dialect)"
54
+ }
55
+ }
56
+ ```
57
+
58
+ ### Data Fields
59
+
60
+ An entry in the dataset consists of the following fields:
61
+
62
+ - `text`(`str`): The content of the document.
63
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
64
+ - `id` (`str`): An unique identifier for each document.
65
+ - `added` (`str`): An date for when the document was added to this collection.
66
+ - `created` (`str`): An date range for when the document was originally created.
67
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
68
+ - `domain` (`str`): The domain of the source
69
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
70
+ - `metadata/*`: Potentially additional metadata
71
  <!-- END-SAMPLE -->
72
 
73
 
74
+
75
  ## Additional Information
76
 
77
 
data/botxt/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 106, "average_document_length": 18972.415094339623, "number_of_tokens": 847973, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 106, "average_document_length": 18972.415094339623, "number_of_tokens": 847973, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/dannet/dannet.md CHANGED
@@ -27,23 +27,53 @@ A WordNet is a lexico-semantic network which show the meaning and the relation b
27
 
28
  ## Dataset Description
29
 
30
- <!-- START-DESC-STATS -->
31
 
 
32
  - **Language**: dan, dansk, Danish
33
  - **Number of samples**: 49.04K
34
  - **Number of tokens (Llama 3)**: 1.52M
35
  - **Average document length (characters)**: 90.80
36
-
37
  <!-- END-DESC-STATS -->
38
 
39
 
 
40
  ## Dataset Structure
41
  An example from the dataset looks as follows.
42
 
 
43
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  <!-- END-SAMPLE -->
45
 
46
 
 
47
  ## License Information
48
  <details>
49
  <summary>DanNet 1.0 License</summary>
 
27
 
28
  ## Dataset Description
29
 
 
30
 
31
+ <!-- START-DESC-STATS -->
32
  - **Language**: dan, dansk, Danish
33
  - **Number of samples**: 49.04K
34
  - **Number of tokens (Llama 3)**: 1.52M
35
  - **Average document length (characters)**: 90.80
 
36
  <!-- END-DESC-STATS -->
37
 
38
 
39
+
40
  ## Dataset Structure
41
  An example from the dataset looks as follows.
42
 
43
+
44
  <!-- START-SAMPLE -->
45
+ ```py
46
+ {
47
+ "text": "Når fodboldholdet fra 1. division i Ikast spiller hjemmekampe, lyder råbet ud over Ikast Stadion: We[...]",
48
+ "source": "dannet",
49
+ "id": "dannet_46506",
50
+ "added": "2020-09-24",
51
+ "created": "2000-01-01, 2022-01-01",
52
+ "license": "Commercial Use of DanNet\n\nDanNet may be used in commercial applications in accordance with the follo[...]",
53
+ "domain": "dannet",
54
+ "metadata": {
55
+ "source-pretty": "DanNet (Danish WordNet)"
56
+ }
57
+ }
58
+ ```
59
+
60
+ ### Data Fields
61
+
62
+ An entry in the dataset consists of the following fields:
63
+
64
+ - `text`(`str`): The content of the document.
65
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
66
+ - `id` (`str`): An unique identifier for each document.
67
+ - `added` (`str`): An date for when the document was added to this collection.
68
+ - `created` (`str`): An date range for when the document was originally created.
69
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
70
+ - `domain` (`str`): The domain of the source
71
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
72
+ - `metadata/*`: Potentially additional metadata
73
  <!-- END-SAMPLE -->
74
 
75
 
76
+
77
  ## License Information
78
  <details>
79
  <summary>DanNet 1.0 License</summary>
data/dannet/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 49040, "average_document_length": 90.80340538336053, "number_of_tokens": 1523416, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 49040, "average_document_length": 90.80340538336053, "number_of_tokens": 1523416, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/depbank/depbank.md CHANGED
@@ -28,23 +28,53 @@ While the dataset was initially intended as a rich annotation, this corpora only
28
 
29
  ## Dataset Description
30
 
31
- <!-- START-DESC-STATS -->
32
 
 
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 536
35
  - **Number of tokens (Llama 3)**: 185.45K
36
  - **Average document length (characters)**: 1018.90
37
-
38
  <!-- END-DESC-STATS -->
39
 
40
 
 
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
 
44
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <!-- END-SAMPLE -->
46
 
47
 
 
48
  ## Additional Information
49
 
50
 
 
28
 
29
  ## Dataset Description
30
 
 
31
 
32
+ <!-- START-DESC-STATS -->
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 536
35
  - **Number of tokens (Llama 3)**: 185.45K
36
  - **Average document length (characters)**: 1018.90
 
37
  <!-- END-DESC-STATS -->
38
 
39
 
40
+
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
44
+
45
  <!-- START-SAMPLE -->
46
+ ```py
47
+ {
48
+ "text": "\nH.L. Hansen var en usædvanmlig og frodig personlighed. Han skabte \nglæde og munterhed omkring sig o[...]",
49
+ "source": "depbank",
50
+ "id": "depbank_0375",
51
+ "added": "2024-05-16",
52
+ "created": "2000-01-01, 2022-01-01",
53
+ "license": "Attribution-ShareAlike 4.0 International",
54
+ "domain": "Other",
55
+ "metadata": {
56
+ "source-pretty": "Danish Dependency Treebank"
57
+ }
58
+ }
59
+ ```
60
+
61
+ ### Data Fields
62
+
63
+ An entry in the dataset consists of the following fields:
64
+
65
+ - `text`(`str`): The content of the document.
66
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
67
+ - `id` (`str`): An unique identifier for each document.
68
+ - `added` (`str`): An date for when the document was added to this collection.
69
+ - `created` (`str`): An date range for when the document was originally created.
70
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
71
+ - `domain` (`str`): The domain of the source
72
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
73
+ - `metadata/*`: Potentially additional metadata
74
  <!-- END-SAMPLE -->
75
 
76
 
77
+
78
  ## Additional Information
79
 
80
 
data/depbank/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 536, "average_document_length": 1018.8992537313433, "number_of_tokens": 185454, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 536, "average_document_length": 1018.8992537313433, "number_of_tokens": 185454, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/ep/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 4213, "average_document_length": 74063.40469973891, "number_of_tokens": 100888932, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 4213, "average_document_length": 74063.40469973891, "number_of_tokens": 100888932, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/ep/ep.md CHANGED
@@ -27,24 +27,54 @@ The europarl is a corpus of parallel text in 11 languages from the proceedings o
27
 
28
  ## Dataset Description
29
 
30
- <!-- START-DESC-STATS -->
31
 
 
32
  - **Language**: dan, dansk, Danish
33
  - **Number of samples**: 4.21K
34
  - **Number of tokens (Llama 3)**: 100.89M
35
  - **Average document length (characters)**: 74063.40
36
-
37
  <!-- END-DESC-STATS -->
38
 
39
 
 
40
  ## Dataset Structure
41
  An example from the dataset looks as follows.
42
 
 
43
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  <!-- END-SAMPLE -->
45
 
46
 
47
 
 
48
  ## Additional Information
49
 
50
 
 
27
 
28
  ## Dataset Description
29
 
 
30
 
31
+ <!-- START-DESC-STATS -->
32
  - **Language**: dan, dansk, Danish
33
  - **Number of samples**: 4.21K
34
  - **Number of tokens (Llama 3)**: 100.89M
35
  - **Average document length (characters)**: 74063.40
 
36
  <!-- END-DESC-STATS -->
37
 
38
 
39
+
40
  ## Dataset Structure
41
  An example from the dataset looks as follows.
42
 
43
+
44
  <!-- START-SAMPLE -->
45
+ ```py
46
+ {
47
+ "text": "TALER 6703: Jeg har stemt for henstillingen om godkendelse af opdelingsanordninger til beskyttelse a[...]",
48
+ "source": "ep",
49
+ "id": "ep_07-02-01-008",
50
+ "added": "2019-11-20",
51
+ "created": "2004-01-01, 2009-01-01",
52
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
53
+ "domain": "Conversation",
54
+ "metadata": {
55
+ "source-pretty": "European Parliament"
56
+ }
57
+ }
58
+ ```
59
+
60
+ ### Data Fields
61
+
62
+ An entry in the dataset consists of the following fields:
63
+
64
+ - `text`(`str`): The content of the document.
65
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
66
+ - `id` (`str`): An unique identifier for each document.
67
+ - `added` (`str`): An date for when the document was added to this collection.
68
+ - `created` (`str`): An date range for when the document was originally created.
69
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
70
+ - `domain` (`str`): The domain of the source
71
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
72
+ - `metadata/*`: Potentially additional metadata
73
  <!-- END-SAMPLE -->
74
 
75
 
76
 
77
+
78
  ## Additional Information
79
 
80
 
data/ft/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 1315, "average_document_length": 266745.19163498096, "number_of_tokens": 114087231, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 1315, "average_document_length": 266745.19163498096, "number_of_tokens": 114087231, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/ft/ft.md CHANGED
@@ -28,23 +28,53 @@ All records have a transcript produced by commercial Automatic Speech Recognitio
28
 
29
  In the parliament hall, one speaker at a time addresses members of the parliament. Monologues may include rebuttals or other comments to statements in previous monologues. While speakers can read aloud from a prepared statement or speak extemporaneously, we expect no difference to be apparent in the data because of the post-editing. The Folketinget section covers parliament hall sessions between 2009 and 2019. It contains discussions on a wide range of topics, issues, and named entities relevant to Danish society.
30
 
31
- <!-- START-DESC-STATS -->
32
 
 
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 1.31K
35
  - **Number of tokens (Llama 3)**: 114.09M
36
  - **Average document length (characters)**: 266745.19
37
-
38
  <!-- END-DESC-STATS -->
39
 
40
 
 
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
 
44
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <!-- END-SAMPLE -->
46
 
47
 
 
48
  ## Additional Information
49
 
50
 
 
28
 
29
  In the parliament hall, one speaker at a time addresses members of the parliament. Monologues may include rebuttals or other comments to statements in previous monologues. While speakers can read aloud from a prepared statement or speak extemporaneously, we expect no difference to be apparent in the data because of the post-editing. The Folketinget section covers parliament hall sessions between 2009 and 2019. It contains discussions on a wide range of topics, issues, and named entities relevant to Danish society.
30
 
 
31
 
32
+ <!-- START-DESC-STATS -->
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 1.31K
35
  - **Number of tokens (Llama 3)**: 114.09M
36
  - **Average document length (characters)**: 266745.19
 
37
  <!-- END-DESC-STATS -->
38
 
39
 
40
+
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
44
+
45
  <!-- START-SAMPLE -->
46
+ ```py
47
+ {
48
+ "text": "TALER 50: Mødet er åbnet. I dag er der følgende anmeldelser: Ministeren for by, bolig og landdistrik[...]",
49
+ "source": "ft",
50
+ "id": "ft_20121M100",
51
+ "added": "2021-03-28",
52
+ "created": "2009-01-01, 2019-01-01",
53
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
54
+ "domain": "Conversation",
55
+ "metadata": {
56
+ "source-pretty": "Folketinget (Danish Parliament)"
57
+ }
58
+ }
59
+ ```
60
+
61
+ ### Data Fields
62
+
63
+ An entry in the dataset consists of the following fields:
64
+
65
+ - `text`(`str`): The content of the document.
66
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
67
+ - `id` (`str`): An unique identifier for each document.
68
+ - `added` (`str`): An date for when the document was added to this collection.
69
+ - `created` (`str`): An date range for when the document was originally created.
70
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
71
+ - `domain` (`str`): The domain of the source
72
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
73
+ - `metadata/*`: Potentially additional metadata
74
  <!-- END-SAMPLE -->
75
 
76
 
77
+
78
  ## Additional Information
79
 
80
 
data/gutenberg/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 66, "average_document_length": 290147.9393939394, "number_of_tokens": 6763317, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 66, "average_document_length": 290147.9393939394, "number_of_tokens": 6763317, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/gutenberg/gutenberg.md CHANGED
@@ -26,23 +26,53 @@ The Danish subsection from Project [Gutenberg](https://www.gutenberg.org).
26
 
27
  Project Gutenberg is an online library of free eBooks. Project Gutenberg was the first provider of free electronic books, or eBooks.
28
 
29
- <!-- START-DESC-STATS -->
30
 
 
31
  - **Language**: dan, dansk, Danish
32
  - **Number of samples**: 66
33
  - **Number of tokens (Llama 3)**: 6.76M
34
  - **Average document length (characters)**: 290147.94
35
-
36
  <!-- END-DESC-STATS -->
37
 
38
 
 
39
  ## Dataset Structure
40
  An example from the dataset looks as follows.
41
 
 
42
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  <!-- END-SAMPLE -->
44
 
45
 
 
46
  ## License Information
47
 
48
  <details>
 
26
 
27
  Project Gutenberg is an online library of free eBooks. Project Gutenberg was the first provider of free electronic books, or eBooks.
28
 
 
29
 
30
+ <!-- START-DESC-STATS -->
31
  - **Language**: dan, dansk, Danish
32
  - **Number of samples**: 66
33
  - **Number of tokens (Llama 3)**: 6.76M
34
  - **Average document length (characters)**: 290147.94
 
35
  <!-- END-DESC-STATS -->
36
 
37
 
38
+
39
  ## Dataset Structure
40
  An example from the dataset looks as follows.
41
 
42
+
43
  <!-- START-SAMPLE -->
44
+ ```py
45
+ {
46
+ "text": "Afskriverens bemærkninger: Åbenlyse trykfejl er rettet\ni denne e-bog, men forfatterens stavning er f[...]",
47
+ "source": "gutenberg",
48
+ "id": "gutenberg_43899",
49
+ "added": "2020-09-12",
50
+ "created": "1700-01-01, 2022-01-01",
51
+ "license": "*** START: FULL LICENSE ***\n\nTHE FULL PROJECT GUTENBERG LICENSE\nPLEASE READ THIS BEFORE YOU DISTRIBU[...]",
52
+ "domain": "Wiki & Books",
53
+ "metadata": {
54
+ "source-pretty": "Gutenberg"
55
+ }
56
+ }
57
+ ```
58
+
59
+ ### Data Fields
60
+
61
+ An entry in the dataset consists of the following fields:
62
+
63
+ - `text`(`str`): The content of the document.
64
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
65
+ - `id` (`str`): An unique identifier for each document.
66
+ - `added` (`str`): An date for when the document was added to this collection.
67
+ - `created` (`str`): An date range for when the document was originally created.
68
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
69
+ - `domain` (`str`): The domain of the source
70
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
71
+ - `metadata/*`: Potentially additional metadata
72
  <!-- END-SAMPLE -->
73
 
74
 
75
+
76
  ## License Information
77
 
78
  <details>
data/hest/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 14391, "average_document_length": 82950.79104996179, "number_of_tokens": 389325153, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 14391, "average_document_length": 82950.79104996179, "number_of_tokens": 389325153, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/hest/hest.md CHANGED
@@ -28,22 +28,52 @@ Its inclusion as training data for large language models have multiple times rea
28
 
29
  ## Dataset Description
30
 
31
- <!-- START-DESC-STATS -->
32
 
 
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 14.39K
35
  - **Number of tokens (Llama 3)**: 389.33M
36
  - **Average document length (characters)**: 82950.79
37
-
38
  <!-- END-DESC-STATS -->
39
 
40
 
 
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
 
44
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <!-- END-SAMPLE -->
46
 
 
47
  ## Additional Information
48
 
49
 
 
28
 
29
  ## Dataset Description
30
 
 
31
 
32
+ <!-- START-DESC-STATS -->
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 14.39K
35
  - **Number of tokens (Llama 3)**: 389.33M
36
  - **Average document length (characters)**: 82950.79
 
37
  <!-- END-DESC-STATS -->
38
 
39
 
40
+
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
44
+
45
  <!-- START-SAMPLE -->
46
+ ```py
47
+ {
48
+ "text": "Er den ikke kær? \nJeg kan ikke forstå at der altid er nogle der åbenbart ser alle indlæg her på HN ,[...]",
49
+ "source": "hest",
50
+ "id": "hest_forum112802271280227_0",
51
+ "added": "2020-10-05",
52
+ "created": "2000-01-01, 2022-01-01",
53
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
54
+ "domain": "Social Media",
55
+ "metadata": {
56
+ "source-pretty": "Hestenettet (Danish debate forum)"
57
+ }
58
+ }
59
+ ```
60
+
61
+ ### Data Fields
62
+
63
+ An entry in the dataset consists of the following fields:
64
+
65
+ - `text`(`str`): The content of the document.
66
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
67
+ - `id` (`str`): An unique identifier for each document.
68
+ - `added` (`str`): An date for when the document was added to this collection.
69
+ - `created` (`str`): An date range for when the document was originally created.
70
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
71
+ - `domain` (`str`): The domain of the source
72
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
73
+ - `metadata/*`: Potentially additional metadata
74
  <!-- END-SAMPLE -->
75
 
76
+
77
  ## Additional Information
78
 
79
 
data/jvj/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 42, "average_document_length": 254893.66666666666, "number_of_tokens": 3549181, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 42, "average_document_length": 254893.66666666666, "number_of_tokens": 3549181, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/jvj/jvj.md CHANGED
@@ -28,23 +28,53 @@ The works of the Danish author and poet, [Johannes V. Jensen](https://da.wikiped
28
 
29
  ## Dataset Description
30
 
31
- <!-- START-DESC-STATS -->
32
 
 
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 42
35
  - **Number of tokens (Llama 3)**: 3.55M
36
  - **Average document length (characters)**: 254893.67
37
-
38
  <!-- END-DESC-STATS -->
39
 
40
 
 
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
 
44
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <!-- END-SAMPLE -->
46
 
47
 
 
48
  ## Additional Information
49
 
50
 
 
28
 
29
  ## Dataset Description
30
 
 
31
 
32
+ <!-- START-DESC-STATS -->
33
  - **Language**: dan, dansk, Danish
34
  - **Number of samples**: 42
35
  - **Number of tokens (Llama 3)**: 3.55M
36
  - **Average document length (characters)**: 254893.67
 
37
  <!-- END-DESC-STATS -->
38
 
39
 
40
+
41
  ## Dataset Structure
42
  An example from the dataset looks as follows.
43
 
44
+
45
  <!-- START-SAMPLE -->
46
+ ```py
47
+ {
48
+ "text": "JØRGINE JØRGINE KØBENHAVN HAGE & CLAUSENS FORLAG (J. FR. CLAUSEN) 1926 JOHANNES V. JENSEN COPYRIGHT [...]",
49
+ "source": "jvj",
50
+ "id": "jvj_Jørgine",
51
+ "added": "2020-06-26",
52
+ "created": "1873-01-01, 1951-01-01",
53
+ "license": "Attribution-ShareAlike 4.0 International",
54
+ "domain": "Wiki & Books",
55
+ "metadata": {
56
+ "source-pretty": "Johannes V. Jensen (Danish poet)"
57
+ }
58
+ }
59
+ ```
60
+
61
+ ### Data Fields
62
+
63
+ An entry in the dataset consists of the following fields:
64
+
65
+ - `text`(`str`): The content of the document.
66
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
67
+ - `id` (`str`): An unique identifier for each document.
68
+ - `added` (`str`): An date for when the document was added to this collection.
69
+ - `created` (`str`): An date range for when the document was originally created.
70
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
71
+ - `domain` (`str`): The domain of the source
72
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
73
+ - `metadata/*`: Potentially additional metadata
74
  <!-- END-SAMPLE -->
75
 
76
 
77
+
78
  ## Additional Information
79
 
80
 
data/naat/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 129, "average_document_length": 6832.387596899225, "number_of_tokens": 286677, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 129, "average_document_length": 6832.387596899225, "number_of_tokens": 286677, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/naat/naat.md CHANGED
@@ -24,22 +24,52 @@ Danish speeches from 1930-2022.
24
 
25
  ## Dataset Description
26
 
27
- <!-- START-DESC-STATS -->
28
 
 
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 129
31
  - **Number of tokens (Llama 3)**: 286.68K
32
  - **Average document length (characters)**: 6832.39
33
-
34
  <!-- END-DESC-STATS -->
35
 
36
 
 
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
 
40
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  <!-- END-SAMPLE -->
42
 
 
43
  ## Additional Information
44
 
45
 
 
24
 
25
  ## Dataset Description
26
 
 
27
 
28
+ <!-- START-DESC-STATS -->
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 129
31
  - **Number of tokens (Llama 3)**: 286.68K
32
  - **Average document length (characters)**: 6832.39
 
33
  <!-- END-DESC-STATS -->
34
 
35
 
36
+
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
40
+
41
  <!-- START-SAMPLE -->
42
+ ```py
43
+ {
44
+ "text": "Naar jeg i aften sender min nytaarshilsen til det danske folk og tænker tilbage paa det aar, der sva[...]",
45
+ "source": "naat",
46
+ "id": "naat_1958kongfrederikix",
47
+ "added": "2020-02-11",
48
+ "created": "1930-01-01, 2022-01-01",
49
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
50
+ "domain": "Conversation",
51
+ "metadata": {
52
+ "source-pretty": "NAAT"
53
+ }
54
+ }
55
+ ```
56
+
57
+ ### Data Fields
58
+
59
+ An entry in the dataset consists of the following fields:
60
+
61
+ - `text`(`str`): The content of the document.
62
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
63
+ - `id` (`str`): An unique identifier for each document.
64
+ - `added` (`str`): An date for when the document was added to this collection.
65
+ - `created` (`str`): An date range for when the document was originally created.
66
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
67
+ - `domain` (`str`): The domain of the source
68
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
69
+ - `metadata/*`: Potentially additional metadata
70
  <!-- END-SAMPLE -->
71
 
72
+
73
  ## Additional Information
74
 
75
 
data/nordjyllandnews/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 75219, "average_document_length": 1540.2673659580691, "number_of_tokens": 37905944, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 75219, "average_document_length": 1540.2673659580691, "number_of_tokens": 37905944, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/nordjyllandnews/nordjyllandnews.md CHANGED
@@ -26,22 +26,52 @@ The data is derived from the Huggingface dataset [alexandrainst/nordjylland-news
26
 
27
  ## Dataset Description
28
 
29
- <!-- START-DESC-STATS -->
30
 
 
31
  - **Language**: dan, dansk, Danish
32
  - **Number of samples**: 75.22K
33
  - **Number of tokens (Llama 3)**: 37.91M
34
  - **Average document length (characters)**: 1540.27
35
-
36
  <!-- END-DESC-STATS -->
37
 
 
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
 
41
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  <!-- END-SAMPLE -->
43
 
44
 
 
45
  ## Additional Information
46
 
47
 
 
26
 
27
  ## Dataset Description
28
 
 
29
 
30
+ <!-- START-DESC-STATS -->
31
  - **Language**: dan, dansk, Danish
32
  - **Number of samples**: 75.22K
33
  - **Number of tokens (Llama 3)**: 37.91M
34
  - **Average document length (characters)**: 1540.27
 
35
  <!-- END-DESC-STATS -->
36
 
37
+
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
41
+
42
  <!-- START-SAMPLE -->
43
+ ```py
44
+ {
45
+ "text": "Lav et referat af nedenstående tekst:\n\nTekst:\nOpdatering: Manden er nu fundet af Nordjyllands Politi[...]",
46
+ "source": "nordjyllandnews",
47
+ "id": "nordjyllandnews_0",
48
+ "added": "2024-12-16",
49
+ "created": "2000-01-01, 2024-01-01",
50
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
51
+ "domain": "News",
52
+ "metadata": {
53
+ "source-pretty": "Nordjylland News"
54
+ }
55
+ }
56
+ ```
57
+
58
+ ### Data Fields
59
+
60
+ An entry in the dataset consists of the following fields:
61
+
62
+ - `text`(`str`): The content of the document.
63
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
64
+ - `id` (`str`): An unique identifier for each document.
65
+ - `added` (`str`): An date for when the document was added to this collection.
66
+ - `created` (`str`): An date range for when the document was originally created.
67
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
68
+ - `domain` (`str`): The domain of the source
69
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
70
+ - `metadata/*`: Potentially additional metadata
71
  <!-- END-SAMPLE -->
72
 
73
 
74
+
75
  ## Additional Information
76
 
77
 
data/opensubtitles/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 29820, "average_document_length": 26326.385915492956, "number_of_tokens": 271893009, "language": "dan, dansk, Danish", "revision": "ca7fb7b62951c15a2d67bdfcc910af2d8ff058c8"}
 
1
+ {"number_of_samples": 29820, "average_document_length": 26326.385915492956, "number_of_tokens": 271893009, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/opensubtitles/opensubtitles.md CHANGED
@@ -23,6 +23,16 @@ Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/v
23
  ## Dataset Description
24
 
25
 
 
 
 
 
 
 
 
 
 
 
26
  <!-- START-DESC-STATS -->
27
  - **Language**: dan, dansk, Danish
28
  - **Number of samples**: 29.82K
@@ -32,12 +42,68 @@ Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/v
32
 
33
 
34
 
 
 
 
 
 
 
 
 
 
 
35
  ## Dataset Structure
36
  An example from the dataset looks as follows.
37
 
 
 
 
 
 
 
 
 
 
38
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  <!-- END-SAMPLE -->
40
 
 
 
 
 
 
 
 
 
 
41
  ### Additional Processing
42
 
43
  Due to copyright concern additional documents have been removed due to copyright concerns. These include:
 
23
  ## Dataset Description
24
 
25
 
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
  <!-- START-DESC-STATS -->
37
  - **Language**: dan, dansk, Danish
38
  - **Number of samples**: 29.82K
 
42
 
43
 
44
 
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
  ## Dataset Structure
56
  An example from the dataset looks as follows.
57
 
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
  <!-- START-SAMPLE -->
68
+ ```py
69
+ {
70
+ "text": "Tidligere i vikingerne...\nJeg skal gå tilbage til England.\nBurde være gået tilbage for lang tid side[...]",
71
+ "source": "opensubtitles",
72
+ "id": "opensub_6822913",
73
+ "added": "2025-01-02",
74
+ "created": "1920-01-01, 2018-01-01",
75
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
76
+ "domain": "Conversation",
77
+ "metadata": {
78
+ "source-pretty": "OpenSubtitles"
79
+ }
80
+ }
81
+ ```
82
+
83
+ ### Data Fields
84
+
85
+ An entry in the dataset consists of the following fields:
86
+
87
+ - `text`(`str`): The content of the document.
88
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
89
+ - `id` (`str`): An unique identifier for each document.
90
+ - `added` (`str`): An date for when the document was added to this collection.
91
+ - `created` (`str`): An date range for when the document was originally created.
92
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
93
+ - `domain` (`str`): The domain of the source
94
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
95
+ - `metadata/*`: Potentially additional metadata
96
  <!-- END-SAMPLE -->
97
 
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
  ### Additional Processing
108
 
109
  Due to copyright concern additional documents have been removed due to copyright concerns. These include:
data/relig/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 66, "average_document_length": 53873.56060606061, "number_of_tokens": 1243970, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 66, "average_document_length": 53873.56060606061, "number_of_tokens": 1243970, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/relig/relig.md CHANGED
@@ -24,23 +24,53 @@ Danish religious text from the 1700-2022.
24
 
25
  ## Dataset Description
26
 
27
- <!-- START-DESC-STATS -->
28
-
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 66
31
  - **Number of tokens (Llama 3)**: 1.24M
32
  - **Average document length (characters)**: 53873.56
33
-
34
  <!-- END-DESC-STATS -->
35
 
36
 
 
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
 
40
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  <!-- END-SAMPLE -->
42
 
43
 
 
44
  ## Additional Information
45
 
46
 
 
24
 
25
  ## Dataset Description
26
 
27
+
28
+ <!-- START-DESC-STATS -->
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 66
31
  - **Number of tokens (Llama 3)**: 1.24M
32
  - **Average document length (characters)**: 53873.56
 
33
  <!-- END-DESC-STATS -->
34
 
35
 
36
+
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
40
+
41
  <!-- START-SAMPLE -->
42
+ ```py
43
+ {
44
+ "text": "Salomos Højsang\nKys mig, giv mig Kys af din mund thi din Kærlighed er bedre end Vin.\nLifligt dufter [...]",
45
+ "source": "relig",
46
+ "id": "relig_SON",
47
+ "added": "2020-09-14",
48
+ "created": "1700-01-01, 2022-01-01",
49
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
50
+ "domain": "Wiki & Books",
51
+ "metadata": {
52
+ "source-pretty": "Religious texts"
53
+ }
54
+ }
55
+ ```
56
+
57
+ ### Data Fields
58
+
59
+ An entry in the dataset consists of the following fields:
60
+
61
+ - `text`(`str`): The content of the document.
62
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
63
+ - `id` (`str`): An unique identifier for each document.
64
+ - `added` (`str`): An date for when the document was added to this collection.
65
+ - `created` (`str`): An date range for when the document was originally created.
66
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
67
+ - `domain` (`str`): The domain of the source
68
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
69
+ - `metadata/*`: Potentially additional metadata
70
  <!-- END-SAMPLE -->
71
 
72
 
73
+
74
  ## Additional Information
75
 
76
 
data/retsinformationdk/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 64043, "average_document_length": 22248.525506300455, "number_of_tokens": 516537034, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 64043, "average_document_length": 22248.525506300455, "number_of_tokens": 516537034, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/retsinformationdk/retsinformationdk.md CHANGED
@@ -33,21 +33,51 @@ It serves as a central repository for Danish legislation, administrative regulat
33
 
34
  ## Dataset Description
35
 
36
- <!-- START-DESC-STATS -->
37
 
 
38
  - **Language**: dan, dansk, Danish
39
  - **Number of samples**: 64.04K
40
  - **Number of tokens (Llama 3)**: 516.54M
41
  - **Average document length (characters)**: 22248.53
42
-
43
  <!-- END-DESC-STATS -->
44
 
 
45
  ## Dataset Structure
46
  An example from the dataset looks as follows.
47
 
 
48
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  <!-- END-SAMPLE -->
50
 
 
51
  ## License Information
52
  <details>
53
  <summary>Danish Copyright Law</summary>
 
33
 
34
  ## Dataset Description
35
 
 
36
 
37
+ <!-- START-DESC-STATS -->
38
  - **Language**: dan, dansk, Danish
39
  - **Number of samples**: 64.04K
40
  - **Number of tokens (Llama 3)**: 516.54M
41
  - **Average document length (characters)**: 22248.53
 
42
  <!-- END-DESC-STATS -->
43
 
44
+
45
  ## Dataset Structure
46
  An example from the dataset looks as follows.
47
 
48
+
49
  <!-- START-SAMPLE -->
50
+ ```py
51
+ {
52
+ "text": "Den fulde tekst Pressenævnets kendelse i sag nr. 15-70-00822\nResumé\nForeningen for Skånsomt Kystfisk[...]",
53
+ "source": "retsinformationdk",
54
+ "id": "retsinformationdk_173889",
55
+ "added": "2019-11-22",
56
+ "created": "2000-01-01, 2022-01-01",
57
+ "license": "Danish Copyright law at https://www.retsinformation.dk/forms/r0710.aspx?id=164796 states \n\n § 9. Lov[...]",
58
+ "domain": "Legal",
59
+ "metadata": {
60
+ "source-pretty": "retsinformation.dk (Danish legal information)"
61
+ }
62
+ }
63
+ ```
64
+
65
+ ### Data Fields
66
+
67
+ An entry in the dataset consists of the following fields:
68
+
69
+ - `text`(`str`): The content of the document.
70
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
71
+ - `id` (`str`): An unique identifier for each document.
72
+ - `added` (`str`): An date for when the document was added to this collection.
73
+ - `created` (`str`): An date range for when the document was originally created.
74
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
75
+ - `domain` (`str`): The domain of the source
76
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
77
+ - `metadata/*`: Potentially additional metadata
78
  <!-- END-SAMPLE -->
79
 
80
+
81
  ## License Information
82
  <details>
83
  <summary>Danish Copyright Law</summary>
data/retspraksis/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 4413, "average_document_length": 46323.66915930206, "number_of_tokens": 57080441, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 4413, "average_document_length": 46323.66915930206, "number_of_tokens": 57080441, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/retspraksis/retspraksis.md CHANGED
@@ -26,23 +26,53 @@ It encompasses the body of legal decisions made by Danish courts, which play a s
26
 
27
  ## Dataset Description
28
 
29
- <!-- START-DESC-STATS -->
30
 
 
31
  - **Language**: dan, dansk, Danish
32
  - **Number of samples**: 4.41K
33
  - **Number of tokens (Llama 3)**: 57.08M
34
  - **Average document length (characters)**: 46323.67
35
-
36
  <!-- END-DESC-STATS -->
37
 
38
 
 
39
  ## Dataset Structure
40
  An example from the dataset looks as follows.
41
 
 
42
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  <!-- END-SAMPLE -->
44
 
45
 
 
46
  ## Additional Information
47
 
48
 
 
26
 
27
  ## Dataset Description
28
 
 
29
 
30
+ <!-- START-DESC-STATS -->
31
  - **Language**: dan, dansk, Danish
32
  - **Number of samples**: 4.41K
33
  - **Number of tokens (Llama 3)**: 57.08M
34
  - **Average document length (characters)**: 46323.67
 
35
  <!-- END-DESC-STATS -->
36
 
37
 
38
+
39
  ## Dataset Structure
40
  An example from the dataset looks as follows.
41
 
42
+
43
  <!-- START-SAMPLE -->
44
+ ```py
45
+ {
46
+ "text": " højesterets dom\n afsagt torsdag den 6. december [...]",
47
+ "source": "retspraksis",
48
+ "id": "retspraksis_517",
49
+ "added": "2020-09-24",
50
+ "created": "2000-01-01, 2022-01-01",
51
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
52
+ "domain": "Legal",
53
+ "metadata": {
54
+ "source-pretty": "retspraksis (Danish legal information)"
55
+ }
56
+ }
57
+ ```
58
+
59
+ ### Data Fields
60
+
61
+ An entry in the dataset consists of the following fields:
62
+
63
+ - `text`(`str`): The content of the document.
64
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
65
+ - `id` (`str`): An unique identifier for each document.
66
+ - `added` (`str`): An date for when the document was added to this collection.
67
+ - `created` (`str`): An date range for when the document was originally created.
68
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
69
+ - `domain` (`str`): The domain of the source
70
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
71
+ - `metadata/*`: Potentially additional metadata
72
  <!-- END-SAMPLE -->
73
 
74
 
75
+
76
  ## Additional Information
77
 
78
 
data/skat/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 14716, "average_document_length": 24026.800964936123, "number_of_tokens": 122120389, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 14716, "average_document_length": 24026.800964936123, "number_of_tokens": 122120389, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/skat/skat.md CHANGED
@@ -23,23 +23,53 @@ Skat is the Danish tax authority. This dataset contains content from its website
23
 
24
  ## Dataset Description
25
 
26
- <!-- START-DESC-STATS -->
27
 
 
28
  - **Language**: dan, dansk, Danish
29
  - **Number of samples**: 14.72K
30
  - **Number of tokens (Llama 3)**: 122.12M
31
  - **Average document length (characters)**: 24026.80
32
-
33
  <!-- END-DESC-STATS -->
34
 
35
 
 
36
  ## Dataset Structure
37
  An example from the dataset looks as follows.
38
 
 
39
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  <!-- END-SAMPLE -->
41
 
42
 
 
43
  ## Additional Information
44
 
45
 
 
23
 
24
  ## Dataset Description
25
 
 
26
 
27
+ <!-- START-DESC-STATS -->
28
  - **Language**: dan, dansk, Danish
29
  - **Number of samples**: 14.72K
30
  - **Number of tokens (Llama 3)**: 122.12M
31
  - **Average document length (characters)**: 24026.80
 
32
  <!-- END-DESC-STATS -->
33
 
34
 
35
+
36
  ## Dataset Structure
37
  An example from the dataset looks as follows.
38
 
39
+
40
  <!-- START-SAMPLE -->
41
+ ```py
42
+ {
43
+ "text": "Andelsboligforeningers levering af brugsrettigheder til andelshaverne mod betaling af boligafgift si[...]",
44
+ "source": "skat",
45
+ "id": "skat_SKM2010.712.SKAT",
46
+ "added": "2020-10-01",
47
+ "created": "2000-01-01, 2022-01-01",
48
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
49
+ "domain": "Legal",
50
+ "metadata": {
51
+ "source-pretty": "Skat (Danish tax authority)"
52
+ }
53
+ }
54
+ ```
55
+
56
+ ### Data Fields
57
+
58
+ An entry in the dataset consists of the following fields:
59
+
60
+ - `text`(`str`): The content of the document.
61
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
62
+ - `id` (`str`): An unique identifier for each document.
63
+ - `added` (`str`): An date for when the document was added to this collection.
64
+ - `created` (`str`): An date range for when the document was originally created.
65
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
66
+ - `domain` (`str`): The domain of the source
67
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
68
+ - `metadata/*`: Potentially additional metadata
69
  <!-- END-SAMPLE -->
70
 
71
 
72
+
73
  ## Additional Information
74
 
75
 
data/spont/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 411, "average_document_length": 9736.79805352798, "number_of_tokens": 1555942, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 411, "average_document_length": 9736.79805352798, "number_of_tokens": 1555942, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/spont/spont.md CHANGED
@@ -25,23 +25,53 @@ The conversational corpus included originates from interdisciplinary research co
25
 
26
  ## Dataset Description
27
 
28
- <!-- START-DESC-STATS -->
29
 
 
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 411
32
  - **Number of tokens (Llama 3)**: 1.56M
33
  - **Average document length (characters)**: 9736.80
34
-
35
  <!-- END-DESC-STATS -->
36
 
37
 
 
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
 
41
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  <!-- END-SAMPLE -->
43
 
44
 
 
45
  ## Additional Information
46
 
47
 
 
25
 
26
  ## Dataset Description
27
 
 
28
 
29
+ <!-- START-DESC-STATS -->
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 411
32
  - **Number of tokens (Llama 3)**: 1.56M
33
  - **Average document length (characters)**: 9736.80
 
34
  <!-- END-DESC-STATS -->
35
 
36
 
37
+
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
41
+
42
  <!-- START-SAMPLE -->
43
+ ```py
44
+ {
45
+ "text": "Taler 6: mm\nTaler 7: er du klar?\nTaler 6: ja\nTaler 7: så er spørgsmålet om vi skal- om det er sådan [...]",
46
+ "source": "spont",
47
+ "id": "spont_PuzzleOfDanish132",
48
+ "added": "2020-01-21",
49
+ "created": "2019-01-01, 2020-01-01",
50
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
51
+ "domain": "Conversation",
52
+ "metadata": {
53
+ "source-pretty": "Spontaneous speech"
54
+ }
55
+ }
56
+ ```
57
+
58
+ ### Data Fields
59
+
60
+ An entry in the dataset consists of the following fields:
61
+
62
+ - `text`(`str`): The content of the document.
63
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
64
+ - `id` (`str`): An unique identifier for each document.
65
+ - `added` (`str`): An date for when the document was added to this collection.
66
+ - `created` (`str`): An date range for when the document was originally created.
67
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
68
+ - `domain` (`str`): The domain of the source
69
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
70
+ - `metadata/*`: Potentially additional metadata
71
  <!-- END-SAMPLE -->
72
 
73
 
74
+
75
  ## Additional Information
76
 
77
 
data/synne/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 178, "average_document_length": 785.3258426966293, "number_of_tokens": 52508, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 178, "average_document_length": 785.3258426966293, "number_of_tokens": 52508, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/synne/synne.md CHANGED
@@ -23,23 +23,53 @@ Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk),
23
 
24
  ## Dataset Description
25
 
26
- <!-- START-DESC-STATS -->
27
 
 
28
  - **Language**: dan, dansk, Danish
29
  - **Number of samples**: 178
30
  - **Number of tokens (Llama 3)**: 52.51K
31
  - **Average document length (characters)**: 785.33
32
-
33
  <!-- END-DESC-STATS -->
34
 
35
 
 
36
  ## Dataset Structure
37
  An example from the dataset looks as follows.
38
 
 
39
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  <!-- END-SAMPLE -->
41
 
42
 
 
43
  ## Additional Information
44
 
45
 
 
23
 
24
  ## Dataset Description
25
 
 
26
 
27
+ <!-- START-DESC-STATS -->
28
  - **Language**: dan, dansk, Danish
29
  - **Number of samples**: 178
30
  - **Number of tokens (Llama 3)**: 52.51K
31
  - **Average document length (characters)**: 785.33
 
32
  <!-- END-DESC-STATS -->
33
 
34
 
35
+
36
  ## Dataset Structure
37
  An example from the dataset looks as follows.
38
 
39
+
40
  <!-- START-SAMPLE -->
41
+ ```py
42
+ {
43
+ "text": "Mangeægskage Hent printvenligt dokument her – Klik her Som medlem af Æ Synnejysk Forening er du med [...]",
44
+ "source": "synne",
45
+ "id": "synne_forening_0140",
46
+ "added": "2020-06-26",
47
+ "created": "2000-01-01, 2022-01-01",
48
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
49
+ "domain": "Other",
50
+ "metadata": {
51
+ "source-pretty": "Synderjysk (Danish dialect)"
52
+ }
53
+ }
54
+ ```
55
+
56
+ ### Data Fields
57
+
58
+ An entry in the dataset consists of the following fields:
59
+
60
+ - `text`(`str`): The content of the document.
61
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
62
+ - `id` (`str`): An unique identifier for each document.
63
+ - `added` (`str`): An date for when the document was added to this collection.
64
+ - `created` (`str`): An date range for when the document was originally created.
65
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
66
+ - `domain` (`str`): The domain of the source
67
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
68
+ - `metadata/*`: Potentially additional metadata
69
  <!-- END-SAMPLE -->
70
 
71
 
72
+
73
  ## Additional Information
74
 
75
 
data/tv2r/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 49137, "average_document_length": 1303.3820746077295, "number_of_tokens": 21671943, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 49137, "average_document_length": 1303.3820746077295, "number_of_tokens": 21671943, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/tv2r/tv2r.md CHANGED
@@ -25,22 +25,52 @@ Contemporary Danish newswire articles published between 2010 and 2019.
25
 
26
  It contains articles of regional interest, written following editorial standards. This section’s value is in both its temporal variation, covering a decade of events, and its spatial variation, covering many local events across most of Denmark (TV2 Bornholm is excluded). As a result of local event coverage, the section contains many locally relevant named entities, which might otherwise not be present in a dataset of national news.
27
 
28
- <!-- START-DESC-STATS -->
29
 
 
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 49.14K
32
  - **Number of tokens (Llama 3)**: 21.67M
33
  - **Average document length (characters)**: 1303.38
34
-
35
  <!-- END-DESC-STATS -->
36
 
37
 
 
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
 
41
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  <!-- END-SAMPLE -->
43
 
 
44
  ## License Information
45
  <details>
46
  <summary>CC-BY-SA 4.0</summary>
 
25
 
26
  It contains articles of regional interest, written following editorial standards. This section’s value is in both its temporal variation, covering a decade of events, and its spatial variation, covering many local events across most of Denmark (TV2 Bornholm is excluded). As a result of local event coverage, the section contains many locally relevant named entities, which might otherwise not be present in a dataset of national news.
27
 
 
28
 
29
+ <!-- START-DESC-STATS -->
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 49.14K
32
  - **Number of tokens (Llama 3)**: 21.67M
33
  - **Average document length (characters)**: 1303.38
 
34
  <!-- END-DESC-STATS -->
35
 
36
 
37
+
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
41
+
42
  <!-- START-SAMPLE -->
43
+ ```py
44
+ {
45
+ "text": "Storken er landet\n02 april 2017 kl. 17.58\nSøndag aften er storken Annika landet i sin rede ved Smeda[...]",
46
+ "source": "tv2r",
47
+ "id": "tv2r_92548",
48
+ "added": "2019-11-13",
49
+ "created": "2015-01-01, 2020-01-01",
50
+ "license": "The owner of this content is TV2 Regionerne, Denmark.\nCreative Commons Attribution 4.0 International",
51
+ "domain": "News",
52
+ "metadata": {
53
+ "source-pretty": "TV 2 Radio (Danish news)"
54
+ }
55
+ }
56
+ ```
57
+
58
+ ### Data Fields
59
+
60
+ An entry in the dataset consists of the following fields:
61
+
62
+ - `text`(`str`): The content of the document.
63
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
64
+ - `id` (`str`): An unique identifier for each document.
65
+ - `added` (`str`): An date for when the document was added to this collection.
66
+ - `created` (`str`): An date range for when the document was originally created.
67
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
68
+ - `domain` (`str`): The domain of the source
69
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
70
+ - `metadata/*`: Potentially additional metadata
71
  <!-- END-SAMPLE -->
72
 
73
+
74
  ## License Information
75
  <details>
76
  <summary>CC-BY-SA 4.0</summary>
data/wiki/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 264502, "average_document_length": 1386.6366794958071, "number_of_tokens": 122003880, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 264502, "average_document_length": 1386.6366794958071, "number_of_tokens": 122003880, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/wiki/wiki.md CHANGED
@@ -25,23 +25,53 @@ You can read more about wikipeadia on their [about](https://en.wikipedia.org/wik
25
 
26
  ## Dataset Description
27
 
28
- <!-- START-DESC-STATS -->
29
 
 
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 264.50K
32
  - **Number of tokens (Llama 3)**: 122.00M
33
  - **Average document length (characters)**: 1386.64
34
-
35
  <!-- END-DESC-STATS -->
36
 
37
 
 
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
 
41
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  <!-- END-SAMPLE -->
43
 
44
 
 
45
  ## Additional Information
46
 
47
 
 
25
 
26
  ## Dataset Description
27
 
 
28
 
29
+ <!-- START-DESC-STATS -->
30
  - **Language**: dan, dansk, Danish
31
  - **Number of samples**: 264.50K
32
  - **Number of tokens (Llama 3)**: 122.00M
33
  - **Average document length (characters)**: 1386.64
 
34
  <!-- END-DESC-STATS -->
35
 
36
 
37
+
38
  ## Dataset Structure
39
  An example from the dataset looks as follows.
40
 
41
+
42
  <!-- START-SAMPLE -->
43
+ ```py
44
+ {
45
+ "text": "Vimoutiers er en kommune i departementet Orne i Basse-Normandie regionen i det nordvestlige Frankrig[...]",
46
+ "source": "wiki",
47
+ "id": "wiki_366127",
48
+ "added": "2021-03-28",
49
+ "created": "2019-01-01, 2021-01-01",
50
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
51
+ "domain": "Wiki & Books",
52
+ "metadata": {
53
+ "source-pretty": "Wikipedia"
54
+ }
55
+ }
56
+ ```
57
+
58
+ ### Data Fields
59
+
60
+ An entry in the dataset consists of the following fields:
61
+
62
+ - `text`(`str`): The content of the document.
63
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
64
+ - `id` (`str`): An unique identifier for each document.
65
+ - `added` (`str`): An date for when the document was added to this collection.
66
+ - `created` (`str`): An date range for when the document was originally created.
67
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
68
+ - `domain` (`str`): The domain of the source
69
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
70
+ - `metadata/*`: Potentially additional metadata
71
  <!-- END-SAMPLE -->
72
 
73
 
74
+
75
  ## Additional Information
76
 
77
 
data/wikibooks/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 1319, "average_document_length": 13291.027293404093, "number_of_tokens": 6239127, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 1319, "average_document_length": 13291.027293404093, "number_of_tokens": 6239127, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/wikibooks/wikibooks.md CHANGED
@@ -24,22 +24,52 @@ The Danish Subsection of [Wikibooks](https://www.wikibooks.org).
24
 
25
  ## Dataset Description
26
 
27
- <!-- START-DESC-STATS -->
28
 
 
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 1.32K
31
  - **Number of tokens (Llama 3)**: 6.24M
32
  - **Average document length (characters)**: 13291.03
33
-
34
  <!-- END-DESC-STATS -->
35
 
36
 
 
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
 
40
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  <!-- END-SAMPLE -->
42
 
 
43
  ## License Information
44
  <details>
45
  <summary>CC-0</summary>
 
24
 
25
  ## Dataset Description
26
 
 
27
 
28
+ <!-- START-DESC-STATS -->
29
  - **Language**: dan, dansk, Danish
30
  - **Number of samples**: 1.32K
31
  - **Number of tokens (Llama 3)**: 6.24M
32
  - **Average document length (characters)**: 13291.03
 
33
  <!-- END-DESC-STATS -->
34
 
35
 
36
+
37
  ## Dataset Structure
38
  An example from the dataset looks as follows.
39
 
40
+
41
  <!-- START-SAMPLE -->
42
+ ```py
43
+ {
44
+ "text": "Spilinfo.\nSpillet er lavet af Blizzard Entertainment.\nDet er efterfølgeren til Diablo 1, og der er k[...]",
45
+ "source": "wikibooks",
46
+ "id": "wikibooks_1125",
47
+ "added": "2021-03-28",
48
+ "created": "2019-01-01, 2021-01-01",
49
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
50
+ "domain": "Wiki & Books",
51
+ "metadata": {
52
+ "source-pretty": "Wikibooks"
53
+ }
54
+ }
55
+ ```
56
+
57
+ ### Data Fields
58
+
59
+ An entry in the dataset consists of the following fields:
60
+
61
+ - `text`(`str`): The content of the document.
62
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
63
+ - `id` (`str`): An unique identifier for each document.
64
+ - `added` (`str`): An date for when the document was added to this collection.
65
+ - `created` (`str`): An date range for when the document was originally created.
66
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
67
+ - `domain` (`str`): The domain of the source
68
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
69
+ - `metadata/*`: Potentially additional metadata
70
  <!-- END-SAMPLE -->
71
 
72
+
73
  ## License Information
74
  <details>
75
  <summary>CC-0</summary>
data/wikisource/descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 2429, "average_document_length": 6372.487855084397, "number_of_tokens": 5344937, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 2429, "average_document_length": 6372.487855084397, "number_of_tokens": 5344937, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
data/wikisource/wikisource.md CHANGED
@@ -23,23 +23,53 @@ The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page).
23
 
24
  ## Dataset Description
25
 
26
- <!-- START-DESC-STATS -->
27
 
 
28
  - **Language**: dan, dansk, Danish
29
  - **Number of samples**: 2.43K
30
  - **Number of tokens (Llama 3)**: 5.34M
31
  - **Average document length (characters)**: 6372.49
32
-
33
  <!-- END-DESC-STATS -->
34
 
35
 
 
36
  ## Dataset Structure
37
  An example from the dataset looks as follows.
38
 
 
39
  <!-- START-SAMPLE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  <!-- END-SAMPLE -->
41
 
42
 
 
43
  ## Additional Information
44
 
45
 
 
23
 
24
  ## Dataset Description
25
 
 
26
 
27
+ <!-- START-DESC-STATS -->
28
  - **Language**: dan, dansk, Danish
29
  - **Number of samples**: 2.43K
30
  - **Number of tokens (Llama 3)**: 5.34M
31
  - **Average document length (characters)**: 6372.49
 
32
  <!-- END-DESC-STATS -->
33
 
34
 
35
+
36
  ## Dataset Structure
37
  An example from the dataset looks as follows.
38
 
39
+
40
  <!-- START-SAMPLE -->
41
+ ```py
42
+ {
43
+ "text": "&lt;poem&gt;\nKæmpehøjen.\nJeg har stået på mindets høje,\nfølt dets vemodsdybe lyst\nmed en tåre i mit [...]",
44
+ "source": "wikisource",
45
+ "id": "wikisource_4804",
46
+ "added": "2021-03-28",
47
+ "created": "1700-01-01, 2022-01-01",
48
+ "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
49
+ "domain": "Wiki & Books",
50
+ "metadata": {
51
+ "source-pretty": "Wikisource"
52
+ }
53
+ }
54
+ ```
55
+
56
+ ### Data Fields
57
+
58
+ An entry in the dataset consists of the following fields:
59
+
60
+ - `text`(`str`): The content of the document.
61
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
62
+ - `id` (`str`): An unique identifier for each document.
63
+ - `added` (`str`): An date for when the document was added to this collection.
64
+ - `created` (`str`): An date range for when the document was originally created.
65
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
66
+ - `domain` (`str`): The domain of the source
67
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
68
+ - `metadata/*`: Potentially additional metadata
69
  <!-- END-SAMPLE -->
70
 
71
 
72
+
73
  ## Additional Information
74
 
75
 
descriptive_stats.json CHANGED
@@ -1 +1 @@
1
- {"number_of_samples": 546769, "average_document_length": 8461.252984349881, "number_of_tokens": 1567706760, "language": "dan, dansk, Danish", "revision": "ab78b9132d5697343896be76ff8f99a6b544b74b"}
 
1
+ {"number_of_samples": 576589, "average_document_length": 9385.201002794018, "number_of_tokens": 1839599769, "language": "dan, dansk, Danish", "revision": "a3c400cb4cbc310beb194585d49829534d2726a4"}
src/update_descriptive_statistics.py CHANGED
@@ -55,7 +55,7 @@ def _count_tokens(batch):
55
  return {
56
  "token_count": [
57
  len(tokens)
58
- for tokens in tokenizer(batch["text"], padding=False)["input_ids"]
59
  ]
60
  }
61
 
@@ -120,6 +120,39 @@ class DescriptiveStatsOverview:
120
  return obj
121
 
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  def update_statitics(
124
  dataset_path: Path,
125
  name: str,
@@ -149,7 +182,12 @@ def update_statitics(
149
  readme_name = f"{name}.md" if readme_name is None else readme_name
150
  markdown_path = dataset_path / readme_name
151
  with markdown_path.open("r") as f:
152
- new_markdown = desc_stats.add_to_markdown(f.read())
 
 
 
 
 
153
  with markdown_path.open("w") as f:
154
  f.write(new_markdown)
155
 
@@ -188,7 +226,7 @@ def create_parser():
188
  return parser
189
 
190
 
191
- def create_main_table(repo_path: Path = repo_path) -> pd.DataFrame:
192
  datasets = (repo_path / "data").glob("*")
193
 
194
  table = {
@@ -239,7 +277,7 @@ def create_main_table(repo_path: Path = repo_path) -> pd.DataFrame:
239
  return df, readme_references, license_references
240
 
241
 
242
- def update_main_table(repo_path: Path = repo_path):
243
  logging.info("Updating MAIN TABLE")
244
  main_table, readme_references, license_references = create_main_table(repo_path)
245
  readme_path = repo_path / "README.md"
@@ -256,7 +294,7 @@ def main(
256
  logging_level: int = 20,
257
  force: bool = False,
258
  repo_path: Path = repo_path,
259
- ):
260
  logging.basicConfig(level=logging_level)
261
 
262
  if dataset:
 
55
  return {
56
  "token_count": [
57
  len(tokens)
58
+ for tokens in tokenizer(batch["text"], padding=False)["input_ids"] # type: ignore
59
  ]
60
  }
61
 
 
120
  return obj
121
 
122
 
123
+ sample_template = """
124
+ ```py
125
+ {sample}
126
+ ```
127
+
128
+ ### Data Fields
129
+
130
+ An entry in the dataset consists of the following fields:
131
+
132
+ - `text`(`str`): The content of the document.
133
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
134
+ - `id` (`str`): An unique identifier for each document.
135
+ - `added` (`str`): An date for when the document was added to this collection.
136
+ - `created` (`str`): An date range for when the document was originally created.
137
+ - `license` (`str`): The license of the document. The licenses vary according to the source.
138
+ - `domain` (`str`): The domain of the source
139
+ - `metadata/source-pretty` (`str`): The long form version of the short-form source name
140
+ - `metadata/*`: Potentially additional metadata
141
+
142
+ """
143
+
144
+
145
+ def create_sample(dataset: Dataset, max_str_len: int = 100) -> str:
146
+ sample = dataset[0]
147
+ for k in sample:
148
+ if isinstance(k, str) and len(sample[k]) > max_str_len:
149
+ sample[k] = sample[k][:max_str_len] + "[...]"
150
+
151
+ json_sample = json.dumps(sample, indent=2, ensure_ascii=False)
152
+ sample_str = sample_template.format(sample=json_sample)
153
+ return sample_str
154
+
155
+
156
  def update_statitics(
157
  dataset_path: Path,
158
  name: str,
 
182
  readme_name = f"{name}.md" if readme_name is None else readme_name
183
  markdown_path = dataset_path / readme_name
184
  with markdown_path.open("r") as f:
185
+ markdown = f.read()
186
+ new_markdown = desc_stats.add_to_markdown(markdown)
187
+ new_markdown = replace_tag(
188
+ markdown=new_markdown, package=create_sample(ds), tag="SAMPLE"
189
+ )
190
+
191
  with markdown_path.open("w") as f:
192
  f.write(new_markdown)
193
 
 
226
  return parser
227
 
228
 
229
+ def create_main_table(repo_path: Path = repo_path) -> tuple[pd.DataFrame, str, str]:
230
  datasets = (repo_path / "data").glob("*")
231
 
232
  table = {
 
277
  return df, readme_references, license_references
278
 
279
 
280
+ def update_main_table(repo_path: Path = repo_path) -> None:
281
  logging.info("Updating MAIN TABLE")
282
  main_table, readme_references, license_references = create_main_table(repo_path)
283
  readme_path = repo_path / "README.md"
 
294
  logging_level: int = 20,
295
  force: bool = False,
296
  repo_path: Path = repo_path,
297
+ ) -> None:
298
  logging.basicConfig(level=logging_level)
299
 
300
  if dataset: