When hyperparam_args is passed, the command is modified to add the argument in the settings. For example, if the looks like {learning_rate: [1, 2, 3]}, something like --learning_rate=${{inputs.learning_rate}} will be added to the command. But sometimes we wouldn't want the dashes, e.g., when using Hydra (learning_rate=${{inputs.learning_rate}} or maybe +learning_rate=${{inputs.learning_rate}}). This PR adds support to specify the prefix for the argument (default: "--"). For Hydra, we might want, e.g., "" or "+".
When
hyperparam_args
is passed, the command is modified to add the argument in the settings. For example, if the looks like{learning_rate: [1, 2, 3]}
, something like--learning_rate=${{inputs.learning_rate}}
will be added to the command. But sometimes we wouldn't want the dashes, e.g., when using Hydra (learning_rate=${{inputs.learning_rate}}
or maybe+learning_rate=${{inputs.learning_rate}}
). This PR adds support to specify the prefix for the argument (default:"--"
). For Hydra, we might want, e.g.,""
or"+"
.