Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bert_pytorch/trainer/pretrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down