Uri Alon
Uri Alon
Hi @konL , Thank you for your interest in our work! The `extract_paths` API is exactly the same as the JavaExtractor, which is included in the codebase, but wrapped in...
Hi @yingdehuijin , Thank you for your interest in our work! I don't know if there is anything wrong with this dataset, I have never used it. However, it does...
The "nl: matches a float" are part of the same file? Our JavaExtractor expects pure java files, and extracts the method names as the labels. You can replace the existing...
No, sorry, but contributions are welcome! On Wed, Feb 23, 2022 at 8:40 AM Alexandros Karargyris < ***@***.***> wrote: > Is there a pretrained model for Python language? > >...
Hi @Veeraraghavans , The PythonExtractor generates data and dictionaries which can be used to **train** a model on Python. Then, this model can be used to test **only Python** code...
Hi @Avra2 , Here it is: https://github.com/tech-srl/code2seq/blob/master/reader.py#L78-L87 The code is not as simple as one would imagine, because every example has a different number of paths, so we need to...
Hi @Avra2 , See answers below. >What is embedding matrix E^nodes and how you get that in your code please? This is a standard, simple, embedding matrix, initialized here: https://github.com/tech-srl/code2seq/blob/master/model.py#L359...
Hi @gbaulard , Thank you for your interest in our work! What python version and `tensorflow` version are you using? Best, Uri
Hi @AftabHussain , Thank you for your interest in code2seq! The fact that the error includes ` ` might hint that you entered `` somewhere in the `preprocess.sh` script. Can...
Hi @AftabHussain , Can you please try running the Java process directly for a single file: ``` java -cp JavaExtractor/JPredict/target/JavaExtractor-0.0.1-SNAPSHOT.jar JavaExtractor.App --max_path_length=8 --max_path_width=2 --file JavaExtractor/JPredict/src/main/java/JavaExtractor/App.java ``` Uri