Skip to content

Commit

Permalink
fix: fixed typo on loading reranking_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
droxer committed Sep 2, 2024
1 parent 0e0a703 commit b31b28a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def convert(cls, config: dict) -> Optional[DatasetEntity]:
reranking_model=dataset_configs.get('reranking_model'),
weights=dataset_configs.get('weights'),
reranking_enabled=dataset_configs.get('reranking_enabled', True),
rerank_mode=dataset_configs.get('rerank_mode', 'reranking_model'),
rerank_mode=dataset_configs.get('reranking_mode', 'reranking_model'),
)
)

Expand Down

0 comments on commit b31b28a

Please sign in to comment.