structured-neural-summarization icon indicating copy to clipboard operation
structured-neural-summarization copied to clipboard

about Java-small preprocessing

Open hukuda222 opened this issue 5 years ago • 7 comments

I am trying to validate your model with a method-naming task in Java-small. Therefore, I converted the source code into a graph representation using Java2Graph code. However, I didn't find any source code to generate files that are necessary to train the model. So, I would like to ask you to publish the source code or the preprocessed dataset. Thank you.

hukuda222 avatar Nov 07 '19 02:11 hukuda222

@hukuda222

Have you solved the problem? I have the same problem.

shengqiangzhang avatar Nov 10 '19 03:11 shengqiangzhang

@shengqiangzhang

It has not been solved yet. For the time being, it was possible to change from graph to corpus shape using this code(https://github.com/CoderPat/structured-neural-summarization/blob/master/parsers/sourcecode/csharp/programgraphs2opengnn.py), but my score was very low. So I think the author uses a different code for preprocessing.

Please let me know if you understand anything.

hukuda222 avatar Nov 12 '19 07:11 hukuda222

@hukuda222

When i use programgraphs2opengnn.py to transfer programgraphs to opengnn. I got the very low score. And then i use graph2subtokengraph.py to transfer opengnn to subtokengraph. But score is very low too.

I have sent a email to author and if the author reply me, I will let you know as soon as possible.

shengqiangzhang avatar Nov 14 '19 09:11 shengqiangzhang

Hi, I want to replicate the results as well. Could you provide instructions or a trained checkpoint of the java-small model? Thanks!

villmow avatar Dec 04 '19 22:12 villmow

@hukuda222

When i use programgraphs2opengnn.py to transfer programgraphs to opengnn. I got the very low score. And then i use graph2subtokengraph.py to transfer opengnn to subtokengraph. But score is very low too.

I have sent a email to author and if the author reply me, I will let you know as soon as possible.

Hi,Have you solved the problem? I have the same problem. And I find the rouge score is always 0. And the predictions are always same invariant ,just like this: prediction: test performed target: set prediction: test performed target: set prediction: test performed target: cpy prediction: test performed target: len prediction: test performed target: len prediction: test performed target: to string prediction: test performed target: set euler angles prediction: test performed target: set euler angles rad prediction: test performed target: get gimbal pole prediction: test performed target: get roll rad prediction: test performed target: get roll prediction: test performed target: get pitch rad prediction: test performed target: get pitch prediction: test performed target: get yaw rad prediction: test performed target: get yaw

BUCTwangkun avatar Feb 06 '20 01:02 BUCTwangkun

@hukuda222

When i use programgraphs2opengnn.py to transfer programgraphs to opengnn. I got the very low score. And then i use graph2subtokengraph.py to transfer opengnn to subtokengraph. But score is very low too.

I have sent a email to author and if the author reply me, I will let you know as soon as possible.

Hi, have you solved the problem?

BUCTwangkun avatar Mar 19 '20 09:03 BUCTwangkun

@BUCTwangkun Sorry, I'm late. Not resolved yet.

hukuda222 avatar Mar 19 '20 09:03 hukuda222