File size: 7,670 Bytes
8df3c5c
 
475f459
8df3c5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72f5b40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25970fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5e37a38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443f0d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
475f459
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b8b694
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
898c736
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98ee41a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8df3c5c
 
 
 
 
 
 
 
 
 
 
72f5b40
 
 
 
 
 
 
 
 
 
25970fe
 
 
 
 
 
 
 
 
 
5e37a38
 
 
 
 
 
 
 
 
 
443f0d5
 
 
 
 
 
 
 
 
 
475f459
 
 
 
 
 
 
 
 
 
7b8b694
 
 
 
 
 
 
 
 
 
898c736
 
 
 
 
 
 
 
 
 
98ee41a
 
 
 
 
 
 
 
 
 
3aacb4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8df3c5c
3aacb4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
890966a
 
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
---
dataset_info:
- config_name: da
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 146694
    num_examples: 1024
  - name: val
    num_bytes: 33804
    num_examples: 256
  - name: test
    num_bytes: 276605
    num_examples: 2048
  - name: full_train
    num_bytes: 738488
    num_examples: 5352
  download_size: 703702
  dataset_size: 1195591
- config_name: de
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 145852
    num_examples: 1024
  - name: val
    num_bytes: 38035
    num_examples: 256
  - name: test
    num_bytes: 295391
    num_examples: 2048
  - name: full_train
    num_bytes: 3784665
    num_examples: 26098
  download_size: 2609370
  dataset_size: 4263943
- config_name: en
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 142432
    num_examples: 1024
  - name: val
    num_bytes: 33811
    num_examples: 256
  - name: test
    num_bytes: 276421
    num_examples: 2048
  - name: full_train
    num_bytes: 2065205
    num_examples: 15348
  download_size: 1490532
  dataset_size: 2517869
- config_name: fo
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 146596
    num_examples: 1024
  - name: val
    num_bytes: 39001
    num_examples: 256
  - name: test
    num_bytes: 156312
    num_examples: 1024
  - name: full_train
    num_bytes: 164465
    num_examples: 1148
  download_size: 240821
  dataset_size: 506374
- config_name: is
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 171843
    num_examples: 1024
  - name: val
    num_bytes: 42652
    num_examples: 256
  - name: test
    num_bytes: 347828
    num_examples: 2048
  - name: full_train
    num_bytes: 680496
    num_examples: 4008
  download_size: 665385
  dataset_size: 1242819
- config_name: nb
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 129282
    num_examples: 1024
  - name: val
    num_bytes: 30779
    num_examples: 256
  - name: test
    num_bytes: 252311
    num_examples: 2048
  - name: full_train
    num_bytes: 3223287
    num_examples: 25908
  download_size: 2159785
  dataset_size: 3635659
- config_name: nl
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 123042
    num_examples: 1024
  - name: val
    num_bytes: 30717
    num_examples: 256
  - name: test
    num_bytes: 249767
    num_examples: 2048
  - name: full_train
    num_bytes: 2230281
    num_examples: 18110
  download_size: 1551953
  dataset_size: 2633807
- config_name: nn
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 137050
    num_examples: 1024
  - name: val
    num_bytes: 35422
    num_examples: 256
  - name: test
    num_bytes: 274470
    num_examples: 2048
  - name: full_train
    num_bytes: 3048722
    num_examples: 22768
  download_size: 2086411
  dataset_size: 3495664
- config_name: sv
  features:
  - name: text
    dtype: string
  - name: corruption_type
    dtype: string
  - name: label
    dtype: string
  splits:
  - name: train
    num_bytes: 142715
    num_examples: 1024
  - name: val
    num_bytes: 36601
    num_examples: 256
  - name: test
    num_bytes: 278198
    num_examples: 2048
  - name: full_train
    num_bytes: 998332
    num_examples: 7434
  download_size: 810940
  dataset_size: 1455846
configs:
- config_name: da
  data_files:
  - split: train
    path: da/train-*
  - split: val
    path: da/val-*
  - split: test
    path: da/test-*
  - split: full_train
    path: da/full_train-*
- config_name: de
  data_files:
  - split: train
    path: de/train-*
  - split: val
    path: de/val-*
  - split: test
    path: de/test-*
  - split: full_train
    path: de/full_train-*
- config_name: en
  data_files:
  - split: train
    path: en/train-*
  - split: val
    path: en/val-*
  - split: test
    path: en/test-*
  - split: full_train
    path: en/full_train-*
- config_name: fo
  data_files:
  - split: train
    path: fo/train-*
  - split: val
    path: fo/val-*
  - split: test
    path: fo/test-*
  - split: full_train
    path: fo/full_train-*
- config_name: is
  data_files:
  - split: train
    path: is/train-*
  - split: val
    path: is/val-*
  - split: test
    path: is/test-*
  - split: full_train
    path: is/full_train-*
- config_name: nb
  data_files:
  - split: train
    path: nb/train-*
  - split: val
    path: nb/val-*
  - split: test
    path: nb/test-*
  - split: full_train
    path: nb/full_train-*
- config_name: nl
  data_files:
  - split: train
    path: nl/train-*
  - split: val
    path: nl/val-*
  - split: test
    path: nl/test-*
  - split: full_train
    path: nl/full_train-*
- config_name: nn
  data_files:
  - split: train
    path: nn/train-*
  - split: val
    path: nn/val-*
  - split: test
    path: nn/test-*
  - split: full_train
    path: nn/full_train-*
- config_name: sv
  data_files:
  - split: train
    path: sv/train-*
  - split: val
    path: sv/val-*
  - split: test
    path: sv/test-*
  - split: full_train
    path: sv/full_train-*
license: cc-by-sa-4.0
task_categories:
- text-classification
language:
- da
- sv
- nb
- nn
- 'no'
- is
- fo
- en
- de
- nl
pretty_name: ScaLA
size_categories:
- 100K<n<1M
---

# Dataset Card for ScaLA

## Dataset Description

- **Point of Contact:** [Dan Saattrup Nielsen](mailto:[email protected])

### Dataset Summary

This dataset consists of documents and whether they are grammatically correct or not. It has been automatically generated using [this script](https://github.com/ScandEval/ScandEval/blob/main/src/scripts/create_scala.py), which corrupts documents from a universal dependencies treebank.

### Supported Tasks and Leaderboards

Evaluation of linguistic acceptability (binary classification on correct/incorrect) is the intended task for this dataset. Leaderboards are live [here](https://scandeval.com/).

### Languages

The dataset is available in Danish (`da`), Swedish (`sv`), Norwegian Bokmål (`nb`), Norwegian Nynorsk (`nn`), Icelandic (`is`), Faroese (`fo`), German (`de`), Dutch (`nl`) and English (`en`).

## Dataset Structure

An example from the dataset looks as follows.

```
{
  "text": "some text",
  "corruption_type": <null, "flip_neighbours" or "delete">,
  "label": <"incorrect" or "correct">
}
```

### Data Fields

- `text`: a `string` feature.
- `corruption_type`: a `string` or `null` feature.
- `label`: a `string` feature.


## Dataset Creation

### Curation Rationale

There are very few linguistic acceptability datasets in the given languages.

### Source Data

The dataset has been collected from the [universal dependencies datasets](https://universaldependencies.org/) for the given languages.

## Additional Information

### Dataset Curators

[Dan Saattrup Nielsen](https://huggingface.co/saattrupdan) from the [The Alexandra
Institute](https://alexandra.dk/)

### Licensing Information

The dataset is licensed under the [CC BY-SA 4.0
license](https://creativecommons.org/licenses/by-sa/4.0/).