Skip to content

TedYeh/Chinese_spelling_Correction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinese Grammarly - Chinese Grammatical Error Correction

🤗Huggingface Repo •📃[Paper Coming Soon] •👨️Cheng-Hung Yeh

Overview

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.

Usage

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

About

Chinese Grammar Error and Spelling Error Correction System - 中文文法錯誤及錯別字校正系統

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published