code: def convert_nested_dictionary_to_cfg_base(
      cfg_dict: Dict[str, Any]
  ) -> DefaultConfigProblemBase:
      """
      Inverse operation of convert_cfg_base_to_nested_dictionary
      """
      problem_type = cfg_dict["problem_type"]
      module_name = f"llm_studio.python_configs.{problem_type}_config"
      try:
          module = importlib.import_module(module_name)
      except ModuleNotFoundError:
          raise NotImplementedError(
              f"Problem Type {problem_type} not implemented"
          )
      return module.ConfigProblemBase.from_dict(cfg_dict)
  
file_path: h2o-llmstudio/llm_studio/src/utils/config_utils.py
imports: import dataclasses
  import importlib
  from types import ModuleType
  from typing import Any, Dict, List, Type
  import yaml
  from llm_studio.python_configs.base import DefaultConfigProblemBase
  from llm_studio.src.utils.type_annotations import KNOWN_TYPE_ANNOTATIONS
label_desc: Use image node_id 6 for calling a global function with example usage: convert_nested_dictionary_to_cfg_base(cfg_dict) and returns: module