Closed skye95git closed 2 years ago
Hey there,
Yes, I make a CodeT5 demo as a VS code plugin. We first run the model on the GCP and expose it as a web service, which is then integrated into the VS Code extension. Please refer to this online tutorial for more details.
For the demo of code generation, the source input is only the natural language description. We fine-tune another CodeT5 model for this on our customized Apex dataset, which is not the Concode data and has no env variables.
Hey there,
Yes, I make a CodeT5 demo as a VS code plugin. We first run the model on the GCP and expose it as a web service, which is then integrated into the VS Code extension. Please refer to this online tutorial for more details.
For the demo of code generation, the source input is only the natural language description. We fine-tune another CodeT5 model for this on our customized Apex dataset, which is not the Concode data and has no env variables.
Thanks for your reply! Is your customized Apex dataset public? If not, is it convenient to give an example of the data format?
@yuewang-cuhk Hi, the output of the model appears to be token level:
void function ( ) { TSTNode loc0 = root ; while ( loc0 != null ) { if ( loc0 . data . equals ( data ) ) return ; loc0 = loc0 . left ; } }
How do you try out the full readable output in the AI coding assistant demo
? Is it also implemented with your customized Apex dataset?
Hi, the newly added
AI coding assistant demo
is cool! I have a few questions about it:Did you make the codeT5 model into VS Code plugin? How did you do that?
When demonstrating code generation, editing the comment generates the corresponding code snippet. Aren't the inputs to the code generation model natural Language Description and class Environment?
The format of the data in the Concode dataset is
Is it possible to generate accurate code snippet by typing only comments without class Environment? Doesn't the loss of context information affect the quality of the generated code?