Add ESC50 and zero-shot classification#2133
Merged
RahulSChand merged 111 commits intoembeddings-benchmark:maebfrom Mar 5, 2025
Merged
Add ESC50 and zero-shot classification#2133RahulSChand merged 111 commits intoembeddings-benchmark:maebfrom
RahulSChand merged 111 commits intoembeddings-benchmark:maebfrom
Conversation
Co-authored-by: rahulschand <rahulsc@stanford.edu>
Co-authored-by: rahulschand <rahulsc@stanford.edu>
Author
|
@Samoed Hey, I finally got around to fixing this PR. I was waiting for this other PR #2082 to merge since many file changes were similar. I have updated the PR with
Currently on the fused clap model is there, when this PR gets merged, I will create another small PR with just the unfused model added as well. import mteb
model_name = "laion/clap-htsat-fused"
model = mteb.get_model(model_name=model_name)
tasks = mteb.get_tasks(tasks=["ESC50_Zeroshot"])
evaluation = mteb.MTEB(tasks=tasks)
results = evaluation.run(model)
print(results[0].scores) |
Samoed
reviewed
Mar 5, 2025
Member
Samoed
left a comment
There was a problem hiding this comment.
Great job! Here are a few small suggestions
mteb/evaluation/evaluators/Audio/ZeroshotClassificationEvaluator.py
Outdated
Show resolved
Hide resolved
Author
Is this now in a state where its good to be approved and merged? |
Samoed
approved these changes
Mar 5, 2025
Member
There was a problem hiding this comment.
I can approve, but maybe @KennethEnevoldsen or @isaac-chung want something to add
This was referenced Mar 6, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

For #2069
Code Quality
make lintto maintain consistent style.Documentation
Testing
make test-with-coverage.make testormake test-with-coverageto ensure no existing functionality is broken.Adding datasets checklist
Reason for dataset addition: ...
mteb -m {model_name} -t {task_name}command.sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2intfloat/multilingual-e5-smallself.stratified_subsampling() under dataset_transform()make test.make lint.Adding a model checklist
mteb.get_model(model_name, revision)andmteb.get_model_meta(model_name, revision)