Update comments mentioning Python 2.

This commit is contained in:
Aymeric Augustin
2019-12-22 18:22:29 +01:00
parent 45841eaf7b
commit d6eaf4e6d2
11 changed files with 11 additions and 11 deletions

View File

@@ -185,7 +185,7 @@ def train(args, train_dataset, model, tokenizer):
train_iterator = trange(
epochs_trained, int(args.num_train_epochs), desc="Epoch", disable=args.local_rank not in [-1, 0]
)
# Added here for reproductibility (even between python 2 and 3)
# Added here for reproductibility
set_seed(args)
for _ in train_iterator: