martinsr/gec-targeted-corrections-esl
GEC Targeted Corrections — ESL An LLM-generated grammatical error correction (GEC) dataset targeting the specific error patterns that ESL learners most commonly produce. Each example is a (src, tgt) pair where src contains a realistic grammatical error and tgt is the minimally corrected version: only what is necessary is changed. Dataset Summary Split Examples train 2,037 Schema { "src": "She gave me some advices about the… See the full description on the dataset page: https://huggingface.co/datasets/martinsr/gec-targeted-corrections-esl.
GEC Targeted Corrections — ESL
An LLM-generated grammatical error correction (GEC) dataset targeting the specific error patterns that ESL learners most commonly produce. Each example is a (src, tgt) pair where src contains a realistic grammatical error and tgt is the minimally corrected version: only what is necessary is changed.
Dataset Summary
Schema
{
"src": "She gave me some advices about the interview.",
"tgt": "She gave me some advice about the interview.",
"pattern_id": "mass_noun_homeworks",
"category": "Noun Number"
}Error Patterns
The dataset covers 20 targeted error patterns across 15 categories:
Design Principles
- Minimal correction:
tgtchanges only what is grammatically necessary. No paraphrasing or stylistic edits. - Overcorrection prevention: The
no_change_neededpattern includes correct sentences to discourage the model from changing things that are already right. - Diversity: Sentences span a wide range of topics (work, travel, health, family, sport, technology) and sentence structures to prevent overfitting to surface patterns.
- ESL-realistic: All errors reflect patterns documented in ESL learner corpora rather than synthetic noise.
Usage
from datasets import load_dataset
ds = load_dataset("martinsr/gec-targeted-corrections-esl")
# Filter to a specific pattern
conditional = ds["train"].filter(lambda x: x["category"] == "Conditional")
# Use src/tgt for seq2seq training
for example in ds["train"]:
print(example["src"], "→", example["tgt"])Intended Use
- Fine-tuning sequence-to-sequence models (T5, BART, mT5) for grammatical error correction
- Targeted evaluation of GEC models on specific error types
- Data augmentation alongside larger corpora such as FCE, W&I+LOCNESS, or NUCLE
Limitations
- English only
- Covers 20 specific patterns; not a general-purpose GEC corpus
- Sentences are authored rather than collected from real learner writing
License
MIT
