def METHOD_NAME(args, parser, **kwargs) -> SampleConfig:
    sample_config = _parse_sample_config(args, parser)
    sample_config.update(**kwargs)
    _fail_if_training_with_eval_only_config(sample_config)
    sample_config = _embed_nncf_config(args, sample_config)
    return sample_config