code: def get_huggingface_model_config(
      model_name: str,
  ) -> Optional[HuggingFaceModelConfig]:
      """Returns a HuggingFaceModelConfig for the model_id."""
      return _huggingface_model_registry.get(model_name)
  
file_path: H2O/h2o_hf/helm/src/helm/proxy/clients/huggingface_model_registry.py
imports: from typing import Dict, Optional
  from dataclasses import dataclass
  import re
  from helm.common.hierarchical_logger import hlog
  from helm.proxy.models import Model, ALL_MODELS, MODEL_NAME_TO_MODEL, TEXT_MODEL_TAG, FULL_FUNCTIONALITY_TEXT_MODEL_TAG
label_desc: Use image node_id 2 for calling a global function with example usage: get_huggingface_model_config(model_name) and returns: _huggingface_model_registry