Skip to content

Conversation

KennethEnevoldsen
Copy link
Contributor

Fixes #2847

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds functionality to save model metadata to a model_meta.json file when using mteb.evaluate. The change allows the evaluation process to preserve model metadata alongside task results for better tracking and reproducibility.

  • Implements saving of model_meta.json file in the cache directory when model metadata is available
  • Updates the cache save method to accept and process model metadata
  • Adds test coverage to verify the model metadata file is created during evaluation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
mteb/cache.py Adds logic to save model metadata to model_meta.json file in the cache directory
tests/test_evaluation/test_evaluate.py Adds test assertion to verify model metadata file creation

@KennethEnevoldsen KennethEnevoldsen merged commit 7c60af5 into v2.0.0 Aug 1, 2025
8 checks passed
@KennethEnevoldsen KennethEnevoldsen deleted the KennethEnevoldsen/issue-v2-`mtebevaluate`-does-not-same-`model_metajson` branch August 1, 2025 19:02
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