Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -48,4 +48,105 @@ configs:
|
|
| 48 |
path: data/full_train-*
|
| 49 |
size_categories:
|
| 50 |
- 1K<n<10K
|
| 51 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
path: data/full_train-*
|
| 49 |
size_categories:
|
| 50 |
- 1K<n<10K
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
# DaLA: Danish Linguistic Acceptability Evaluation Dataset
|
| 54 |
+
|
| 55 |
+
**NOTE: This is a variant of [DaLA Standard](https://huggingface.co/datasets/giannor/dala) with labels in Danish language instead of English (as in the original one), the data is the same. The following information are the same contained in the original repository**
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
**DaLA** ([paper][1]) is a benchmark dataset for **linguistic acceptability judgment** in Danish, designed to evaluate how well NLP models, especially large language models (LLMs), understand grammaticality in real-world Danish sentences. The dataset extends previous resources by introducing a broader and more realistic set of error types and providing data splits suitable for evaluation via few-shot or finetuning.
|
| 60 |
+
|
| 61 |
+
---
|
| 62 |
+
|
| 63 |
+
## 🔗 Links
|
| 64 |
+
- DaLA variants are linked and described below
|
| 65 |
+
- [Paper][1]
|
| 66 |
+
- [GitHub Repository](https://github.com/N-essuno/DaLA) (code, data generation scripts)
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## 📖 Overview
|
| 71 |
+
|
| 72 |
+
In linguistic acceptability tasks, models must distinguish between **grammatically acceptable** and **unacceptable** sentences. The DaLA dataset was created by:
|
| 73 |
+
|
| 74 |
+
- Analyzing real-world Danish writing errors.
|
| 75 |
+
- Designing **14 distinct corruption functions** that reflect common Danish mistakes (e.g., pronoun confusion, suffix errors, interchange of determiners).
|
| 76 |
+
- Applying a single corruption to each correct Danish sentence creating an incorrect counterpart, resulting in **minimal pairs** of sentences that differ by only one error.
|
| 77 |
+
|
| 78 |
+
The dataset includes:
|
| 79 |
+
- The original correct sentences (*acceptable*).
|
| 80 |
+
- The corrupted sentences (*unacceptable*).
|
| 81 |
+
- A binary acceptability label.
|
| 82 |
+
- A corruption type identifier.
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## 📦 Dataset Variants and Splits
|
| 87 |
+
|
| 88 |
+
There are three variants of the DaLA dataset, each with different sizes and proportions:
|
| 89 |
+
|
| 90 |
+
| Split Variant | Description | Size (approx.) | Link |
|
| 91 |
+
|------------------|-------------|----------------|----------------|
|
| 92 |
+
| `dala` | Standard benchmark with proportions comparable to prior Danish acceptability datasets | 3,328 samples | [DaLA Standard](https://huggingface.co/datasets/giannor/dala) |
|
| 93 |
+
| `dala_medium` | Expanded version using more available samples | ~6,056 samples | [DaLA Medium](https://huggingface.co/datasets/giannor/dala_medium) |
|
| 94 |
+
| `dala_large` | Largest version with the full expanded dataset | ~7,656 samples | [DaLA Large](https://huggingface.co/datasets/giannor/dala_large) |
|
| 95 |
+
|
| 96 |
+
Each variant includes train, validation, and test splits.
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## 🧠 Tasks & Usage
|
| 101 |
+
|
| 102 |
+
DaLA is primarily intended for:
|
| 103 |
+
|
| 104 |
+
✔ **Model evaluation and benchmarking**: Assessing model competence in grammatical judgment
|
| 105 |
+
✔ **Minimal-pair evaluation**: Error type discrimination and fine-grained analysis
|
| 106 |
+
|
| 107 |
+
You can load the dataset using the Hugging Face `datasets` library as follows:
|
| 108 |
+
|
| 109 |
+
```python
|
| 110 |
+
from datasets import load_dataset
|
| 111 |
+
|
| 112 |
+
# Standard split
|
| 113 |
+
dataset = load_dataset("giannor/dala")
|
| 114 |
+
|
| 115 |
+
# Medium or large variants
|
| 116 |
+
dataset_medium = load_dataset("giannor/dala_medium")
|
| 117 |
+
dataset_large = load_dataset("giannor/dala_large")
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
## 📊 Baselines & Model Performance
|
| 121 |
+
|
| 122 |
+
In the corresponding paper, DaLA was used to benchmark a variety of open-source LLMs and model types. Across many models, performance on DaLA was **lower** than on previous Danish acceptability benchmarks, highlighting DaLA’s **greater difficulty and discriminatory power**. ([DaLA paper][1])
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## 📄 Citation
|
| 127 |
+
|
| 128 |
+
If you use this dataset in your work, please cite the following paper:
|
| 129 |
+
|
| 130 |
+
```bibtex
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
@misc
|
| 134 |
+
{barmina2025daladanishlinguisticacceptability,
|
| 135 |
+
title={DaLA: Danish Linguistic Acceptability Evaluation Guided by Real World Errors},
|
| 136 |
+
author={Gianluca Barmina and Nathalie Carmen Hau Norman and Peter Schneider-Kamp and Lukas Galke},
|
| 137 |
+
year={2025},
|
| 138 |
+
eprint={2512.04799},
|
| 139 |
+
archivePrefix={arXiv},
|
| 140 |
+
primaryClass={cs.CL},
|
| 141 |
+
url={https://arxiv.org/abs/2512.04799},
|
| 142 |
+
}
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
+
---
|
| 146 |
+
|
| 147 |
+
## ⚖️ License
|
| 148 |
+
|
| 149 |
+
This dataset is shared under the **CC BY 4.0** license.
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
[1]: https://arxiv.org/abs/2512.04799 "DaLA: Danish Linguistic Acceptability Evaluation Guided by Real World Errors"
|