code: def split_model_name_tag(
      model_name: str, no_tag: str = ""
  ) -> Tuple[str, str]:
      model_name, *tag_list = model_name.split(".", 1)
      tag = tag_list[0] if tag_list else no_tag
      return model_name, tag
  
imports: import fnmatch
  import re
  import sys
  import warnings
  from collections import defaultdict, deque
  from copy import deepcopy
  from dataclasses import replace
  from typing import Any, Callable, Dict, Iterable, List, Optional, Set, Sequence, Union, Tuple
  from ._pretrained import PretrainedCfg, DefaultCfg
label_desc: Use image node_id 1 for calling a global function with example usage: split_model_name_tag(model_name, no_tag) and returns: model_name,  tag