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

[warn] Throw a warning if compute_metrics is set, as it's not used #3002

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tomaarsen
Copy link
Collaborator

Resolves #2888

Hello!

Pull Request overview

  • Throw a warning if compute_metrics is set, as it's not used
  • Update the model + model_init warning to a logger-based one, as we're not making it an error.

Details

See #2888 for a discussion, but in short: compute_metrics isn't currently used. An alternative fix is to remove it altogether, but perhaps in the future I'll start using it, so I've kept it for now.

  • Tom Aarsen

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.

SentenceTransformerTrainer compute_metrics
1 participant