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

Add decriptive stat almost to all datasets #1466

Merged
merged 7 commits into from
Nov 18, 2024
Merged

Conversation

Samoed
Copy link
Collaborator

@Samoed Samoed commented Nov 16, 2024

Checklist

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

I ran almost all tasks, except for those with issues mentioned in #1465 and some large datasets that couldn’t fit on my laptop. I’ll try running those on Kaggle. Additionally, I fixed a few bugs related to dataset loading.

I don’t have statistics for the larger tasks because they exceed the RAM capacity of my laptop, and Kaggle's disk space is insufficient. I’ll need some assistance to run them.

Tasks without stats:

  • FEVER
  • BrightRetrieval
  • HotpotQA
  • MSMARCO
  • MSMARCOv2
  • MIRACLRetrieval
  • MrTidyRetrieval
  • TopiOCQA
  • MultiLongDocRetrieval
  • NeuCLIR2022Retrieval
  • NeuCLIR2023Retrieval
  • MultiEURLEXMultilabelClassification
  • SwissJudgementClassification
  • BibleNLPBitextMining
  • FloresBitextMining
  • MIRACLReranking
  • MindSmallReranking
  • VoyageMMarcoReranking
  • WebLINXCandidatesReranking
Script to run these tasks
import mteb
from tqdm import tqdm

for task_name in tqdm(
    [
        "HotpotQA", 
        "MSMARCO",
        "MSMARCOv2",
        "MIRACLRetrieval",
        "MrTidyRetrieval",
        "TopiOCQA",
        "MultiLongDocRetrieval",
        "NeuCLIR2022Retrieval",
        "NeuCLIR2023Retrieval",
        "MultiEURLEXMultilabelClassification",
        "SwissJudgementClassification",
        "BibleNLPBitextMining",
        "FloresBitextMining",
        "MIRACLReranking",
        "MindSmallReranking",
        "VoyageMMarcoReranking",
        "WebLINXCandidatesReranking",
    ]
):
    task = mteb.get_task(task_name)
    stat = task.calculate_metadata_metrics()

@KennethEnevoldsen
Copy link
Contributor

@imenelydiaker just so that you know this exists

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.

Feel free to create an issue on this and merge in the current stats

@Samoed
Copy link
Collaborator Author

Samoed commented Nov 18, 2024

I will downgrade datasets version and run tasks that were broken

@Samoed Samoed marked this pull request as ready for review November 18, 2024 10:58
@Samoed Samoed merged commit 0e9b6fd into v2.0.0 Nov 18, 2024
10 checks passed
@Samoed Samoed deleted the add_descriptive_stats branch November 18, 2024 11:19
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.

2 participants