File size: 6,006 Bytes
07513e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Danish DynaWord: Moving from one-shot dataset Continously developed datasets  

Authors:

This list of authors to be invited for co-authorship 

CHC
- Kenneth Enevoldsen
- Jan Kostkan
- Per
- Kristoffer Nielbo
- Marton
- Martin (gode CI tanker)

Alexandra:
- Dan Nielsen
- Rasmus
- Peter
- Kristian
- Torben

DFM
- Bolette Pedersen (eller nogen fra hendes gruppe)
- Desmond
- Peter

Danish Royal Library? Other organization that are important to include?

# Abstract

In this work we introduce dynaword an argument for moving toward continously developed dataset as opposed to current release and forget datasets.
As an example we release Danish DynaWord 

dataset is available at: LINK

# Introduction

Current datasets
While creating a current

Current methods for dataset creation tacke only a small [@joshiStateFateLinguistic2020]
In the project we specifically choose to focus on the low to mid-resource language Danish (dan). We see two reasons for doing this:

- The dynaword approach is most likely to be beneficial for low to mid resourced languages (class 2-4; @joshiStateFateLinguistic2020) which have contributors able and willing to contribute and where the domain high resource languages (class 5; @joshiStateFateLinguistic2020) could likely sustain multiple dynaword project targeting specific domains.
-  not only for Danish b

While it is in theory possible to open a PR on existing dataset, this practice is often rare and instead we often see improvements on the existing dataset published (see e.g. [@pascal_alie_kenneth_et_paper], [@that_guy_that_added_langauge_tag_to_a_dataset]). These derivative works rarely get as many downloads as the original 

Contrasting this approach to code development - where it is common practice to create PRs to continually improve the codebase - makes this dataset development landscape seems immature and inefficent. 

## Related work


### Existing approaches in Dataset development

Large project like OSCAR [@OSCAR], HPLT [@hplt], and fineweb [@fineweb] release iterative version of dataset derived from commoncrawl [@commoncrawl].
These approaches make it hard to contributors to join contribute and siloes dataset development in a few institutions. Furthermore the focus 
commoncrawl ignores other valuable resources such as public APIs and comes with a slew of ethical and legal concerns [@missing] which effect only the usefulness of the datasets but also the models derived from these. 
While these resources such as individual dataset derived from APIs would be extensive to collect for individual groups as they rarely offer enough data to be worth the time opening up this approach to a community makes these approaches more viable. 


Opening up development pipeline also increases openness around the dataset collection. ADD SOMETHING on inclusion here.

Read up on fineweb!!! (I assume they do some CI)

Other successful open-source project: dependency treebank project [@dep_treebank], ...

Existing projects on open-licensed data [@elutherAI]

We note that our approach is complementary to existing projects such as fineweb

### Continuous Integration

Do we need a section on this? 

### Danish and Scandinavian Datasets 

Lacunae of danish [@cite]
Danish gigaword [@dagw]
Swedish gigaword? [@swedish]
NCC [@ncc_kummervold]


Existing benchmark covering Scandinavian languages such as ScandEval [@scandeval; @scandeval2] and SEB [@seb] argue that reasonable to evalaute on the 

# Methods

## Continuous Integration 

Our approach for continuous integration, how to submit, what we test for. 


# Results 

## Dataset collection

Current collection. 

| Source          | Date       | Domain         | License | Size |
| --------------- | ---------- | -------------- | ------- | ---- |
| **Legal**       |            |                |         |      |
| Retsinformation | date range | Legal, Written |         | 188M |
| ...             |            |                |         |      |
| **Total**       |            |                |         |      |


For a description of each dataset we refer to the public repository. 
<!-- we could also include -->

# Conclusion

## Dataset delivery

# Limitation

- Is danish too limited: Should we consider multilingual sources, scandinavian, germanic, English

- Size: 
  - The size is currently limited if the size grows to large developing becomes problematic
  - This is still way smaller than what could be extracted from CC

- Only Danish: While developing CI for datasets is by no means new [@missing] doing so for open pre-training datasets open a collaborative fashion has
not been tested on a larger scale. Once the approach has been validated we plan to host a collaboration along with huggingface to develop these dataset sources.

- Huggingface datasets as a development platform for datasets: Througout this work it was clear to many of the developers that the ease of contributing minor changes (e.g. filtering out a few bad examples) was both hard to create a PRs for and hard to review often requiring the reviewer to simply trust that the user did what was stated in the commit message. While previous projects have tackled this issue using human readable formats [@dep_treebank], due to the scope of the dataset this would quickly become inefficient.
This lack of clarity increased the likelihood of dataset attacks such as dataset poisoning [@missing]. We expect to see both interface development and software development to detect and prevent such attacks. 

- Machine generated content within training data: Not 


Ethical and Environmental consideration

enviromental: 
- common codebase lead to less duplication of dataset and reduces storage required
- continual ci running on large datasets could be a concern. Currently out tests use a total of XXX Co2-eq (estimated using codecarbon). however we have already seen people using training [@fineweb] and evaluating LLMs to appriximate dataset quality, such workflows could quickly incrase the co2 consumption.