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.11k stars 287 forks source link

Vector genration for code #66

Closed Shushank96 closed 4 years ago

Shushank96 commented 4 years ago

Hello there.. I need a suggestion to use this pretrained model for generating vector for a specific input of java code (but vector only as output)

urialon commented 4 years ago

Hi @Shushank96, Thank you for your interest in code2vec.

Please see here: https://github.com/tech-srl/code2vec#exporting-the-code-vectors-for-the-given-code-examples

Shushank96 commented 4 years ago

it helped me with the problem. thank you so much sir.

On Fri, Feb 28, 2020 at 2:17 PM Uri Alon notifications@github.com wrote:

See here:

https://github.com/tech-srl/code2vec#exporting-the-code-vectors-for-the-given-code-examples

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tech-srl/code2vec/issues/66?email_source=notifications&email_token=AOVXTIBJ7DLFH6C5O2GWMK3RFDFRXA5CNFSM4K5HHTN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENHX5HI#issuecomment-592412317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVXTIFEU3P3PQ7Q4SHSXOTRFDFRXANCNFSM4K5HHTNQ .