code: def load_config(model_name):
      path = os.path.dirname(__file__)
      configs = yaml.safe_load(
          open(os.path.join(path, "model-config.yaml"), encoding="utf8")
      )
      try:
          model_config = configs[model_name]
          model_config = pack_tokenizer_config(model_config)
      except KeyError:
          raise ValueError(
              f"The model '{model_name}' is not defined in Ecco's 'model-config.yaml' file and"
              f" so is not explicitly supported yet. Supported models are:",
              list(configs.keys()),
          ) from KeyError()
      return model_config
  
imports: import yaml
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: load_config(model_name) and returns: model_config