Skip to content

Commit

Permalink
add default for eval interval (#987)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <[email protected]>
  • Loading branch information
irenedea and dakinggg committed Mar 6, 2024
1 parent 86c8746 commit 5261a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ def main(cfg: DictConfig) -> Trainer:
must_exist=True)
eval_interval: Union[int, str] = pop_config(cfg,
'eval_interval',
must_exist=True)
default_value=1,
must_exist=False)
precision: str = pop_config(cfg, 'precision', must_exist=True)
max_seq_len: int = pop_config(cfg, 'max_seq_len', must_exist=True)

Expand Down

0 comments on commit 5261a55

Please sign in to comment.