Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Guanheng Zhang committed Jul 2, 2020
1 parent b61e3d5 commit e08705b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/BERT/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Train the BERT model with masked language modeling task and next-sentence task.
or run the tasks on a SLURM powered cluster with Distributed Data Parallel (DDP):

srun --label --ntasks-per-node=1 --time=4000 --mem-per-cpu=5120 --gres=gpu:8 --cpus-per-task 80 --nodes=1 --pty python mlm_task.py --parallel DDP --log-interval 600 --dataset BookCorpus

srun --label --ntasks-per-node=1 --time=4000 --mem-per-cpu=5120 --gres=gpu:8 --cpus-per-task 80 --nodes=1 --pty python ns_task.py --parallel DDP --bert-model mlm_bert.pt --dataset BookCorpus

The result ppl of mlm_task is 18.97899 for the test set.
Expand Down

0 comments on commit e08705b

Please sign in to comment.