Skip to content

Commit

Permalink
Use %d and vertically stripe a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Jan 16, 2025
1 parent 6587190 commit 6ea5685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stanza/models/constituency/parser_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ def iterate_training(args, trainer, train_trees, train_sequences, transitions, d

stats_log_lines = [
"Epoch %d finished" % trainer.epochs_trained,
"Transitions correct: %d" % total_correct,
"Transitions incorrect: %s" % total_incorrect,
"Transitions correct: %d" % total_correct,
"Transitions incorrect: %d" % total_incorrect,
"Total loss for epoch: %.5f" % epoch_stats.epoch_loss,
"Dev score (%5d): %8f" % (trainer.epochs_trained, f1),
"Best dev score (%5d): %8f" % (trainer.best_epoch, trainer.best_f1)
Expand Down

0 comments on commit 6ea5685

Please sign in to comment.