Skip to content

Commit

Permalink
Updated for removing use_tqdm=False
Browse files Browse the repository at this point in the history
  • Loading branch information
XKTZ committed Sep 25, 2024
1 parent 36beed1 commit 406fca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rank_llm/rerank/listwise/rank_listwise_os_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def run_llm(
# gen_cfg.temperature = 0
gen_cfg.do_sample = False
output_ids = self._llm.generate(
**inputs, use_tqdm=not silence, generation_config=gen_cfg
**inputs, generation_config=gen_cfg
)

if self._llm.config.is_encoder_decoder:
Expand Down

0 comments on commit 406fca7

Please sign in to comment.