Closed ValeKnappich closed 2 months ago
Just a minor bug: the show_progress setting is not getting propagated from BM25.index to BM25.build_index_from_ids. Currently __init__.py line 352-356:
show_progress
BM25.index
BM25.build_index_from_ids
__init__.py
scores = self.build_index_from_ids( unique_token_ids=unique_token_ids, corpus_token_ids=corpus_token_ids, leave_progress=leave_progress )
should be
scores = self.build_index_from_ids( unique_token_ids=unique_token_ids, corpus_token_ids=corpus_token_ids, leave_progress=leave_progress, show_progress=show_progress )
Fixed in 0.1.8!
Just a minor bug: the
show_progress
setting is not getting propagated fromBM25.index
toBM25.build_index_from_ids
. Currently__init__.py
line 352-356:should be