🤗Huggingface Repo •📃[Paper Coming Soon] •👨️Cheng-Hung Yeh
A Web Interface for Chinese Grammatical Error Correction.
Spelling-T5-Base instruction-tuned on over 1M sentences in traditional mandarin.
Grammar-T5-Base instruction-tuned on 5 tasks and over 150k sentences in traditional mandarin.
install necessary packages.
pip install -r requirements.txt
Setup flask web interface.
cd csc_t5
python demo.py
Finally, if you want to retrain the t5-cged model, following this command:
cd csc_t5
python training_zh_prompt_model_csc.py --do_train --do_predict