We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c3e1eb commit d6409b8Copy full SHA for d6409b8
1 file changed
FlagEmbedding/inference/auto_reranker.py
@@ -54,9 +54,9 @@ def from_finetuned(
54
_model_class = RERANKER_CLASS_MAPPING[RerankerModelClass(model_class)]
55
if trust_remote_code is None:
56
trust_remote_code = False
57
- logging.warning(
58
- f"`trust_remote_code` is not specified, set to default value '{trust_remote_code}'."
59
- )
+ logging.warning(
+ f"`trust_remote_code` is not specified, set to default value '{trust_remote_code}'."
+ )
60
else:
61
if model_name not in AUTO_RERANKER_MAPPING:
62
raise ValueError(
0 commit comments