Skip to content
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

Number of epochs parameter is not used in Code2NL #42

Closed
Nathan-Nesbitt opened this issue May 2, 2021 · 2 comments
Closed

Number of epochs parameter is not used in Code2NL #42

Nathan-Nesbitt opened this issue May 2, 2021 · 2 comments

Comments

@Nathan-Nesbitt
Copy link

The following is declared in the run.py script for Code2NL,

parser.add_argument("--num_train_epochs", default=3.0, type=float,
                        help="Total number of training epochs to perform.")

It is never used in the script.

@Nathan-Nesbitt
Copy link
Author

Nathan-Nesbitt commented May 2, 2021

I have a fix for this that adds the functionality to support epochs and can make a PR, but I am not certain if this repo is for reference only?

@guody5
Copy link
Contributor

guody5 commented May 4, 2021

Thanks. In fact, number of epochs are not used in this repo for re-implementing results of papers. You can find the new repo in https://github.com/microsoft/CodeXGLUE/tree/main/Code-Text/code-to-text. It will support epochs. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants