code: def get_tokenizer_config(model_id: str) -> dict:
      try:
          resp = requests.get(
              f"https://huggingface.co/{model_id}/resolve/main/tokenizer_config.json"
          )
          if resp.status_code == 403:
              raise ConfigurationError(
                  "Private HF models are not supported"
              )
          resp.raise_for_status()
      except requests.RequestException as e:
          raise ConfigurationError(f"Failed to get tokenizer info: {e}")
      return resp.json()
  
imports: import requests
  from dstack._internal.core.errors import ConfigurationError
  from dstack._internal.core.models.configurations import ModelInfo
label_desc: Use image node_id 2 for calling a global function with example usage: get_tokenizer_config(model_id) and returns: resp