How to set random seed for the model in YAML file #1532
-
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.
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.
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 ?