grammarly / gector

Official implementation of the papers "GECToR – Grammatical Error Correction: Tag, Not Rewrite" (BEA-20) and "Text Simplification by Tagging" (BEA-21)
Apache License 2.0
900 stars 214 forks source link

correct sentences of different lengths from wrong sentences #108

Closed Lei-Xiangyu closed 3 years ago

Lei-Xiangyu commented 3 years ago

Hello, I want to do incremental training on your model. I have a problem generating the dataset using utils/preprocess_data.py: Each corresponding sentence has to have the same length, but if we need the model to know how to split and merge, that means we need false sentences of different lengths from the correct ones, how do I do that?

skurzhanskyi commented 3 years ago

Did you find a solution? Or you still need help?