Skip to content
Snippets Groups Projects
Commit 6d979d8c authored by Renato Vukovic's avatar Renato Vukovic
Browse files

update inference script

parent 33cc8eaa
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,8 @@ def main(): ...@@ -178,7 +178,8 @@ def main():
except Exception as e: except Exception as e:
logger.info(f"Checkpoint saved at {checkpoint_filename} after {counter} dialogues") logger.info(f"Checkpoint saved at {checkpoint_filename} after {counter} dialogues")
logger.error(f"Error at dialogue {dial_id} in split {split}") logger.error(f"Error at dialogue {dial_id} in split {split}")
continue logger.error(f"Error message: {e}")
e.with_traceback()
if config.predict_for_cot_decoding: if config.predict_for_cot_decoding:
output_string += "Step " + str(i) + " response:\n" output_string += "Step " + str(i) + " response:\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment