chore: add print
This commit is contained in:
parent
1ac91733e4
commit
1f3703ae96
|
@ -114,8 +114,15 @@ def run_sft(
|
|||
# Predict
|
||||
if training_args.do_predict:
|
||||
predict_results = trainer.predict(dataset_module["eval_dataset"], metric_key_prefix="predict", **gen_kwargs)
|
||||
print("********************************************************")
|
||||
print("********************************************************")
|
||||
print("********************************************************")
|
||||
print("********************************************************")
|
||||
print("********************************************************")
|
||||
|
||||
|
||||
print(predict_results.metrics)
|
||||
print("********************************************************")
|
||||
time.sleep(100)
|
||||
if training_args.predict_with_generate: # predict_loss will be wrong if predict_with_generate is enabled
|
||||
predict_results.metrics.pop("predict_loss", None)
|
||||
|
|
Loading…
Reference in New Issue