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

[model cards] Improve the widget example selection: not based on embeddings, better for QA #2713

Merged

Conversation

tomaarsen
Copy link
Collaborator

Hello!

Pull Request overview

  • Improve the widget selection: not based on embeddings, better for QA

Details

Previously, the widget selection didn't consider asymmetric models (e.g. QA), so it would compare questions against questions - not very useful. I've updated it for improved selection for QA. Also, samples are now picked more at random: no more embedding when saving a model. This speeds up the saving process. Also, generate_widget_examples is now deprecated as a result, as widget examples are now always generated (but only once).

See e.g. https://huggingface.co/tomaarsen/mpnet-base-gooaq with the new widget examples.

  • Tom Aarsen

@tomaarsen tomaarsen merged commit 529edc3 into UKPLab:master Jun 4, 2024
9 checks passed
@tomaarsen tomaarsen deleted the model_cards/improve_widget_selection branch June 4, 2024 21:19
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