grammarly/coedit
Viewer • Updated • 70.8k • 1.04k • 96
Fine-tuned model for grammar correction using the CoEdit dataset (GEC task).
from transformers import pipeline
corrector = pipeline("text-generation", model="alfazick/sft-grammar-fixer")
result = corrector("Fix grammar: He don't likes the apples.", max_length=50)