src-d / style-analyzer

Lookout Style Analyzer: fixing code formatting and typos during code reviews
GNU Affero General Public License v3.0
32 stars 21 forks source link

Upload the trained global typo correction model to Modelforge #711

Closed vmarkovtsev closed 5 years ago

vmarkovtsev commented 5 years ago

Upon finishing training the global typos model, we need to upload it to Modelforge. There should be another command added to the toolbox for it. It requires the secret file with GCS credentials, I will provide it in DM.

Reference: https://github.com/src-d/modelforge/blob/master/doc/cmdline.md#adding-a-model

The rest of the code must be changed to use the global readonly instance of the model which is loaded at import time.

vmarkovtsev commented 5 years ago

Blocks #710

vmarkovtsev commented 5 years ago

+ we need to provide a good description for this model which clearly specifies the intended use cases.

irinakhismatullina commented 5 years ago

Here is the loaded model https://github.com/src-d/models/pull/14.

irinakhismatullina commented 5 years ago

@vmarkovtsev I think it should be closed?