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

Difference between main_parse.py and main.py #172

Closed
jd-coderepos opened this issue May 27, 2021 · 1 comment
Closed

Difference between main_parse.py and main.py #172

jd-coderepos opened this issue May 27, 2021 · 1 comment

Comments

@jd-coderepos
Copy link

jd-coderepos commented May 27, 2021

Greetings,

There was some discussion on main_parse.py in this issue #55, however, it is not clear to me the difference between main.py and main_parse.py

The hyperparameters tuning tips in point 3 talks about setting hyperparameters in command line arguments that is possible with main_parse.py. However, I notice two things in this regard: 1) this can also be done with main.py; and 2) it is currently not possible for all hyperparameters, e.g., word_emb_dim or char_emb_dim or lr etc.

Would be happy to have a clarification discussion on this.

Many thanks ...

@jd-coderepos
Copy link
Author

I find the answer to my question here https://github.com/jiesutd/NCRFpp/blob/master/readme/hyperparameter_tuning.md

If you want to write a script to tune hyperparameters, you can use the main_parse.py to set hyperparameters in command line arguements.

Thanks for these tips! 👍

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

1 participant