-
Notifications
You must be signed in to change notification settings - Fork 665
dataset: add MixBench mixed-modality retrieval #5144
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
Open
tommasocerruti
wants to merge
6
commits into
embeddings-benchmark:main
Choose a base branch
from
tommasocerruti:add-mixbench
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
ede74c9
dataset: add MixBench mixed-modality retrieval
tommasocerruti 73541a8
dataset: load only MixBench retrieval parquets
tommasocerruti cf9c34c
dataset: scope sparse retrieval statistics
tommasocerruti ab52d52
fix: preserve instruct wrapper modality forwarding
tommasocerruti 8348b79
fix: address MixBench sparse modality review
tommasocerruti 99b87a2
fix: address MixBench Copilot review
tommasocerruti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
52 changes: 52 additions & 0 deletions
52
mteb/descriptive_stats/Image/Any2AnyRetrieval/MixBenchGoogleWIT.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| { | ||
| "test": { | ||
| "num_samples": 5421, | ||
| "num_queries": 1000, | ||
| "num_documents": 4421, | ||
| "num_documents_with_text": 2948, | ||
| "num_documents_with_image": 2948, | ||
| "num_documents_with_audio": 0, | ||
| "num_documents_with_video": 0, | ||
| "num_queries_with_text": 1000, | ||
| "num_queries_with_image": 0, | ||
| "num_queries_with_audio": 0, | ||
| "num_queries_with_video": 0, | ||
| "number_of_characters": 1701096, | ||
| "documents_text_statistics": { | ||
| "total_text_length": 1643947, | ||
| "min_text_length": 4, | ||
| "average_text_length": 557.648236092266, | ||
| "max_text_length": 1199, | ||
| "unique_texts": 2924 | ||
| }, | ||
| "documents_image_statistics": { | ||
| "min_image_width": 102, | ||
| "average_image_width": 1909.6132971506106, | ||
| "max_image_width": 13433, | ||
| "min_image_height": 100, | ||
| "average_image_height": 1601.9684531886026, | ||
| "max_image_height": 9909, | ||
| "unique_images": 2948 | ||
| }, | ||
| "documents_audio_statistics": null, | ||
| "documents_video_statistics": null, | ||
| "queries_text_statistics": { | ||
| "total_text_length": 57149, | ||
| "min_text_length": 3, | ||
| "average_text_length": 57.149, | ||
| "max_text_length": 418, | ||
| "unique_texts": 999 | ||
| }, | ||
| "queries_image_statistics": null, | ||
| "queries_audio_statistics": null, | ||
| "queries_video_statistics": null, | ||
| "relevant_docs_statistics": { | ||
| "num_relevant_docs": 1000, | ||
| "min_relevant_docs_per_query": 1, | ||
| "average_relevant_docs_per_query": 1.0, | ||
| "max_relevant_docs_per_query": 1, | ||
| "unique_relevant_docs": 1000 | ||
| }, | ||
| "top_ranked_statistics": null | ||
| } | ||
| } |
52 changes: 52 additions & 0 deletions
52
mteb/descriptive_stats/Image/Any2AnyRetrieval/MixBenchMSCOCO.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| { | ||
| "test": { | ||
| "num_samples": 1968, | ||
| "num_queries": 984, | ||
| "num_documents": 984, | ||
| "num_documents_with_text": 656, | ||
| "num_documents_with_image": 656, | ||
| "num_documents_with_audio": 0, | ||
| "num_documents_with_video": 0, | ||
| "num_queries_with_text": 984, | ||
| "num_queries_with_image": 0, | ||
| "num_queries_with_audio": 0, | ||
| "num_queries_with_video": 0, | ||
| "number_of_characters": 275373, | ||
| "documents_text_statistics": { | ||
| "total_text_length": 224276, | ||
| "min_text_length": 114, | ||
| "average_text_length": 341.8841463414634, | ||
| "max_text_length": 652, | ||
| "unique_texts": 656 | ||
| }, | ||
| "documents_image_statistics": { | ||
| "min_image_width": 229, | ||
| "average_image_width": 575.905487804878, | ||
| "max_image_width": 640, | ||
| "min_image_height": 191, | ||
| "average_image_height": 481.2012195121951, | ||
| "max_image_height": 640, | ||
| "unique_images": 656 | ||
| }, | ||
| "documents_audio_statistics": null, | ||
| "documents_video_statistics": null, | ||
| "queries_text_statistics": { | ||
| "total_text_length": 51097, | ||
| "min_text_length": 29, | ||
| "average_text_length": 51.927845528455286, | ||
| "max_text_length": 156, | ||
| "unique_texts": 984 | ||
| }, | ||
| "queries_image_statistics": null, | ||
| "queries_audio_statistics": null, | ||
| "queries_video_statistics": null, | ||
| "relevant_docs_statistics": { | ||
| "num_relevant_docs": 984, | ||
| "min_relevant_docs_per_query": 1, | ||
| "average_relevant_docs_per_query": 1.0, | ||
| "max_relevant_docs_per_query": 1, | ||
| "unique_relevant_docs": 984 | ||
| }, | ||
| "top_ranked_statistics": null | ||
| } | ||
| } |
60 changes: 60 additions & 0 deletions
60
mteb/descriptive_stats/Image/Any2AnyRetrieval/MixBenchOVEN.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| { | ||
| "test": { | ||
| "num_samples": 2000, | ||
| "num_queries": 1000, | ||
| "num_documents": 1000, | ||
| "num_documents_with_text": 667, | ||
| "num_documents_with_image": 667, | ||
| "num_documents_with_audio": 0, | ||
| "num_documents_with_video": 0, | ||
| "num_queries_with_text": 1000, | ||
| "num_queries_with_image": 1000, | ||
| "num_queries_with_audio": 0, | ||
| "num_queries_with_video": 0, | ||
| "number_of_characters": 438400, | ||
| "documents_text_statistics": { | ||
| "total_text_length": 408213, | ||
| "min_text_length": 20, | ||
| "average_text_length": 612.0134932533733, | ||
| "max_text_length": 724, | ||
| "unique_texts": 422 | ||
| }, | ||
| "documents_image_statistics": { | ||
| "min_image_width": 256, | ||
| "average_image_width": 359.71664167916043, | ||
| "max_image_width": 757, | ||
| "min_image_height": 256, | ||
| "average_image_height": 271.19790104947526, | ||
| "max_image_height": 502, | ||
| "unique_images": 440 | ||
| }, | ||
| "documents_audio_statistics": null, | ||
| "documents_video_statistics": null, | ||
| "queries_text_statistics": { | ||
| "total_text_length": 30187, | ||
| "min_text_length": 19, | ||
| "average_text_length": 30.187, | ||
| "max_text_length": 58, | ||
| "unique_texts": 139 | ||
| }, | ||
| "queries_image_statistics": { | ||
| "min_image_width": 256, | ||
| "average_image_width": 335.365, | ||
| "max_image_width": 1796, | ||
| "min_image_height": 256, | ||
| "average_image_height": 271.978, | ||
| "max_image_height": 650, | ||
| "unique_images": 1000 | ||
| }, | ||
| "queries_audio_statistics": null, | ||
| "queries_video_statistics": null, | ||
| "relevant_docs_statistics": { | ||
| "num_relevant_docs": 1000, | ||
| "min_relevant_docs_per_query": 1, | ||
| "average_relevant_docs_per_query": 1.0, | ||
| "max_relevant_docs_per_query": 1, | ||
| "unique_relevant_docs": 1000 | ||
| }, | ||
| "top_ranked_statistics": null | ||
| } | ||
| } |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these changes needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MixBench rows can contain text, an image, or both. This filters out empty values so models only receive the modalities present in each row.