Skip to content

Commit

Permalink
Update RerankingEvaluator.py (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muennighoff authored Jan 4, 2025
1 parent c0f4394 commit 0753aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mteb/evaluation/evaluators/RerankingEvaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def _encode_unique_texts(
all_unique_texts.append(text)
all_texts_indexes.append(index_map[text_hash])
logger.warning(
f"A total on {len(all_texts) - len(all_unique_texts)}/{len(all_texts)} duplicate texts were found during encoding. Only encoding unique text and duplicating embeddings across."
f"A total of {len(all_texts) - len(all_unique_texts)}/{len(all_texts)} duplicate texts were found during encoding. Only encoding unique text and duplicating embeddings across."
)
all_unique_texts_embs = np.asarray(
model.encode(
Expand Down

0 comments on commit 0753aba

Please sign in to comment.