Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Samoed committed Oct 6, 2024
1 parent e40d641 commit 93b3f5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mteb/evaluation/evaluators/model_encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def model_encode(
prompt_type: The prompt type (e.g. "query" | "passage") to use for building the encoding prompt
**kwargs: Additional arguments to pass to the model.encode method
"""

if hasattr(model, "prompts"):
task = mteb.get_task(task_name=task_name)
task_type = task.metadata.type
Expand Down

0 comments on commit 93b3f5c

Please sign in to comment.