code: def get_client(
      url: str,
      model_name: str = "unum-cloud/uform-vl-english",
      token: Optional[str] = None,
  ) -> TritonClient:
      config_path, _, tokenizer_path = get_checkpoint(model_name, token)
  
      with open(config_path, "r") as f:
          pad_token_idx = load(f)["text_encoder"]["padding_idx"]
  
      return TritonClient(tokenizer_path, pad_token_idx, url)
  
file_path: uform/src/uform/__init__.py
imports: from json import load
  from typing import Mapping, Optional, Tuple
  import torch
  from huggingface_hub import snapshot_download
  from uform.models import *
label_desc: Use image node_id 3 for calling a global function with example usage: get_client(url, model_name, token) and returns: TritonClient