AI开发平台MODELARTS-获取自动化搜索作业yaml模板的内容:响应示例

时间:2024-11-22 17:41:02

响应示例

状态码: 200

ok

{
  "file_name" : "Bayes.yaml",
  "content" : "general:\n  instance_per_trial: 1\n  gpu_per_instance: 1\n  cpu_per_instance: 1\n\nsearch_space:\n  - params:   # only support continuous params\n    - type: continuous_param\n      name : lr\n      start: 0.001\n      stop: 0.1\n\nsearch_algorithm:\n  type: bayes_opt_search\n  max_concurrent: 4\n  reward_attr: accuracy\n  num_samples: 8\n  kind : ucb\n  save_model_count : 3\n  mode: max\n\nscheduler:\n  type: FIFOScheduler"
}
support.huaweicloud.com/api-modelarts/ShowAutoSearchYamlTemplateContent.html