From 3dbabde67cf9d2e2322d723ece0eb9e38b531b39 Mon Sep 17 00:00:00 2001 From: Roman Solomatin <36135455+Samoed@users.noreply.github.com> Date: Thu, 21 Nov 2024 22:09:05 +0300 Subject: [PATCH] fix comment --- mteb/abstasks/AbsTaskRetrieval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mteb/abstasks/AbsTaskRetrieval.py b/mteb/abstasks/AbsTaskRetrieval.py index 6a40761b1..e7d886beb 100644 --- a/mteb/abstasks/AbsTaskRetrieval.py +++ b/mteb/abstasks/AbsTaskRetrieval.py @@ -379,7 +379,7 @@ def _calculate_metrics_from_split( top_ranked = None instructions = None if hf_subset and hf_subset in self.queries: - # Bright retrieval have different have different splits for diffrent subsets for corpus + # BrightRetrieval has different splits for different subsets of the corpus. if ( self.corpus.get(hf_subset, None) is None or self.corpus[hf_subset].get(split, None) is None @@ -400,7 +400,7 @@ def _calculate_metrics_from_split( instructions = {} top_ranked = {} for hf_subset in self.metadata.eval_langs: - # Bright retrieval have different have different splits for diffrent subsets for corpus + # BrightRetrieval has different splits for different subsets of the corpus. if ( self.corpus.get(hf_subset, None) is None or self.corpus[hf_subset].get(split, None) is None