Datasets:
HPLT
/

Modalities:
Text
Formats:
parquet
Languages:
Ukrainian
ArXiv:
Libraries:
Datasets
pandas
File size: 3,130 Bytes
3373c58
 
 
 
 
 
 
 
 
 
 
0490d5e
9dfa035
0490d5e
 
3373c58
 
 
 
 
d96f7fa
 
 
 
 
 
 
3373c58
d96f7fa
 
 
 
 
 
 
 
 
5699ad0
d96f7fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0775276
 
d96f7fa
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
---
dataset_info:
  features:
  - name: id
    dtype: string
  - name: source
    dtype: string
  - name: target
    dtype: string
  splits:
  - name: train
    num_bytes: 4259301
    num_examples: 1563
  download_size: 2181118
  dataset_size: 4259301
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
task_categories:
- zero-shot-classification
language:
- uk
pretty_name: UA-GEC
size_categories:
- 1K<n<10K
---

# Dataset Card for UA-GEC

<!-- Provide a quick summary of the dataset. -->

This is a revised version of the document-level Ukrainian Grammatical Error Correction (UA-GEC) dataset intended for internal use in the HPLT project. The dataset is constructed as follows:

* The examples are extracted using [the library](https://github.com/grammarly/ua-gec/tree/main?tab=readme-ov-file#iterating-through-corpus). The source document can appear more than once.
* Examples where the source is the same as the target are removed.
* The remaining training and test examples are combined into one split.
* Note: no clear evaluation script is available, and the target metric is tricky to work with (ERRANT). Hence, the task is formulated as document ranking (the model is required to prefer the grammatical text version to ungrammatical one).


## Dataset Details


### Dataset Sources

<!-- Provide the basic links for the dataset. -->

- **Repository:** [github.com/grammarly/ua-gec](https://github.com/grammarly/ua-gec/tree/main)
- **Paper:** [arxiv.org/abs/2103.16997](https://arxiv.org/abs/2103.16997)


### Dataset Instance

```
{
  'id': '0183',
  'source': 'Останнім часом вони мене стали дратувати. Літають там собі на своїх літаючих тарілках і горя не знають, а у мене програма не працює. Прилетіли б от, та й відлагодили її за мене. Ну, самі, або своїх роботів підписали на справу - це мені без різниці. Я б в загальних рисах пояснив, як воно повинно працювати, а вони б все підправили.\nОсь! А я б в цей час на диванчику повалявся.',
  'target': 'Останнім часом вони мене стали дратувати. Літають там собі на своїх тарілках і горя не знають, а у мене програма не працює. Прилетіли б от та й відлагодили її за мене. Ну, самі, або своїх роботів підписали на справу — це мені без різниці. Я б у загальних рисах пояснив, як воно повинно працювати, а вони б усе підправили.\nОсь! А я б у цей час на диванчику повалявся.'
}
```

## Dataset Structure

`id`: the example id; \
`source`: the source document (the ungrammatical text version); \
`target`: the target document (the grammatical text version).