Skip to content

DAGE-47: Add MtebWriter #200

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
wants to merge 5 commits into
base: dataset-generator
Choose a base branch
from
Open

Conversation

nseidan
Copy link
Collaborator

@nseidan nseidan commented Aug 15, 2025

  • jira: jira
  • added MTEB writer
  • under output_destination dir, the following three files will be saved: data/corpus.jsonl, data/queries.jsonl, data/candidates.jsonl
  • added a unit test

Comment on lines 65 to 66
path = Path(output_path)
os.makedirs(path.parent, exist_ok=True)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already done in the method write, so we get the output_path with type Path and avoid creating the directory.
If the method were public as it was before, this piece of code would be necessary but now the method is private

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@nseidan nseidan requested a review from dantuzi August 22, 2025 12:56
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.

3 participants