Override Defaults via Config File¶
To utilise a YAML config file instead of CLI overriding, you can following the examples in this section. And, as always, to understand the defaults and what can be overridden, use canari_ml train --help.
Examples¶
Below is an example configuration:
- Always define
defaultsin the header of your custom config file. - Define path to the config file used for training.
- Define
/trainto inherit from the default configuration. - Override the above defaults with values from this file. (The order matters,
_self_should be defined last to override previous configs in this list).
You can run training with this config file using: