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

fix: Added Task selection and aggregation #1140

Merged
merged 49 commits into from
Aug 15, 2024
Merged

Conversation

KennethEnevoldsen
Copy link
Contributor

@KennethEnevoldsen KennethEnevoldsen commented Aug 8, 2024

This code present work required for performing task selection and developing benchmarks within mteb.

The jupyter notebook provides and example of how this could work using Danish, but once we agree that this is a reasonable approach I can redo the workflow for:

  • mteb lite
  • mteb multilingual
  • mteb eu languages
  • mteb african languages
  • mteb some domain, probably legal

Checklist

  • Run tests locally to make sure nothing is broken using make test.
  • Run the formatter to format the code using make lint.

- A few of the benchmarks weren't implemented in the benchmark list. The best choice seem to move them benchmarks and remove the script (there were already a few issues). To ensure that they are maintained with the rest.
- Removed trivial (e.g. running one task) or outdated examples. Removing them ensure that we have less to maintain.
- moved mteb specific script into a mteb-folder.
This avoids loading in classes as modules (see PR ...)
@KennethEnevoldsen KennethEnevoldsen changed the title wip: Adding benchmark fix: Added Task selection and aggregation Aug 14, 2024
Copy link
Collaborator

@isaac-chung isaac-chung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just a few suggestions.

mteb/load_results/load_results.py Show resolved Hide resolved
mteb/task_aggregation.py Outdated Show resolved Hide resolved
mteb/task_selection.py Outdated Show resolved Hide resolved
scripts/task_selection/task_selection_example.ipynb Outdated Show resolved Hide resolved
@KennethEnevoldsen KennethEnevoldsen enabled auto-merge (squash) August 15, 2024 09:12
@KennethEnevoldsen KennethEnevoldsen merged commit 57f4fb2 into main Aug 15, 2024
9 checks passed
@KennethEnevoldsen KennethEnevoldsen deleted the add-benchmarks branch August 15, 2024 09:18
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