optuna.integration.allennlp.dump_best_config

optuna.integration.allennlp.dump_best_config(input_config_file: str, output_config_file: str, study: optuna.study.Study) None[source]

Save JSON config file after updating with parameters from the best trial in the study.

Parameters
  • input_config_file – Input Jsonnet config file used with AllenNLPExecutor.

  • output_config_file – Output JSON config file.

  • study – Instance of Study. Note that optimize() must have been called.