Skip to content

Commit

Permalink
fix save interval in docs (#183)
Browse files Browse the repository at this point in the history
Signed-off-by: Gerald Shen <[email protected]>
  • Loading branch information
gshennvm authored May 22, 2024
1 parent 45a88a2 commit 5b898b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/SFT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Now that we have the data we will use NeMo-Aligner to do the supervised fine tun
trainer.devices=8 \
trainer.sft.max_steps=-1 \
trainer.sft.limit_val_batches=40 \
trainer.sft.val_check_interval=1000 \
trainer.sft.save_interval=50 \
trainer.sft.val_check_interval=100 \
trainer.sft.save_interval=100 \
model.megatron_amp_O2=True \
model.restore_from_path=${PRETRAINED_ACTOR_NEMO_FILE} \
model.optim.lr=5e-6 \
Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/SteerLM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Note that you would need to set up multi-node training in your cluster env, depe
pretrained_checkpoint.restore_from_path=/models/llama13b/llama13b.nemo \
"model.data.data_prefix={train: ["data/merge_train_reg.jsonl"], validation: ["data/merge_val_reg.jsonl"], test: ["data/merge_val_reg.jsonl"]}" \
exp_manager.explicit_log_dir=/results/reward_model_13b \
trainer.rm.save_interval=100 \
trainer.rm.val_check_interval=10 \
exp_manager.create_wandb_logger=True \
exp_manager.wandb_logger_kwargs.project=steerlm \
Expand Down

0 comments on commit 5b898b6

Please sign in to comment.