Skip to content

Commit

Permalink
fix: fixed typo on loading reranking_mode (langgenius#7887)
Browse files Browse the repository at this point in the history
  • Loading branch information
droxer authored and mehrajagdish committed Sep 6, 2024
1 parent bc03c9b commit e5ffd49
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 e5ffd49

Please sign in to comment.