diff --git a/icefall/rnn_lm/compute_perplexity.py b/icefall/rnn_lm/compute_perplexity.py index 4eadafb27..a9a8d29d0 100755 --- a/icefall/rnn_lm/compute_perplexity.py +++ b/icefall/rnn_lm/compute_perplexity.py @@ -330,7 +330,7 @@ def main(): ppl = math.exp(tot_loss / num_tokens) logging.info( f"total nll: {tot_loss}, num tokens: {num_tokens}, " - f"num sentences: {num_sentences}, ppl: {ppl:.3f}, " + f"num sentences: {num_sentences}, ppl: {ppl:.3f}" )