code: def gbm_config_object(gbm_config_dict: Dict[str, Any]) -> ModelConfig:
      return ModelConfig.from_dict(gbm_config_dict)
  
imports: from typing import Any, Dict, Optional
  import pytest
  from ludwig.constants import BASE_MODEL, BINARY, ENCODER, INPUT_FEATURES, MODEL_ECD, MODEL_GBM, MODEL_LLM, MODEL_TYPE, NAME, OUTPUT_FEATURES, TEXT, TYPE
  from ludwig.schema.encoders.text_encoders import BERTConfig
  from ludwig.schema.encoders.utils import get_encoder_cls
  from ludwig.schema.features.preprocessing.text import TextPreprocessingConfig
  from ludwig.schema.model_config import ModelConfig
  from ludwig.utils.config_utils import config_uses_llm
label_desc: Use image node_id 14 for calling a global function with example usage: gbm_config_object(gbm_config_dict) and returns: ModelConfig