cerebras.modelzoo.common.utils.run.cli_parser.get_params#

cerebras.modelzoo.common.utils.run.cli_parser.get_params(params_file: str) dict[source]#

Reads params from file and returns them as a dict.

Parameters
  • params_file – The YAML file holding the params.

  • config – Optional config to load from the params. If None, the default config is returned. Defaults to None.

Returns

A dict containing the params.