Skip to content

Commit

Permalink
feat: add mapping for max_sim from pylate
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-hey committed Jan 13, 2025
1 parent 1442673 commit bb4beec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mteb/model_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def validate_similarity_fn_name(cls, value):
mapping = {
"cosine": ScoringFunction.COSINE,
"dot": ScoringFunction.DOT_PRODUCT,
"MaxSim": ScoringFunction.MAX_SIM,
}
if value in mapping:
return mapping[value]
Expand Down

0 comments on commit bb4beec

Please sign in to comment.