Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
dataset_name: grammar-correction
|
3 |
+
description: >
|
4 |
+
A refined subset of the liweili/c4_200m dataset, derived from Google's C4_200M Synthetic Dataset for Grammatical Error Correction.
|
5 |
+
Contains sentence pairs where the input is ungrammatical and the output is grammatical, suitable for training grammatical error correction (GEC) models.
|
6 |
+
train_size: 100000
|
7 |
+
validation_size: 25000
|
8 |
+
data_fields:
|
9 |
+
- input: "Ungrammatical sentence (string)"
|
10 |
+
- output: "Corrected, grammatical sentence (string)"
|
11 |
+
intended_uses: >
|
12 |
+
Designed for training and evaluating GEC models to automatically identify and correct grammatical errors in text.
|
13 |
+
limitations:
|
14 |
+
- "Synthetic data may not fully capture real-world grammatical errors."
|
15 |
+
- "Filtering may introduce biases based on classifier performance."
|
16 |
+
- "Focused on English grammar, limiting applicability to other languages or dialects."
|
17 |
+
---
|
18 |
+
# grammar-correction
|
19 |
+
|
20 |
+
## Dataset Summary
|
21 |
+
|
22 |
+
The grammar-correction dataset is a refined subset of the [liweili/c4_200m](https://huggingface.co/datasets/liweili/c4_200m) dataset,
|
23 |
+
derived from Google's [C4_200M Synthetic Dataset for Grammatical Error Correction](https://github.com/google-research-datasets/C4_200M-synthetic-dataset-for-grammatical-error-correction).
|
24 |
+
It contains sentence pairs where the input is ungrammatical and the output is grammatical, making it suitable for training grammatical error correction (GEC) models.
|
25 |
+
|
26 |
+
## Dataset Structure
|
27 |
+
|
28 |
+
- **Train set**: 100 000 entries
|
29 |
+
- **Validation set**: 25 000 entries
|
30 |
+
|
31 |
+
### Data Fields
|
32 |
+
|
33 |
+
- **input**: Ungrammatical sentence (string)
|
34 |
+
- **output**: Corrected, grammatical sentence (string)
|
35 |
+
|
36 |
+
## Dataset Creation
|
37 |
+
|
38 |
+
### Source Data
|
39 |
+
|
40 |
+
This dataset is based on the liweili/c4_200m dataset, which includes 185 million sentence pairs generated from a cleaned English corpus.
|
41 |
+
|
42 |
+
### Filtering Methodology
|
43 |
+
|
44 |
+
Entries were filtered using the [agentlans/snowflake-arctic-xs-grammar-classifier](https://huggingface.co/agentlans/snowflake-arctic-xs-grammar-classifier)
|
45 |
+
to retain only those with ungrammatical inputs and grammatical outputs, enhancing the quality of training data for GEC tasks.
|
46 |
+
|
47 |
+
## Considerations for Using the Data
|
48 |
+
|
49 |
+
### Intended Uses
|
50 |
+
|
51 |
+
Designed for training and evaluating GEC models to automatically identify and correct grammatical errors in text.
|
52 |
+
|
53 |
+
### Limitations and Biases
|
54 |
+
|
55 |
+
1. The dataset is synthetic and may not fully capture real-world grammatical errors.
|
56 |
+
2. Filtering may introduce biases based on classifier performance.
|
57 |
+
3. Focused on English grammar, limiting applicability to other languages or dialects.
|
58 |
+
|
59 |
+
## Additional Information
|
60 |
+
|
61 |
+
### Dataset Curators
|
62 |
+
|
63 |
+
- Curated by filtering the liweili/c4_200m dataset, based on Google's C4_200M dataset.
|
64 |
+
- Please check the licenses of those datasets for usage rights.
|
65 |
+
- Also acknowledge the use of the agentlans/snowflake-arctic-xs-grammar-classifier for filtering.
|
66 |
+
|
67 |
+
### Contributions
|
68 |
+
|
69 |
+
This dataset aims to provide high-quality resources for GEC model training and evaluation, building on the efforts of Google Research and the Hugging Face community.
|