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

[feat] Add 'get_config_dict' method to GISTEmbedLoss for better model cards #2543

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

tomaarsen
Copy link
Collaborator

Hello!

Pull Request overview

  • Add 'get_config_dict' method to GISTEmbedLoss

Details

This should allow for better generation of model cards, as the guide & temperature will be included in the README. Sadly, it's not possible to get the model name without a hacky approach, so I'll just leave it with the printed Sentence Transformer, although that won't inform the reader on what model was actually used.

  • Tom Aarsen

@tomaarsen tomaarsen merged commit b9255d9 into UKPLab:master Mar 15, 2024
9 checks passed
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.

1 participant