CodeGen icon indicating copy to clipboard operation
CodeGen copied to clipboard

How to get embedding for javascript and python code snippet?

Open smith-co opened this issue 2 years ago • 3 comments

I have a couple of questions:

a) How can I use CodeGen to extract embedding for JavaScript and Python code? b) Can I feed incomplete code JavaScript and Python snippet to extract embedding? Or the code snippet needs to be complete? c) Have anyone used CodeGen to perform code to code search?

smith-co avatar Aug 04 '22 05:08 smith-co

you can wrap this model into a web application, provide code generation services, and develop a vs code extension that generates code snippets when pressed ':' or '{'. such as : backend service: https://github.com/git-cloner/codegen vs code extension: https://github.com/git-cloner/codegeeker

little51 avatar Dec 01 '22 06:12 little51

@little51 interesting. How does it compare with CoPilot?

nashid avatar Dec 01 '22 06:12 nashid

As Comparison with GitHub copilot #17 (https://github.com/salesforce/CodeGen/issues/17), CoPilot is the product, Codegeeker uses the salesforce/Codegen model is open source, there is still a big gap with CoPilot, due to the limitation of computing power, git-cloner/ codegen uses the smallest model (codegen-350M-nl), and the extension has just been released and is still being improved

little51 avatar Dec 01 '22 08:12 little51