Skip to content

Commit

Permalink
fix a tab error in auto_reranker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhainebula committed Nov 13, 2024
1 parent 8c3e1eb commit d6409b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FlagEmbedding/inference/auto_reranker.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def from_finetuned(
_model_class = RERANKER_CLASS_MAPPING[RerankerModelClass(model_class)]
if trust_remote_code is None:
trust_remote_code = False
logging.warning(
f"`trust_remote_code` is not specified, set to default value '{trust_remote_code}'."
)
logging.warning(
f"`trust_remote_code` is not specified, set to default value '{trust_remote_code}'."
)
else:
if model_name not in AUTO_RERANKER_MAPPING:
raise ValueError(
Expand Down

0 comments on commit d6409b8

Please sign in to comment.