├── .gitignore ├── .gitmodules ├── README.en.md ├── README.md ├── bash ├── finetune.sh └── generate.sh ├── data ├── .DS_Store ├── NaSGEC-Exam │ └── .gitkeep ├── NaSGEC-Media │ ├── .DS_Store │ └── .gitkeep ├── NaSGEC-Thesis │ └── .gitkeep ├── README.md └── dict │ ├── dict.label0.txt │ ├── dict.src.txt │ └── dict.tgt.txt ├── demo.py ├── guidelines └── .gitkeep ├── models └── .gitkeep ├── pics └── data_statistic.png ├── preprocessed └── .gitkeep ├── requirements.txt ├── results └── .gitkeep └── utils ├── convert_from_fairseq_to_huggingface.py ├── segment_bert.py ├── tokenization.py └── vocab.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/README.en.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/README.md -------------------------------------------------------------------------------- /bash/finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/bash/finetune.sh -------------------------------------------------------------------------------- /bash/generate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/bash/generate.sh -------------------------------------------------------------------------------- /data/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/data/.DS_Store -------------------------------------------------------------------------------- /data/NaSGEC-Exam/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/NaSGEC-Media/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/data/NaSGEC-Media/.DS_Store -------------------------------------------------------------------------------- /data/NaSGEC-Media/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/NaSGEC-Thesis/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- 1 | # NaSGEC 2 | 3 | ## 如何获取数据 4 | 请参考“语析LAGroup”的官方仓库https://github.com/SUDA-LA/CGECData 5 | -------------------------------------------------------------------------------- /data/dict/dict.label0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/data/dict/dict.label0.txt -------------------------------------------------------------------------------- /data/dict/dict.src.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/data/dict/dict.src.txt -------------------------------------------------------------------------------- /data/dict/dict.tgt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/data/dict/dict.tgt.txt -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/demo.py -------------------------------------------------------------------------------- /guidelines/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pics/data_statistic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/pics/data_statistic.png -------------------------------------------------------------------------------- /preprocessed/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/requirements.txt -------------------------------------------------------------------------------- /results/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/convert_from_fairseq_to_huggingface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/utils/convert_from_fairseq_to_huggingface.py -------------------------------------------------------------------------------- /utils/segment_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/utils/segment_bert.py -------------------------------------------------------------------------------- /utils/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/utils/tokenization.py -------------------------------------------------------------------------------- /utils/vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HillZhang1999/NaSGEC/HEAD/utils/vocab.txt --------------------------------------------------------------------------------