# 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? Leon? # 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. # 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.