Build a English grammatical error correction system based on language model.
- python 3.4+
- pytorch 1.2
- pytorch-transformer
- Texat-pytorch
- numpy
- Select token to improve the minimum softmax probability of word from Bert iteratively
- Fine-tuning train the GPT-2 in inverse word order
- Frist use the Bert model to correct error
- Deep bidirectional GPT-2 model to polish the output of Bert
- Take the grammatical erroe correction as seq2seq probelm, train seq2seq model to do the GEC