microsoft / PyCodeGPT

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

Where can i find the code for sktcher #19

Open Addlien opened 10 months ago

Addlien commented 10 months ago

thank you for answer

NL2Code commented 7 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 7 months ago

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