Skip to content

Commit

Permalink
remove useless statement
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyonderXX committed Mar 30, 2023
1 parent d4e9c38 commit cea8e22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/run_uie.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,6 @@ def compute_rouge_metrics(dataset, preds, save_prefix=None):
num_beams = data_args.num_beams if data_args.num_beams is not None else training_args.generation_num_beams
repetition_penalty = data_args.repetition_penalty

# TODO, test debug, bloomz, flan-t5
if training_args.do_predict:
logger.info("*** Prediction ***")
logger.info("*** Loading CheckPoint ***")
Expand Down

0 comments on commit cea8e22

Please sign in to comment.