-
Notifications
You must be signed in to change notification settings - Fork 559
dataset: add ChemRxivRetrieval task to ChemTEB benchmark #3923
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1f067d1
dataset: add ChemRxivRetrieval task to ChemTEB benchmark
HSILA bbeef9b
Merge branch 'main' into dataset/chemrxiv
HSILA cae474c
fix: add descriptive statistics
HSILA 74ebebf
feat: add ChemTEB v1.1 with ChemRxivRetrieval task
HSILA 2e374ba
fix: chemteb v1.1 alias
HSILA 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "test": { | ||
| "num_samples": 74457, | ||
| "number_of_characters": 76109543, | ||
| "documents_text_statistics": { | ||
| "total_text_length": 75549698, | ||
| "min_text_length": 121, | ||
| "average_text_length": 1087.7189916063176, | ||
| "max_text_length": 25438, | ||
| "unique_texts": 69150 | ||
| }, | ||
| "documents_image_statistics": null, | ||
| "queries_text_statistics": { | ||
| "total_text_length": 559845, | ||
| "min_text_length": 57, | ||
| "average_text_length": 111.969, | ||
| "max_text_length": 224, | ||
| "unique_texts": 5000 | ||
| }, | ||
| "queries_image_statistics": null, | ||
| "relevant_docs_statistics": { | ||
| "num_relevant_docs": 5000, | ||
| "min_relevant_docs_per_query": 1, | ||
| "average_relevant_docs_per_query": 1.0, | ||
| "max_relevant_docs_per_query": 1, | ||
| "unique_relevant_docs": 5000 | ||
| }, | ||
| "top_ranked_statistics": null | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| from mteb.abstasks.retrieval import AbsTaskRetrieval | ||
| from mteb.abstasks.task_metadata import TaskMetadata | ||
|
|
||
|
|
||
| class ChemRxivRetrieval(AbsTaskRetrieval): | ||
| metadata = TaskMetadata( | ||
| name="ChemRxivRetrieval", | ||
| dataset={ | ||
| "path": "BASF-AI/ChemRxivRetrieval", | ||
| "revision": "5377aa18f309ec440ff6325a4c2cd3362c2cb8d7", | ||
| }, | ||
| description="A retrieval task based on ChemRxiv papers where queries are LLM-synthesized to match specific paragraphs.", | ||
| reference="https://arxiv.org/abs/2508.01643", | ||
| type="Retrieval", | ||
| category="t2t", | ||
| modalities=["text"], | ||
| eval_splits=["test"], | ||
| eval_langs=["eng-Latn"], | ||
| main_score="ndcg_at_10", | ||
| date=("2025-01-01", "2025-05-01"), | ||
| domains=["Chemistry"], | ||
| task_subtypes=["Question answering", "Article retrieval"], | ||
| license="cc-by-nc-sa-4.0", | ||
| annotations_creators="LM-generated and reviewed", | ||
| dialect=[], | ||
| sample_creation="found", | ||
| bibtex_citation="""@article{kasmaee2025chembed, | ||
| author = {Kasmaee, Ali Shiraee and Khodadad, Mohammad and Astaraki, Mahdi and Saloot, Mohammad Arshi and Sherck, Nicholas and Mahyar, Hamidreza and Samiee, Soheila}, | ||
| journal = {arXiv preprint arXiv:2508.01643}, | ||
| title = {Chembed: Enhancing chemical literature search through domain-specific text embeddings}, | ||
| year = {2025}, | ||
| }""", | ||
| ) |
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.
Uh oh!
There was an error while loading. Please reload this page.