tech-srl / code2vec

TensorFlow code for the neural network presented in the paper: "code2vec: Learning Distributed Representations of Code"
https://code2vec.org
MIT License
1.1k stars 286 forks source link

Path Embedding Problem #153

Closed yilinfang closed 2 years ago

yilinfang commented 2 years ago

Thank you for the awesome work!Here comes a problem, how can I get the vectors emmbed from the Paths in the AST of the source code?

urialon commented 2 years ago

Hi @yilinfang , Thank you for your interest in our work!

Have you seen this part of the README? https://github.com/tech-srl/code2vec#exporting-the-code-vectors-for-the-given-code-examples

Best, Uri

yilinfang commented 2 years ago

Thank you very much! @urialon