no message

main
BlinkDL 4 years ago
parent b6b5f4628f
commit 8556d0fd3f

@ -58,7 +58,7 @@ batch_size = 12
# Here are my suggestions for training a good model. # Here are my suggestions for training a good model.
# Let's say you will train a L6-D512 model. # Let's say you will train a L6-D512 model.
# 1) Set lr_init = lr_final = 8e-4. Let it run for some mini-epochs, until the improvement of loss become slow. # 1) Set lr_init = lr_final = 8e-4. Let it run for some mini-epochs, until the improvement of loss become slow.
# 2) Ctrl+C to stop the run. # 2) Check epoch_save_frequency and make sure the partially-trained model is saved. Ctrl+C to stop the run.
# 3) Set lr_init = 8e-4, lr_final = 1e-5, warmup_tokens = ctx_len * batch_size * 50, betas = (0.9, 0.999) # 3) Set lr_init = 8e-4, lr_final = 1e-5, warmup_tokens = ctx_len * batch_size * 50, betas = (0.9, 0.999)
# 4) Search for "torch.load" here and modify it to load the partially-trained model. Continue the training. # 4) Search for "torch.load" here and modify it to load the partially-trained model. Continue the training.
# #

Loading…
Cancel
Save