From 4f9ca068a7d47774b725fb79f1909a2b58ef6d82 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sat, 27 Apr 2019 12:26:12 -0700 Subject: [PATCH] Minor comment typo --- bert_pytorch/trainer/pretrain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bert_pytorch/trainer/pretrain.py b/bert_pytorch/trainer/pretrain.py index 0b882dd..670a389 100644 --- a/bert_pytorch/trainer/pretrain.py +++ b/bert_pytorch/trainer/pretrain.py @@ -75,7 +75,7 @@ def iteration(self, epoch, data_loader, train=True): """ loop over the data_loader for training or testing if on train status, backward operation is activated - and also auto save the model every peoch + and also auto save the model every epoch :param epoch: current epoch index :param data_loader: torch.utils.data.DataLoader for iteration