-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating code documentation with code2seq #120
Comments
Hi @balysMorkunas , I believe that the paper may give a better intuition than what I can describe in brief: https://openreview.net/pdf?id=H1gKYo09tX Let me know if you have any specific questions! |
Thank you, I'll contact again if any serious questions arise! |
Hi again, I started looking at how to retrain the model and preprocess the dataset for documentation generation. I followed your suggestion on issue #34 where you suggest to change JavaExtractor to output documentation instead of method names. Could you please elaborate/give example on how to do that? Do you by chance mean to use Thank you very much for your time and effort, I really appreciate it, |
Hi @urialon, I am in a very similar situation to @balysMorkunas and would also like to hear your input about this question. Thank you for your time! |
Hi @balysMorkunas and @bacevicius ,
Basically yes! Another option, if you wish to train on an existing dataset, is to set it to a unique ID, and then replace the unique ID with the documentation later. See also: Best, |
Thanks for your answer @urialon ! Do you think that the hyperparameters Thank you very much for your time, |
Hi @balysMorkunas , These hyperparameters look OK to me, but they depend on the exact dataset and can never really be known in advance. Best, |
Thanks for your help! |
Hi,
I am currently writing a bachelors project where my aim is to test how inline code comments in the training dataset effects the performance of generating code documentation using the code2seq model. Would you be able to briefly tell me about the possibilities of this model regarding automatic code comment generation and how would one set that up? I am very thankful for your time.
edit: I can see that issue #34 has related information, I will of course follow it for now, but if you have any additional tips it would be much appreciated!
The text was updated successfully, but these errors were encountered: