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

[v2] Remove deprecated parameters from MTEB and cli #1773

Merged
merged 15 commits into from
Jan 15, 2025
Merged

Conversation

Samoed
Copy link
Collaborator

@Samoed Samoed commented Jan 12, 2025

Now MTEB only gets the list of tasks (AbsTask) or Benchmark and it won't be possible to run mteb -m model_name ....

Checklist

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

@isaac-chung
Copy link
Collaborator

isaac-chung commented Jan 13, 2025

FYI: The fix for broken test has been merged into main.

# Conflicts:
#	tests/test_tasks/test_all_abstasks.py
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.

Nice! Added a few suggestions.

mteb/overview.py Outdated Show resolved Hide resolved
tests/test_benchmark/task_grid.py Show resolved Hide resolved
mteb/evaluation/MTEB.py Show resolved Hide resolved
mteb/evaluation/MTEB.py Outdated Show resolved Hide resolved
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 good! With one bonus suggestion (non-blocking).

mteb/evaluation/MTEB.py Outdated Show resolved Hide resolved
Copy link
Contributor

@KennethEnevoldsen KennethEnevoldsen left a comment

Choose a reason for hiding this comment

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

Nice clean-up not a lot to add. Will cause a merge conflict with #1771, but I think it is minor

@Samoed Samoed merged commit 54018c7 into v2.0.0 Jan 15, 2025
10 checks passed
@Samoed Samoed deleted the refactor_MTEB_class branch January 15, 2025 16:29
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.

3 participants