Skip to content

Commit

Permalink
Provide default seed value in TrainConfig, matching EvalConfig (#1315)
Browse files Browse the repository at this point in the history
* Update config_utils.py

* lint
  • Loading branch information
mvpatel2000 authored Jun 29, 2024
1 parent f141ee1 commit 0ebd7c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ class TrainConfig:
max_duration: Union[int, str] = MISSING
eval_interval: Union[int, str] = MISSING
max_seq_len: int = MISSING
seed: int = MISSING

# Seed
seed: int = 17

# Precision
precision: str = 'amp_bf16'
Expand Down

0 comments on commit 0ebd7c9

Please sign in to comment.