grammarly / gector

Official implementation of the papers "GECToR – Grammatical Error Correction: Tag, Not Rewrite" (BEA-20) and "Text Simplification by Tagging" (BEA-21)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU rate is high during inference

alsabahi2030 opened this issue · comments

commented

It seems like the gector model is using multiprocessing during inference. I have checked the code to find some relevant info, but I couldn't make sure of this. Your help is appreciated!

This is expected as you should tokenize input data during training.