code: def load_hugingface(backbone: str, num_classes: int):
      model = AutoModelForSequenceClassification.from_pretrained(
          backbone, num_labels=num_classes
      )
      return model, backbone
  
imports: from flash.core.registry import ExternalRegistry, FlashRegistry
  from flash.core.utilities.imports import _TRANSFORMERS_AVAILABLE
  from flash.core.utilities.providers import _HUGGINGFACE
  from flash.text.classification.adapters import HuggingFaceAdapter
label_desc: Use image node_id 1 for calling a global function with example usage: load_hugingface(backbone, num_classes) and returns: model,  backbone