File size: 4,208 Bytes
3e28a50
 
 
43d839a
3e28a50
 
 
43d839a
 
3e28a50
43d839a
3e28a50
43d839a
65faa6e
2debafd
43d839a
 
3e28a50
 
 
 
 
 
 
 
 
 
 
 
 
0cef317
91332d7
3e28a50
 
 
 
 
 
 
38b692a
 
65faa6e
38b692a
 
 
 
65faa6e
38b692a
 
 
 
 
 
 
318334f
 
38b692a
318334f
 
 
3e28a50
 
38b692a
3e28a50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0cef317
 
 
43d839a
0cef317
43d839a
0cef317
 
 
3e28a50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
---
pretty_name: OpenSubtitles
language:
- da
license: cc0-1.0
license_name: CC-0
task_categories:
- text-generation
- fill-mask
task_ids:
- language-modeling
source_datasets:
- DDSC/partial-danish-gigaword-no-twitter
domains:
- Conversation
- Subtitles
- Spoken
---

# Dataset Card for OpenSubtitles

<!-- START-SHORT DESCRIPTION -->
Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles).
<!-- END-SHORT DESCRIPTION -->


## Dataset Description

<!-- START-DESC-STATS -->
- **Number of samples**: 29.82K
- **Number of tokens (Llama 3)**: 271.60M
- **Average document length in tokens (min, max)**: 9.11K (45, 70.14K)
<!-- END-DESC-STATS -->


## Dataset Structure
An example from the dataset looks as follows.

<!-- START-SAMPLE -->
```py
{
  "id": "opensub_6822913",
  "text": "Tidligere i vikingerne...\nJeg skal gå tilbage til England.\nBurde være gået tilbage for lang tid side[...]",
  "source": "opensubtitles",
  "added": "2025-01-02",
  "created": "1920-01-01, 2018-01-01",
  "token_count": 3559
}
```

### Data Fields

An entry in the dataset consists of the following fields:

- `id` (`str`): A unique identifier for each document.
- `text` (`str`): The content of the document.
- `source` (`str`): The source of the document (see [Source Data](#source-data)).
- `added` (`str`): The date when the document was added to this collection.
- `created` (`str`): The date range when the document was originally created.
- `token_count` (`int`): The number of tokens in the sample computed using the Llama 3 tokenizer.
<!-- END-SAMPLE -->


### Additional Processing

Due to copyright concern additional documents have been removed due to copyright concerns. These include:

```py
{
    # Der kommer en dag
    "opensub_6726481",
    "opensub_6732371",
    # Kollektivet
    "opensub_6645818",
    # Flaskepost fra P
    "opensub_6666922",
    "opensub_6720216",
    "opensub_6958711",
    # Fasandræberne
    "opensub_6036947",
    "opensub_6008622",
    # En du elsker
    "opensub_5828376",
    "opensub_5828378",
    # En chance til
    "opensub_6177523",
    # Lev stærkt
    "opensub_6467655",
    # Nymphomaniac
    "opensub_5604391",
    "opensub_5748340",
    "opensub_5748494",
    "opensub_5629516",
    # Kvinden i buret
    "opensub_5636248",
    "opensub_5514603",
    "opensub_5504932",
    # Den skaldede frisør
    "opensub_5084880",
    "opensub_5031826",
    # Jagten
    "opensub_6929419",
    "opensub_4885548",
    # Melancholia
    "opensub_4421330",
    "opensub_4406991",
    "opensub_4418817",
    # Ambassadøren
    "opensub_4557721",
    # Antichrist
    "opensub_5511502",
    "opensub_3938655",
    "opensub_3636940",
    "opensub_3564521",
    "opensub_3562215",
    # En kongelig affære
    "opensub_4725493",
    "opensub_4725160",
    "opensub_4725159",
    "opensub_4916871",
    "opensub_5186746",
    # Brødre
    "opensub_233943",
    "opensub_87475",
}
```

We have additionally removed duplicate entries from the original dataset.

### Dataset Statistics

<!-- START-DATASET PLOTS -->
<p align="center">
<img src="./images/dist_document_length.png" width="600" style="margin-right: 10px;" />
</p>
<!-- END-DATASET PLOTS -->


## Additional Information


### Citation Information

This dataset was initially published as part of the [Danish gigaword](https://huggingface.co/danish-foundation-models). We recommend that you cite and reference it if you use this dataset:

> Derczynski, L., Ciosici, M. R., et al. (2021). The Danish Gigaword Corpus. In Proceedings of the 23rd Nordic Conference on Computational Linguistics (NoDaLiDa 2021).

```bash
@inproceedings{dagw,
 title = {{The Danish Gigaword Corpus}},
 author = {Leon Derczynski and Manuel R. Ciosici and Rebekah Baglini and Morten H. Christiansen and Jacob Aarup Dalsgaard and Riccardo Fusaroli and Peter Juel Henrichsen and Rasmus Hvingelby and Andreas Kirkedal and Alex Speed Kjeldsen and Claus Ladefoged and Finn Årup Nielsen and Jens Madsen and Malte Lau Petersen and Jonathan Hvithamar Rystrøm and Daniel Varab},
 year = 2021,
 booktitle = {Proceedings of the 23rd Nordic Conference on Computational Linguistics},
 publisher = {NEALT}
}
```