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

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

Reads params from file and returns them as a dict.

Parameters
  • params_file (str) – 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.

Return type

dict