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

Gh 2117 more flexibility on main metric #2161

Merged

Conversation

MLDLMFZ
Copy link
Contributor

@MLDLMFZ MLDLMFZ commented Mar 17, 2021

Allow different metric than micro f1 as main score (calculated in the eval method of models), which is used for monitoring model performance on dev data during training, saving of best model and learning rate scheduling

@MLDLMFZ
Copy link
Contributor Author

MLDLMFZ commented Mar 19, 2021

More flexibility on the main metric used is currently only implemented for the text_classification model. If you think that's a good idea in general, we could also implement it for other model types.

@alanakbik
Copy link
Collaborator

@MLDLMFZ thanks for adding this - very useful!

@alanakbik alanakbik merged commit fc258f0 into flairNLP:master Mar 22, 2021
@MLDLMFZ
Copy link
Contributor Author

MLDLMFZ commented Mar 24, 2021

Thanks for merging!

@MLDLMFZ MLDLMFZ deleted the GH-2117-more-flexibility-on-main-metric branch March 24, 2021 08:16
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

Successfully merging this pull request may close these issues.

2 participants