code2vec icon indicating copy to clipboard operation
code2vec copied to clipboard

TensorFlow code for the neural network presented in the paper: "code2vec: Learning Distributed Representations of Code"

Results 33 code2vec issues
Sort by recently updated
recently updated
newest added

Hello! Thank you for your amazing work. I am new to AI and was trying to understand how you convert the train.raw file to embeddings and vector. I could not...

Dear Sir, - I would like to what exists in the java14m.dict.c2v file in dataset folder. As I am trying to see the content but its encoding is different. Please...

Do you also have PyTorch implementation of the complete model. If yes, please share the link or file.

I run JavaExtractor to get the ast paths and get the output like this "assign|message|group boolean,600457869,METHOD_NAME". I feel confused about the output. Is the output split by space and what's...

Bumps commons-io from 1.3.2 to 2.7. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=commons-io:commons-io&package-manager=maven&previous-version=1.3.2&new-version=2.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies
java

addresses #106. TMP_DIR was not set correctly and caused files created in the wrong directory. The tmp dir path in ExtractFeaturesForDir should be `"/tmp/feature_extractorXXXX"` but was `""`. This lead to...

Hello sir, when I use java-small preprocess dataset to execute the code2vec model, the following problem occurs.I changed the suffix of the dataset c2s to c2v ![1661616103(1)](https://user-images.githubusercontent.com/42942858/187038348-64886358-a8f5-4241-9c2b-3f59ec080499.png) ![1661616111(1)](https://user-images.githubusercontent.com/42942858/187038354-15e07b53-8996-46b1-a037-291d3bfabfae.png)

Hello, I would like to train the model from scratch with the java14m dataset. However, I encountered an issue as below. Could you please help me to solve this? Thank...

I use command like “{java -cp JavaExtractor-0.0.1-SNAPSHOT.jar JavaExtractor.App --max_path_length 8 --max_path_width 2 --dir test.java >file.txt }“ ,then use ”{python3 code2vec.py --load models/java14_model/saved_model_iter8.release --test file.txt}“,but get error “ {return tf_session.TF_SessionRun_wrapper(self._session, options,...

Hi there team code2vec, I am working on a personal project. My aim is to store a Java codebase in a vector database to run similarity searches and retrieve code...