Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Samoed committed Nov 21, 2024
1 parent a750bdf commit 3dbabde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mteb/abstasks/AbsTaskRetrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3dbabde

Please sign in to comment.