-
Notifications
You must be signed in to change notification settings - Fork 504
dataset: Add REAL_MM_RAG benchmark #3224
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
base: main
Are you sure you want to change the base?
Changes from 8 commits
e234f2c
0bb9d1c
6251545
2c70756
ff7b861
a430b68
0ba2a1a
6cd75a4
75e47da
bfd5cec
28469a7
b33167d
ed8898c
03e9633
57ad227
ccd43d8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2295,3 +2295,26 @@ | |
| year = {2025}, | ||
| }""", | ||
| ) | ||
|
|
||
| REAL_MM_RAG = Benchmark( | ||
| name="REAL_MM_RAG", | ||
| display_name="IBM Visual Document Retrieval", | ||
| tasks=get_tasks( | ||
| tasks=[ | ||
| "RealMMRagFinReportRetrieval", | ||
| "RealMMRagFinSlidesRetrieval", | ||
| "RealMMRagTechReportRetrieval", | ||
| "RealMMRagTechSlidesRetrieval", | ||
| ], | ||
| ), | ||
| description="Realistic and multi-modal document retrieval benchmark.", | ||
|
||
| reference="https://arxiv.org/abs/2502.12342", | ||
| citation=r""" | ||
| @article{wasserman2025real, | ||
| title={REAL-MM-RAG: A Real-World Multi-Modal Retrieval Benchmark}, | ||
| author={Wasserman, Navve and Pony, Roi and Naparstek, Oshri and Goldfarb, Adi Raz and Schwartz, Eli and Barzelay, Udi and Karlinsky, Leonid}, | ||
| journal={arXiv preprint arXiv:2502.12342}, | ||
| year={2025} | ||
| } | ||
| """, | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,6 +46,7 @@ class MenuEntry: | |
| "MIEB(Img)", | ||
| "VisualDocumentRetrieval", | ||
| "JinaVDR", | ||
| "REAL_MM_RAG" | ||
|
||
| ] | ||
| ), | ||
| ), | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Samoed should we snake-case the filename (easier to merge with v2)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, that will be better
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since v2 release, you need to move your tasks into |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,301 @@ | ||||||||||||||||||||||||||||
| from __future__ import annotations | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| from datasets import load_dataset | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| from mteb.abstasks.Image.AbsTaskAny2AnyRetrieval import AbsTaskAny2AnyRetrieval | ||||||||||||||||||||||||||||
| from mteb.abstasks.TaskMetadata import TaskMetadata | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
| from __future__ import annotations | |
| from datasets import load_dataset | |
| from mteb.abstasks.Image.AbsTaskAny2AnyRetrieval import AbsTaskAny2AnyRetrieval | |
| from mteb.abstasks.TaskMetadata import TaskMetadata | |
| from datasets import load_dataset | |
| from mteb.abstasks.retrieval import AbsTaskRetrieval | |
| from mteb.abstasks.task_metadata import TaskMetadata |
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.
You can reupload your tasks using task.push_dataset_to_hub() to use our format
Outdated
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.
You shouldn't add columns with None and don't need modality column
Outdated
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.
This description is too vague - It should be clear from the description what queries and corpus it contains, as well as the retrieval goal. Please fix this for all tasks.
Outdated
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.
We don't have descriptive_stats in task metadata. You need to use task.calculate_desriptive_statistics()
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.
| prompt={"query": "Find a screenshot that relevant to the user's question."}, | |
| descriptive_stats={ | |
| "n_samples": None, | |
| "avg_character_length": { | |
| "test": { | |
| "average_document_length": 141.5, | |
| "num_documents": 19, | |
| "num_queries": 853, | |
| "average_relevant_docs_per_query": 1.0, | |
| } | |
| }, | |
| }, | |
| prompt={"query": "Find a screenshot that relevant to the user's question."}, |
Uh oh!
There was an error while loading. Please reload this page.