Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit abe93bf

Browse files
committed
unicode comma fix
1 parent 394e69a commit abe93bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/language_model/word_language_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def train():
421421
else:
422422
model.save_parameters('{}.val.params'.format(args.save))
423423
val_L = evaluate(val_data, val_batch_size, '{}.val.params'.format(args.save), context[0])
424-
print('[Epoch %d] time cost %.2fs, valid loss %.2f, valid ppl %.2flr %.2f' % (
424+
print('[Epoch %d] time cost %.2fs, valid loss %.2f, valid ppl %.2f, lr %.2f' % (
425425
epoch, time.time() - start_epoch_time, val_L, math.exp(val_L),
426426
trainer.learning_rate))
427427

0 commit comments

Comments
 (0)