CoolFace
Datasetpublic

agentlans/grammar-correction

grammar-correction Dataset Summary The grammar-correction dataset is a refined subset of the liweili/c4_200m dataset, derived from Google's C4_200M Synthetic Dataset for Grammatical Error Correction. It contains sentence pairs where the input is ungrammatical and the output is grammatical, making it suitable for training grammatical error correction (GEC) models. Dataset Structure Train set: 100 000 entries Validation set: 25 000 entries… See the full description on the dataset page: https://huggingface.co/datasets/agentlans/grammar-correction.

sourceHugging Faceupdated 2y agoView on Hugging Face
11likes389downloads
Dataset Card

grammar-correction

Dataset Summary

The grammar-correction dataset is a refined subset of the liweili/c4_200m dataset, derived from Google's C4_200M Synthetic Dataset for Grammatical Error Correction. It contains sentence pairs where the input is ungrammatical and the output is grammatical, making it suitable for training grammatical error correction (GEC) models.

Dataset Structure

  • Train set: 100 000 entries
  • Validation set: 25 000 entries

Data Fields

  • input: Ungrammatical sentence (string)
  • output: Corrected, grammatical sentence (string)

Dataset Creation

Source Data

This dataset is based on the liweili/c4_200m dataset, which includes 185 million sentence pairs generated from a cleaned English corpus.

Filtering Methodology

Entries were filtered using the agentlans/snowflake-arctic-xs-grammar-classifier to retain only those with ungrammatical inputs and grammatical outputs, enhancing the quality of training data for GEC tasks.

Considerations for Using the Data

Intended Uses

Designed for training and evaluating GEC models to automatically identify and correct grammatical errors in text.

Limitations and Biases

  1. 1.The dataset is synthetic and may not fully capture real-world grammatical errors.
  2. 2.Filtering may introduce biases based on classifier performance.
  3. 3.Focused on English grammar, limiting applicability to other languages or dialects.

Additional Information

Dataset Curators

  • Curated by filtering the liweili/c4200m dataset, based on Google's C4200M dataset.
  • Please check the licenses of those datasets for usage rights.
  • Also acknowledge the use of the agentlans/snowflake-arctic-xs-grammar-classifier for filtering.

Contributions

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.