How to set random seed for the model in YAML file #1532
Answered
by
tgaddair
PeterPirog
asked this question in
Q&A
-
How to set random seed in YAML file to achieve repeatability of the model? I found the code https://ludwig-ai.github.io/ludwig-docs/api/LudwigModel/#create_model:
but I don't know how to set it in YAML file. Typical configuration in raw code is:
|
Beta Was this translation helpful? Give feedback.
Answered by
tgaddair
Dec 3, 2021
Replies: 1 comment 1 reply
-
Hey @PeterPirog, good observation. Currently the random seed isn't configurable in the YAML, it is passed in as a command-line parameter, like:
It can also be passed in to the
It shouldn't be too difficult for us to add this to the config in the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tgaddair
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @PeterPirog, good observation. Currently the random seed isn't configurable in the YAML, it is passed in as a command-line parameter, like:
It can also be passed in to the
LudwigModel
programmatically:It shouldn't be too difficult for us to add this to the config in the
training
section. What do you think @w4nderlust ?