code2seq
code2seq copied to clipboard
Code for the model presented in the paper: "code2seq: Generating Sequences from Structured Representations of Code"
Hi @urialon, As mentioned in one of the previous issues, I am trying to train and test Code2Seq for the code summarization tasks on our own python dataset. I am...
Hi,Uri Hi, I am using code2seq to run on EMSE-DeepCom [https://github.com/xing-hu/EMSE-DeepCom](url) newest datasets. I followed your suggestiones to run scripts preprocess.sh,but i have encountered errors on test/val/train datasets.The error_log.txt and...
Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.9. Release notes Sourced from gson's releases. Gson 2.8.9 Make OSGi bundle's dependency on sun.misc optional (#1993). Deprecate Gson.excluder() exposing internal Excluder class (#1986). Prevent...
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.9.10.4 to 2.12.6.1. Commits See full diff in compare view [](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...
Is there a pretrained model for Python language?
Hi! Thank you for your work! I used the command > python code2seq.py --load models/java-large-model/model_iter52.release --predict to predict a new name for a single method, and it works well a...
Hello Code2Seq team, I was wondering where in your source code please does you implement the uniform sampling of k paths from AST where you also make sure that you...
Hello, Getting this error when running code2seq.py on the java large preprocessed dataset. ``` Traceback (most recent call last): File "C:\Users\gbaulard\Anaconda3\lib\site-packages\tensorflow\python\module\module.py", line 407, in _flatten_module leaves = nest.flatten_with_tuple_paths( File "C:\Users\gbaulard\Anaconda3\lib\site-packages\tensorflow\python\util\nest.py",...
Hi I am getting a preprocessing error (when invoking `source preprocess.sh`). I don't get any error when I preprocess the same dataset with code2vec. Appreciate any advice. Here's the error:...
Hi @urialon. Could you please tell me how do you construct a json for the service `https://po3g2dx2qa.execute-api.us-east-1.amazonaws.com/production/extractmethods`? I requested the following procedure (you used it in the previous issue): ```...