optuna.integration.allennlp.dump_best_config
- optuna.integration.allennlp.dump_best_config(input_config_file, output_config_file, study)[源代码]
Save JSON config file after updating with parameters from the best trial in the study.
- 参数
input_config_file (str) – Input Jsonnet config file used with
AllenNLPExecutor
.output_config_file (str) – Output JSON config file.
study (optuna.study.Study) – Instance of
Study
. Note thatoptimize()
must have been called.
- 返回类型
None