grammar spelling punctuation error-correction grammar synthesis FLAN

grammar-synthesis: flan-t5-xl

<a href="https://colab.research.google.com/gist/pszemraj/43fc6a5c5acd94a3d064384dd1f3654c/demo-flan-t5-xl-grammar-synthesis.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a>

This model is a fine-tuned version of google/flan-t5-xl on an extended version of the JFLEG dataset.

<br> <img src="https://i.imgur.com/5QGGF0Z.png" alt="ex"> <br>

Model description

The intent is to create a text2text language model that successfully performs "single-shot grammar correction" on a potentially grammatically incorrect text that could have many errors with the important qualifier that it does not semantically change text/information that IS grammatically correct..

Compare some of the more severe error examples on other grammar correction models to see the difference :)

Limitations

Training procedure

Training hyperparameters

Session One

Session Two

The following hyperparameters were used during training: