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 that optimize() must have been called.

Return type:

None

Warning

Deprecated in v3.5.0. This feature will be removed in the future. The removal of this feature is currently scheduled for v5.0.0, but this schedule is subject to change. See https://github.com/optuna/optuna/releases/tag/v3.5.0.