kotkaramit28 / Evaluating-Language-Models-in-Unsupervised-Grammatical-Error-Correction-for-Scientific-Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evaluating-Language-Models-in-Unsupervised-Grammatical-Error-Correction-for-Scientific-Text

We developed a Grammatical Error Correction system for Scientific Text based on the LM-Critic model by Yasunaga et al. (2021).

To run the model, perform the following steps:

  1. Create the necessary environments from here
  2. Download the project folder from here or create a shortcut to your drive.
  3. Open GEC.ipynb notebook file and change the working directory to the project directory.
  4. Run the cells to perform one iteration of the model.
  5. Run the cells iteratively to perform more iterations of the model.

To evaluate the model,

  1. Download the prediction files from the predictions directory.
  2. Copy them to the eval folder and run ./eval.sh

About


Languages

Language:Macaulay2 97.0%Language:Jupyter Notebook 3.0%Language:Shell 0.0%