optuna.integration.allennlp.dump_best_config
- optuna.integration.allennlp.dump_best_config(input_config_file, output_config_file, study)[source]
Save JSON config file with environment variables and best performing hyperparameters.
- Parameters
input_config_file (str) – Input Jsonnet config file used with
AllenNLPExecutor
.output_config_file (str) – Output JSON config file.
study (Study) – Instance of
Study
. Note thatoptimize()
must have been called.
- Return type
None