diff --git a/src/lighteval/logging/evaluation_tracker.py b/src/lighteval/logging/evaluation_tracker.py index 4fd2ea5f..35a835bc 100644 --- a/src/lighteval/logging/evaluation_tracker.py +++ b/src/lighteval/logging/evaluation_tracker.py @@ -259,7 +259,7 @@ def details_to_hub( paths_to_check = [os.path.basename(results_file_path)] try: - checked_paths = list(self.api.list_files_info(repo_id=repo_id, paths=paths_to_check, repo_type="dataset")) + checked_paths = list(self.api.get_paths_info(repo_id=repo_id, paths=paths_to_check, repo_type="dataset")) except Exception: checked_paths = []