microsoft / PyCodeGPT

A pre-trained GPT model for Python code completion and generation
MIT License
266 stars 44 forks source link

Where can i find the code for sktcher #19

Open Addlien opened 1 year ago

Addlien commented 1 year ago

thank you for answer

NL2Code commented 9 months ago

Thank you for your interest. You can convert a code block into a code sketch using the following script. https://github.com/microsoft/PyCodeGPT/blob/main/cert/scripts/ast_utils.py

NL2Code commented 9 months ago

Also, to train a sketcher model, you can use https://github.com/microsoft/PyCodeGPT/blob/main/cert/run_training_cert.sh.