You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a) How can I use CodeT5 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 CodeT5 to perform code to code search?
The text was updated successfully, but these errors were encountered:
Hi, for embedding exaction with CodeT5, we suggest to follow the BART manner by feeding the sequences to both encoder and decoder. Then you can employ either the last decoder state or the average pooling of all decoder states as the sequence embedding.
For code search, we did not try it yet. You can refer to this UniXcoder paper which includes such evaluation for the moment.
I have a couple of questions:
a) How can I use CodeT5 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 CodeT5 to perform code to code search?
The text was updated successfully, but these errors were encountered: