code: def _load_model_config(model_config_filename: str):
      """Loads a model config."""
      model_config_path = os.path.join(
          os.path.dirname(model_configs.__file__), model_config_filename
      )
      with open(model_config_path) as f:
          return yaml.safe_load(f)
  
file_path: ludwig/ludwig/datasets/utils.py
imports: import os
  from functools import lru_cache
  from typing import Dict
  import yaml
  from ludwig.api_annotations import PublicAPI
  from ludwig.datasets import model_configs
label_desc: Use image node_id 3 for calling a global function with example usage: _load_model_config(model_config_filename) and returns: yaml